Home
last modified time | relevance | path

Searched refs:clock (Results 1 – 25 of 145) sorted by relevance

123456

/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockOptionsProvider.java16 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 …]
DClockManager.java16 package com.android.keyguard.clock;
246 final ClockPlugin clock = clocks.getCurrentClock(); in reload() local
248 listener.onClockChanged(clock instanceof DefaultClockController ? null : clock); in reload()
251 clock instanceof DefaultClockController ? null : clock)); in reload()
265 void onClockChanged(ClockPlugin clock); in onClockChanged() argument
/frameworks/base/location/java/android/location/
DGpsClock.java80 public void set(GpsClock clock) { in set() argument
81 mFlags = clock.mFlags; in set()
82 mLeapSecond = clock.mLeapSecond; in set()
83 mType = clock.mType; in set()
84 mTimeInNs = clock.mTimeInNs; in set()
85 mTimeUncertaintyInNs = clock.mTimeUncertaintyInNs; in set()
86 mFullBiasInNs = clock.mFullBiasInNs; in set()
87 mBiasInNs = clock.mBiasInNs; in set()
88 mBiasUncertaintyInNs = clock.mBiasUncertaintyInNs; in set()
89 mDriftInNsPerSec = clock.mDriftInNsPerSec; in set()
[all …]
DGnssClock.java71 public void set(GnssClock clock) { in set() argument
72 mFlags = clock.mFlags; in set()
73 mLeapSecond = clock.mLeapSecond; in set()
74 mTimeNanos = clock.mTimeNanos; in set()
75 mTimeUncertaintyNanos = clock.mTimeUncertaintyNanos; in set()
76 mFullBiasNanos = clock.mFullBiasNanos; in set()
77 mBiasNanos = clock.mBiasNanos; in set()
78 mBiasUncertaintyNanos = clock.mBiasUncertaintyNanos; in set()
79 mDriftNanosPerSecond = clock.mDriftNanosPerSecond; in set()
80 mDriftUncertaintyNanosPerSecond = clock.mDriftUncertaintyNanosPerSecond; in set()
[all …]
DGpsMeasurementsEvent.java79 public GpsMeasurementsEvent(GpsClock clock, GpsMeasurement[] measurements) { in GpsMeasurementsEvent() argument
80 if (clock == null) { in GpsMeasurementsEvent()
88 mClock = clock; in GpsMeasurementsEvent()
112 GpsClock clock = in.readParcelable(classLoader);
118 return new GpsMeasurementsEvent(clock, measurementsArray);
DGnssMeasurementsEvent.java102 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/Tethering/tests/unit/src/com/android/networkstack/tethering/
DConnectedClientsTrackerTest.kt45 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/
Dset-gpu-freq49 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
Dget-freq79 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/
DTimedQuotaManager.java45 public TimedQuotaManager(Clock clock, long quota, long periodMillis) { in TimedQuotaManager() argument
46 mClock = clock; in TimedQuotaManager()
49 mStartTimeMillis = clock.getElapsedSinceBootMillis(); in TimedQuotaManager()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScannerImpl.java43 WifiScannerImpl create(Context context, Looper looper, Clock clock); in create() argument
51 public WifiScannerImpl create(Context context, Looper looper, Clock clock) {
61 looper, clock);
64 new WificondChannelHelper(wifiNative), looper, clock);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointObjectFactory.java96 public AnqpCache makeAnqpCache(Clock clock) { in makeAnqpCache() argument
97 return new AnqpCache(clock); in makeAnqpCache()
107 public ANQPRequestManager makeANQPRequestManager(PasspointEventHandler handler, Clock clock) { in makeANQPRequestManager() argument
108 return new ANQPRequestManager(handler, clock); in makeANQPRequestManager()
/frameworks/base/packages/SystemUI/docs/
Dclock-plugins.md5 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/ml/nn/tools/systrace_parser/parser/test/
Domr1.txt4 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/
DThreadBaseTests.cpp53 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()
DCanvasContextTests.cpp30 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) override { in createAnimationContext() argument
31 return new AnimationContext(clock); in createAnimationContext()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConnectedScore.java43 public ConnectedScore(Clock clock) { in ConnectedScore() argument
44 mClock = clock; in ConnectedScore()
DAggressiveConnectedScore.java31 public AggressiveConnectedScore(ScoringParams scoringParams, Clock clock) { in AggressiveConnectedScore() argument
32 super(clock); in AggressiveConnectedScore()
DLinkProbeManager.java107 public LinkProbeManager(Clock clock, WifiNative wifiNative, WifiMetrics wifiMetrics, in LinkProbeManager() argument
109 mClock = clock; in LinkProbeManager()
116 mTimedQuotaManager = new TimedQuotaManager(clock, MAX_PROBE_COUNT_IN_PERIOD, PERIOD_MILLIS); in LinkProbeManager()
304 Experiment(Clock clock, WifiMetrics wifiMetrics, in Experiment() argument
307 mClock = clock; in Experiment()
DOpenNetworkNotifier.java41 Clock clock, in OpenNetworkNotifier() argument
50 context, looper, framework, clock, in OpenNetworkNotifier()
/frameworks/base/core/java/android/os/
DBestClock.java47 for (Clock clock : clocks) { in millis()
49 return clock.millis(); in millis()
/frameworks/av/media/tests/benchmark/src/native/common/utils/
DTimers.cpp29 nsecs_t systemTime(int clock) { in systemTime() argument
34 clock_gettime(clocks[clock], &t); in systemTime()
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java314 private final Clock clock; field in AmbientBrightnessStatsTracker.Timer
318 public Timer(Clock clock) { in Timer() argument
319 this.clock = clock; in Timer()
328 startTimeMillis = clock.elapsedTimeMillis(); in start()
339 return (float) ((clock.elapsedTimeMillis() - startTimeMillis) / 1000.0); in totalDurationSec()
/frameworks/base/services/core/java/com/android/server/display/utils/
DHistory.java53 public History(int size, Clock clock) { in History() argument
60 mClock = clock; in History()
/frameworks/rs/script_api/
Drs_time.spec20 The functions below can be used to tell the current clock time and the current
92 Returns the current system clock (uptime) in milliseconds.
100 Returns the current system clock (uptime) in nanoseconds.

123456