/aosp12/art/tools/dmtracedump/ |
H A D | tracedump.cc | 141 int32_t numCalls; member 1280 if (nCalls == 0) nCalls = relative->numCalls[0] + relative->numCalls[1]; in printInclusiveMethod() 1537 int32_t numCalls = method->numCalls[0] + method->numCalls[1]; in printInclusiveProfile() local 1548 per, "", "", method->numCalls[0], method->numCalls[1], in printInclusiveProfile() 1552 "", method->numCalls[0], method->numCalls[1], in printInclusiveProfile() 1702 pClass->numCalls[0] += method->numCalls[0]; in printClassProfiles() 1703 pClass->numCalls[1] += method->numCalls[1]; in printClassProfiles() 1812 method->numCalls[0], method->numCalls[1], method->index, in printClassProfiles() 1911 pUnique->numCalls[0] += method->numCalls[0]; in printMethodProfiles() 1912 pUnique->numCalls[1] += method->numCalls[1]; in printMethodProfiles() [all …]
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
H A D | BluetoothDeviceConnectionPolicyTest.java | 489 int numCalls = getNumberOfConnectDevicesCalls(); in testSeatOnOccupied_driverSeat_parked_connectDevices() local 490 if (VERBOSE) Log.v(TAG, "prior invocations (driver's seat, parked): " + numCalls); in testSeatOnOccupied_driverSeat_parked_connectDevices() 494 verify(mMockBluetoothService, atLeast(numCalls + 1)).connectDevices(); in testSeatOnOccupied_driverSeat_parked_connectDevices() 524 int numCalls = getNumberOfConnectDevicesCalls(); in testSeatOnOccupied_passengerSeat_parked_doNothing() local 525 if (VERBOSE) Log.v(TAG, "prior invocations (passenger's seat, parked): " + numCalls); in testSeatOnOccupied_passengerSeat_parked_doNothing() 529 verify(mMockBluetoothService, times(numCalls)).connectDevices(); in testSeatOnOccupied_passengerSeat_parked_doNothing() 554 int numCalls = getNumberOfConnectDevicesCalls(); in testSeatOnOccupied_driverSeat_driving_doNothing() local 555 if (VERBOSE) Log.v(TAG, "prior invocations (driver's seat, driving): " + numCalls); in testSeatOnOccupied_driverSeat_driving_doNothing() 559 verify(mMockBluetoothService, times(numCalls)).connectDevices(); in testSeatOnOccupied_driverSeat_driving_doNothing()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationStackScrollLayoutTest.java | 444 final int[] numCalls = {0}; in testClearNotifications_All() local 447 numCalls[0]++; in testClearNotifications_All() 452 assertEquals(1, numCalls[0]); in testClearNotifications_All() 458 final int[] numCalls = {0}; in testClearNotifications_Gentle() local 461 numCalls[0]++; in testClearNotifications_Gentle() 466 assertEquals(1, numCalls[0]); in testClearNotifications_Gentle()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/ |
H A D | RttMetrics.java | 114 public int numCalls; field in RttMetrics.PerPeerTypeInfo 124 return "numCalls=" + numCalls + ", numIndividualCalls=" + numIndividualCalls in toString() 231 peerInfo.numCalls++; in updatePeerInfoWithRequestInfo() 305 peerLog.numRequests = peerInfo.numCalls; in consolidatePeerType()
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | InCallServiceFixture.java | 180 public void waitUntilNumCalls(int numCalls) { in waitUntilNumCalls() argument 181 if (mCallById.size() == numCalls) { in waitUntilNumCalls()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationRecordLoggerFake.java | 65 public int numCalls() { in numCalls() method in NotificationRecordLoggerFake
|
H A D | NotificationManagerServiceTest.java | 1353 assertEquals(1, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_WritesExpectedLogs() 1382 assertEquals(2, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_LogsOnMajorUpdates() 1406 assertEquals(2, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_DoesNotLogOnMinorUpdate() 1425 assertEquals(2, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_DoesNotLogOnTitleUpdate() 1444 assertEquals(3, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_LogsAgainAfterCancel() 1472 assertEquals(0, mNotificationRecordLogger.numCalls()); in testCancelNonexistentNotification() 1954 assertEquals(2, mNotificationRecordLogger.numCalls()); in testGroupInstanceIds() 2863 assertEquals(2, mNotificationRecordLogger.numCalls()); in testSnoozeRunnable_snoozeNonGrouped() 2912 assertEquals(2, mNotificationRecordLogger.numCalls()); in testSnoozeRunnable_snoozeGroupChild_fellowChildren() 2937 assertEquals(4, mNotificationRecordLogger.numCalls()); in testSnoozeRunnable_snoozeGroupChild_onlyChildOfSummary() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/ |
H A D | OngoingCallControllerTest.kt | 208 val numCalls = 4 regex 210 for (i in 0 until numCalls) { 217 verify(mockIActivityManager, times(numCalls - 1)).unregisterUidObserver(any())
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
H A D | ChooserActivityLoggerFake.java | 82 public int numCalls() { in numCalls() method in ChooserActivityLoggerFake
|
H A D | ChooserActivityTest.java | 617 assertThat(logger.numCalls(), is(6)); in testNearbyShareLogging() 1751 assertThat(logger.numCalls(), is(6)); in testAppTargetLogging() 1832 assertThat(logger.numCalls(), is(6)); in testDirectTargetLogging() 1883 assertThat(logger.numCalls(), is(6)); in testEmptyDirectRowLogging() 1929 assertThat(logger.numCalls(), is(6)); in testCopyTextToClipboardLogging() 1980 assertThat(logger.numCalls(), is(8)); in testSwitchProfileLogging()
|
/aosp12/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | TelephonyConnection.java | 2245 int numCalls = 0; in hasMultipleTopLevelCalls() local 2249 numCalls++; in hasMultipleTopLevelCalls() 2252 numCalls++; in hasMultipleTopLevelCalls() 2255 numCalls++; in hasMultipleTopLevelCalls() 2258 return numCalls > 1; in hasMultipleTopLevelCalls()
|