/frameworks/base/core/java/android/os/ |
D | BestClock.java | 21 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()
|
D | SystemClock.java | 26 import java.time.Clock; 179 public static @NonNull Clock uptimeMillisClock() { in uptimeMillisClock() 189 public static @NonNull Clock uptimeClock() { in uptimeClock() 212 public static @NonNull Clock elapsedRealtimeClock() { 308 public static @NonNull Clock currentNetworkTimeClock() {
|
D | SimpleClock.java | 19 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/ |
D | RadioMetadata.java | 215 public static final class Clock implements Parcelable { class in RadioMetadata 228 public static final 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 378 public Clock getClock(String key) { in getClock() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/controllers/ |
D | JobStatusTest.java | 32 import java.time.Clock; 43 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp() 45 Clock.fixed(SystemClock.uptimeMillisClock().instant(), ZoneOffset.UTC); in setUp() 47 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
D | ConnectivityControllerTest.java | 61 import java.time.Clock; 88 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC); in setUp() 90 Clock.fixed(SystemClock.uptimeMillisClock().instant(), ZoneOffset.UTC); in setUp() 92 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ClockPreference.java | 24 import com.android.systemui.statusbar.policy.Clock; 50 Clock.CLOCK_SECONDS); in onAttached() 65 } else if (Clock.CLOCK_SECONDS.equals(key)) { in onTuningChanged() 86 Dependency.get(TunerService.class).setValue(Clock.CLOCK_SECONDS, SECONDS.equals(value) ? 1 in persistString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | ANQPData.java | 20 import com.android.server.wifi.Clock; 38 private final Clock mClock; 42 public ANQPData(Clock clock, Map<Constants.ANQPElementType, ANQPElement> anqpElements) { in ANQPData()
|
D | PasspointObjectFactory.java | 23 import com.android.server.wifi.Clock; 82 public AnqpCache makeAnqpCache(Clock clock) { in makeAnqpCache() 93 public ANQPRequestManager makeANQPRequestManager(PasspointEventHandler handler, Clock clock) { in makeANQPRequestManager()
|
D | AnqpCache.java | 20 import com.android.server.wifi.Clock; 39 private Clock mClock; 43 public AnqpCache(Clock clock) { in AnqpCache()
|
D | ANQPRequestManager.java | 22 import com.android.server.wifi.Clock; 40 private final Clock mClock; 98 public ANQPRequestManager(PasspointEventHandler handler, Clock clock) { in ANQPRequestManager()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScannerImpl.java | 25 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) {
|
D | HalWifiScannerImpl.java | 26 import com.android.server.wifi.Clock; 48 WifiMonitor wifiMonitor, Looper looper, Clock clock) { in HalWifiScannerImpl()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ConnectedScore.java | 35 final Clock mClock; 44 public ConnectedScore(Clock clock) { in ConnectedScore()
|
D | SelfRecovery.java | 51 private final Clock mClock; 54 public SelfRecovery(WifiController wifiController, Clock clock) { in SelfRecovery()
|
D | Clock.java | 23 public class Clock { class
|
D | AggressiveConnectedScore.java | 31 public AggressiveConnectedScore(ScoringParams scoringParams, Clock clock) { in AggressiveConnectedScore()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | RecurrenceRuleTest.java | 23 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/ |
D | ANQPDataTest.java | 26 import com.android.server.wifi.Clock; 44 @Mock Clock mClock;
|
D | AnqpCacheTest.java | 27 import com.android.server.wifi.Clock; 45 @Mock Clock mClock;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/car/ |
D | CarQsFragmentTest.java | 32 import com.android.systemui.statusbar.policy.Clock; 59 .replace(Clock.class, View.class) in initDependencies()
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | PackageTracker.java | 33 import java.time.Clock; 65 private final Clock mElapsedRealtimeClock; 98 Clock elapsedRealtimeClock = SystemClock.elapsedRealtimeClock(); in create() 110 PackageTracker(Clock elapsedRealtimeClock, ConfigHelper configHelper, in PackageTracker()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | Clock.java | 64 public class Clock extends TextView implements DemoMode, Tunable, CommandQueue.Callbacks, class 102 public Clock(Context context) { in Clock() method in Clock 106 public Clock(Context context, AttributeSet attrs) { in Clock() method in Clock 110 public Clock(Context context, AttributeSet attrs, int defStyle) { in Clock() method in Clock 114 R.styleable.Clock, in Clock()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSFragmentTest.java | 37 import com.android.systemui.statusbar.policy.Clock; 73 .replace(Clock.class, View.class) in addLeakCheckDependencies()
|
/frameworks/base/core/java/android/util/ |
D | RecurrenceRule.java | 28 import java.time.Clock; 50 public static Clock sClock = Clock.systemDefaultZone();
|