Searched refs:getDeviceState (Results 1 – 14 of 14) sorted by relevance
82 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in lockDevice_withUnprovisionedState_shouldPseudoLockDevice()100 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in lockDevice_withProvisionInProgressState_shouldThrowException()115 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in lockDevice_withProvisionPausedState_shouldThrowException()130 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in lockDevice_withProvisionFailedState_shouldThrowException()146 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in lockDevice_withKioskProvisionedState_shouldLockDevice()173 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in lockDevice_withProvisionSucceededState_shouldLockDevice()190 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in unlockDevice_withKioskProvisionedState_shouldUnlockDevice()204 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in unlockDevice_withUnprovisionedState_shouldPseudoUnlock()222 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in unlockDevice_withProvisionInProgressState_shouldThrowException()237 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in unlockDevice_withProvisionPausedState_shouldThrowException()[all …]
137 return Futures.transform(mGlobalParametersClient.getDeviceState(),151 public ListenableFuture<Integer> getDeviceState() {152 return mGlobalParametersClient.getDeviceState();157 return Futures.transform(mGlobalParametersClient.getDeviceState(),
55 ListenableFuture<Integer> getDeviceState(); in getDeviceState() method
230 GlobalParametersClient.getInstance().getDeviceState();
80 public int getDeviceState() {81 return GlobalParameters.getDeviceState(mContext);
108 static int getDeviceState(Context context) { in getDeviceState() method in GlobalParameters180 KEY_DEVICE_STATE, getDeviceState(context), in dump()
196 public ListenableFuture<@DeviceState Integer> getDeviceState() {197 return call(() -> asInterface(getService()).getDeviceState());
32 int getDeviceState(); in getDeviceState() method
56 assertEquals(deviceState.getDeviceState(), state); in testDeviceState()61 assertEquals(fromBundle.getDeviceState(), state); in testDeviceState()
120 when(deviceStateController.getDeviceState()).thenReturn(Futures.immediateFuture( in lockDevice_failure_shouldLogToStatsLogger()156 when(deviceStateController.getDeviceState()).thenReturn(Futures.immediateFuture( in unlockDevice_failure_shouldLogToStatsLogger()
44 public long getDeviceState() { in getDeviceState() method in DeviceStatus
81 settableDeviceState.getDeviceState(), in createPreferenceControllers()
231 Futures.addCallback(mDeviceStateController.getDeviceState(),
2103 assertEquals(deviceStatusBundle.getDeviceState(), DEVICE_STATE_ACTIVE); in testOemCallbackExtension()