Home
last modified time | relevance | path

Searched refs:mFakeFeatureFactory (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DPanelFragmentTest.java52 private FakeFeatureFactory mFakeFeatureFactory; field in PanelFragmentTest
63 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
64 mFakeFeatureFactory.panelFeatureProvider = mPanelFeatureProvider; in setUp()
95 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()
DSettingsPanelActivityTest.java54 private FakeFeatureFactory mFakeFeatureFactory; field in SettingsPanelActivityTest
62 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
66 mFakeFeatureFactory.panelFeatureProvider = mPanelFeatureProvider; in setUp()
DPanelSlicesAdapterTest.java62 private FakeFeatureFactory mFakeFeatureFactory; field in PanelSlicesAdapterTest
72 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
73 mFakeFeatureFactory.panelFeatureProvider = mPanelFeatureProvider; in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFragmentTest.java70 private FakeFeatureFactory mFakeFeatureFactory; field in DashboardFragmentTest
86 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
90 when(mFakeFeatureFactory.dashboardFeatureProvider in setUp()
124 when(mFakeFeatureFactory.dashboardFeatureProvider in displayTilesAsPreference_shouldAddTilesWithIntent()
127 when(mFakeFeatureFactory.dashboardFeatureProvider in displayTilesAsPreference_shouldAddTilesWithIntent()
153 when(mFakeFeatureFactory.dashboardFeatureProvider in displayTilesAsPreference_shouldNotAddSuppressedTiles()
156 when(mFakeFeatureFactory.dashboardFeatureProvider in displayTilesAsPreference_shouldNotAddSuppressedTiles()
212 = mFakeFeatureFactory.getMetricsFeatureProvider(); in onExpandButtonClick_shouldLogAdvancedButtonExpand()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/
DEarlyWarningDetectorTest.java53 private FakeFeatureFactory mFakeFeatureFactory; field in EarlyWarningDetectorTest
64 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
65 doReturn(true).when(mFakeFeatureFactory.powerUsageFeatureProvider) in setUp()
80 doReturn(false).when(mFakeFeatureFactory.powerUsageFeatureProvider) in testDetect_testFeatureOn_tipNew()
105 doReturn(false).when(mFakeFeatureFactory.powerUsageFeatureProvider) in testDetect_noEarlyWarning_tipInvisible()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DSearchIndexableResourcesTest.java47 private FakeFeatureFactory mFakeFeatureFactory; field in SearchIndexableResourcesTest
52 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
53 mFakeFeatureFactory.searchFeatureProvider = mSearchProvider; in setUp()
58 mFakeFeatureFactory.searchFeatureProvider = mock(SearchFeatureProvider.class); in cleanUp()
DSettingsSearchIndexablesProviderTest.java34 private FakeFeatureFactory mFakeFeatureFactory; field in SettingsSearchIndexablesProviderTest
50 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
51 mFakeFeatureFactory.searchFeatureProvider = featureProvider; in setUp()
56 mFakeFeatureFactory.searchFeatureProvider = mock(SearchFeatureProvider.class); in cleanUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardLoaderTest.java54 private FakeFeatureFactory mFakeFeatureFactory; field in ContextualCardLoaderTest
60 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
99 verify(mFakeFeatureFactory.metricsFeatureProvider).action(any(), in getDisplayableCards_refreshCardUri_shouldLogContextualCard()
109 verify(mFakeFeatureFactory.metricsFeatureProvider, never()).action(any(), in getDisplayableCards_deleteCardUri_shouldNotLogContextualCard()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcForegroundPreferenceControllerTest.java61 private FakeFeatureFactory mFakeFeatureFactory; field in NfcForegroundPreferenceControllerTest
68 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
174 verify(mFakeFeatureFactory.metricsFeatureProvider).action(mContext, in changeOptions_checkMetrics()
180 verify(mFakeFeatureFactory.metricsFeatureProvider).action(mContext, in changeOptions_checkMetrics()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DAssistGestureSettingsTest.java42 private FakeFeatureFactory mFakeFeatureFactory; field in AssistGestureSettingsTest
48 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
70 when(mFakeFeatureFactory.assistGestureFeatureProvider.isSensorAvailable(any(Context.class))) in testSearchIndexProvider_noSensor_shouldDisablePageSearch()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceDataConverterTest.java74 private FakeFeatureFactory mFakeFeatureFactory; field in SliceDataConverterTest
81 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
82 mFakeFeatureFactory.searchFeatureProvider = mSearchFeatureProvider; in setUp()
87 mFakeFeatureFactory.searchFeatureProvider = mock(SearchFeatureProvider.class); in cleanUp()
DSliceBroadcastReceiverTest.java71 private FakeFeatureFactory mFakeFeatureFactory; field in SliceBroadcastReceiverTest
81 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
82 mFakeFeatureFactory.searchFeatureProvider = mSearchFeatureProvider; in setUp()
115 verify(mFakeFeatureFactory.metricsFeatureProvider) in onReceive_toggleChanged()
213 verify(mFakeFeatureFactory.metricsFeatureProvider) in onReceive_sliderChanged()
DSliceControllerInXmlCodeInspector.java67 private final FakeFeatureFactory mFakeFeatureFactory; field in SliceControllerInXmlCodeInspector
73 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in SliceControllerInXmlCodeInspector()
74 mFakeFeatureFactory.searchFeatureProvider = mSearchProvider; in SliceControllerInXmlCodeInspector()
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DWorkPolicyInfoPreferenceControllerTest.java46 private FakeFeatureFactory mFakeFeatureFactory; field in WorkPolicyInfoPreferenceControllerTest
53 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
54 mEnterpriseProvider = mFakeFeatureFactory.getEnterprisePrivacyFeatureProvider(mContext); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageSummaryDonutPreferenceControllerTest.java64 private FakeFeatureFactory mFakeFeatureFactory; field in StorageSummaryDonutPreferenceControllerTest
70 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
71 mMetricsFeatureProvider = mFakeFeatureFactory.getMetricsFeatureProvider(); in setUp()
DStorageItemPreferenceControllerTest.java87 private FakeFeatureFactory mFakeFeatureFactory; field in StorageItemPreferenceControllerTest
97 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
98 mMetricsFeatureProvider = mFakeFeatureFactory.getMetricsFeatureProvider(); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDevicePreferenceTest.java61 private FakeFeatureFactory mFakeFeatureFactory; field in BluetoothDevicePreferenceTest
70 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp()
71 mMetricsFeatureProvider = mFakeFeatureFactory.getMetricsFeatureProvider(); in setUp()