Home
last modified time | relevance | path

Searched refs:endTimeNs (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libmedia/
DTimeCheck.cpp48 nsecs_t endTimeNs = systemTime() + milliseconds(timeoutMs); in startMonitoring() local
49 for (; mMonitorRequests.indexOfKey(endTimeNs) >= 0; ++endTimeNs); in startMonitoring()
50 mMonitorRequests.add(endTimeNs, tag); in startMonitoring()
52 return endTimeNs; in startMonitoring()
55 void TimeCheck::TimeCheckThread::stopMonitoring(nsecs_t endTimeNs) { in stopMonitoring() argument
57 mMonitorRequests.removeItem(endTimeNs); in stopMonitoring()
72 nsecs_t endTimeNs = INT64_MAX; in threadLoop() local
75 endTimeNs = mMonitorRequests.keyAt(0); in threadLoop()
79 const nsecs_t waitTimeNs = endTimeNs - systemTime(); in threadLoop()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DServiceStartPerfTest.java58 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceNotRunning() local
59 return endTimeNs - startTimeNs; in startServiceNotRunning()
76 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceProcessRunning() local
78 return endTimeNs - startTimeNs; in startServiceProcessRunning()
97 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceAlreadyBound() local
99 return endTimeNs - startTimeNs; in startServiceAlreadyBound()
122 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceProcessRunningReadUriPermission() local
124 return endTimeNs - startTimeNs; in startServiceProcessRunningReadUriPermission()
DServiceBindPerfTest.java76 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED);
77 return endTimeNs - startTimeNs;
98 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED);
99 return endTimeNs - startTimeNs;
125 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED);
126 return endTimeNs - startTimeNs;
154 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED);
156 return endTimeNs - startTimeNs;
DContentProviderPerfTest.java44 final long endTimeNs = System.nanoTime(); in contentProviderRunning() local
48 return endTimeNs - startTimeNs; in contentProviderRunning()
63 final long endTimeNs = System.nanoTime(); in contentProviderNotRunning() local
67 return endTimeNs - startTimeNs; in contentProviderNotRunning()
/frameworks/base/cmds/statsd/tests/metrics/
DDurationMetricProducer_test.cpp142 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST() local
173 LogEvent end_event(tagId, endTimeNs); in TEST()
197 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST() local
231 LogEvent end_event(tagId, endTimeNs); in TEST()
247 int64_t endTimeNs = startTimeNs + 65 * NS_PER_SEC; in TEST() local
275 LogEvent end_event(tagId, endTimeNs); in TEST()
288 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST() local
317 LogEvent end_event(tagId, endTimeNs); in TEST()
328 EXPECT_EQ(endTimeNs - startTimeNs, buckets[0].mDuration); in TEST()
336 int64_t endTimeNs = startTimeNs + 115 * NS_PER_SEC; in TEST() local
[all …]
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
DTimeReceiver.java80 long endTimeNs = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(timeoutMs); in getReceivedTimeNs() local
83 if (curTimeNs > endTimeNs) { in getReceivedTimeNs()
88 message = mQueue.poll(endTimeNs - curTimeNs, TimeUnit.NANOSECONDS); in getReceivedTimeNs()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DPerfMeasurement.java177 long endTimeNs = SystemClock.elapsedRealtimeNanos(); in stopTimer() local
178 mCpuDurationsQueue.add(endTimeNs - mStartTimeNs); in stopTimer()
/frameworks/av/media/libmedia/include/media/
DTimeCheck.h48 void stopMonitoring(nsecs_t endTimeNs);
/frameworks/av/include/media/
DTimeCheck.h48 void stopMonitoring(nsecs_t endTimeNs);