Searched refs:endTimeNs (Results 1 – 9 of 9) sorted by relevance
50 nsecs_t endTimeNs = systemTime() + milliseconds(timeoutMs); in startMonitoring() local51 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() argument59 mMonitorRequests.removeItem(endTimeNs); in stopMonitoring()74 nsecs_t endTimeNs = INT64_MAX; in threadLoop() local77 endTimeNs = mMonitorRequests.keyAt(0); in threadLoop()81 const nsecs_t waitTimeNs = endTimeNs - systemTime(); in threadLoop()
59 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceNotRunning() local60 return endTimeNs - startTimeNs; in startServiceNotRunning()77 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceProcessRunning() local79 return endTimeNs - startTimeNs; in startServiceProcessRunning()98 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceAlreadyBound() local100 return endTimeNs - startTimeNs; in startServiceAlreadyBound()123 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); in startServiceProcessRunningReadUriPermission() local125 return endTimeNs - startTimeNs; in startServiceProcessRunningReadUriPermission()
77 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;
45 final long endTimeNs = System.nanoTime(); in contentProviderRunning() local49 return endTimeNs - startTimeNs; in contentProviderRunning()64 final long endTimeNs = System.nanoTime(); in contentProviderNotRunning() local68 return endTimeNs - startTimeNs; in contentProviderNotRunning()
203 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST() local233 LogEvent end_event(tagId, endTimeNs); in TEST()257 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST() local290 LogEvent end_event(tagId, endTimeNs); in TEST()306 int64_t endTimeNs = startTimeNs + 65 * NS_PER_SEC; in TEST() local333 LogEvent end_event(tagId, endTimeNs); in TEST()346 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST() local374 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 …]
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);