/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 | 95 CachedDeviceState.Readonly deviceState = in correctlyReportsScreenInteractive() local 99 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() local 122 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 …]
|
/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/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()
|