/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | BuildNumberPreferenceController.java | 57 private final MetricsFeatureProvider mMetricsFeatureProvider; field in BuildNumberPreferenceController 68 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in BuildNumberPreferenceController() 107 mMetricsFeatureProvider.action( in handlePreferenceTreeClick() 114 mMetricsFeatureProvider.action( in handlePreferenceTreeClick() 140 mMetricsFeatureProvider.action( in handlePreferenceTreeClick() 158 mMetricsFeatureProvider.action( in handlePreferenceTreeClick() 159 mMetricsFeatureProvider.getAttribution(mActivity), in handlePreferenceTreeClick() 177 mMetricsFeatureProvider.action( in handlePreferenceTreeClick() 178 mMetricsFeatureProvider.getAttribution(mActivity), in handlePreferenceTreeClick() 190 mMetricsFeatureProvider.action( in handlePreferenceTreeClick() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | BuildNumberPreferenceController.java | 58 private final MetricsFeatureProvider mMetricsFeatureProvider; field in BuildNumberPreferenceController 69 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in BuildNumberPreferenceController() 128 mMetricsFeatureProvider.action( in handlePreferenceTreeClick() 135 mMetricsFeatureProvider.action( in handlePreferenceTreeClick() 161 mMetricsFeatureProvider.action( in handlePreferenceTreeClick() 179 mMetricsFeatureProvider.action( in handlePreferenceTreeClick() 180 mMetricsFeatureProvider.getAttribution(mActivity), in handlePreferenceTreeClick() 198 mMetricsFeatureProvider.action( in handlePreferenceTreeClick() 199 mMetricsFeatureProvider.getAttribution(mActivity), in handlePreferenceTreeClick() 211 mMetricsFeatureProvider.action( in handlePreferenceTreeClick() [all …]
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
D | SearchFragment.java | 90 private MetricsFeatureProvider mMetricsFeatureProvider; field in SearchFragment 121 mMetricsFeatureProvider = FeatureFactory.get(context).metricsFeatureProvider(context); in onAttach() 182 mMetricsFeatureProvider.logEvent(SettingsIntelligenceEvent.OPEN_SEARCH_PAGE); in onStart() 198 mMetricsFeatureProvider.logEvent(SettingsIntelligenceEvent.LEAVE_SEARCH_PAGE); in onStop() 202 mMetricsFeatureProvider.logEvent( in onStop() 246 mMetricsFeatureProvider.logEvent(SettingsIntelligenceEvent.PERFORM_SEARCH); in onQueryTextChange() 318 mMetricsFeatureProvider.logEvent(SettingsIntelligenceEvent.SHOW_SEARCH_NO_RESULT, in onSearchResultsDisplayed() 325 mMetricsFeatureProvider.logEvent(SettingsIntelligenceEvent.SHOW_SEARCH_RESULT, in onSearchResultsDisplayed() 333 mMetricsFeatureProvider.logEvent(vh.getClickActionMetricName()); in onSavedQueryClicked() 378 mMetricsFeatureProvider.logSearchResultClick(result, mQuery, resultType, resultCount, in logSearchResultClicked()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePreferenceTest.java | 62 private MetricsFeatureProvider mMetricsFeatureProvider; field in BluetoothDevicePreferenceTest 71 mMetricsFeatureProvider = mFakeFeatureFactory.getMetricsFeatureProvider(); in setUp() 83 verify(mMetricsFeatureProvider) in onClicked_deviceConnected_shouldLogBluetoothDisconnectEvent() 94 verify(mMetricsFeatureProvider) in onClicked_deviceBonded_shouldLogBluetoothConnectEvent() 107 verify(mMetricsFeatureProvider) in onClicked_deviceNotBonded_shouldLogBluetoothPairEvent() 109 verify(mMetricsFeatureProvider, never()) in onClicked_deviceNotBonded_shouldLogBluetoothPairEvent() 123 verify(mMetricsFeatureProvider) in onClicked_deviceNotBonded_shouldLogBluetoothPairEventAndPairWithoutNameEvent() 125 verify(mMetricsFeatureProvider) in onClicked_deviceNotBonded_shouldLogBluetoothPairEventAndPairWithoutNameEvent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deletionhelper/ |
D | AutomaticStorageManagerSwitchBarControllerTest.java | 54 private MetricsFeatureProvider mMetricsFeatureProvider; field in AutomaticStorageManagerSwitchBarControllerTest 69 mMetricsFeatureProvider = FakeFeatureFactory.setupForTest().getMetricsFeatureProvider(); in setUp() 76 mMetricsFeatureProvider, in setUp() 85 verify(mMetricsFeatureProvider) in onSwitchChanged_false_recordsAMetric() 96 verify(mMetricsFeatureProvider) in onSwitchChanged_true_recordsAMetric() 132 mMetricsFeatureProvider, in initializeSwitchOnConstruction() 150 mMetricsFeatureProvider, in initializingSwitchDoesNotTriggerView()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | RestrictAppTipTest.java | 73 private MetricsFeatureProvider mMetricsFeatureProvider; field in RestrictAppTipTest 226 mNewBatteryTip.log(mContext, mMetricsFeatureProvider); in testLog_stateNew_logAppInfo() 228 verify(mMetricsFeatureProvider).action(mContext, in testLog_stateNew_logAppInfo() 230 verify(mMetricsFeatureProvider).action(SettingsEnums.PAGE_UNKNOWN, in testLog_stateNew_logAppInfo() 235 verify(mMetricsFeatureProvider).action(SettingsEnums.PAGE_UNKNOWN, in testLog_stateNew_logAppInfo() 244 mHandledBatteryTip.log(mContext, mMetricsFeatureProvider); in testLog_stateHandled_doNotLogAppInfo() 246 verify(mMetricsFeatureProvider).action(mContext, in testLog_stateHandled_doNotLogAppInfo() 248 verify(mMetricsFeatureProvider, never()).action( in testLog_stateHandled_doNotLogAppInfo()
|
D | HighUsageTipTest.java | 49 private MetricsFeatureProvider mMetricsFeatureProvider; field in HighUsageTipTest 96 mBatteryTip.log(mContext, mMetricsFeatureProvider); in testLog_logAppInfo() 97 verify(mMetricsFeatureProvider).action(mContext, in testLog_logAppInfo() 100 verify(mMetricsFeatureProvider).action(mContext, in testLog_logAppInfo()
|
D | SmartBatteryTipTest.java | 37 private MetricsFeatureProvider mMetricsFeatureProvider; field in SmartBatteryTipTest 51 mSmartBatteryTip.log(mContext, mMetricsFeatureProvider); in testLog() 53 verify(mMetricsFeatureProvider).action(mContext, in testLog()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/overlay/ |
D | FeatureFactoryImpl.java | 31 protected MetricsFeatureProvider mMetricsFeatureProvider; field in FeatureFactoryImpl 38 if (mMetricsFeatureProvider == null) { in metricsFeatureProvider() 39 mMetricsFeatureProvider = new MetricsFeatureProvider(context.getApplicationContext()); in metricsFeatureProvider() 41 return mMetricsFeatureProvider; in metricsFeatureProvider()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataSaverBackend.java | 40 private final MetricsFeatureProvider mMetricsFeatureProvider; field in DataSaverBackend 51 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in DataSaverBackend() 76 mMetricsFeatureProvider.action( in setDataSaverEnabled() 89 mMetricsFeatureProvider.action( in setIsWhitelisted() 119 mMetricsFeatureProvider.action( in setIsBlacklisted()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataSaverBackend.java | 40 private final MetricsFeatureProvider mMetricsFeatureProvider; field in DataSaverBackend 51 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in DataSaverBackend() 76 mMetricsFeatureProvider.action( in setDataSaverEnabled() 89 mMetricsFeatureProvider.action( in setIsWhitelisted() 119 mMetricsFeatureProvider.action( in setIsBlacklisted()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppButtonsPreferenceController.java | 112 private final MetricsFeatureProvider mMetricsFeatureProvider; field in AppButtonsPreferenceController 136 mMetricsFeatureProvider = factory.getMetricsFeatureProvider(); in AppButtonsPreferenceController() 221 mMetricsFeatureProvider.action(mActivity, in onClick() 245 mMetricsFeatureProvider.action( in onClick() 291 mMetricsFeatureProvider.action(mActivity, in handleDialogClick() 297 mMetricsFeatureProvider.action(mActivity, in handleDialogClick() 529 mMetricsFeatureProvider.action( in uninstallPkg() 537 mMetricsFeatureProvider.action( in forceStopPackage() 538 mMetricsFeatureProvider.getAttribution(mActivity), in forceStopPackage()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppButtonsPreferenceController.java | 112 private final MetricsFeatureProvider mMetricsFeatureProvider; field in AppButtonsPreferenceController 136 mMetricsFeatureProvider = factory.getMetricsFeatureProvider(); in AppButtonsPreferenceController() 220 mMetricsFeatureProvider.action(mActivity, in onClick() 244 mMetricsFeatureProvider.action( in onClick() 290 mMetricsFeatureProvider.action(mActivity, in handleDialogClick() 296 mMetricsFeatureProvider.action(mActivity, in handleDialogClick() 528 mMetricsFeatureProvider.action( in uninstallPkg() 536 mMetricsFeatureProvider.action( in forceStopPackage() 537 mMetricsFeatureProvider.getAttribution(mActivity), in forceStopPackage()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | StorageItemPreferenceController.java | 80 private final MetricsFeatureProvider mMetricsFeatureProvider; field in StorageItemPreferenceController 105 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in StorageItemPreferenceController() 327 .setSourceMetricsCategory(mMetricsFeatureProvider.getMetricsCategory(mFragment)) in getPhotosIntent() 346 .setSourceMetricsCategory(mMetricsFeatureProvider.getMetricsCategory(mFragment)) in getAudioIntent() 363 .setSourceMetricsCategory(mMetricsFeatureProvider.getMetricsCategory(mFragment)) in getAppsIntent() 375 .setSourceMetricsCategory(mMetricsFeatureProvider.getMetricsCategory(mFragment)) in getGamesIntent() 387 .setSourceMetricsCategory(mMetricsFeatureProvider.getMetricsCategory(mFragment)) in getMoviesIntent()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceController.java | 80 private final MetricsFeatureProvider mMetricsFeatureProvider; field in StorageItemPreferenceController 105 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in StorageItemPreferenceController() 327 .setSourceMetricsCategory(mMetricsFeatureProvider.getMetricsCategory(mFragment)) in getPhotosIntent() 346 .setSourceMetricsCategory(mMetricsFeatureProvider.getMetricsCategory(mFragment)) in getAudioIntent() 363 .setSourceMetricsCategory(mMetricsFeatureProvider.getMetricsCategory(mFragment)) in getAppsIntent() 375 .setSourceMetricsCategory(mMetricsFeatureProvider.getMetricsCategory(mFragment)) in getGamesIntent() 387 .setSourceMetricsCategory(mMetricsFeatureProvider.getMetricsCategory(mFragment)) in getMoviesIntent()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeButtonPreferenceController.java | 73 mMetricsFeatureProvider.action(mContext, in updateState() 103 mMetricsFeatureProvider.action(mContext, in updateZenButtonOnClickListener() 110 mMetricsFeatureProvider.action(mContext, in updateZenButtonOnClickListener() 117 mMetricsFeatureProvider.action(mContext, in updateZenButtonOnClickListener()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenModeButtonPreferenceController.java | 72 mMetricsFeatureProvider.action(mContext, in updateState() 102 mMetricsFeatureProvider.action(mContext, in updateZenButtonOnClickListener() 109 mMetricsFeatureProvider.action(mContext, in updateZenButtonOnClickListener() 116 mMetricsFeatureProvider.action(mContext, in updateZenButtonOnClickListener()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AmbientDisplayNotificationsPreferenceControllerTest.java | 60 private MetricsFeatureProvider mMetricsFeatureProvider; field in AmbientDisplayNotificationsPreferenceControllerTest 76 ReflectionHelpers.setField(mController, "mMetricsFeatureProvider", mMetricsFeatureProvider); in setUp() 148 verify(mMetricsFeatureProvider).action(any(), eq(ACTION_AMBIENT_DISPLAY)); in handlePreferenceTreeClick_reportsEventForItsPreference() 157 verifyNoMoreInteractions(mMetricsFeatureProvider); in handlePreferenceTreeClick_doesntReportEventForOtherPreferences()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/core/instrumentation/ |
D | InstrumentedActivity.java | 32 protected MetricsFeatureProvider mMetricsFeatureProvider; field in InstrumentedActivity 39 mMetricsFeatureProvider = new MetricsFeatureProvider(); in onCreate() 41 mMetricsFeatureProvider); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/core/instrumentation/ |
D | InstrumentedDialogFragment.java | 32 protected MetricsFeatureProvider mMetricsFeatureProvider; field in InstrumentedDialogFragment 49 mMetricsFeatureProvider = FeatureFactory.getFactory(context) in onAttach() 52 mMetricsFeatureProvider)); in onAttach()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/instrumentation/ |
D | InstrumentedDialogFragment.java | 32 protected MetricsFeatureProvider mMetricsFeatureProvider; field in InstrumentedDialogFragment 49 mMetricsFeatureProvider = FeatureFactory.getFactory(context) in onAttach() 52 mMetricsFeatureProvider)); in onAttach()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | InstrumentedFragment.java | 30 protected MetricsFeatureProvider mMetricsFeatureProvider; field in InstrumentedFragment 36 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in onAttach() 38 mMetricsFeatureProvider); in onAttach()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/ |
D | InstrumentedFragment.java | 30 protected MetricsFeatureProvider mMetricsFeatureProvider; field in InstrumentedFragment 36 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in onAttach() 38 mMetricsFeatureProvider); in onAttach()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiEnabler.java | 50 private final MetricsFeatureProvider mMetricsFeatureProvider; field in WifiEnabler 95 mMetricsFeatureProvider = metricsFeatureProvider; in WifiEnabler() 212 mMetricsFeatureProvider.action(mContext, SettingsEnums.ACTION_WIFI_ON); in onSwitchToggled() 215 mMetricsFeatureProvider.action(mContext, SettingsEnums.ACTION_WIFI_OFF, in onSwitchToggled()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiEnabler.java | 50 private final MetricsFeatureProvider mMetricsFeatureProvider; field in WifiEnabler 95 mMetricsFeatureProvider = metricsFeatureProvider; in WifiEnabler() 212 mMetricsFeatureProvider.action(mContext, SettingsEnums.ACTION_WIFI_ON); in onSwitchToggled() 215 mMetricsFeatureProvider.action(mContext, SettingsEnums.ACTION_WIFI_OFF, in onSwitchToggled()
|