Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/
DWirelessDebuggingTest.java96 doReturn(false).when(mKeyguardManager).isKeyguardLocked(); in setIsEnabled_false_keyguardUnlocked_WifiDisconnected_shouldDisableAdbWifi()
111 doReturn(true).when(mKeyguardManager).isKeyguardLocked(); in setIsEnabled_false_keyguardLocked_WifiDisconnected_shouldDisableAdbWifi()
126 doReturn(false).when(mKeyguardManager).isKeyguardLocked(); in setIsEnabled_false_keyguardUnlocked_WifiConnected_shouldDisableAdbWifi()
141 doReturn(true).when(mKeyguardManager).isKeyguardLocked(); in setIsEnabled_false_keyguardLocked_WifiConnected_shouldDisableAdbWifi()
158 doReturn(false).when(mKeyguardManager).isKeyguardLocked(); in setIsEnabled_true_keyguardUnlocked_WifiDisconnected_shouldDisableAdbWifi()
180 doReturn(true).when(mKeyguardManager).isKeyguardLocked(); in setIsEnabled_true_keyguardLocked_WifiDisconnected_shouldDisableAdbWifi()
196 doReturn(false).when(mKeyguardManager).isKeyguardLocked(); in setIsEnabled_true_keyguardUnlocked_WifiConnected_shouldDisableAdbWifi()
211 doReturn(true).when(mKeyguardManager).isKeyguardLocked(); in setIsEnabled_true_keyguardLocked_WifiConnected_shouldDisableAdbWifi()
/packages/apps/LegacyCamera/src/com/android/camera/
DActivityBase.java73 if (mCameraDevice == null && isKeyguardLocked()) { in onResume()
134 private boolean isKeyguardLocked() { in isKeyguardLocked() method in ActivityBase
138 Log.v(TAG, "kgm.isKeyguardLocked()="+kgm.isKeyguardLocked() in isKeyguardLocked()
143 return (kgm != null) && kgm.isKeyguardLocked() && kgm.isKeyguardSecure(); in isKeyguardLocked()
/packages/apps/Camera2/src/com/android/camera/util/
DQuickActivity.java139 Log.v(TAG, "onResume(): isKeyguardLocked() = " + isKeyguardLocked()); in onResume()
141 if (isKeyguardLocked() && mSkippedFirstOnResume == false) { in onResume()
207 protected boolean isKeyguardLocked() { in isKeyguardLocked() method in QuickActivity
212 return mKeyguardManager.isKeyguardLocked(); in isKeyguardLocked()
/packages/apps/Nfc/src/com/android/nfc/
DScreenStateHelper.java35 if(mKeyguardManager.isKeyguardLocked()) { in checkScreenState()
40 } else if (mKeyguardManager.isKeyguardLocked()) { in checkScreenState()
DNfcService.java1196 if(mKeyguard.isKeyguardLocked() && !enable) { in setNfcSecure()
2668 && mIsSecureNfcEnabled && mKeyguard.isKeyguardLocked()) { in handleMessage()
3142 screenState = mKeyguard.isKeyguardLocked() ?
3146 screenState = mKeyguard.isKeyguardLocked()
/packages/apps/Camera2/src/com/android/camera/
DPermissionsActivity.java82 if (isKeyguardLocked()) { in onCreateTasks()
127 if (!isKeyguardLocked() && !mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in checkPermissions()
DCameraActivity.java2060 isKeyguardSecure(), isKeyguardLocked(), in resume()
2516 if (!isKeyguardLocked()) { in onSettingsSelected()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarDevicePolicyManagerTest.java238 assertWithMessage("keyguard is locked").that(mKeyguardManager.isKeyguardLocked()).isFalse(); in assertUnlocked()
249 assertWithMessage("keyguard is unlocked").that(mKeyguardManager.isKeyguardLocked()) in assertLocked()
/packages/apps/Dialer/java/com/android/dialer/precall/impl/
DPreCallActivity.java35 if (getSystemService(KeyguardManager.class).isKeyguardLocked()) { in onCreate()
/packages/apps/Settings/src/com/android/settings/development/qstile/
DDevelopmentTiles.java380 if (mIsEnabled && mKeyguardManager.isKeyguardLocked()) { in setIsEnabled()
437 if (isEnabled && mKeyguardManager.isKeyguardLocked()) { in setIsEnabled()
/packages/apps/Camera2/src_pd/com/android/camera/stats/
DUsageStatistics.java51 public void foregrounded(int source, int mode, boolean isKeyguardLocked, in foregrounded() argument
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseActivity.java91 ? getSystemService(KeyguardManager.class).isKeyguardLocked() in onCreate()
/packages/services/Car/service/src/com/android/car/user/
DCarUserNoticeService.java248 locked = wm.isKeyguardLocked(); in checkKeyguardLockedWithPolling()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarHeadsUpNotificationManager.java552 if (mKeyguardManager.isKeyguardLocked()) { in shouldShowHeadsUp()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostEmulationManager.java181 mKeyguard.isKeyguardLocked() && mKeyguard.isKeyguardSecure()) { in onHostEmulationData()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarHeadsUpNotificationManagerTest.java127 when(mKeyguardManager.isKeyguardLocked()).thenReturn(false); in setup()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeDialogImpl.java338 Events.writeEvent(Events.EVENT_SHOW_DIALOG, reason, mKeyguard.isKeyguardLocked()); in showH()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogFragment.java625 && !getContext().getSystemService(KeyguardManager.class).isKeyguardLocked()) { in markMissedCallsAsReadAndRemoveNotifications()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAnswerFragment.java1071 if (!getContext().getSystemService(KeyguardManager.class).isKeyguardLocked()) { in smsSelected()
/packages/apps/Dialer/java/com/android/dialer/app/
DDialtactsActivity.java627 && !getSystemService(KeyguardManager.class).isKeyguardLocked()) { in onStop()
/packages/apps/Dialer/java/com/android/incallui/
DInCallActivity.java537 if (!isRecreating && !getSystemService(KeyguardManager.class).isKeyguardLocked()) { in onStop()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DOldMainActivityPeer.java579 activity.getSystemService(KeyguardManager.class).isKeyguardLocked()); in onActivityStop()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java1663 if (((KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE)).isKeyguardLocked()) { in notifyUserIfNecessary()