Home
last modified time | relevance | path

Searched refs:mMetricsFeatureProvider (Results 1 – 25 of 180) sorted by relevance

12345678

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DBuildNumberPreferenceController.java57 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/
DBuildNumberPreferenceController.java58 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/
DSearchFragment.java90 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/
DBluetoothDevicePreferenceTest.java62 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/
DAutomaticStorageManagerSwitchBarControllerTest.java54 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/
DRestrictAppTipTest.java73 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()
DHighUsageTipTest.java49 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()
DSmartBatteryTipTest.java37 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/
DFeatureFactoryImpl.java31 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/
DDataSaverBackend.java40 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/
DDataSaverBackend.java40 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/
DAppButtonsPreferenceController.java112 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/
DAppButtonsPreferenceController.java112 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/
DStorageItemPreferenceController.java80 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/
DStorageItemPreferenceController.java80 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/
DZenModeButtonPreferenceController.java73 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/
DZenModeButtonPreferenceController.java72 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/
DAmbientDisplayNotificationsPreferenceControllerTest.java60 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/
DInstrumentedActivity.java32 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/
DInstrumentedDialogFragment.java32 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/
DInstrumentedDialogFragment.java32 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/
DInstrumentedFragment.java30 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/
DInstrumentedFragment.java30 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/
DWifiEnabler.java50 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/
DWifiEnabler.java50 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()

12345678