Home
last modified time | relevance | path

Searched refs:metricsFeatureProvider (Results 1 – 25 of 105) sorted by relevance

12345

/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionContextualCardRenderer.java64 final MetricsFeatureProvider metricsFeatureProvider = FeatureFactory.getFactory( in bindView() local
67 metricsFeatureProvider.visible(mContext, SettingsEnums.SETTINGS_HOMEPAGE, in bindView()
69 initializePrimaryClick(view, card, metricsFeatureProvider); in bindView()
71 initializeActionButton(view, card, metricsFeatureProvider); in bindView()
75 MetricsFeatureProvider metricsFeatureProvider) { in initializePrimaryClick() argument
78 metricsFeatureProvider.action(mContext, in initializePrimaryClick()
93 MetricsFeatureProvider metricsFeatureProvider) { in initializeActionButton() argument
103 metricsFeatureProvider.action( in initializeActionButton()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DConditionContextualCardRenderer.java64 final MetricsFeatureProvider metricsFeatureProvider = FeatureFactory.getFactory( in bindView() local
67 metricsFeatureProvider.visible(mContext, SettingsEnums.SETTINGS_HOMEPAGE, in bindView()
69 initializePrimaryClick(view, card, metricsFeatureProvider); in bindView()
71 initializeActionButton(view, card, metricsFeatureProvider); in bindView()
75 MetricsFeatureProvider metricsFeatureProvider) { in initializePrimaryClick() argument
78 metricsFeatureProvider.action(mContext, in initializePrimaryClick()
93 MetricsFeatureProvider metricsFeatureProvider) { in initializeActionButton() argument
103 metricsFeatureProvider.action( in initializeActionButton()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobServiceTest.java149 mFeatureFactory.metricsFeatureProvider, mBundle); in saveAnomalyToDatabase_systemWhitelisted_doNotSave()
170 mFeatureFactory.metricsFeatureProvider, mBundle); in saveAnomalyToDatabase_systemApp_doNotSaveButLog()
174 verify(mFeatureFactory.metricsFeatureProvider).action(SettingsEnums.PAGE_UNKNOWN, in saveAnomalyToDatabase_systemApp_doNotSaveButLog()
189 mFeatureFactory.powerUsageFeatureProvider, mFeatureFactory.metricsFeatureProvider, in saveAnomalyToDatabase_systemUid_doNotSave()
204 mFeatureFactory.powerUsageFeatureProvider, mFeatureFactory.metricsFeatureProvider, in saveAnomalyToDatabase_uidNull_doNotSave()
224 mFeatureFactory.powerUsageFeatureProvider, mFeatureFactory.metricsFeatureProvider, in saveAnomalyToDatabase_normalAppWithAutoRestriction_save()
229 verify(mFeatureFactory.metricsFeatureProvider).action(SettingsEnums.PAGE_UNKNOWN, in saveAnomalyToDatabase_normalAppWithAutoRestriction_save()
249 mFeatureFactory.powerUsageFeatureProvider, mFeatureFactory.metricsFeatureProvider, in saveAnomalyToDatabase_normalAppWithoutAutoRestriction_save()
254 verify(mFeatureFactory.metricsFeatureProvider).action(SettingsEnums.PAGE_UNKNOWN, in saveAnomalyToDatabase_normalAppWithoutAutoRestriction_save()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothDevicePreference.java208 final MetricsFeatureProvider metricsFeatureProvider = in onClicked() local
212 metricsFeatureProvider.action(context, in onClicked()
216 metricsFeatureProvider.action(context, in onClicked()
220 metricsFeatureProvider.action(context, in onClicked()
223 metricsFeatureProvider.action(context, in onClicked()
DBluetoothEnabler.java66 MetricsFeatureProvider metricsFeatureProvider, int metricsEvent) { in BluetoothEnabler() argument
67 this(context, switchController, metricsFeatureProvider, metricsEvent, in BluetoothEnabler()
72 MetricsFeatureProvider metricsFeatureProvider, int metricsEvent, in BluetoothEnabler() argument
75 mMetricsFeatureProvider = metricsFeatureProvider; in BluetoothEnabler()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDevicePreference.java211 final MetricsFeatureProvider metricsFeatureProvider = in onClicked() local
215 metricsFeatureProvider.action(context, in onClicked()
219 metricsFeatureProvider.action(context, in onClicked()
223 metricsFeatureProvider.action(context, in onClicked()
226 metricsFeatureProvider.action(context, in onClicked()
DBluetoothEnabler.java66 MetricsFeatureProvider metricsFeatureProvider, int metricsEvent) { in BluetoothEnabler() argument
67 this(context, switchController, metricsFeatureProvider, metricsEvent, in BluetoothEnabler()
72 MetricsFeatureProvider metricsFeatureProvider, int metricsEvent, in BluetoothEnabler() argument
75 mMetricsFeatureProvider = metricsFeatureProvider; in BluetoothEnabler()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DEligibleCardChecker.java54 final MetricsFeatureProvider metricsFeatureProvider = in call() local
59 metricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN, in call()
65 metricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN, in call()
72 metricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN, in call()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DAnomalyDetectionJobService.java103 final MetricsFeatureProvider metricsFeatureProvider = FeatureFactory in onStartJob() local
109 contentResolver, powerUsageFeatureProvider, metricsFeatureProvider, in onStartJob()
132 MetricsFeatureProvider metricsFeatureProvider, Bundle bundle) { in saveAnomalyToDatabase() argument
155 metricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN, in saveAnomalyToDatabase()
173 metricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN, in saveAnomalyToDatabase()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobService.java103 final MetricsFeatureProvider metricsFeatureProvider = FeatureFactory in onStartJob() local
109 contentResolver, powerUsageFeatureProvider, metricsFeatureProvider, in onStartJob()
132 MetricsFeatureProvider metricsFeatureProvider, Bundle bundle) { in saveAnomalyToDatabase() argument
155 metricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN, in saveAnomalyToDatabase()
173 metricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN, in saveAnomalyToDatabase()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DEligibleCardChecker.java59 final MetricsFeatureProvider metricsFeatureProvider = in call() local
64 metricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN, in call()
70 metricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN, in call()
77 metricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN, in call()
DContextualCardManager.java217 final MetricsFeatureProvider metricsFeatureProvider = in onFinishCardLoading() local
224 metricsFeatureProvider.action(mContext, in onFinishCardLoading()
234 metricsFeatureProvider.action(mContext, in onFinishCardLoading()
239 metricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN, in onFinishCardLoading()
246 metricsFeatureProvider.action(mContext, in onFinishCardLoading()
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DPanelFragmentTest.java95 verify(mFakeFeatureFactory.metricsFeatureProvider).action( in onCreate_logsOpenEvent()
106 verify(mFakeFeatureFactory.metricsFeatureProvider).action( in onDestroy_logCloseEvent()
121 verify(mFakeFeatureFactory.metricsFeatureProvider).action( in panelSeeMoreClick_logsCloseEvent()
137 verify(mFakeFeatureFactory.metricsFeatureProvider).action( in panelDoneClick_logsCloseEvent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiEnabler.java83 MetricsFeatureProvider metricsFeatureProvider) { in WifiEnabler() argument
84 this(context, switchWidget, metricsFeatureProvider, in WifiEnabler()
90 MetricsFeatureProvider metricsFeatureProvider, in WifiEnabler() argument
95 mMetricsFeatureProvider = metricsFeatureProvider; in WifiEnabler()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java83 MetricsFeatureProvider metricsFeatureProvider) { in WifiEnabler() argument
84 this(context, switchWidget, metricsFeatureProvider, in WifiEnabler()
90 MetricsFeatureProvider metricsFeatureProvider, in WifiEnabler() argument
95 mMetricsFeatureProvider = metricsFeatureProvider; in WifiEnabler()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/premiumsms/
DPremiumSmsAccessTest.java52 verify(mFeatureFactory.metricsFeatureProvider).action( in logSpecialPermissionChange()
61 verify(mFeatureFactory.metricsFeatureProvider).action( in logSpecialPermissionChange()
70 verify(mFeatureFactory.metricsFeatureProvider).action( in logSpecialPermissionChange()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/
DSuggestionService.java44 .metricsFeatureProvider(this) in onGetSuggestions()
59 .metricsFeatureProvider(this) in onSuggestionDismissed()
73 .metricsFeatureProvider(this) in onSuggestionLaunched()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/vrlistener/
DVrListenerSettings.java77 final MetricsFeatureProvider metricsFeatureProvider = in logSpecialPermissionChange() local
79 metricsFeatureProvider.action( in logSpecialPermissionChange()
80 metricsFeatureProvider.getAttribution(getActivity()), in logSpecialPermissionChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/vrlistener/
DVrListenerSettings.java77 final MetricsFeatureProvider metricsFeatureProvider = in logSpecialPermissionChange() local
79 metricsFeatureProvider.action( in logSpecialPermissionChange()
80 metricsFeatureProvider.getAttribution(getActivity()), in logSpecialPermissionChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/tips/
DHighUsageTip.java83 public void log(Context context, MetricsFeatureProvider metricsFeatureProvider) { in log() argument
84 metricsFeatureProvider.action(context, SettingsEnums.ACTION_HIGH_USAGE_TIP, in log()
88 metricsFeatureProvider.action(context, in log()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DHighUsageTip.java83 public void log(Context context, MetricsFeatureProvider metricsFeatureProvider) { in log() argument
84 metricsFeatureProvider.action(context, SettingsEnums.ACTION_HIGH_USAGE_TIP, in log()
88 metricsFeatureProvider.action(context, in log()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/actions/
DRestrictAppActionTest.java94 verify(mFeatureFactory.metricsFeatureProvider).action(SettingsEnums.PAGE_UNKNOWN, in testHandlePositiveAction()
96 verify(mFeatureFactory.metricsFeatureProvider).action(SettingsEnums.PAGE_UNKNOWN, in testHandlePositiveAction()
99 verify(mFeatureFactory.metricsFeatureProvider).action(SettingsEnums.PAGE_UNKNOWN, in testHandlePositiveAction()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureDetails.java126 final MetricsFeatureProvider metricsFeatureProvider = in logSpecialPermissionChange() local
128 metricsFeatureProvider.action( in logSpecialPermissionChange()
129 metricsFeatureProvider.getAttribution(getActivity()), in logSpecialPermissionChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/pictureinpicture/
DPictureInPictureDetails.java126 final MetricsFeatureProvider metricsFeatureProvider = in logSpecialPermissionChange() local
128 metricsFeatureProvider.action( in logSpecialPermissionChange()
129 metricsFeatureProvider.getAttribution(getActivity()), in logSpecialPermissionChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DUsageAccessDetails.java117 final MetricsFeatureProvider metricsFeatureProvider = in logSpecialPermissionChange() local
119 metricsFeatureProvider.action( in logSpecialPermissionChange()
120 metricsFeatureProvider.getAttribution(getActivity()), in logSpecialPermissionChange()

12345