Searched refs:timerId (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/jni/ |
D | com_android_server_utils_AnrTimer.cpp | 195 bool cancel(timer_id_t timerId); 200 bool accept(timer_id_t timerId); 206 bool discard(timer_id_t timerId); 230 Timer removeLocked(timer_id_t timerId); 851 bool AnrTimerService::cancel(timer_id_t timerId) { in cancel() argument 852 if (timerId == NOTIMER) return false; in cancel() 854 Timer timer = removeLocked(timerId); in cancel() 866 bool AnrTimerService::accept(timer_id_t timerId) { in accept() argument 867 if (timerId == NOTIMER) return false; in accept() 869 Timer timer = removeLocked(timerId); in accept() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/gestures/ |
D | TimerProvider.h | 72 Deadline(std::function<void(nsecs_t)> callback, int timerId) in Deadline() 73 : callback(callback), timerId(timerId) {} in Deadline() 75 const int timerId; member
|
D | TimerProvider.cpp | 80 return std::to_string(deadline.timerId); in dump() 131 std::erase_if(mDeadlines, [id](const auto& item) { return item.second.timerId == id; }); in cancelTimer()
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | AnrTimer.java | 205 TimerLock(int timerId) { in TimerLock() argument 206 mTimerId = timerId; in TimerLock() 401 private void trace(String op, int timerId, int pid, int uid, long milliseconds) { in trace() argument 403 formatSimple("%s(%d,%d,%d,%s,%d)", op, timerId, pid, uid, mLabel, milliseconds); in trace() 411 private void trace(String op, int timerId) { in trace() argument 412 final String label = formatSimple("%s(%d)", op, timerId); in trace() 553 int timerId = nativeAnrTimerStart(mNative, pid, uid, timeoutMs); in start() local 554 if (timerId > 0) { in start() 555 mTimerIdMap.put(arg, timerId); in start() 556 mTimerArgMap.put(timerId, arg); in start() [all …]
|
/frameworks/base/core/java/android/os/health/ |
D | HealthStatsWriter.java | 94 public void addTimer(int timerId, int count, long time) { in addTimer() argument 95 final int index = mConstants.getIndex(HealthKeys.TYPE_TIMER, timerId); in addTimer()
|