/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/ |
D | WirelessDebuggingTest.java | 96 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()
|
D | SensorsOffTest.java | 67 doReturn(true).when(mKeyguardManager).isKeyguardLocked(); in setIsEnabled_trueWithKeyguardLocked_sensorPrivacyNotModified() 78 doReturn(false).when(mKeyguardManager).isKeyguardLocked(); in setIsEnabled_trueWithKeyguardUnlocked_sensorPrivacyModified() 89 doReturn(true).when(mKeyguardManager).isKeyguardLocked(); in setIsEnabled_falseWithKeyguardLocked_sensorPrivacyNotModified() 100 doReturn(false).when(mKeyguardManager).isKeyguardLocked(); in setIsEnabled_falseWithKeyguardUnlocked_sensorPrivacyModified()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ActivityBase.java | 73 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/ |
D | QuickActivity.java | 139 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/services/Car/car-builtin-lib/src/android/car/builtin/app/ |
D | KeyguardManagerHelper.java | 41 public static boolean isKeyguardLocked() { in isKeyguardLocked() method in KeyguardManagerHelper 44 locked = WindowManagerGlobal.getWindowManagerService().isKeyguardLocked(); in isKeyguardLocked()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/ |
D | UserSwitchTransitionViewController.java | 259 if (mWindowManagerService.isKeyguardLocked()) { in setupKeyguardShownTimeout() 274 public void onKeyguardLockedStateChanged(boolean isKeyguardLocked) { in setupKeyguardShownTimeout() 276 Log.d(TAG, "Keyguard state change keyguardLocked=" + isKeyguardLocked); in setupKeyguardShownTimeout() 278 if (isKeyguardLocked) { in setupKeyguardShownTimeout()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ScreenStateHelper.java | 32 if (mKeyguardManager.isKeyguardLocked()) { in checkScreenState() 37 } else if (mKeyguardManager.isKeyguardLocked()) { in checkScreenState()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PermissionsActivity.java | 72 if (isKeyguardLocked()) { in onCreateTasks() 112 if (!isKeyguardLocked() && !mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in checkPermissions()
|
/packages/services/Car/car-lib/src/android/car/ |
D | IExperimentalCarKeyguardLockedStateListener.aidl | 27 void onKeyguardLockedStateChanged(boolean isKeyguardLocked); in onKeyguardLockedStateChanged() argument
|
D | IExperimentalCarKeyguardService.aidl | 32 boolean isKeyguardLocked(int userId); in isKeyguardLocked() method
|
/packages/services/Car/service/src/com/android/car/systemui/keyguard/ |
D | ExperimentalCarKeyguardService.java | 189 public boolean isKeyguardLocked(int userId) { in isKeyguardLocked() method in ExperimentalCarKeyguardService 430 mLockedStateCallback = isKeyguardLocked -> { in KeyguardState() 436 listener.onKeyguardLockedStateChanged(isKeyguardLocked); in KeyguardState()
|
/packages/apps/Dialer/java/com/android/dialer/precall/impl/ |
D | PreCallActivity.java | 35 if (getSystemService(KeyguardManager.class).isKeyguardLocked()) { in onCreate()
|
/packages/apps/Settings/src/com/android/settings/development/qstile/ |
D | DevelopmentTiles.java | 232 if (mKeyguardManager.isKeyguardLocked()) { in setIsEnabled() 290 if (isEnabled && mKeyguardManager.isKeyguardLocked()) { in setIsEnabled()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarDevicePolicyManagerTest.java | 284 assertWithMessage("keyguard is locked").that(mKeyguardManager.isKeyguardLocked()).isFalse(); in assertUnlocked() 295 assertWithMessage("keyguard is unlocked").that(mKeyguardManager.isKeyguardLocked()) in assertLocked()
|
/packages/apps/Camera2/src_pd/com/android/camera/stats/ |
D | UsageStatistics.java | 51 public void foregrounded(int source, int mode, boolean isKeyguardLocked, in foregrounded() argument
|
/packages/modules/AdServices/adservices/apk/tests/util/java/com/android/adservices/ui/util/ |
D | AdServicesUiTestCase.java | 58 if (keyguardManager.isKeyguardLocked()) { in setUpDevice()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userswitcher/ |
D | UserSwitchTransitionViewControllerTest.java | 302 when(mWindowManagerService.isKeyguardLocked()).thenReturn(true); in setupKeyguardShownTimeout_keyguardLocked_doNothing() 312 when(mWindowManagerService.isKeyguardLocked()).thenReturn(false); in setupKeyguardShownTimeout_keyguardNotLocked_addTimeout()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/ |
D | HostEmulationManagerTest.java | 558 when(mKeyguardManager.isKeyguardLocked()).thenReturn(true); in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresUnlock() 588 when(mKeyguardManager.isKeyguardLocked()).thenReturn(true); in testOnHostEmulationData_stateW4Select_defaultServiceExists_secureNfcEnabled() 619 when(mKeyguardManager.isKeyguardLocked()).thenReturn(true); in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresScreenOn() 650 when(mKeyguardManager.isKeyguardLocked()).thenReturn(true); in testOnHostEmulationData_stateW4Select_defaultServiceExists_notOnHost() 713 when(mKeyguardManager.isKeyguardLocked()).thenReturn(false); in testOnHostEmulationData_stateW4Select_noDefaultService_matchingActiveService() 759 when(mKeyguardManager.isKeyguardLocked()).thenReturn(false); in testOnHostEmulationData_stateW4Select_noDefaultService_noBoundActiveService() 857 when(mKeyguardManager.isKeyguardLocked()).thenReturn(false); in testOnHostEmulationData_stateXfer_selectAid_activeService() 898 when(mKeyguardManager.isKeyguardLocked()).thenReturn(false); in testOnHostEmulationData_stateXfer_selectAid_noActiveService()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiDialogActivity.java | 472 public void onKeyguardLockedStateChanged(boolean isKeyguardLocked) { in onKeyguardLockedStateChanged() argument 473 if (!isKeyguardLocked) return; in onKeyguardLockedStateChanged()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialBaseActivity.java | 91 ? getSystemService(KeyguardManager.class).isKeyguardLocked() in onCreate()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/keyguard/ |
D | KeyguardServiceDelegate.java | 278 void onKeyguardLockedStateChanged(boolean isKeyguardLocked); in onKeyguardLockedStateChanged() argument
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserNoticeServiceTest.java | 158 .when(() -> KeyguardManagerHelper.isKeyguardLocked()); in setUpMocks()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserNoticeService.java | 256 boolean locked = KeyguardManagerHelper.isKeyguardLocked(); in checkKeyguardLockedWithPolling()
|
/packages/apps/CellBroadcastReceiver/tests/compliancetests/src/com/android/cellbroadcastreceiver/compliancetests/ |
D | CellBroadcastUiTest.java | 92 if (keyguardManager != null && keyguardManager.isKeyguardLocked()) { in beforeTest()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | CarHeadsUpNotificationManagerTest.java | 147 when(mKeyguardManager.isKeyguardLocked()).thenReturn(false); in setup()
|