/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/ |
D | DeviceStateControllerImpl.java | 58 return setDeviceState(LOCKED); in lockDevice() 63 return setDeviceState(UNLOCKED); in unlockDevice() 68 return setDeviceState(CLEARED); in clearDevice() 76 private ListenableFuture<Void> setDeviceState(@DeviceState int deviceState) { in setDeviceState() method in DeviceStateControllerImpl 107 mGlobalParametersClient.setDeviceState(deviceState), in setDeviceState()
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/ |
D | DevicePolicyControllerImplTest.java | 247 GlobalParametersClient.getInstance().setDeviceState(LOCKED).get(); in enforceCurrentPolicies_withProvisionPausedAndDeviceLocked_doesNotStartLockTaskMode() 293 GlobalParametersClient.getInstance().setDeviceState(LOCKED).get(); in enforceCurrentPolicies_withLockedDeviceState_startsLockTaskMode() 309 GlobalParametersClient.getInstance().setDeviceState(UNLOCKED).get(); in enforceCurrentPolicies_withUnlockedDeviceState_doesNotStartLockTaskMode() 330 GlobalParametersClient.getInstance().setDeviceState(CLEARED).get(); in enforceCurrentPolicies_withClearedDeviceState_doesNotStartLockTaskMode() 351 GlobalParametersClient.getInstance().setDeviceState(CLEARED).get(); in enforceCurrentPolicies_clearedButProvisionInProgress_doesNotStartLockTaskMode() 367 GlobalParametersClient.getInstance().setDeviceState(LOCKED).get(); in getLaunchIntent_withUndefinedLockState_shouldEnforcePoliciesAndLockTask() 549 GlobalParametersClient.getInstance().setDeviceState(LOCKED).get(); in getLaunchIntentForCurrentState_withProvisionSucceededState_withoutKioskAppInstalled() 565 GlobalParametersClient.getInstance().setDeviceState(LOCKED).get(); in getLaunchIntentForCurrentState_withProvisionSucceededStateAndKioskAppInstalled() 585 GlobalParametersClient.getInstance().setDeviceState(LOCKED).get(); in getLaunchIntentForCurrentState_withProvisionSucceededStateAndKioskAppWithoutHomeCateg() 604 GlobalParametersClient.getInstance().setDeviceState(UNLOCKED).get(); in getLaunchIntentForCurrentState_withProvisionSucceededStateAndDeviceStateUnlocked() [all …]
|
D | DeviceStateControllerImplTest.java | 146 globalParametersClient.setDeviceState(DeviceState.CLEARED).get(); in lockDevice_withClearDeviceState_shouldThrowException() 249 globalParametersClient.setDeviceState(DeviceState.CLEARED).get(); in unlockDevice_withClearDeviceState_shouldThrowException() 352 globalParametersClient.setDeviceState(DeviceState.CLEARED).get(); in clearDevice_withClearDeviceState_shouldThrowException() 376 globalParametersClient.setDeviceState(DeviceState.UNLOCKED).get(); in getDeviceState_shouldReturnResultFromGlobalParametersClient()
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/oemextension/ |
D | DeviceStatus.java | 76 .setDeviceState(bundle.getInt(DEVICE_STATE)) in parseVersion1() 86 public DeviceStatus.Builder setDeviceState(int deviceState) { in setDeviceState() method in DeviceStatus.Builder
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/ |
D | GlobalParametersService.java | 85 public void setDeviceState(@DeviceState int state) { 86 GlobalParameters.setDeviceState(mContext, state);
|
D | GlobalParametersClient.java | 206 public ListenableFuture<Void> setDeviceState(@DeviceState int state) { 208 asInterface(getService()).setDeviceState(state);
|
D | IGlobalParametersService.aidl | 33 void setDeviceState(int state); in setDeviceState() method
|
D | GlobalParameters.java | 115 static void setDeviceState(Context context, @DeviceState int state) { in setDeviceState() method in GlobalParameters
|
/packages/modules/Uwb/service/support_lib/test/ |
D | OemExtensionTests.java | 52 .setDeviceState(state) in testDeviceState()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerService.java | 234 oldStateMachine.setDeviceState(DEVICE_STATE_INACTIVE); in setActiveDevice() 240 stateMachine.setDeviceState(DEVICE_STATE_ACTIVE); in setActiveDevice()
|
D | AvrcpControllerStateMachine.java | 285 public void setDeviceState(int state) { in setDeviceState() method in AvrcpControllerStateMachine
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/ |
D | DeviceLockCommandReceiver.java | 382 GlobalParametersClient.getInstance().setDeviceState(CLEARED); in forceReset()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachineTest.java | 186 mAvrcpStateMachine.setDeviceState(AvrcpControllerService.DEVICE_STATE_ACTIVE); in setActiveDevice() 188 mAvrcpStateMachine.setDeviceState(AvrcpControllerService.DEVICE_STATE_INACTIVE); in setActiveDevice()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbServiceCore.java | 432 .setDeviceState(deviceState) in oemExtensionDeviceStatusUpdate()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 529 public void setDeviceState(DeviceState state) { in setDeviceState() method in TelephonyConnectionService
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 294 mTestConnectionService.setDeviceState(mDeviceState); in setUp()
|