Home
last modified time | relevance | path

Searched defs:timer (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/native/services/inputflinger/reader/mapper/gestures/
DTimerProvider.cpp45 void setDeadline(void* data, GesturesTimer* timer, stime_t delay, GesturesTimerCallback callback, in setDeadline()
51 void cancelTimer(void* data, GesturesTimer* timer) { in cancelTimer()
55 void freeTimer(void* data, GesturesTimer* timer) { in freeTimer()
72 auto timerPtrToString = [](const std::unique_ptr<GesturesTimer>& timer) { in dump()
103 void TimerProvider::setDeadline(GesturesTimer* timer, nsecs_t delay, GesturesTimerCallback callback, in setDeadline()
109 void TimerProvider::setDeadlineWithoutRequestingTimeout(GesturesTimer* timer, nsecs_t delay, in setDeadlineWithoutRequestingTimeout()
129 void TimerProvider::cancelTimer(GesturesTimer* timer) { in cancelTimer()
135 void TimerProvider::freeTimer(GesturesTimer* timer) { in freeTimer()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsSamplingTimerTest.java34 final BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, in testSettingStalePreservesData() local
62 final BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, in testEndSampleAndContinueWhenTimeOrCountDecreases() local
113 BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, timeBase); in testFirstUpdateIsAbsorbed() local
156 BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, timeBase); in testSampleTimerSummaryParceling() local
DBatteryStatsDurationTimerTest.java41 final BatteryStatsImpl.DurationTimer timer = new BatteryStatsImpl.DurationTimer(clocks, in testStartStop() local
113 final BatteryStatsImpl.DurationTimer timer = new BatteryStatsImpl.DurationTimer(clocks, in testReset() local
149 final BatteryStatsImpl.DurationTimer timer = new BatteryStatsImpl.DurationTimer(clocks, in testResetAndDetach() local
176 final BatteryStatsImpl.DurationTimer timer = new BatteryStatsImpl.DurationTimer(clocks, in testParceling() local
DBatteryStatsTimerTest.java96 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testRunning() local
162 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testResetNoDetach() local
185 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testResetDetach() local
255 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testGetTotalTimeLocked() local
280 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testGetCountLocked() local
301 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testGetTimeSinceMarked() local
318 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testLogState() local
DBatteryStatsBackgroundStatsTest.java271 BatteryStats.Timer timer = bi.getUidStats().get(UID).getBluetoothScanTimer(); in doTestAppBluetoothScanInternal() local
336 BatteryStats.Timer timer = jobs.valueAt(0); in testJob() local
398 BatteryStats.Timer timer = syncs.valueAt(0); in testSyncs() local
DBatteryStatsDualTimerTest.java40 final BatteryStatsImpl.DualTimer timer = new BatteryStatsImpl.DualTimer(clocks, in testResetDetach() local
DBatteryStatsStopwatchTimerTest.java37 final BatteryStatsImpl.StopwatchTimer timer = new BatteryStatsImpl.StopwatchTimer(clocks, in testCount() local
DBatteryStatsSensorTest.java468 BatteryStats.Timer timer = sensor.getSensorTime(); in testSensorResetTimes() local
/frameworks/base/libs/androidfw/tests/
DResourceTimer_test.cpp39 ResourceTimer::Timer timer; in TEST() local
118 ResourceTimer::Timer timer; in TEST() local
139 ResourceTimer::Timer timer; in TEST() local
218 ResourceTimer::Timer timer; in TEST() local
/frameworks/native/services/inputflinger/tests/
DTimerProvider_test.cpp81 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() local
103 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() local
113 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() local
145 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() local
170 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() local
185 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() local
234 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() local
284 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() local
301 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() local
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
DAnrTimerTest.java185 try (TestAnrTimer timer = new TestAnrTimer(helper)) { in testSimpleTimeout()
204 try (TestAnrTimer timer = new TestAnrTimer(helper)) { in testTimerRestart()
224 try (TestAnrTimer timer = new TestAnrTimer(helper)) { in testTimerZero()
245 try (TestAnrTimer timer = new TestAnrTimer(helper)) { in testMultipleTimers()
294 try (TestAnrTimer timer = new TestAnrTimer(helper)) { in testCancelTimer()
337 try (TestAnrTimer timer = new TestAnrTimer(helper)) { in testDumpOutput()
374 TestAnrTimer timer = new TestAnrTimer(helper); in testGarbageCollection() local
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DUptimeTimerTest.java36 UptimeTimer timer = new UptimeTimer("TestTimer"); in testBasic() local
49 UptimeTimer timer = new UptimeTimer("TestTimer"); in testCancel() local
/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java52 BatteryStats.Timer timer; in writeUid() local
458 private void addTimer(HealthStatsWriter writer, int key, BatteryStats.Timer timer) { in addTimer()
469 BatteryStats.Timer timer) { in addTimers()
/frameworks/base/services/core/java/com/android/server/power/stats/
DSensorPowerCalculator.java88 final BatteryStats.Timer timer = sensor.getSensorTime(); in calculateDuration() local
106 final BatteryStats.Timer timer = sensor.getSensorTime(); in calculatePowerMah() local
DUsageBasedPowerEstimator.java42 public long calculateDuration(BatteryStats.Timer timer, long rawRealtimeUs, int statsType) { in calculateDuration()
DGnssPowerCalculator.java112 final BatteryStats.Timer timer = sensor.getSensorTime(); in computeDuration() local
DWakelockPowerCalculator.java120 BatteryStats.Timer timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_PARTIAL); in calculateApp() local
/frameworks/base/services/core/java/com/android/server/utils/
DAnrTimer.java440 abstract void release(@NonNull TimerLock timer); in release()
483 void release(@NonNull TimerLock timer) { in release()
572 Integer timer = removeLocked(arg); in cancel() local
596 Integer timer = removeLocked(arg); in accept() local
618 Integer timer = removeLocked(arg); in discard() local
/frameworks/base/services/core/jni/
Dcom_android_server_utils_AnrTimer.cpp723 Entry timer = *(running_.begin()); in monitor() local
854 Timer timer = removeLocked(timerId); in cancel() local
869 Timer timer = removeLocked(timerId); in accept() local
888 Timer timer = removeLocked(timerId); in discard() local
921 void AnrTimerService::addExpiredLocked(Timer const& timer) { in addExpiredLocked()
1057 jobject timer = env->NewGlobalRef(jtimer); in anrNotify() local
1080 jobject timer = env->NewWeakGlobalRef(jtimer); in anrTimerCreate() local
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubClientBroker.java819 AuthStateDenialTimer timer; in handleAuthStateTimerExpiry() local
906 AuthStateDenialTimer timer = mNappToAuthTimerMap.remove(nanoAppId); in updateNanoAppAuthState() local
911 AuthStateDenialTimer timer = in updateNanoAppAuthState() local
/frameworks/base/core/jni/
Dandroid_content_res_ResourceTimer.cpp45 static int NativeGetTimers(JNIEnv* env, jobject /*clazz*/, jobjectArray timer, jboolean reset) { in NativeGetTimers()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DAmbientBrightnessStatsTrackerTest.java367 AmbientBrightnessStatsTracker.Timer timer = new AmbientBrightnessStatsTracker.Timer( in testTimer() local
/frameworks/base/core/java/android/content/res/
DResourceTimer.java251 var timer = sTimers[i]; in publish() local
/frameworks/rs/
DrsScriptC_Lib.cpp78 time_t rsrTime(Context *rsc, time_t *timer) { in rsrTime()
82 tm* rsrLocalTime(Context *rsc, tm *local, time_t *timer) { in rsrLocalTime()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java638 Timer timer = timerMap.get(userId, packageName); in prepareForExecutionLocked() local
649 Timer timer = mPkgTimers.get(jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in unprepareFromExecutionLocked() local
721 Timer timer = mPkgTimers.delete(userId, packageName); in clearAppStatsLocked() local
1039 Timer timer = mEJPkgTimers.get(userId, packageName); in getRemainingEJExecutionTimeLocked() local
1259 Timer timer = mPkgTimers.get(userId, packageName); in getExecutionStatsLocked() local
1294 Timer timer = mPkgTimers.get(userId, packageName); in updateExecutionStatsLocked() local
1648 public void accept(Timer timer) { in accept()
2903 TopAppTimer timer = mTopAppTrackers.get(userId, pkgName); in handleMessage() local

12