Home
last modified time | relevance | path

Searched refs:callCount (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DWindowInfosListenerInvokerTest.cpp47 int callCount = 0; in TEST_F() local
52 callCount++; in TEST_F()
65 cv.wait(lock, [&]() { return callCount == 1; }); in TEST_F()
66 EXPECT_EQ(callCount, 1); in TEST_F()
74 size_t callCount = 0; in TEST_F() local
84 callCount++; in TEST_F()
85 if (callCount == expectedCallCount) { in TEST_F()
101 cv.wait(lock, [&]() { return callCount == expectedCallCount; }); in TEST_F()
102 EXPECT_EQ(callCount, expectedCallCount); in TEST_F()
111 int callCount = 0; in TEST_F() local
[all …]
DVSyncDispatchTimerQueueTest.cpp1281 auto callCount = 0; in TEST_F() local
1288 callCount++; in TEST_F()
1310 EXPECT_THAT(callCount, Eq(1)); in TEST_F()
1474 auto callCount = 0; in TEST_F() local
1481 callCount++; in TEST_F()
1503 EXPECT_THAT(callCount, Eq(1)); in TEST_F()
/frameworks/av/media/libaaudio/src/flowgraph/
DFlowGraphNode.cpp25 int32_t FlowGraphNode::pullData(int32_t numFrames, int64_t callCount) { in pullData() argument
28 if (callCount > mLastCallCount) { in pullData()
29 mLastCallCount = callCount; in pullData()
34 frameCount = port.get().pullData(callCount, frameCount); in pullData()
76 int32_t FlowGraphPortFloatOutput::pullData(int64_t callCount, int32_t numFrames) { in pullData() argument
78 return mContainingNode.pullData(numFrames, callCount); in pullData()
95 int32_t FlowGraphPortFloatInput::pullData(int64_t callCount, int32_t numFrames) { in pullData() argument
98 : mConnected->pullData(callCount, numFrames); in pullData()
DFlowGraphNode.h99 int32_t pullData(int32_t numFrames, int64_t callCount);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallRatTracker.java157 usage.callCount = value.callCount; in entryToProto()
194 public long callCount; field in VoiceCallRatTracker.Value
201 callCount = 0L; in Value()
204 private Value(long durationMillis, long callCount) { in Value() argument
207 this.callCount = callCount; in Value()
221 if (callCount != 0L) { in endSession()
224 callCount = mConnectionIds.size(); in endSession()
230 Value value = new Value(usage.totalDurationMillis, usage.callCount); in fromProto()
240 dest.callCount += src.callCount; in mergeInPlace()
DMetricsCollector.java499 .filter(usage -> usage.callCount >= MIN_CALLS_PER_BUCKET) in pullVoiceCallRatUsages()
1098 usage.callCount); in buildStatsEvent()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderCallsStatsTest.java95 assertEquals(1, uidEntry.callCount); in testDetailedOff()
105 assertEquals(2, uidEntry.callCount); in testDetailedOff()
114 assertEquals(3, uidEntry.callCount); in testDetailedOff()
135 assertEquals(1, uidEntry.callCount); in testDetailedOn()
140 assertEquals(1, callStatsList.get(0).callCount); in testDetailedOn()
150 assertEquals(2, uidEntry.callCount); in testDetailedOn()
159 assertEquals(3, uidEntry.callCount); in testDetailedOn()
211 assertEquals(3, uidEntry.callCount); in testSampling()
217 assertEquals(3, callStats.callCount); in testSampling()
244 assertEquals(2, uidEntry.callCount); in testSamplingWithDifferentApis()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBinderCallsStats.java314 uidEntry.callCount++; in processCallEnded()
324 final boolean isNewCallStat = callStat.callCount == 0; in processCallEnded()
329 callStat.callCount++; in processCallEnded()
351 callStat.callCount++; in processCallEnded()
543 exported.callCount = stat.callCount; in getExportedCallStat()
581 callStat.callCount = 1; in createDebugEntry()
650 .append(',').append(e.callCount); in dumpLocked()
664 totalCallsCount += e.callCount; in dumpLocked()
672 totalCallsCount += e.callCount; in dumpLocked()
686 entry.recordedCallCount, entry.callCount, uidStr)); in dumpLocked()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DSurfaceControlRegistryTests.java184 int callCount = 0; field in SurfaceControlRegistryTests.TestReporter
191 callCount++; in onMaxLayersExceeded()
195 assertTrue("Expected " + count + " got " + callCount, count == callCount); in assertMaxThresholdExceededCallCount()
/frameworks/native/services/surfaceflinger/tests/
DLayerTransaction_test.cpp188 auto callCount = 0; in TEST_F() local
190 [&callCount](void* /* context */, nsecs_t /* latchTime */, in TEST_F()
193 callCount++; in TEST_F()
213 ASSERT_EQ(callCount, 1); in TEST_F()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsBinderCallStatsTest.java92 assertEquals(21 + 9, value.callCount); in testNoteBinderCallStats()
/frameworks/base/core/tests/coretests/src/android/util/
DLruCacheTest.java464 int callCount = 0; in testCreateWithConcurrentCreate()
466 if (callCount++ == 0) { in testCreateWithConcurrentCreate()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DMetricsCollectorTest.java289 usage1.callCount = MIN_CALLS_PER_BUCKET; in onPullAtom_voiceCallRatUsage_bucketWithTooFewCalls()
291 usage2.callCount = MIN_CALLS_PER_BUCKET - 1L; in onPullAtom_voiceCallRatUsage_bucketWithTooFewCalls()
DPersistAtomsStorageTest.java441 mCarrier1LteUsageProto.callCount = 1L; in makeTestData()
447 mCarrier1UmtsUsageProto.callCount = 1L; in makeTestData()
453 mCarrier2LteUsageProto.callCount = 2L; in makeTestData()
459 mCarrier3LteUsageProto.callCount = 1L; in makeTestData()
465 mCarrier3GsmUsageProto.callCount = 1L; in makeTestData()
5480 multipliedUsages[i].callCount = usages[i].callCount * 2; in multiplyVoiceCallRatUsage()
DVoiceCallSessionStatsTest.java2988 int carrierId, int rat, long beginMillis, long endMillis, long callCount) { in makeRatUsageProto() argument
2993 usage.callCount = callCount; in makeRatUsageProto()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java7412 totalCallCountForUid += stats.callCount; in updateSystemServiceCallStats()
7415 stats.callCount * stats.recordedCpuTimeMicros / stats.recordedCallCount; in updateSystemServiceCallStats()
7418 stats.callCount * totalRecordedCallTimeMicros / totalRecordedCallCount; in updateSystemServiceCallStats()
8077 public long callCount; field in BatteryStatsImpl.BinderCallStats
8116 + " callCount=" + callCount in toString()
10040 bcs.callCount += stat.incrementalCallCount; in noteBinderCallStatsLocked()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2787 callStat.className, callStat.methodName, callStat.callCount,