/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | WindowInfosListenerInvokerTest.cpp | 47 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 …]
|
D | VSyncDispatchTimerQueueTest.cpp | 1281 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/ |
D | FlowGraphNode.cpp | 25 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()
|
D | FlowGraphNode.h | 99 int32_t pullData(int32_t numFrames, int64_t callCount);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | VoiceCallRatTracker.java | 157 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()
|
D | MetricsCollector.java | 499 .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/ |
D | BinderCallsStatsTest.java | 95 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/ |
D | BinderCallsStats.java | 314 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/ |
D | SurfaceControlRegistryTests.java | 184 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/ |
D | LayerTransaction_test.cpp | 188 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/ |
D | BatteryStatsBinderCallStatsTest.java | 92 assertEquals(21 + 9, value.callCount); in testNoteBinderCallStats()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LruCacheTest.java | 464 int callCount = 0; in testCreateWithConcurrentCreate() 466 if (callCount++ == 0) { in testCreateWithConcurrentCreate()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | MetricsCollectorTest.java | 289 usage1.callCount = MIN_CALLS_PER_BUCKET; in onPullAtom_voiceCallRatUsage_bucketWithTooFewCalls() 291 usage2.callCount = MIN_CALLS_PER_BUCKET - 1L; in onPullAtom_voiceCallRatUsage_bucketWithTooFewCalls()
|
D | PersistAtomsStorageTest.java | 441 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()
|
D | VoiceCallSessionStatsTest.java | 2988 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/ |
D | BatteryStatsImpl.java | 7412 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/ |
D | StatsPullAtomService.java | 2787 callStat.className, callStat.methodName, callStat.callCount,
|