Home
last modified time | relevance | path

Searched refs:startTimeNs (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DServiceStartPerfTest.java55 final long startTimeNs = System.nanoTime(); in startServiceNotRunning() local
60 return endTimeNs - startTimeNs; in startServiceNotRunning()
75 final long startTimeNs = System.nanoTime(); in startServiceProcessRunning() local
79 return endTimeNs - startTimeNs; in startServiceProcessRunning()
96 final long startTimeNs = System.nanoTime(); in startServiceAlreadyBound() local
100 return endTimeNs - startTimeNs; in startServiceAlreadyBound()
121 final long startTimeNs = System.nanoTime(); in startServiceProcessRunningReadUriPermission() local
125 return endTimeNs - startTimeNs; in startServiceProcessRunningReadUriPermission()
DServiceBindPerfTest.java74 final long startTimeNs = System.nanoTime();
78 return endTimeNs - startTimeNs;
96 final long startTimeNs = System.nanoTime();
100 return endTimeNs - startTimeNs;
123 final long startTimeNs = System.nanoTime();
127 return endTimeNs - startTimeNs;
153 final long startTimeNs = System.nanoTime();
157 return endTimeNs - startTimeNs;
DContentProviderPerfTest.java41 long startTimeNs = System.nanoTime(); in contentProviderRunning() local
49 return endTimeNs - startTimeNs; in contentProviderRunning()
60 final long startTimeNs = System.nanoTime(); in contentProviderNotRunning() local
68 return endTimeNs - startTimeNs; in contentProviderNotRunning()
/frameworks/base/cmds/statsd/tests/metrics/
DDurationMetricProducer_test.cpp202 int64_t startTimeNs = bucketStartTimeNs + 1 * NS_PER_SEC; in TEST() local
203 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST()
217 LogEvent start_event(tagId, startTimeNs); in TEST()
229 EXPECT_EQ(eventUpgradeTimeNs - startTimeNs, buckets[0].mDuration); in TEST()
256 int64_t startTimeNs = bucketStartTimeNs + 1 * NS_PER_SEC; in TEST() local
257 int64_t endTimeNs = startTimeNs + 125 * NS_PER_SEC; in TEST()
271 LogEvent start_event(tagId, startTimeNs); in TEST()
283 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs - startTimeNs, buckets[0].mDuration); in TEST()
305 int64_t startTimeNs = bucketStartTimeNs + 1; in TEST() local
306 int64_t endTimeNs = startTimeNs + 65 * NS_PER_SEC; in TEST()
[all …]
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DDurationTracker.h64 int64_t currentBucketStartNs, int64_t currentBucketNum, int64_t startTimeNs, in DurationTracker() argument
79 mStartTimeNs(startTimeNs), in DurationTracker()
DMaxDurationTracker.h35 int64_t startTimeNs, int64_t bucketSizeNs, bool conditionSliced,
DOringDurationTracker.h33 int64_t startTimeNs, int64_t bucketSizeNs, bool conditionSliced,
DMaxDurationTracker.cpp32 int64_t startTimeNs, int64_t bucketSizeNs, in MaxDurationTracker() argument
36 currentBucketStartNs, currentBucketNum, startTimeNs, bucketSizeNs, in MaxDurationTracker()
DOringDurationTracker.cpp31 int64_t startTimeNs, int64_t bucketSizeNs, bool conditionSliced, bool fullLink, in OringDurationTracker() argument
34 currentBucketStartNs, currentBucketNum, startTimeNs, bucketSizeNs, in OringDurationTracker()
/frameworks/base/cmds/statsd/src/metrics/
DEventMetricProducer.cpp57 const int64_t startTimeNs) in EventMetricProducer() argument
58 : MetricProducer(metric.id(), key, startTimeNs, conditionIndex, wizard) { in EventMetricProducer()
DCountMetricProducer.cpp71 const int64_t timeBaseNs, const int64_t startTimeNs) in CountMetricProducer() argument
105 flushIfNeededLocked(startTimeNs); in CountMetricProducer()
107 mCurrentBucketStartTimeNs = startTimeNs; in CountMetricProducer()
DEventMetricProducer.h38 const int64_t startTimeNs);
DCountMetricProducer.h45 const int64_t timeBaseNs, const int64_t startTimeNs);
DGaugeMetricProducer.cpp73 const int atomId, const int64_t timeBaseNs, const int64_t startTimeNs, in GaugeMetricProducer() argument
133 flushIfNeededLocked(startTimeNs); in GaugeMetricProducer()
141 mCurrentBucketStartTimeNs = startTimeNs; in GaugeMetricProducer()
DDurationMetricProducer.h45 … const FieldMatcher& internalDimensions, const int64_t timeBaseNs, const int64_t startTimeNs);
DValueMetricProducer.cpp80 const int64_t startTimeNs, const sp<StatsPullerManager>& pullerManager) in ValueMetricProducer() argument
143 int64_t numBucketsForward = calcBucketsForwardCount(startTimeNs); in ValueMetricProducer()
146 flushIfNeededLocked(startTimeNs); in ValueMetricProducer()
156 mCurrentBucketStartTimeNs = startTimeNs; in ValueMetricProducer()
DGaugeMetricProducer.h64 const int64_t timeBaseNs, const int64_t startTimeNs,
DDurationMetricProducer.cpp72 const int64_t timeBaseNs, const int64_t startTimeNs) in DurationMetricProducer() argument
132 flushIfNeededLocked(startTimeNs); in DurationMetricProducer()
134 mCurrentBucketStartTimeNs = startTimeNs; in DurationMetricProducer()
DValueMetricProducer.h57 const int pullTagId, const int64_t timeBaseNs, const int64_t startTimeNs,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp519 client->startTimeNs = systemTime(); in startInput()
595 client->startTimeNs = 0; in startInput()
618 client->startTimeNs = 0; in stopInput()
647 client->startTimeNs = 0; in releaseInput()
DAudioPolicyService.cpp469 if (current->startTimeNs > topStartNs) { in updateUidStates_l()
471 topStartNs = current->startTimeNs; in updateUidStates_l()
479 if (current->startTimeNs > latestStartNs in updateUidStates_l()
485 latestStartNs = current->startTimeNs; in updateUidStates_l()
488 if (current->startTimeNs > latestSensitiveStartNs) { in updateUidStates_l()
490 latestSensitiveStartNs = current->startTimeNs; in updateUidStates_l()
DAudioPolicyService.h800 opPackageName(opPackageName), startTimeNs(0), in AudioRecordClient()
805 nsecs_t startTimeNs; variable
/frameworks/av/services/audioflinger/
DTracks.cpp2540 nsecs_t startTimeNs = 0; in obtainBuffer() local
2543 startTimeNs = systemTime(); in obtainBuffer()
2576 if (startTimeNs) { in obtainBuffer()
2578 nsecs_t newTimeOutNs = audio_utils_ns_from_timespec(timeOut) - (systemTime() - startTimeNs); in obtainBuffer()