Searched refs:deviceState (Results 1 – 11 of 11) sorted by relevance
95 CachedDeviceState.Readonly deviceState = in correctlyReportsScreenInteractive() local99 assertThat(deviceState.isScreenInteractive()).isFalse(); in correctlyReportsScreenInteractive()103 assertThat(deviceState.isScreenInteractive()).isTrue(); in correctlyReportsScreenInteractive()106 assertThat(deviceState.isScreenInteractive()).isFalse(); in correctlyReportsScreenInteractive()109 assertThat(deviceState.isScreenInteractive()).isTrue(); in correctlyReportsScreenInteractive()118 CachedDeviceState.Readonly deviceState = in correctlyReportsCharging() local122 assertThat(deviceState.isCharging()).isTrue(); in correctlyReportsCharging()126 assertThat(deviceState.isCharging()).isFalse(); in correctlyReportsCharging()131 assertThat(deviceState.isCharging()).isTrue(); in correctlyReportsCharging()136 assertThat(deviceState.isCharging()).isFalse(); in correctlyReportsCharging()[all …]
67 CachedDeviceState deviceState = new CachedDeviceState(false, false); in setUp() local68 mBinderCallsStats.setDeviceState(deviceState.getReadonlyClient()); in setUp()
65 public void setDeviceState(@NonNull CachedDeviceState.Readonly deviceState) { in setDeviceState() argument70 mDeviceState = deviceState; in setDeviceState()71 mBatteryStopwatch = deviceState.createTimeOnBatteryStopwatch(); in setDeviceState()
107 public void setDeviceState(@NonNull CachedDeviceState.Readonly deviceState) { in setDeviceState() argument111 mDeviceState = deviceState; in setDeviceState()112 mBatteryStopwatch = deviceState.createTimeOnBatteryStopwatch(); in setDeviceState()
264 CachedDeviceState.Readonly deviceState = getLocalService( in onBootPhase() local266 mBinderCallsStats.setDeviceState(deviceState); in onBootPhase()
102 DeviceState deviceState, TimeZoneLookupHelper timeZoneLookupHelper) { in NewNitzStateMachine() argument110 mDeviceState = deviceState; in NewNitzStateMachine()
103 DeviceState deviceState, TimeZoneLookupHelper timeZoneLookupHelper) { in OldNitzStateMachine() argument111 mDeviceState = deviceState; in OldNitzStateMachine()
286 public CaptureCollector(int maxInFlight, CameraDeviceState deviceState) { in CaptureCollector() argument296 mDeviceState = deviceState; in CaptureCollector()
1006 CameraDeviceState deviceState) { in RequestThreadManager() argument1012 mDeviceState = checkNotNull(deviceState, "deviceState must not be null"); in RequestThreadManager()
531 TestableLooperStats(int samplingInterval, int sizeCap, CachedDeviceState deviceState) { in TestableLooperStats() argument536 if (deviceState != null) { in TestableLooperStats()537 setDeviceState(deviceState.getReadonlyClient()); in TestableLooperStats()
765 TestBinderCallsStats(CachedDeviceState deviceState) { in TestBinderCallsStats() argument782 if (deviceState != null) { in TestBinderCallsStats()783 setDeviceState(deviceState.getReadonlyClient()); in TestBinderCallsStats()