/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/ |
D | FakeExecutorTest.java | 51 FakeSystemClock clock = new FakeSystemClock(); in testNoDelay() local 52 FakeExecutor fakeExecutor = new FakeExecutor(clock); in testNoDelay() 55 assertEquals(10000, clock.uptimeMillis()); in testNoDelay() 61 assertEquals(10000, clock.uptimeMillis()); in testNoDelay() 65 assertEquals(10000, clock.uptimeMillis()); in testNoDelay() 71 assertEquals(10000, clock.uptimeMillis()); in testNoDelay() 76 assertEquals(10000, clock.uptimeMillis()); in testNoDelay() 86 assertEquals(10000, clock.uptimeMillis()); in testNoDelay() 91 assertEquals(10000, clock.uptimeMillis()); in testNoDelay() 100 FakeSystemClock clock = new FakeSystemClock(); in testDelayed() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ClockOptionsProvider.java | 16 package com.android.keyguard.clock; 104 ClockInfo clock = clocks.get(i); in query() local 106 .add(COLUMN_NAME, clock.getName()) in query() 107 .add(COLUMN_TITLE, clock.getTitle()) in query() 108 .add(COLUMN_ID, clock.getId()) in query() 109 .add(COLUMN_THUMBNAIL, createThumbnailUri(clock)) in query() 110 .add(COLUMN_PREVIEW, createPreviewUri(clock)); in query() 141 ClockInfo clock = null; in openFile() local 145 clock = clocks.get(i); in openFile() 149 if (clock == null) { in openFile() [all …]
|
D | ClockManager.java | 16 package com.android.keyguard.clock; 247 final ClockPlugin clock = clocks.getCurrentClock(); in reload() local 249 listener.onClockChanged(clock instanceof DefaultClockController ? null : clock); in reload() 252 clock instanceof DefaultClockController ? null : clock)); in reload() 266 void onClockChanged(ClockPlugin clock); in onClockChanged() argument
|
/frameworks/base/location/java/android/location/ |
D | GnssClock.java | 78 public void set(GnssClock clock) { in set() argument 79 mFlags = clock.mFlags; in set() 80 mLeapSecond = clock.mLeapSecond; in set() 81 mTimeNanos = clock.mTimeNanos; in set() 82 mTimeUncertaintyNanos = clock.mTimeUncertaintyNanos; in set() 83 mFullBiasNanos = clock.mFullBiasNanos; in set() 84 mBiasNanos = clock.mBiasNanos; in set() 85 mBiasUncertaintyNanos = clock.mBiasUncertaintyNanos; in set() 86 mDriftNanosPerSecond = clock.mDriftNanosPerSecond; in set() 87 mDriftUncertaintyNanosPerSecond = clock.mDriftUncertaintyNanosPerSecond; in set() [all …]
|
D | GpsClock.java | 83 public void set(GpsClock clock) { in set() argument 84 mFlags = clock.mFlags; in set() 85 mLeapSecond = clock.mLeapSecond; in set() 86 mType = clock.mType; in set() 87 mTimeInNs = clock.mTimeInNs; in set() 88 mTimeUncertaintyInNs = clock.mTimeUncertaintyInNs; in set() 89 mFullBiasInNs = clock.mFullBiasInNs; in set() 90 mBiasInNs = clock.mBiasInNs; in set() 91 mBiasUncertaintyInNs = clock.mBiasUncertaintyInNs; in set() 92 mDriftInNsPerSec = clock.mDriftInNsPerSec; in set() [all …]
|
D | GpsMeasurementsEvent.java | 82 public GpsMeasurementsEvent(GpsClock clock, GpsMeasurement[] measurements) { in GpsMeasurementsEvent() argument 83 if (clock == null) { in GpsMeasurementsEvent() 91 mClock = clock; in GpsMeasurementsEvent() 115 GpsClock clock = in.readParcelable(classLoader); 121 return new GpsMeasurementsEvent(clock, measurementsArray);
|
D | GnssMeasurementsEvent.java | 102 public GnssMeasurementsEvent(GnssClock clock, GnssMeasurement[] measurements) { in GnssMeasurementsEvent() argument 103 if (clock == null) { in GnssMeasurementsEvent() 113 mClock = clock; in GnssMeasurementsEvent() 139 GnssClock clock = in.readParcelable(classLoader); 145 return new GnssMeasurementsEvent(clock, measurementsArray);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/ |
D | LogBufferFreezerTest.kt | 53 val clock = FakeSystemClock() constant 54 val executor = FakeExecutor(clock) 89 clock.advanceTime(501) in testBuffersAreUnfrozenAfterTimeout() 100 clock.advanceTime(499) in testBuffersAreNotPrematurelyUnfrozen() 109 clock.advanceTime(101) in testBuffersAreNotPrematurelyUnfrozen() 113 clock.advanceTime(401) in testBuffersAreNotPrematurelyUnfrozen()
|
D | LogEulogizerTest.kt | 57 private val clock = FakeSystemClock() constant 72 LogBufferEulogizer(dumpManager, clock, files, path, MIN_WRITE_GAP, MAX_READ_AGE) in setUp() 107 fileAttrs.setLastModifiedTime(clock.currentTimeMillis() - MIN_WRITE_GAP - 20) in testExistingFileIsOverwritten() 121 fileAttrs.setLastModifiedTime(clock.currentTimeMillis() - MIN_WRITE_GAP + 7) in testYoungFileIsNotOverwritten() 135 fileAttrs.setLastModifiedTime(clock.currentTimeMillis() - MAX_READ_AGE + 7) in testRecentFileIsDumped() 149 fileAttrs.setLastModifiedTime(clock.currentTimeMillis() - MAX_READ_AGE - 7) in testOldFileIsNotDumped()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | NetworkDetailsTracker.java | 60 @NonNull Clock clock, in createNetworkDetailsTracker() argument 67 connectivityManager, networkScoreManager, mainHandler, workerHandler, clock, in createNetworkDetailsTracker() 71 connectivityManager, networkScoreManager, mainHandler, workerHandler, clock, in createNetworkDetailsTracker() 89 @NonNull Clock clock, in NetworkDetailsTracker() argument 94 mainHandler, workerHandler, clock, maxScanAgeMillis, scanIntervalMillis, in NetworkDetailsTracker()
|
D | ScanResultUpdater.java | 44 public ScanResultUpdater(Clock clock) { in ScanResultUpdater() argument 45 this(clock, Long.MAX_VALUE); in ScanResultUpdater() 52 public ScanResultUpdater(Clock clock, long maxScanAgeMillis) { in ScanResultUpdater() argument 54 mClock = clock; in ScanResultUpdater()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | ConnectedClientsTrackerTest.kt | 45 private val clock = TestClock(1324L) constant in com.android.networkstack.tethering.ConnectedClientsTrackerTest 49 makeAddrInfo("192.168.43.44/32", null /* hostname */, clock.time + 20)), 54 "192.168.43.45/32", "my_hostname", clock.time + 30) 57 makeAddrInfo("2001:db8:12::34/72", "other_hostname", clock.time + 10)), 62 listOf(makeAddrInfo("2001:db8:34::34/72", "other_other_hostname", clock.time + 10)), 76 val tracker = ConnectedClientsTracker(clock) in testUpdateConnectedClients() 117 val tracker = ConnectedClientsTracker(clock) in testUpdateConnectedClients_LeaseExpiration() 123 clock.time += 20 in testUpdateConnectedClients_LeaseExpiration()
|
/frameworks/rs/perf-test-scripts/ |
D | set-gpu-freq | 49 elif fileexists /d/clock/gbus/possible_rates; then 50 frequencies=(`getprop /d/clock/gbus/possible_rates`) 85 setprop /d/clock/override.gbus/state 1 86 setprop /d/clock/override.gbus/rate $freq
|
D | get-freq | 79 elif fileexists /d/clock/gbus/possible_rates; then 80 frequencies=(`getprop /d/clock/gbus/possible_rates`) 95 elif fileexists /d/clock/override.gbus/rate; then 96 freq=`getprop /d/clock/override.gbus/rate`
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | TimedQuotaManager.java | 45 public TimedQuotaManager(Clock clock, long quota, long periodMillis) { in TimedQuotaManager() argument 46 mClock = clock; in TimedQuotaManager() 49 mStartTimeMillis = clock.getElapsedSinceBootMillis(); in TimedQuotaManager()
|
/frameworks/base/packages/SystemUI/docs/ |
D | executors.md | 205 the clock.) 219 according to the supplied clock. 232 Move the internal clock to the item at 268 Here we advance the clock directly: 271 FakeSystemClock clock = new FakeSystemClock(); 272 FakeExecutor executor = new FakeExecutor(clock); 277 clock.synchronizeListeners(); // The clock just told the Executor it's time-0. 279 clock.setUptimeMillis(500); // The clock just told the Executor it's time-500. 286 FakeSystemClock clock = new FakeSystemClock(); 287 FakeExecutor executor = new FakeExecutor(clock); [all …]
|
D | clock-plugins.md | 5 The clock appearing on the lock screen and always on display (AOD) can be 18 blocks of color, and the clock should be moved around the screen to 21 (clock movement) scheme and shape of the clock. 30 For clock face that contain color, it is recommended to use an all white 32 the clock face represents the worst case scenario. 91 action should be taken to change the shape of the clock face or increase the
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScannerImpl.java | 47 WifiScannerImpl create(Context context, Looper looper, Clock clock, in create() argument 56 public WifiScannerImpl create(Context context, Looper looper, Clock clock, 66 looper, clock); 69 new WificondChannelHelper(wifiNative), looper, clock);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointObjectFactory.java | 98 public AnqpCache makeAnqpCache(Clock clock) { in makeAnqpCache() argument 99 return new AnqpCache(clock); in makeAnqpCache() 109 public ANQPRequestManager makeANQPRequestManager(PasspointEventHandler handler, Clock clock) { in makeANQPRequestManager() argument 110 return new ANQPRequestManager(handler, clock); in makeANQPRequestManager()
|
/frameworks/ml/nn/tools/systrace_parser/parser/test/ |
D | omr1.txt | 4 NNAPI timing summary (self-times, ms wall-clock) … 19 NNAPI timing summary (self-times, ms wall-clock) … 34 NNAPI timing summary (self-times, ms wall-clock) … 49 NNAPI timing summary (self-times, ms wall-clock) … 64 NNAPI timing summary (self-times, ms wall-clock) …
|
/frameworks/base/libs/hwui/tests/unit/ |
D | ThreadBaseTests.cpp | 53 using clock = WorkQueue::clock; in TEST() typedef 56 auto queuedAt = clock::now(); in TEST() 57 queue().postDelayed(100_us, [&]() { ranAtPromise.set_value(clock::now()); }); in TEST()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ConnectedScore.java | 43 public ConnectedScore(Clock clock) { in ConnectedScore() argument 44 mClock = clock; in ConnectedScore()
|
D | AggressiveConnectedScore.java | 31 public AggressiveConnectedScore(ScoringParams scoringParams, Clock clock) { in AggressiveConnectedScore() argument 32 super(clock); in AggressiveConnectedScore()
|
/frameworks/base/core/java/android/os/ |
D | BestClock.java | 47 for (Clock clock : clocks) { in millis() 49 return clock.millis(); in millis()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTestUtil.java | 92 WifiConfigManager wifiConfigManager, Clock clock) { in setupScanDetailsAndConfigStore() argument 93 List<ScanDetail> scanDetails = buildScanDetails(ssids, bssids, freqs, caps, levels, clock); in setupScanDetailsAndConfigStore() 104 int[] securities, WifiConfigManager wifiConfigManager, Clock clock, in setupScanDetailsAndConfigStore() argument 112 caps, levels, iesByteStream, clock); in setupScanDetailsAndConfigStore() 136 WifiConfigManager wifiConfigManager, Clock clock) { in setupScanDetailsAndConfigForEapSimNetwork() argument 142 List<ScanDetail> scanDetails = buildScanDetails(ssids, bssids, freqs, caps, levels, clock); in setupScanDetailsAndConfigForEapSimNetwork() 206 String[] caps, int[] levels, Clock clock) { in buildScanDetails() argument 209 long timeStamp = clock.getElapsedSinceBootMillis(); in buildScanDetails() 233 String[] caps, int[] levels, byte[][] iesByteStream, Clock clock) { in buildScanDetailsWithNetworkDetails() argument 236 long timeStamp = clock.getElapsedSinceBootMillis(); in buildScanDetailsWithNetworkDetails()
|