Searched refs:mMetricsCollector (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | InputDeviceMetricsCollector_test.cpp | 89 InputDeviceMetricsCollector mMetricsCollector{mTestListener, *this, USAGE_TIMEOUT}; member in android::InputDeviceMetricsCollectorTest 146 mMetricsCollector.notifyMotion(generateMotionArgs(DEVICE_ID)); in TEST_F() 152 mMetricsCollector.notifyMotion(generateMotionArgs(DEVICE_ID)); in TEST_F() 162 mMetricsCollector.notifyInputDevicesChanged( in TEST_F() 166 mMetricsCollector.notifyMotion(generateMotionArgs(ignoredDeviceId)); in TEST_F() 168 mMetricsCollector.notifyDeviceInteraction(ignoredDeviceId, TIME.count(), uids({0, 1, 2})); in TEST_F() 173 mMetricsCollector.notifyMotion(generateMotionArgs(ignoredDeviceId)); in TEST_F() 178 mMetricsCollector.notifyInputDevicesChanged({/*id=*/0, {}}); in TEST_F() 184 mMetricsCollector.notifyInputDevicesChanged({/*id=*/0, {TOUCHSCREEN_STYLUS_INFO}}); in TEST_F() 187 mMetricsCollector.notifyMotion(generateMotionArgs(DEVICE_ID)); in TEST_F() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | MetricsCollectorTest.java | 111 private MetricsCollector mMetricsCollector; field in MetricsCollectorTest 124 mMetricsCollector = in setUp() 133 mMetricsCollector = null; in tearDown() 164 int result = mMetricsCollector.onPullAtom(SIM_SLOT_STATE, actualAtoms); in onPullAtom_simSlotState_bothSimPresent() 179 int result = mMetricsCollector.onPullAtom(SIM_SLOT_STATE, actualAtoms); in onPullAtom_simSlotState_beforeUiccControllerReady() 196 int result = mMetricsCollector.onPullAtom(SUPPORTED_RADIO_ACCESS_FAMILY, actualAtoms); in onPullAtom_supportedRadioAccessFamily_singlePhone() 216 int result = mMetricsCollector.onPullAtom(SUPPORTED_RADIO_ACCESS_FAMILY, actualAtoms); in onPullAtom_supportedRadioAccessFamily_dualPhones() 238 int result = mMetricsCollector.onPullAtom(SUPPORTED_RADIO_ACCESS_FAMILY, actualAtoms); in onPullAtom_supportedRadioAccessFamily_dualPhonesWithUnknownRaf() 251 int result = mMetricsCollector.onPullAtom(SUPPORTED_RADIO_ACCESS_FAMILY, actualAtoms); in onPullAtom_supportedRadioAccessFamily_beforePhoneReady() 265 int result = mMetricsCollector.onPullAtom(VOICE_CALL_RAT_USAGE, actualAtoms); in onPullAtom_voiceCallRatUsage_empty() [all …]
|
D | VoiceCallSessionStatsTest.java | 227 doReturn(mVonrHelper).when(mMetricsCollector).getVonrHelper(); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTest.java | 273 protected MetricsCollector mMetricsCollector; field in TelephonyTest 560 mMetricsCollector = Mockito.mock(MetricsCollector.class); in setUp() 925 doReturn(mPersistAtomsStorage).when(mMetricsCollector).getAtomsStorage(); in setUp() 926 doReturn(mDefaultNetworkMonitor).when(mMetricsCollector).getDefaultNetworkMonitor(); in setUp() 928 doReturn(mDeviceStateHelper).when(mMetricsCollector).getDeviceStateHelper(); in setUp() 972 replaceInstance(PhoneFactory.class, "sMetricsCollector", null, mMetricsCollector); in setUp()
|