Home
last modified time | relevance | path

Searched refs:mRealTestContext (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java40 protected Context mRealTestContext; field in DpmTestBase
54 mRealTestContext = super.getContext(); in setUp()
57 mRealTestContext, new File(mRealTestContext.getCacheDir(), "test-data")); in setUp()
59 admin1 = new ComponentName(mRealTestContext, DummyDeviceAdmins.Admin1.class); in setUp()
60 admin2 = new ComponentName(mRealTestContext, DummyDeviceAdmins.Admin2.class); in setUp()
61 admin3 = new ComponentName(mRealTestContext, DummyDeviceAdmins.Admin3.class); in setUp()
62 adminNoPerm = new ComponentName(mRealTestContext, DummyDeviceAdmins.AdminNoPerm.class); in setUp()
73 mRealTestContext.getPackageManager().getPackageInfo( in markPackageAsInstalled()
74 mRealTestContext.getPackageName(), 0)); in markPackageAsInstalled()
118 mRealTestContext.getPackageManager().getApplicationInfo( in setUpPackageManagerForFakeAdmin()
[all …]
DDevicePolicyManagerServiceMigrationTest.java69 DpmTestUtils.readAsset(mRealTestContext, in testMigration()
74 DpmTestUtils.readAsset(mRealTestContext, in testMigration()
79 DpmTestUtils.readAsset(mRealTestContext, in testMigration()
83 DpmTestUtils.readAsset(mRealTestContext, in testMigration()
209 DpmTestUtils.readAsset(mRealTestContext, in testMigration2_profileOwnerOnUser0()
214 DpmTestUtils.readAsset(mRealTestContext, in testMigration2_profileOwnerOnUser0()
DOwnersTest.java44 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/test01/input.xml")); in testUpgrade01()
97 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/test02/input.xml")); in testUpgrade02()
155 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/test03/input.xml")); in testUpgrade03()
233 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/test04/input.xml")); in testUpgrade04()
343 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/test05/input.xml")); in testUpgrade05()
399 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/test06/input.xml")); in testUpgrade06()
453 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/test04/input.xml")); in testRemoveExistingFiles()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java422 private Context mRealTestContext; field in AccountManagerServiceTest.MyAccountManagerService
426 this.mRealTestContext = realTestContext; in MyAccountManagerService()
439 return new File(mRealTestContext.getCacheDir(), CE_DB).getPath(); in getCeDatabaseName()
444 return new File(mRealTestContext.getCacheDir(), DE_DB).getPath(); in getDeDatabaseName()
449 return new File(mRealTestContext.getCacheDir(), PREN_DB).getPath(); in getPreNDatabaseName()