Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java67 private Context mDe; field in EncryptionAppTest
78 mDe = mCe.createDeviceProtectedStorageContext(); in setUp()
97 assertTrue("DE file", getTestFile(mDe).createNewFile()); in testSetUp()
127 mDe.getSharedPreferences(KEY_BOOT, 0).edit().putInt(KEY_BOOT, thisCount).commit(); in doBootCountBefore()
131 final int lastCount = mDe.getSharedPreferences(KEY_BOOT, 0).getInt(KEY_BOOT, -1); in doBootCountAfter()
155 mDe.registerReceiver(receiver, new IntentFilter(Intent.ACTION_USER_UNLOCKED)); in testVerifyLockedAndDismiss()
195 assertTrue("DE exists", getTestFile(mDe).exists()); in assertLocked()
198 assertFalse("isUserUnlocked", mDe.getSystemService(UserManager.class).isUserUnlocked()); in assertLocked()
228 assertEquals(expected, mDe.getExternalCacheDir()); in assertLocked()
253 assertTrue("DE exists", getTestFile(mDe).exists()); in assertUnlocked()
[all …]