Searched refs:getDeviceState (Results 1 – 14 of 14) sorted by relevance
75 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in lockDevice_withUnprovisionedState_shouldPseudoLockDevice()90 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in lockDevice_withProvisionInProgressState_shouldThrowException()105 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in lockDevice_withProvisionPausedState_shouldThrowException()120 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in lockDevice_withProvisionFailedState_shouldThrowException()136 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in lockDevice_withKioskProvisionedState_shouldLockDevice()163 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in lockDevice_withProvisionSucceededState_shouldLockDevice()180 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in unlockDevice_withKioskProvisionedState_shouldUnlockDevice()194 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in unlockDevice_withUnprovisionedState_shouldPseudoUnlock()209 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in unlockDevice_withProvisionInProgressState_shouldThrowException()224 assertThat(GlobalParametersClient.getInstance().getDeviceState().get()).isEqualTo( in unlockDevice_withProvisionPausedState_shouldThrowException()[all …]
123 return Futures.transform(mGlobalParametersClient.getDeviceState(),137 public ListenableFuture<Integer> getDeviceState() {138 return mGlobalParametersClient.getDeviceState();143 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
80 settableDeviceState.getDeviceState(), in createPreferenceControllers()
239 Futures.addCallback(mDeviceStateController.getDeviceState(),
1934 assertEquals(deviceStatusBundle.getDeviceState(), DEVICE_STATE_ACTIVE); in testOemCallbackExtension()