Searched refs:clock (Results 1 - 25 of 78) sorted by relevance

1234

/frameworks/base/core/java/android/os/
H A DBestClock.java47 for (Clock clock : clocks) {
49 return clock.millis();
51 // Ignore and attempt the next clock
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DAggressiveConnectedScore.java31 public AggressiveConnectedScore(ScoringParams scoringParams, Clock clock) { argument
32 super(clock);
H A DConnectedScore.java42 * @param clock is the time source for getMillis()
44 public ConnectedScore(Clock clock) { argument
45 mClock = clock;
H A DOpenNetworkNotifier.java40 Clock clock,
47 SystemMessage.NOTE_NETWORK_AVAILABLE, context, looper, framework, clock,
36 OpenNetworkNotifier( Context context, Looper looper, FrameworkFacade framework, Clock clock, WifiMetrics wifiMetrics, WifiConfigManager wifiConfigManager, WifiConfigStore wifiConfigStore, WifiStateMachine wifiStateMachine, ConnectToNetworkNotificationBuilder connectToNetworkNotificationBuilder) argument
H A DSelfRecovery.java54 public SelfRecovery(WifiController wifiController, Clock clock) { argument
56 mClock = clock;
H A DCarrierNetworkNotifier.java46 Clock clock,
53 SystemMessage.NOTE_CARRIER_NETWORK_AVAILABLE, context, looper, framework, clock,
42 CarrierNetworkNotifier( Context context, Looper looper, FrameworkFacade framework, Clock clock, WifiMetrics wifiMetrics, WifiConfigManager wifiConfigManager, WifiConfigStore wifiConfigStore, WifiStateMachine wifiStateMachine, ConnectToNetworkNotificationBuilder connectToNetworkNotificationBuilder) argument
/frameworks/av/media/common_time/
H A DAndroid.mk4 # (binder marshalers for ICommonClock as well as common clock and local clock
/frameworks/base/libs/hwui/
H A DIContextFactory.h30 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) = 0;
H A DAnimationContext.cpp25 AnimationContext::AnimationContext(renderthread::TimeLord& clock) argument
26 : mClock(clock)
/frameworks/base/libs/hwui/tests/unit/
H A DCanvasContextTests.cpp30 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) override {
31 return new AnimationContext(clock);
H A DThreadBaseTests.cpp53 using clock = WorkQueue::clock;
56 auto queuedAt = clock::now();
57 queue().postDelayed(100_us, [&]() { ranAtPromise.set_value(clock::now()); });
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointObjectFactory.java79 * @param clock Instance of {@link Clock}
82 public AnqpCache makeAnqpCache(Clock clock) { argument
83 return new AnqpCache(clock);
90 * @param clock Instance of {@link Clock}
93 public ANQPRequestManager makeANQPRequestManager(PasspointEventHandler handler, Clock clock) { argument
94 return new ANQPRequestManager(handler, clock);
H A DANQPData.java42 public ANQPData(Clock clock, Map<Constants.ANQPElementType, ANQPElement> anqpElements) { argument
43 mClock = clock;
H A DAnqpCache.java43 public AnqpCache(Clock clock) { argument
44 mClock = clock;
/frameworks/rs/perf-test-scripts/
H A 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`
H A 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
/frameworks/base/location/java/android/location/
H A DGnssMeasurementsEvent.java102 public GnssMeasurementsEvent(GnssClock clock, GnssMeasurement[] measurements) { argument
103 if (clock == null) {
104 throw new InvalidParameterException("Parameter 'clock' must not be null.");
113 mClock = clock;
117 * Gets the GNSS receiver clock information associated with the measurements for the current
139 GnssClock clock = in.readParcelable(classLoader);
145 return new GnssMeasurementsEvent(clock, measurementsArray);
H A DGpsMeasurementsEvent.java79 public GpsMeasurementsEvent(GpsClock clock, GpsMeasurement[] measurements) { argument
80 if (clock == null) {
81 throw new InvalidParameterException("Parameter 'clock' must not be null.");
88 mClock = clock;
112 GpsClock clock = in.readParcelable(classLoader);
118 return new GpsMeasurementsEvent(clock, measurementsArray);
H A DGnssClock.java24 * A class containing a GPS clock timestamp.
26 * <p>It represents a measurement of the GPS receiver's clock.
66 public void set(GnssClock clock) { argument
67 mFlags = clock.mFlags;
68 mLeapSecond = clock.mLeapSecond;
69 mTimeNanos = clock.mTimeNanos;
70 mTimeUncertaintyNanos = clock.mTimeUncertaintyNanos;
71 mFullBiasNanos = clock.mFullBiasNanos;
72 mBiasNanos = clock.mBiasNanos;
73 mBiasUncertaintyNanos = clock
[all...]
H A DGpsClock.java24 * A class containing a GPS clock timestamp.
25 * It represents a measurement of the GPS receiver's clock.
79 public void set(GpsClock clock) { argument
80 mFlags = clock.mFlags;
81 mLeapSecond = clock.mLeapSecond;
82 mType = clock.mType;
83 mTimeInNs = clock.mTimeInNs;
84 mTimeUncertaintyInNs = clock.mTimeUncertaintyInNs;
85 mFullBiasInNs = clock.mFullBiasInNs;
86 mBiasInNs = clock
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DWifiScannerImpl.java43 WifiScannerImpl create(Context context, Looper looper, Clock clock); argument
51 public WifiScannerImpl create(Context context, Looper looper, Clock clock) {
61 looper, clock);
64 new WificondChannelHelper(wifiNative), looper, clock);
/frameworks/base/libs/hwui/thread/
H A DWorkQueue.h42 using clock = MonotonicClock;
64 auto now = clock::now();
90 enqueue(WorkItem{clock::now() + delay, std::function<void()>(std::forward<F>(func))});
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DCollapsedStatusBarFragmentTest.java77 assertEquals(View.VISIBLE, mFragment.getView().findViewById(R.id.clock)
124 assertEquals(View.GONE, mFragment.getView().findViewById(R.id.clock).getVisibility());
128 assertEquals(View.VISIBLE, mFragment.getView().findViewById(R.id.clock).getVisibility());
/frameworks/rs/script_api/
H A 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.
/frameworks/base/services/tests/servicestests/src/com/android/server/testutils/
H A DTestHandler.java38 * For the latter use case this also supports providing a custom clock (in a format of a
46 * @see OffsettableClock for a useful custom clock implementation to use with this handler
63 public TestHandler(Callback callback, LongSupplier clock) { argument
65 mClock = clock;
74 // if custom clock is given, recalculate the time with regards to it

Completed in 448 milliseconds

1234