Searched refs:DpmTestUtils (Results 1 – 11 of 11) sorted by relevance
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerServiceMigrationTest.java | 100 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 D | OwnersTest.java | 64 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 D | DpmTestBase.java | 143 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 D | DpmTestUtils.java | 49 public class DpmTestUtils extends AndroidTestCase { class 122 final T clone = p.readParcelable(DpmTestUtils.class.getClassLoader()); in cloneParcelable()
|
H A D | MockUtils.java | 110 final Bundle expected = DpmTestUtils.newRestrictions( in checkUserRestrictions() 130 final RestrictionsSet expected = DpmTestUtils.newRestrictions(userId, in checkUserRestrictions()
|
H A D | DevicePolicyManagerTest.java | 2009 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 D | PolicyVersionUpgraderTest.java | 213 DpmTestUtils.writeToFile( in preparePoliciesFile() 215 DpmTestUtils.readAsset(mRealTestContext, in preparePoliciesFile()
|
H A D | MockSystemServices.java | 135 DpmTestUtils.clearDir(dataDir); in MockSystemServices() 285 DpmTestUtils.clearDir(dir); in addUser()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | BundleUtilsTest.java | 19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions; 20 import static com.android.server.devicepolicy.DpmTestUtils.newRestrictions;
|
H A D | UserRestrictionsUtilsTest.java | 19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions; 20 import static com.android.server.devicepolicy.DpmTestUtils.newRestrictions;
|
H A D | RestrictionsSetTest.java | 19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions; 20 import static com.android.server.devicepolicy.DpmTestUtils.newRestrictions;
|