Home
last modified time | relevance | path

Searched refs:deviceState (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DNitzSignalInputFilterPredicateFactory.java55 @NonNull Context context, @NonNull DeviceState deviceState) { in create() argument
57 Objects.requireNonNull(deviceState); in create()
61 createIgnoreNitzPropertyCheck(deviceState), in create()
63 createBogusElapsedRealtimeCheck(context, deviceState), in create()
67 createRateLimitCheck(deviceState), in create()
99 @NonNull DeviceState deviceState) { in createIgnoreNitzPropertyCheck()
101 boolean ignoreNitz = deviceState.getIgnoreNitz(); in createIgnoreNitzPropertyCheck()
121 @NonNull Context context, @NonNull DeviceState deviceState) { in createBogusElapsedRealtimeCheck() argument
135 long elapsedRealtime = deviceState.elapsedRealtime(); in createBogusElapsedRealtimeCheck()
176 public static TrivalentPredicate createRateLimitCheck(@NonNull DeviceState deviceState) {
[all …]
DNitzStateMachineImpl.java135 DeviceState deviceState = new DeviceStateImpl(phone); in createInstance() local
138 new TimeZoneSuggesterImpl(deviceState, timeZoneLookupHelper); in createInstance()
141 NitzSignalInputFilterPredicateFactory.create(phone.getContext(), deviceState); in createInstance()
DTimeZoneSuggesterImpl.java50 @NonNull DeviceState deviceState, @NonNull TimeZoneLookupHelper timeZoneLookupHelper) { in TimeZoneSuggesterImpl()
51 mDeviceState = Objects.requireNonNull(deviceState); in TimeZoneSuggesterImpl()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DCachedDeviceStateServiceTest.java97 CachedDeviceState.Readonly deviceState = in correctlyReportsScreenInteractive() local
101 assertThat(deviceState.isScreenInteractive()).isFalse(); in correctlyReportsScreenInteractive()
105 assertThat(deviceState.isScreenInteractive()).isTrue(); in correctlyReportsScreenInteractive()
108 assertThat(deviceState.isScreenInteractive()).isFalse(); in correctlyReportsScreenInteractive()
111 assertThat(deviceState.isScreenInteractive()).isTrue(); in correctlyReportsScreenInteractive()
120 CachedDeviceState.Readonly deviceState = in correctlyReportsCharging() local
124 assertThat(deviceState.isCharging()).isTrue(); in correctlyReportsCharging()
128 assertThat(deviceState.isCharging()).isFalse(); in correctlyReportsCharging()
133 assertThat(deviceState.isCharging()).isTrue(); in correctlyReportsCharging()
138 assertThat(deviceState.isCharging()).isFalse(); in correctlyReportsCharging()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistLogger.kt54 val deviceState = if (legacyDeviceState == null) { in reportAssistantInvocationEventFromLegacy() constant
62 deviceState) in reportAssistantInvocationEventFromLegacy()
68 deviceState: Int? = null in reportAssistantInvocationEvent()
75 val deviceStateFinal = deviceState in reportAssistantInvocationEvent()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DBinderCallsStatsPerfTest.java67 CachedDeviceState deviceState = new CachedDeviceState(false, false); in setUp() local
68 mBinderCallsStats.setDeviceState(deviceState.getReadonlyClient()); in setUp()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/
DSettingsSidecarImpl.java132 SidecarDeviceState deviceState = new SidecarDeviceState(); in getDeviceState() local
133 deviceState.posture = posture; in getDeviceState()
134 return deviceState; in getDeviceState()
/frameworks/base/core/java/com/android/internal/os/
DLooperStats.java65 public void setDeviceState(@NonNull CachedDeviceState.Readonly deviceState) { in setDeviceState() argument
70 mDeviceState = deviceState; in setDeviceState()
71 mBatteryStopwatch = deviceState.createTimeOnBatteryStopwatch(); in setDeviceState()
DBinderCallsStats.java107 public void setDeviceState(@NonNull CachedDeviceState.Readonly deviceState) { in setDeviceState() argument
111 mDeviceState = deviceState; in setDeviceState()
112 mBatteryStopwatch = deviceState.createTimeOnBatteryStopwatch(); in setDeviceState()
/frameworks/base/services/core/java/com/android/server/
DBinderCallsStatsService.java267 CachedDeviceState.Readonly deviceState = getLocalService( in onBootPhase() local
269 mBinderCallsStats.setDeviceState(deviceState); in onBootPhase()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCaptureCollector.java286 public CaptureCollector(int maxInFlight, CameraDeviceState deviceState) { in CaptureCollector() argument
296 mDeviceState = deviceState; in CaptureCollector()
DRequestThreadManager.java1011 CameraDeviceState deviceState) { in RequestThreadManager() argument
1017 mDeviceState = checkNotNull(deviceState, "deviceState must not be null"); in RequestThreadManager()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLooperStatsTest.java531 TestableLooperStats(int samplingInterval, int sizeCap, CachedDeviceState deviceState) { in TestableLooperStats() argument
536 if (deviceState != null) { in TestableLooperStats()
537 setDeviceState(deviceState.getReadonlyClient()); in TestableLooperStats()
DBinderCallsStatsTest.java765 TestBinderCallsStats(CachedDeviceState deviceState) { in TestBinderCallsStats() argument
782 if (deviceState != null) { in TestBinderCallsStats()
783 setDeviceState(deviceState.getReadonlyClient()); in TestBinderCallsStats()