/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/ |
D | DeviceStateControllerImplTest.java | 25 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState; 76 DeviceState.UNDEFINED); in lockDevice_withUnprovisionedState_shouldPseudoLockDevice() 91 DeviceState.UNDEFINED); in lockDevice_withProvisionInProgressState_shouldThrowException() 106 DeviceState.UNDEFINED); in lockDevice_withProvisionPausedState_shouldThrowException() 121 DeviceState.UNDEFINED); in lockDevice_withProvisionFailedState_shouldThrowException() 137 DeviceState.LOCKED); in lockDevice_withKioskProvisionedState_shouldLockDevice() 146 globalParametersClient.setDeviceState(DeviceState.CLEARED).get(); in lockDevice_withClearDeviceState_shouldThrowException() 164 DeviceState.LOCKED); in lockDevice_withProvisionSucceededState_shouldLockDevice() 181 DeviceState.UNLOCKED); in unlockDevice_withKioskProvisionedState_shouldUnlockDevice() 195 DeviceState.UNDEFINED); in unlockDevice_withUnprovisionedState_shouldPseudoUnlock() [all …]
|
D | DevicePolicyControllerImplTest.java | 28 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.CLEARED; 29 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.LOCKED; 30 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNDEFINED; 31 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNLOCKED;
|
/packages/apps/Camera2/src/com/android/camera/device/ |
D | SingleDeviceStateMachine.java | 56 private enum DeviceState { enum in SingleDeviceStateMachine 83 private DeviceState mDeviceState; 111 mDeviceState = DeviceState.CLOSED; in SingleDeviceStateMachine() 191 mDeviceState = DeviceState.OPENED; in onDeviceOpened() 223 mDeviceState = DeviceState.CLOSING; in onDeviceOpenException() 240 mDeviceState = DeviceState.CLOSED; in onDeviceClosed() 270 if (mDeviceState == DeviceState.CLOSED && mTargetState == TargetState.OPENED) { in update() 272 } else if (mDeviceState == DeviceState.OPENED && mTargetState == TargetState.OPENED) { in update() 274 } else if (mDeviceState == DeviceState.OPENED && mTargetState == TargetState.CLOSED) { in update() 276 } else if (mDeviceState == DeviceState.CLOSED && mTargetState == TargetState.CLOSED) { in update() [all …]
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/ |
D | DeviceStateController.java | 64 DeviceState.UNDEFINED, 65 DeviceState.UNLOCKED, 66 DeviceState.LOCKED, 67 DeviceState.CLEARED, 69 @interface DeviceState { annotation
|
D | DeviceStateControllerImpl.java | 19 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.CLEARED; 20 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.LOCKED; 21 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNDEFINED; 22 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNLOCKED; 45 private volatile @DeviceState int mPseudoDeviceState; 76 private ListenableFuture<Void> setDeviceState(@DeviceState int deviceState) { in setDeviceState()
|
D | DevicePolicyControllerImpl.java | 22 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.CLEARED; 23 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.LOCKED; 24 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNDEFINED; 25 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNLOCKED; 57 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState; 229 final ListenableFuture<@DeviceState Integer> deviceState = 258 @ProvisionState int provisionState, @DeviceState int deviceState) {
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/ |
D | GlobalParameters.java | 26 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState; 107 @DeviceState 109 return getSharedPreferences(context).getInt(KEY_DEVICE_STATE, DeviceState.UNDEFINED); in getDeviceState() 115 static void setDeviceState(Context context, @DeviceState int state) { in setDeviceState()
|
D | GlobalParametersClient.java | 32 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState; 196 public ListenableFuture<@DeviceState Integer> getDeviceState() { 206 public ListenableFuture<Void> setDeviceState(@DeviceState int state) {
|
D | GlobalParametersService.java | 25 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState; 85 public void setDeviceState(@DeviceState int state) {
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | DeviceConfigTest.java | 30 import com.android.bedstead.harrier.DeviceState; 49 public static final DeviceState sDeviceState = new DeviceState();
|
D | LocalePickerTest.java | 27 import com.android.bedstead.harrier.DeviceState; 50 public static final DeviceState sDeviceState = new DeviceState();
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/ |
D | DeviceLockControllerService.java | 245 case DeviceStateController.DeviceState.UNLOCKED -> 248 case DeviceStateController.DeviceState.LOCKED -> 251 case DeviceStateController.DeviceState.CLEARED -> 254 case DeviceStateController.DeviceState.UNDEFINED ->
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/ |
D | DeviceLockControllerServiceTest.java | 121 DeviceStateController.DeviceState.UNLOCKED)); in lockDevice_failure_shouldLogToStatsLogger() 128 verify(mStatsLogger).logLockDeviceFailure(DeviceStateController.DeviceState.UNLOCKED); in lockDevice_failure_shouldLogToStatsLogger() 157 DeviceStateController.DeviceState.LOCKED)); in unlockDevice_failure_shouldLogToStatsLogger() 164 verify(mStatsLogger).logUnlockDeviceFailure(DeviceStateController.DeviceState.LOCKED); in unlockDevice_failure_shouldLogToStatsLogger()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/ |
D | DeviceLockCommandReceiver.java | 23 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.CLEARED; 24 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.LOCKED; 25 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNLOCKED; 48 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState; 421 private static FutureCallback<Void> getSetStateCallBack(@DeviceState int state) { in getSetStateCallBack()
|
/packages/modules/Uwb/indev_uwb_adaptation/jni/src/ |
D | callback.rs | 27 use uwb_core::params::uci_packets::{DeviceState, ReasonCode, SessionId, SessionState}; 140 fn on_uci_device_status_changed(&mut self, state: DeviceState) { in on_uci_device_status_changed() argument
|
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/ |
D | AppDataSharingUpdatesTest.kt | 54 import com.android.bedstead.harrier.DeviceState in <lambda>() 205 @JvmField @ClassRule @Rule val deviceState: DeviceState = DeviceState() in <lambda>()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | DeviceState.java | 29 public class DeviceState { class
|
D | TelephonyConnectionService.java | 235 private DeviceState mDeviceState = new DeviceState(); 529 public void setDeviceState(DeviceState state) { in setDeviceState()
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | EnterpriseContactsTest.java | 83 import com.android.bedstead.harrier.DeviceState; 124 public static final DeviceState sDeviceState = new DeviceState();
|
/packages/modules/Permission/tests/functional/safetycenter/multiusers/src/android/safetycenter/functional/multiusers/ |
D | SafetyCenterMultiUsersTest.kt | 45 import com.android.bedstead.harrier.DeviceState 115 @JvmField @ClassRule @Rule val deviceState: DeviceState = DeviceState()
|
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 68 import com.android.bedstead.harrier.DeviceState; 181 public static final DeviceState sDeviceState = new DeviceState();
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 236 @Mock DeviceState mDeviceState;
|