Home
last modified time | relevance | path

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

/frameworks/av/media/utils/
DTimeCheck.cpp50 nsecs_t endTimeNs = systemTime() + milliseconds(timeoutMs); in startMonitoring() local
51 for (; mMonitorRequests.indexOfKey(endTimeNs) >= 0; ++endTimeNs); in startMonitoring()
52 mMonitorRequests.add(endTimeNs, tag); in startMonitoring()
54 return endTimeNs; in startMonitoring()
57 void TimeCheck::TimeCheckThread::stopMonitoring(nsecs_t endTimeNs) { in stopMonitoring() argument
59 mMonitorRequests.removeItem(endTimeNs); in stopMonitoring()
74 nsecs_t endTimeNs = INT64_MAX; in threadLoop() local
77 endTimeNs = mMonitorRequests.keyAt(0); in threadLoop()
81 const nsecs_t waitTimeNs = endTimeNs - systemTime(); in threadLoop()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DServiceStartPerfTest.java59 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceNotRunning() local
60 return endTimeNs - startTimeNs; in startServiceNotRunning()
77 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceProcessRunning() local
79 return endTimeNs - startTimeNs; in startServiceProcessRunning()
98 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceAlreadyBound() local
100 return endTimeNs - startTimeNs; in startServiceAlreadyBound()
123 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceProcessRunningReadUriPermission() local
125 return endTimeNs - startTimeNs; in startServiceProcessRunningReadUriPermission()
DServiceBindPerfTest.java77 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED);
78 return endTimeNs - startTimeNs;
99 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED);
100 return endTimeNs - startTimeNs;
126 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED);
127 return endTimeNs - startTimeNs;
155 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED);
157 return endTimeNs - startTimeNs;
DContentProviderPerfTest.java45 final long endTimeNs = System.nanoTime(); in contentProviderRunning() local
49 return endTimeNs - startTimeNs; in contentProviderRunning()
64 final long endTimeNs = System.nanoTime(); in contentProviderNotRunning() local
68 return endTimeNs - startTimeNs; in contentProviderNotRunning()
/frameworks/base/cmds/statsd/tests/metrics/
DDurationMetricProducer_test.cpp203 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST() local
233 LogEvent end_event(tagId, endTimeNs); in TEST()
257 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST() local
290 LogEvent end_event(tagId, endTimeNs); in TEST()
306 int64_t endTimeNs = startTimeNs + 65 * NS_PER_SEC; in TEST() local
333 LogEvent end_event(tagId, endTimeNs); in TEST()
346 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST() local
374 LogEvent end_event(tagId, endTimeNs); in TEST()
385 EXPECT_EQ(endTimeNs - startTimeNs, buckets[0].mDuration); in TEST()
393 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/include/media/
DTimeCheck.h48 void stopMonitoring(nsecs_t endTimeNs);
/frameworks/av/media/utils/include/mediautils/
DTimeCheck.h48 void stopMonitoring(nsecs_t endTimeNs);