Home
last modified time | relevance | path

Searched refs:DpmTestUtils (Results 1 – 11 of 11) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceMigrationTest.java100 DpmTestUtils.writeToFile( in testMigration()
105 DpmTestUtils.writeToFile( in testMigration()
110 DpmTestUtils.writeToFile( in testMigration()
114 DpmTestUtils.writeToFile( in testMigration()
188 DpmTestUtils.assertRestrictions( in testMigration()
194 DpmTestUtils.assertRestrictions( in testMigration()
239 DpmTestUtils.writeToFile( in testMigration2_profileOwnerOnUser0()
244 DpmTestUtils.writeToFile( in testMigration2_profileOwnerOnUser0()
326 DpmTestUtils.writeToFile( in testMigration3_managedProfileOwner()
330 DpmTestUtils.writeToFile( in testMigration3_managedProfileOwner()
[all …]
H A DOwnersTest.java64 DpmTestUtils.writeToFile(owners.getLegacyConfigFile(), in testUpgrade01()
65 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/test01/input.xml")); in testUpgrade01()
132 DpmTestUtils.writeToFile(owners.getLegacyConfigFile(), in testUpgrade02()
133 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/test02/input.xml")); in testUpgrade02()
199 DpmTestUtils.writeToFile(owners.getLegacyConfigFile(), in testUpgrade03()
200 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/test03/input.xml")); in testUpgrade03()
286 DpmTestUtils.writeToFile(owners.getLegacyConfigFile(), in testUpgrade04()
444 DpmTestUtils.writeToFile(owners.getLegacyConfigFile(), in testUpgrade05()
509 DpmTestUtils.writeToFile(owners.getLegacyConfigFile(), in testUpgrade06()
572 DpmTestUtils.writeToFile(owners.getLegacyConfigFile(), in testRemoveExistingFiles()
[all …]
H A DDpmTestBase.java143 final PackageInfo pi = DpmTestUtils.cloneParcelable( in markPackageAsInstalled()
208 final ApplicationInfo ai = DpmTestUtils.cloneParcelable( in setUpPackageManagerForFakeAdmin()
239 realResolveInfo.set(0, DpmTestUtils.cloneParcelable(realResolveInfo.get(0))); in setUpPackageManagerForFakeAdmin()
H A DDpmTestUtils.java49 public class DpmTestUtils extends AndroidTestCase { class
122 final T clone = p.readParcelable(DpmTestUtils.class.getClassLoader()); in cloneParcelable()
H A DMockUtils.java110 final Bundle expected = DpmTestUtils.newRestrictions( in checkUserRestrictions()
130 final RestrictionsSet expected = DpmTestUtils.newRestrictions(userId, in checkUserRestrictions()
H A DDevicePolicyManagerTest.java2009 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo()
2014 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo()
2029 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo()
2033 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo()
2143 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2165 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2173 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2189 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2196 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2209 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
[all …]
H A DPolicyVersionUpgraderTest.java213 DpmTestUtils.writeToFile( in preparePoliciesFile()
215 DpmTestUtils.readAsset(mRealTestContext, in preparePoliciesFile()
H A DMockSystemServices.java135 DpmTestUtils.clearDir(dataDir); in MockSystemServices()
285 DpmTestUtils.clearDir(dir); in addUser()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBundleUtilsTest.java19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions;
20 import static com.android.server.devicepolicy.DpmTestUtils.newRestrictions;
H A DUserRestrictionsUtilsTest.java19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions;
20 import static com.android.server.devicepolicy.DpmTestUtils.newRestrictions;
H A DRestrictionsSetTest.java19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions;
20 import static com.android.server.devicepolicy.DpmTestUtils.newRestrictions;