HomeSort by relevance Sort by last modified time
    Searched refs:mMetricsFeature (Results 1 - 4 of 4) sorted by null

  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
VisibilityLoggerMixin.java 39 private MetricsFeatureProvider mMetricsFeature;
54 mMetricsFeature = metricsFeature;
60 if (mMetricsFeature != null && mMetricsCategory != METRICS_CATEGORY_UNKNOWN) {
61 mMetricsFeature.visible(null /* context */, mSourceMetricsCategory, mMetricsCategory);
68 if (mMetricsFeature != null && mMetricsCategory != METRICS_CATEGORY_UNKNOWN) {
69 mMetricsFeature.hidden(null /* context */, mMetricsCategory);
SharedPreferencesLogger.java 40 private final MetricsFeatureProvider mMetricsFeature;
47 mMetricsFeature = metricsFeature;
119 mMetricsFeature.count(mContext, buildCountName(prefKey, value), 1);
152 mMetricsFeature.action(mContext, MetricsEvent.ACTION_SETTINGS_PREFERENCE_CHANGE,
161 mMetricsFeature.action(mContext, MetricsEvent.ACTION_SETTINGS_PREFERENCE_CHANGE, value,
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
VisibilityLoggerMixinTest.java 51 private MetricsFeatureProvider mMetricsFeature;
58 mMixin = new VisibilityLoggerMixin(TestInstrumentable.TEST_METRIC, mMetricsFeature);
65 verify(mMetricsFeature, times(1))
80 verify(mMetricsFeature, times(1))
89 verify(mMetricsFeature, times(1))
99 verify(mMetricsFeature, never())
105 mMixin = new VisibilityLoggerMixin(METRICS_CATEGORY_UNKNOWN, mMetricsFeature);
110 verify(mMetricsFeature, never())
SharedPreferenceLoggerTest.java 54 private MetricsFeatureProvider mMetricsFeature;
60 mSharedPrefLogger = new SharedPreferencesLogger(mContext, TEST_TAG, mMetricsFeature);
75 verify(mMetricsFeature, times(6)).action(any(Context.class), anyInt(),
90 verify(mMetricsFeature).action(any(Context.class), anyInt(),
93 verify(mMetricsFeature, times(3)).action(any(Context.class), anyInt(),
107 verify(mMetricsFeature, times(4)).action(any(Context.class), anyInt(),
119 verify(mMetricsFeature).action(any(Context.class), anyInt(),
132 verify(mMetricsFeature).action(any(Context.class), anyInt(),
147 verify(mMetricsFeature, times(4)).action(any(Context.class), anyInt(),
155 verify(mMetricsFeature).action(any(Context.class)
    [all...]

Completed in 597 milliseconds