Searched refs:endTimeNs (Results 1 – 9 of 9) sorted by relevance
48 nsecs_t endTimeNs = systemTime() + milliseconds(timeoutMs); in startMonitoring() local49 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() argument57 mMonitorRequests.removeItem(endTimeNs); in stopMonitoring()72 nsecs_t endTimeNs = INT64_MAX; in threadLoop() local75 endTimeNs = mMonitorRequests.keyAt(0); in threadLoop()79 const nsecs_t waitTimeNs = endTimeNs - systemTime(); in threadLoop()
58 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceNotRunning() local59 return endTimeNs - startTimeNs; in startServiceNotRunning()76 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceProcessRunning() local78 return endTimeNs - startTimeNs; in startServiceProcessRunning()97 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceAlreadyBound() local99 return endTimeNs - startTimeNs; in startServiceAlreadyBound()122 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceProcessRunningReadUriPermission() local124 return endTimeNs - startTimeNs; in startServiceProcessRunningReadUriPermission()
76 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;
44 final long endTimeNs = System.nanoTime(); in contentProviderRunning() local48 return endTimeNs - startTimeNs; in contentProviderRunning()63 final long endTimeNs = System.nanoTime(); in contentProviderNotRunning() local67 return endTimeNs - startTimeNs; in contentProviderNotRunning()
142 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST() local173 LogEvent end_event(tagId, endTimeNs); in TEST()197 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST() local231 LogEvent end_event(tagId, endTimeNs); in TEST()247 int64_t endTimeNs = startTimeNs + 65 * NS_PER_SEC; in TEST() local275 LogEvent end_event(tagId, endTimeNs); in TEST()288 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST() local317 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 …]
80 long endTimeNs = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(timeoutMs); in getReceivedTimeNs() local83 if (curTimeNs > endTimeNs) { in getReceivedTimeNs()88 message = mQueue.poll(endTimeNs - curTimeNs, TimeUnit.NANOSECONDS); in getReceivedTimeNs()
177 long endTimeNs = SystemClock.elapsedRealtimeNanos(); in stopTimer() local178 mCpuDurationsQueue.add(endTimeNs - mStartTimeNs); in stopTimer()
48 void stopMonitoring(nsecs_t endTimeNs);