Home
last modified time | relevance | path

Searched refs:mDe (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java77 private Context mDe; field in EncryptionAppTest
88 mDe = mCe.createDeviceProtectedStorageContext(); in setUp()
107 assertTrue("DE file", getTestFile(mDe).createNewFile()); in testSetUp()
145 mDe.getSharedPreferences(KEY_BOOT, 0).edit().putInt(KEY_BOOT, thisCount).commit(); in doBootCountBefore()
149 final int lastCount = mDe.getSharedPreferences(KEY_BOOT, 0).getInt(KEY_BOOT, -1); in doBootCountAfter()
157 mDe.getSharedPreferences(RebootEscrowFakeService.SERVICE_PREFS, 0) in testCheckServiceInteraction()
162 mDe.getSharedPreferences(RebootEscrowFakeService.SERVICE_PREFS, 0) in testCheckServiceInteraction()
185 mDe.registerReceiver(receiver, new IntentFilter(Intent.ACTION_USER_UNLOCKED)); in testVerifyLockedAndDismiss()
242 final PowerManager pm = mDe.getSystemService(PowerManager.class); in summonKeyguard()
253 assertTrue("DE exists", getTestFile(mDe).exists()); in assertLocked()
[all …]
/cts/hostsidetests/calllog/app/src/android/provider/cts/contacts/testapp/
DCallLogDirectBootTest.java36 private Context mDe; field in CallLogDirectBootTest
44 mDe = mCe.createDeviceProtectedStorageContext(); in setUp()
51 BootReceiver.waitForBootComplete(mDe, BootReceiver.LOCKED_BOOT_COMPLETE,60000); in testShadowCallComposerPicture()
54 byte[] expected = readResourceDrawable(mDe, R.drawable.cupcake); in testShadowCallComposerPicture()
65 mDe.getResources().openRawResource(R.drawable.cupcake)) { in testShadowCallComposerPicture()
67 mDe.createContextAsUser(android.os.Process.myUserHandle(), 0), in testShadowCallComposerPicture()