/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/ |
D | ServiceStartPerfTest.java | 55 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()
|
D | ServiceBindPerfTest.java | 74 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;
|
D | ContentProviderPerfTest.java | 41 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/ |
D | DurationMetricProducer_test.cpp | 202 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/ |
D | DurationTracker.h | 64 int64_t currentBucketStartNs, int64_t currentBucketNum, int64_t startTimeNs, in DurationTracker() argument 79 mStartTimeNs(startTimeNs), in DurationTracker()
|
D | MaxDurationTracker.h | 35 int64_t startTimeNs, int64_t bucketSizeNs, bool conditionSliced,
|
D | OringDurationTracker.h | 33 int64_t startTimeNs, int64_t bucketSizeNs, bool conditionSliced,
|
D | MaxDurationTracker.cpp | 32 int64_t startTimeNs, int64_t bucketSizeNs, in MaxDurationTracker() argument 36 currentBucketStartNs, currentBucketNum, startTimeNs, bucketSizeNs, in MaxDurationTracker()
|
D | OringDurationTracker.cpp | 31 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/ |
D | EventMetricProducer.cpp | 57 const int64_t startTimeNs) in EventMetricProducer() argument 58 : MetricProducer(metric.id(), key, startTimeNs, conditionIndex, wizard) { in EventMetricProducer()
|
D | CountMetricProducer.cpp | 71 const int64_t timeBaseNs, const int64_t startTimeNs) in CountMetricProducer() argument 105 flushIfNeededLocked(startTimeNs); in CountMetricProducer() 107 mCurrentBucketStartTimeNs = startTimeNs; in CountMetricProducer()
|
D | EventMetricProducer.h | 38 const int64_t startTimeNs);
|
D | CountMetricProducer.h | 45 const int64_t timeBaseNs, const int64_t startTimeNs);
|
D | GaugeMetricProducer.cpp | 73 const int atomId, const int64_t timeBaseNs, const int64_t startTimeNs, in GaugeMetricProducer() argument 133 flushIfNeededLocked(startTimeNs); in GaugeMetricProducer() 141 mCurrentBucketStartTimeNs = startTimeNs; in GaugeMetricProducer()
|
D | DurationMetricProducer.h | 45 … const FieldMatcher& internalDimensions, const int64_t timeBaseNs, const int64_t startTimeNs);
|
D | ValueMetricProducer.cpp | 80 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()
|
D | GaugeMetricProducer.h | 64 const int64_t timeBaseNs, const int64_t startTimeNs,
|
D | DurationMetricProducer.cpp | 72 const int64_t timeBaseNs, const int64_t startTimeNs) in DurationMetricProducer() argument 132 flushIfNeededLocked(startTimeNs); in DurationMetricProducer() 134 mCurrentBucketStartTimeNs = startTimeNs; in DurationMetricProducer()
|
D | ValueMetricProducer.h | 57 const int pullTagId, const int64_t timeBaseNs, const int64_t startTimeNs,
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 519 client->startTimeNs = systemTime(); in startInput() 595 client->startTimeNs = 0; in startInput() 618 client->startTimeNs = 0; in stopInput() 647 client->startTimeNs = 0; in releaseInput()
|
D | AudioPolicyService.cpp | 469 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()
|
D | AudioPolicyService.h | 800 opPackageName(opPackageName), startTimeNs(0), in AudioRecordClient() 805 nsecs_t startTimeNs; variable
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 2540 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()
|