Home
last modified time | relevance | path

Searched refs:Clock (Results 1 – 25 of 147) sorted by relevance

123456

/frameworks/av/media/codec2/sfplugin/
DPipelineWatcher.h34 typedef std::chrono::steady_clock Clock; typedef
77 const Clock::time_point &queuedAt);
118 Clock::duration elapsed(const Clock::time_point &now, size_t n) const;
128 const Clock::time_point &q) in Frame()
132 const Clock::time_point queuedAt;
DPipelineWatcher.cpp51 const Clock::time_point &queuedAt) { in onWorkQueued()
136 PipelineWatcher::Clock::duration PipelineWatcher::elapsed( in elapsed()
137 const PipelineWatcher::Clock::time_point &now, size_t n) const { in elapsed()
139 return Clock::duration::zero(); in elapsed()
141 std::vector<Clock::duration> durations; in elapsed()
143 Clock::duration elapsed = now - value.second.queuedAt; in elapsed()
150 std::greater<Clock::duration>()); in elapsed()
/frameworks/base/core/java/android/os/
DBestClock.java21 import java.time.Clock;
38 private final Clock[] clocks;
40 public BestClock(ZoneId zone, Clock... clocks) { in BestClock()
47 for (Clock clock : clocks) { in millis()
DSystemClock.java29 import java.time.Clock;
184 public static @NonNull Clock uptimeMillisClock() { in uptimeMillisClock()
194 public static @NonNull Clock uptimeClock() { in uptimeClock()
217 public static @NonNull Clock elapsedRealtimeClock() {
315 public static @NonNull Clock currentNetworkTimeClock() {
330 public static @NonNull Clock currentGnssTimeClock() {
DSimpleClock.java19 import java.time.Clock;
24 public abstract class SimpleClock extends Clock {
37 public Clock withZone(ZoneId zone) { in withZone()
/frameworks/base/core/java/android/hardware/radio/
DRadioMetadata.java215 public static final class Clock implements Parcelable { class in RadioMetadata
228 public static final @android.annotation.NonNull Parcelable.Creator<Clock> CREATOR
229 = new Parcelable.Creator<Clock>() {
230 public Clock createFromParcel(Parcel in) {
231 return new Clock(in);
234 public Clock[] newArray(int size) {
235 return new Clock[size];
239 public Clock(long utcEpochSeconds, int timezoneOffsetMinutes) { in Clock() method in RadioMetadata.Clock
244 private Clock(Parcel in) { in Clock() method in RadioMetadata.Clock
379 public Clock getClock(String key) { in getClock()
[all …]
/frameworks/base/services/core/java/com/android/server/display/utils/
DHistory.java19 import java.time.Clock;
37 private Clock mClock;
44 this(size, Clock.systemUTC()); in History()
53 public History(int size, Clock clock) { in History()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTimedQuotaManager.java19 import com.android.server.wifi.Clock;
25 private final Clock mClock;
45 public TimedQuotaManager(Clock clock, long quota, long periodMillis) { in TimedQuotaManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DClockPreference.java25 import com.android.systemui.statusbar.policy.Clock;
51 Clock.CLOCK_SECONDS); in onAttached()
66 } else if (Clock.CLOCK_SECONDS.equals(key)) { in onTuningChanged()
87 Dependency.get(TunerService.class).setValue(Clock.CLOCK_SECONDS, SECONDS.equals(value) ? 1 in persistString()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DStateControllerTest.java52 import java.time.Clock;
118 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp()
120 Clock.fixed(SystemClock.uptimeMillisClock().instant(), ZoneOffset.UTC); in setUp()
122 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPData.java20 import com.android.server.wifi.Clock;
38 private final Clock mClock;
42 public ANQPData(Clock clock, Map<Constants.ANQPElementType, ANQPElement> anqpElements) { in ANQPData()
DAnqpCache.java20 import com.android.server.wifi.Clock;
39 private Clock mClock;
43 public AnqpCache(Clock clock) { in AnqpCache()
DPasspointObjectFactory.java23 import com.android.server.wifi.Clock;
96 public AnqpCache makeAnqpCache(Clock clock) { in makeAnqpCache()
107 public ANQPRequestManager makeANQPRequestManager(PasspointEventHandler handler, Clock clock) { in makeANQPRequestManager()
DANQPRequestManager.java22 import com.android.server.wifi.Clock;
40 private final Clock mClock;
98 public ANQPRequestManager(PasspointEventHandler handler, Clock clock) { in ANQPRequestManager()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DConnectedClientsTracker.java47 private final Clock mClock;
55 static class Clock { class in ConnectedClientsTracker
62 this(new Clock()); in ConnectedClientsTracker()
66 ConnectedClientsTracker(Clock clock) { in ConnectedClientsTracker()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConnectedScore.java34 final Clock mClock;
43 public ConnectedScore(Clock clock) { in ConnectedScore()
DSelfRecovery.java51 private final Clock mClock;
54 public SelfRecovery(WifiController wifiController, Clock clock) { in SelfRecovery()
DLinkProbeManager.java69 private final Clock mClock;
107 public LinkProbeManager(Clock clock, WifiNative wifiNative, WifiMetrics wifiMetrics, in LinkProbeManager()
290 private final Clock mClock;
304 Experiment(Clock clock, WifiMetrics wifiMetrics, in Experiment()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScannerImpl.java25 import com.android.server.wifi.Clock;
43 WifiScannerImpl create(Context context, Looper looper, Clock clock); in create()
51 public WifiScannerImpl create(Context context, Looper looper, Clock clock) {
/frameworks/base/core/java/android/widget/
DAnalogClock.java33 import java.time.Clock;
50 private Clock mClock;
104 mClock = Clock.systemDefaultZone(); in AnalogClock()
137 mClock = Clock.systemDefaultZone(); in onAttachedToWindow()
265 mClock = Clock.system(ZoneId.of(tz));
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java34 import java.time.Clock;
65 private final Clock mClock;
68 this(context, Clock.systemDefaultZone()); in RecentLocationAccesses()
72 RecentLocationAccesses(Context context, Clock clock) { in RecentLocationAccesses()
/frameworks/base/core/tests/coretests/src/android/util/
DRecurrenceRuleTest.java23 import java.time.Clock;
33 static Clock sOriginalClock;
48 RecurrenceRule.sClock = Clock.fixed(instant, ZoneId.systemDefault()); in setClock()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPDataTest.java26 import com.android.server.wifi.Clock;
44 @Mock Clock mClock;
DAnqpCacheTest.java27 import com.android.server.wifi.Clock;
45 @Mock Clock mClock;
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistModule.java24 import androidx.slice.Clock;
85 static Clock provideSystemClock() { in provideSystemClock()

123456