Home
last modified time | relevance | path

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

/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DStubActivity.java30 KeyguardManager km = getSystemService(KeyguardManager.class); in onCreate() local
31 if (km != null) { in onCreate()
32 km.requestDismissKeyguard(this, null); in onCreate()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DUnlockScreenRule.java38 final KeyguardManager km = context.getSystemService(KeyguardManager.class); in apply() local
46 if (km != null && km.isKeyguardLocked()) { in apply()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DPrintDocumentActivity.java40 KeyguardManager km = getSystemService(KeyguardManager.class); in onCreate() local
41 if (km != null) { in onCreate()
42 km.requestDismissKeyguard(this, null); in onCreate()
/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/
DScreenLockHelper.java32 KeyguardManager km = (KeyguardManager) context.getSystemService(Context.KEYGUARD_SERVICE); in isDeviceSecure() local
33 return km.isDeviceSecure(); in isDeviceSecure()
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayTarget/src/com/android/cts/overlay/target/
DOverlayTargetActivity.java73 KeyguardManager km = getSystemService(KeyguardManager.class); in keepScreenOn() local
74 if (km != null) { in keepScreenOn()
75 km.requestDismissKeyguard(this, null); in keepScreenOn()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsVerifierInCallUi.java45 KeyguardManager km = (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE); in onCreate() local
46 km.requestDismissKeyguard(this, null); in onCreate()
63 if (km.isDeviceLocked()) { in onCreate()
DTelecomDefaultDialerTestActivity.java107 KeyguardManager km = (KeyguardManager) getSystemService(KEYGUARD_SERVICE); in onCreate()
108 if (km.isKeyguardSecure()) { in onCreate()
/cts/hostsidetests/adpf/app/hintsession/src/android/adpf/hintsession/app/
DADPFHintSessionDeviceActivity.java86 KeyguardManager km = getSystemService(KeyguardManager.class); in keepScreenOn() local
87 if (km != null) { in keepScreenOn()
88 km.requestDismissKeyguard(this, null); in keepScreenOn()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceSyncGroupActivity.java59 KeyguardManager km = getSystemService(KeyguardManager.class); in onCreate() local
60 km.requestDismissKeyguard(this, null); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationDismissVerifierActivity.java370 KeyguardManager km = getSystemService(KeyguardManager.class); in test() local
371 if (km.isDeviceSecure() == mExpectSecure) { in test()
431 KeyguardManager km = getSystemService(KeyguardManager.class); in test() local
432 if (!km.isDeviceSecure()) { in test()
DNotificationPrivacyVerifierActivity.java285 KeyguardManager km = getSystemService(KeyguardManager.class); in test() local
286 if (km.isDeviceSecure() == mExpectSecure) { in test()
346 KeyguardManager km = getSystemService(KeyguardManager.class); in test() local
347 if (!km.isDeviceSecure()) { in test()
DNotificationFullScreenIntentVerifierActivity.java258 KeyguardManager km = getSystemService(KeyguardManager.class); in test() local
259 if (!km.isDeviceSecure()) { in test()
384 KeyguardManager km = getSystemService(KeyguardManager.class); in test() local
385 if (km.isDeviceSecure() == mExpectSecure) { in test()
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/
DSensorPrivacyBaseTest.kt695 val km = context.getSystemService(KeyguardManager::class.java)!! in <lambda>() constant
702 km.setLock(KeyguardManager.PIN, pin, KeyguardManager.PIN, null) in <lambda>()
714 assumeTrue("Device isn't locked", km.isDeviceLocked) in <lambda>()
722 km.setLock(KeyguardManager.PIN, null, KeyguardManager.PIN, pin) in <lambda>()
737 assumeFalse("Device isn't unlocked", km.isDeviceLocked) in <lambda>()
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricManagerTest.java171 final KeyguardManager km = mContext.getSystemService(KeyguardManager.class); in test_getSettingName_forCredential() local
172 assumeTrue("Test requires KeyguardManager", km != null); in test_getSettingName_forCredential()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DDisplayHashManagerTest.java119 final KeyguardManager km = context.getSystemService(KeyguardManager.class); in setUp() local
124 if (km != null && km.isKeyguardLocked() || !Objects.requireNonNull( in setUp()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSecurityLoggingTest.java385 KeyguardManager km = mContext.getSystemService(KeyguardManager.class); in generatePasswordChangedEvents() local
387 km.setLock(PIN, "1111".getBytes(), PIN, null); in generatePasswordChangedEvents()
388 km.setLock(PIN, "1914".getBytes(), PIN, "1111".getBytes()); in generatePasswordChangedEvents()
389 km.setLock(PIN, "83651865".getBytes(), PIN, "1914".getBytes()); in generatePasswordChangedEvents()
390 km.setLock(PIN, null, PIN, "83651865".getBytes()); in generatePasswordChangedEvents()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java258 KeyguardManager km = this.getSystemService(KeyguardManager.class); in onCreate() local
259 if (km.isKeyguardSecure()) { in onCreate()
/cts/tests/tests/nfc/src/android/nfc/cts/
DCardEmulationTest.java1471 final KeyguardManager km = context.getSystemService(KeyguardManager.class); in ensureUnlocked() local
1478 if (km != null && km.isKeyguardLocked()) { in ensureUnlocked()
1484 return km != null && !km.isKeyguardLocked(); in ensureUnlocked()
/cts/tests/tests/security/res/raw/
Dcve_2019_2245.ts2287 …�Ġ��C[-t���ˡ*����ut42��Pʚؔ��D�J��ki(��Y\��G�1jMP�aq��.�C7�LkS>���km�G�5,%�u��e�Лl�i�…
6508 hѣ 4qZ-hņ5bŕ�2�X1a��Z��U[km"���4�,FR�0ɣueV���MV,X0�G0b�
8088 ���&�QuD4�(D���$�>+J�*5���#u�S64J$�<����?�Ƞ��V�Qi[ ��mn��DA��:MP_��kѩ��km#AUlT����m�A�i[tccd…
Dcve_2018_13925.ts2288 …�Ġ��C[-t���ˡ*����ut42��Pʚؔ��D�J��ki(��Y\��G�1jMP�aq��.�C7�LkS>���km�G�5,%�u��e�Лl�i�…
6450 /:�4Ѝ���̊Hn)\�@+�e���X�t� :��Z��Et屃�z'�k�6��ac5.�mfⳟG�1әCR �KRi�km�Si��b��\���ЕVYK�Ff��Y�o…
8187 ���&�QuD4�(D���$�>+J�*5���#u�S64J$�<����?�Ƞ��V�Qi[ ��mn��DA��:MP_��kѩ��km#AUlT����m�A�i[tccd…
Dcve_2019_2244.ts2288 …�Ġ��C[-t���ˡ*����ut42��Pʚؔ��D�J��ki(��Y\��G�1jMP�aq��.�C7�LkS>���km�G�5,%�u��e�Лl�i�…
6453 /:�4Ѝ���̊Hn)\�@+�e���X�t� :��Z��Et屃�z'�k�6��ac5.�mfⳟG�1әCR �KRi�km�Si��b��\���ЕVYK�Ff��Y�o…
8193 ���&�QuD4�(D���$�>+J�*5���#u�S64J$�<����?�Ƞ��V�Qi[ ��mn��DA��:MP_��kѩ��km#AUlT����m�A�i[tccd…