/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | NitzSignalInputFilterPredicateFactory.java | 55 @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 …]
|
D | NitzStateMachineImpl.java | 135 DeviceState deviceState = new DeviceStateImpl(phone); in createInstance() local 138 new TimeZoneSuggesterImpl(deviceState, timeZoneLookupHelper); in createInstance() 141 NitzSignalInputFilterPredicateFactory.create(phone.getContext(), deviceState); in createInstance()
|
D | TimeZoneSuggesterImpl.java | 50 @NonNull DeviceState deviceState, @NonNull TimeZoneLookupHelper timeZoneLookupHelper) { in TimeZoneSuggesterImpl() 51 mDeviceState = Objects.requireNonNull(deviceState); in TimeZoneSuggesterImpl()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CachedDeviceStateServiceTest.java | 97 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/ |
D | AssistLogger.kt | 54 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/ |
D | BinderCallsStatsPerfTest.java | 67 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/ |
D | SettingsSidecarImpl.java | 132 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/ |
D | LooperStats.java | 65 public void setDeviceState(@NonNull CachedDeviceState.Readonly deviceState) { in setDeviceState() argument 70 mDeviceState = deviceState; in setDeviceState() 71 mBatteryStopwatch = deviceState.createTimeOnBatteryStopwatch(); in setDeviceState()
|
D | BinderCallsStats.java | 107 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/ |
D | BinderCallsStatsService.java | 267 CachedDeviceState.Readonly deviceState = getLocalService( in onBootPhase() local 269 mBinderCallsStats.setDeviceState(deviceState); in onBootPhase()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CaptureCollector.java | 286 public CaptureCollector(int maxInFlight, CameraDeviceState deviceState) { in CaptureCollector() argument 296 mDeviceState = deviceState; in CaptureCollector()
|
D | RequestThreadManager.java | 1011 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/ |
D | LooperStatsTest.java | 531 TestableLooperStats(int samplingInterval, int sizeCap, CachedDeviceState deviceState) { in TestableLooperStats() argument 536 if (deviceState != null) { in TestableLooperStats() 537 setDeviceState(deviceState.getReadonlyClient()); in TestableLooperStats()
|
D | BinderCallsStatsTest.java | 765 TestBinderCallsStats(CachedDeviceState deviceState) { in TestBinderCallsStats() argument 782 if (deviceState != null) { in TestBinderCallsStats() 783 setDeviceState(deviceState.getReadonlyClient()); in TestBinderCallsStats()
|