Home
last modified time | relevance | path

Searched refs:setDeviceState (Results 1 – 16 of 16) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DDeviceStateControllerImpl.java58 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/
DDevicePolicyControllerImplTest.java247 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 …]
DDeviceStateControllerImplTest.java146 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/
DDeviceStatus.java76 .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/
DGlobalParametersService.java85 public void setDeviceState(@DeviceState int state) {
86 GlobalParameters.setDeviceState(mContext, state);
DGlobalParametersClient.java206 public ListenableFuture<Void> setDeviceState(@DeviceState int state) {
208 asInterface(getService()).setDeviceState(state);
DIGlobalParametersService.aidl33 void setDeviceState(int state); in setDeviceState() method
DGlobalParameters.java115 static void setDeviceState(Context context, @DeviceState int state) { in setDeviceState() method in GlobalParameters
/packages/modules/Uwb/service/support_lib/test/
DOemExtensionTests.java52 .setDeviceState(state) in testDeviceState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerService.java234 oldStateMachine.setDeviceState(DEVICE_STATE_INACTIVE); in setActiveDevice()
240 stateMachine.setDeviceState(DEVICE_STATE_ACTIVE); in setActiveDevice()
DAvrcpControllerStateMachine.java285 public void setDeviceState(int state) { in setDeviceState() method in AvrcpControllerStateMachine
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/
DDeviceLockCommandReceiver.java382 GlobalParametersClient.getInstance().setDeviceState(CLEARED); in forceReset()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java186 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/
DUwbServiceCore.java432 .setDeviceState(deviceState) in oemExtensionDeviceStatusUpdate()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java529 public void setDeviceState(DeviceState state) { in setDeviceState() method in TelephonyConnectionService
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java294 mTestConnectionService.setDeviceState(mDeviceState); in setUp()