Searched refs:mDe (Results 1 – 1 of 1) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | EncryptionAppTest.java | 57 private Context mDe; field in EncryptionAppTest 68 mDe = mCe.createDeviceProtectedStorageContext(); in setUp() 87 assertTrue("DE file", getTestFile(mDe).createNewFile()); in testSetUp() 117 mDe.getSharedPreferences(KEY_BOOT, 0).edit().putInt(KEY_BOOT, thisCount).commit(); in doBootCountBefore() 121 final int lastCount = mDe.getSharedPreferences(KEY_BOOT, 0).getInt(KEY_BOOT, -1); in doBootCountAfter() 145 mDe.registerReceiver(receiver, new IntentFilter(Intent.ACTION_USER_UNLOCKED)); in testVerifyLockedAndDismiss() 185 assertTrue("DE exists", getTestFile(mDe).exists()); in assertLocked() 188 assertFalse("isUserUnlocked", mDe.getSystemService(UserManager.class).isUserUnlocked()); in assertLocked() 218 assertEquals(expected, mDe.getExternalCacheDir()); in assertLocked() 227 assertTrue("DE exists", getTestFile(mDe).exists()); in assertUnlocked() [all …]
|