/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/ |
D | PanelFragmentTest.java | 52 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()
|
D | SettingsPanelActivityTest.java | 54 private FakeFeatureFactory mFakeFeatureFactory; field in SettingsPanelActivityTest 62 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp() 66 mFakeFeatureFactory.panelFeatureProvider = mPanelFeatureProvider; in setUp()
|
D | PanelSlicesAdapterTest.java | 62 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/ |
D | DashboardFragmentTest.java | 70 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/ |
D | EarlyWarningDetectorTest.java | 53 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/ |
D | SearchIndexableResourcesTest.java | 47 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()
|
D | SettingsSearchIndexablesProviderTest.java | 34 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/ |
D | ContextualCardLoaderTest.java | 54 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/ |
D | NfcForegroundPreferenceControllerTest.java | 61 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/ |
D | AssistGestureSettingsTest.java | 42 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/ |
D | SliceDataConverterTest.java | 74 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()
|
D | SliceBroadcastReceiverTest.java | 71 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()
|
D | SliceControllerInXmlCodeInspector.java | 67 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/ |
D | WorkPolicyInfoPreferenceControllerTest.java | 46 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/ |
D | StorageSummaryDonutPreferenceControllerTest.java | 64 private FakeFeatureFactory mFakeFeatureFactory; field in StorageSummaryDonutPreferenceControllerTest 70 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp() 71 mMetricsFeatureProvider = mFakeFeatureFactory.getMetricsFeatureProvider(); in setUp()
|
D | StorageItemPreferenceControllerTest.java | 87 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/ |
D | BluetoothDevicePreferenceTest.java | 61 private FakeFeatureFactory mFakeFeatureFactory; field in BluetoothDevicePreferenceTest 70 mFakeFeatureFactory = FakeFeatureFactory.setupForTest(); in setUp() 71 mMetricsFeatureProvider = mFakeFeatureFactory.getMetricsFeatureProvider(); in setUp()
|