Home
last modified time | relevance | path

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

123

/packages/apps/Settings/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceController.java59 private final MetricsFeatureProvider mMetricsFeatureProvider; field in BuildNumberPreferenceController
73 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in BuildNumberPreferenceController()
125 mMetricsFeatureProvider.action( in handlePreferenceTreeClick()
132 mMetricsFeatureProvider.action( in handlePreferenceTreeClick()
143 mMetricsFeatureProvider.action( in handlePreferenceTreeClick()
161 mMetricsFeatureProvider.action( in handlePreferenceTreeClick()
177 mMetricsFeatureProvider.action( in handlePreferenceTreeClick()
188 mMetricsFeatureProvider.action( in handlePreferenceTreeClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDevicePreferenceTest.java62 private MetricsFeatureProvider mMetricsFeatureProvider; field in BluetoothDevicePreferenceTest
71 mMetricsFeatureProvider = mFakeFeatureFactory.getMetricsFeatureProvider(); in setUp()
82 verify(mMetricsFeatureProvider).action( in onClicked_deviceConnected_shouldLogBluetoothDisconnectEvent()
93 verify(mMetricsFeatureProvider).action( in onClicked_deviceBonded_shouldLogBluetoothConnectEvent()
106 verify(mMetricsFeatureProvider).action( in onClicked_deviceNotBonded_shouldLogBluetoothPairEvent()
108 verify(mMetricsFeatureProvider, never()).action(mContext, in onClicked_deviceNotBonded_shouldLogBluetoothPairEvent()
121 verify(mMetricsFeatureProvider).action( in onClicked_deviceNotBonded_shouldLogBluetoothPairEventAndPairWithoutNameEvent()
123 verify(mMetricsFeatureProvider).action(mContext, in onClicked_deviceNotBonded_shouldLogBluetoothPairEventAndPairWithoutNameEvent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarControllerTest.java58 private MetricsFeatureProvider mMetricsFeatureProvider; field in AutomaticStorageManagerSwitchBarControllerTest
76 mMetricsFeatureProvider = featureFactory.getMetricsFeatureProvider(); in setUp()
83 mMetricsFeatureProvider, in setUp()
92 verify(mMetricsFeatureProvider) in onSwitchChanged_false_recordsAMetric()
103 verify(mMetricsFeatureProvider) in onSwitchChanged_true_recordsAMetric()
140 mMetricsFeatureProvider, in initializeSwitchOnConstruction()
158 mMetricsFeatureProvider, in initializingSwitchDoesNotTriggerView()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceController.java79 private final MetricsFeatureProvider mMetricsFeatureProvider; field in StorageItemPreferenceController
104 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in StorageItemPreferenceController()
330 mMetricsFeatureProvider.getMetricsCategory(mFragment)); in getPhotosIntent()
346 false, mMetricsFeatureProvider.getMetricsCategory(mFragment)); in getAudioIntent()
361 false, mMetricsFeatureProvider.getMetricsCategory(mFragment)); in getAppsIntent()
370 null, false, mMetricsFeatureProvider.getMetricsCategory(mFragment)); in getGamesIntent()
379 null, false, mMetricsFeatureProvider.getMetricsCategory(mFragment)); in getMoviesIntent()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverBackend.java40 private final MetricsFeatureProvider mMetricsFeatureProvider; field in DataSaverBackend
52 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in DataSaverBackend()
77 mMetricsFeatureProvider.action( in setDataSaverEnabled()
90 mMetricsFeatureProvider.action( in setIsWhitelisted()
129 mMetricsFeatureProvider.action( in setIsBlacklisted()
/packages/apps/Settings/src/com/android/settings/search/
DSearchFragment.java110 private MetricsFeatureProvider mMetricsFeatureProvider; field in SearchFragment
146 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in onAttach()
247 mMetricsFeatureProvider.histogram(activity, RESULT_CLICK_COUNT, mResultClickCount); in onStop()
249 mMetricsFeatureProvider.action(activity, in onStop()
381 mMetricsFeatureProvider.visible(getContext(), getMetricsCategory(), in onSearchResultsDisplayed()
392 mMetricsFeatureProvider.action(getContext(), in onSavedQueryClicked()
473 mMetricsFeatureProvider.action(getContext(), in logSearchResultClicked()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceRenamePreferenceController.java36 private MetricsFeatureProvider mMetricsFeatureProvider; field in BluetoothDeviceRenamePreferenceController
42 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in BluetoothDeviceRenamePreferenceController()
50 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in BluetoothDeviceRenamePreferenceController()
66 mMetricsFeatureProvider.action(mContext, in handlePreferenceTreeClick()
DBluetoothFilesPreferenceController.java47 private MetricsFeatureProvider mMetricsFeatureProvider; field in BluetoothFilesPreferenceController
51 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in BluetoothFilesPreferenceController()
67 mMetricsFeatureProvider.action(mContext, in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardAdapter.java77 private final MetricsFeatureProvider mMetricsFeatureProvider; field in DashboardAdapter
105 mMetricsFeatureProvider.action(mContext,
121 mMetricsFeatureProvider = factory.getMetricsFeatureProvider(); in DashboardAdapter()
176 mMetricsFeatureProvider.action( in setCategoriesAndSuggestions()
264 mMetricsFeatureProvider.action(mContext, in onBindViewHolder()
307 mMetricsFeatureProvider.action( in onPause()
344 mMetricsFeatureProvider.action( in logSuggestions()
423 mMetricsFeatureProvider.action(mContext, in onBindSuggestionConditionHeader()
DSupportItemAdapter.java76 private final MetricsFeatureProvider mMetricsFeatureProvider; field in SupportItemAdapter
91 mMetricsFeatureProvider = metricsFeatureProvider; in SupportItemAdapter()
157 mMetricsFeatureProvider.action(mActivity, data.metricsEvent); in onItemClicked()
478 mMetricsFeatureProvider.action(mActivity, in onClick()
493 mMetricsFeatureProvider.action(mActivity, in onClick()
498 mMetricsFeatureProvider.action(mActivity, in onClick()
514 mMetricsFeatureProvider.action(mActivity, in onClick()
526 mMetricsFeatureProvider.action(mActivity, in onClick()
DDashboardFeatureProviderImpl.java56 private final MetricsFeatureProvider mMetricsFeatureProvider; field in DashboardFeatureProviderImpl
63 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in DashboardFeatureProviderImpl()
217 mMetricsFeatureProvider.logDashboardStartIntent(mContext, intent, sourceMetricCategory); in launchIntentOrSelectProfile()
220 mMetricsFeatureProvider.logDashboardStartIntent(mContext, intent, sourceMetricCategory); in launchIntentOrSelectProfile()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModePrioritySettings.java66 mMetricsFeatureProvider.action(mContext, MetricsEvent.ACTION_ZEN_ALLOW_REMINDERS, in onCreate()
82 mMetricsFeatureProvider.action(mContext, MetricsEvent.ACTION_ZEN_ALLOW_EVENTS, val); in onCreate()
101mMetricsFeatureProvider.action(mContext, MetricsEvent.ACTION_ZEN_ALLOW_MESSAGES, val); in onCreate()
121 mMetricsFeatureProvider.action(mContext, MetricsEvent.ACTION_ZEN_ALLOW_CALLS, val); in onCreate()
140 mMetricsFeatureProvider.action(mContext, MetricsEvent.ACTION_ZEN_ALLOW_REPEAT_CALLS, in onCreate()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAppButtonsPreferenceController.java116 private MetricsFeatureProvider mMetricsFeatureProvider; field in AppButtonsPreferenceController
136 mMetricsFeatureProvider = FeatureFactory.getFactory(activity).getMetricsFeatureProvider(); in AppButtonsPreferenceController()
221 mMetricsFeatureProvider.action(mActivity, in onClick()
244 mMetricsFeatureProvider.action( in onClick()
284 mMetricsFeatureProvider.action(mActivity, in handleDialogClick()
290 mMetricsFeatureProvider.action(mActivity, in handleDialogClick()
517 mMetricsFeatureProvider.action( in uninstallPkg()
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
DSuggestionAdapter.java41 private final MetricsFeatureProvider mMetricsFeatureProvider; field in SuggestionAdapter
54 mMetricsFeatureProvider = factory.getMetricsFeatureProvider(); in SuggestionAdapter()
73 mMetricsFeatureProvider.action( in onBindViewHolder()
105 mMetricsFeatureProvider.action(mContext, in onBindViewHolder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/support/
DSupportDisclaimerDialogFragmentTest.java50 private MetricsFeatureProvider mMetricsFeatureProvider; field in SupportDisclaimerDialogFragmentTest
62 mMetricsFeatureProvider = mFakeFeatureFactory.getMetricsFeatureProvider(); in setUp()
81 verify(mMetricsFeatureProvider, times(1)).action(any(), in onClick_DoNotShowCheckedLogsAction()
98 verify(mMetricsFeatureProvider, never()).action(any(), in onClick_DoNotShowUncheckedDoesNotLogAction()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAmbientDisplayNotificationsPreferenceControllerTest.java58 @Mock MetricsFeatureProvider mMetricsFeatureProvider; field in AmbientDisplayNotificationsPreferenceControllerTest
66 mMetricsFeatureProvider); in setUp()
128 verify(mMetricsFeatureProvider).action(any(), eq(ACTION_AMBIENT_DISPLAY)); in handlePreferenceTreeClick_reportsEventForItsPreference()
137 verifyNoMoreInteractions(mMetricsFeatureProvider); in handlePreferenceTreeClick_doesntReportEventForOtherPreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DSupportItemAdapterTest.java68 private MetricsFeatureProvider mMetricsFeatureProvider; field in SupportItemAdapterTest
112 mMetricsFeatureProvider, null); in testSetAccount_AccountEmpty_NotCrash()
128 mMetricsFeatureProvider, null); in testRefreshData_CardUpdatedOnEnteringOrLeavingSupportHours()
184 mMetricsFeatureProvider, null); in bindAccountPickerInner()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java49 private final MetricsFeatureProvider mMetricsFeatureProvider; field in WifiEnabler
94 mMetricsFeatureProvider = metricsFeatureProvider; in WifiEnabler()
216 mMetricsFeatureProvider.action(mContext, MetricsEvent.ACTION_WIFI_ON); in onSwitchToggled()
219 mMetricsFeatureProvider.action(mContext, MetricsEvent.ACTION_WIFI_OFF, in onSwitchToggled()
DWifiMasterSwitchPreferenceController.java42 private final MetricsFeatureProvider mMetricsFeatureProvider; field in WifiMasterSwitchPreferenceController
47 mMetricsFeatureProvider = metricsFeatureProvider; in WifiMasterSwitchPreferenceController()
86 mMetricsFeatureProvider); in onStart()
/packages/apps/Settings/src/com/android/settings/overlay/
DFeatureFactoryImpl.java65 private MetricsFeatureProvider mMetricsFeatureProvider; field in FeatureFactoryImpl
86 if (mMetricsFeatureProvider == null) { in getMetricsFeatureProvider()
87 mMetricsFeatureProvider = new MetricsFeatureProvider(); in getMetricsFeatureProvider()
89 return mMetricsFeatureProvider; in getMetricsFeatureProvider()
/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/action/
DAnomalyAction.java34 private MetricsFeatureProvider mMetricsFeatureProvider; field in AnomalyAction
38 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in AnomalyAction()
49 mMetricsFeatureProvider.action(mContext, mActionMetricKey, anomaly.packageName, in handlePositiveAction()
/packages/apps/Settings/src/com/android/settings/support/
DSupportDisclaimerDialogFragment.java91 mMetricsFeatureProvider.action(getContext(), in onClick()
104 mMetricsFeatureProvider.action(activity, in onClick()
107 mMetricsFeatureProvider.action(activity, in onClick()
116 mMetricsFeatureProvider.action(getContext(), in onCancel()
/packages/apps/Settings/src/com/android/settings/display/
DAutoRotatePreferenceController.java36 private final MetricsFeatureProvider mMetricsFeatureProvider; field in AutoRotatePreferenceController
42 mMetricsFeatureProvider = FeatureFactory.getFactory(context).getMetricsFeatureProvider(); in AutoRotatePreferenceController()
67 mMetricsFeatureProvider.action(mContext, MetricsProto.MetricsEvent.ACTION_ROTATION_LOCK, in onPreferenceChange()
DAmbientDisplayNotificationsPreferenceController.java47 private final MetricsFeatureProvider mMetricsFeatureProvider; field in AmbientDisplayNotificationsPreferenceController
53 mMetricsFeatureProvider = metricsFeatureProvider; in AmbientDisplayNotificationsPreferenceController()
65 mMetricsFeatureProvider.action(mContext, ACTION_AMBIENT_DISPLAY); in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DCondition.java37 protected final MetricsFeatureProvider mMetricsFeatureProvider; field in Condition
51 mMetricsFeatureProvider = metricsFeatureProvider; in Condition()
100 mMetricsFeatureProvider.action(context, MetricsEvent.ACTION_SETTINGS_CONDITION_DISMISS, in silence()

123