Searched refs:SettingsQCRegistry (Results 1 – 25 of 33) sorted by relevance
12
33 SettingsQCRegistry.sUriToQC.clear(); in setUp()34 SettingsQCRegistry.sUriToQC.put(QCTestUtils.URI, TestSettingsQCItem.class); in setUp()39 Class<? extends SettingsQCItem> clazz = SettingsQCRegistry.getQCClassByUri(QCTestUtils.URI); in getQCClassByUri_validUri_returnsClass()45 Class<? extends SettingsQCItem> clazz = SettingsQCRegistry.getQCClassByUri(Uri.EMPTY); in getQCClassByUri_invalidUri_returnsNull()51 Uri uri = SettingsQCRegistry.removeParameterFromUri(QCTestUtils.URI); in removeParameterFromUri_removesParameters()57 assertThat(SettingsQCRegistry.isValidUri(QCTestUtils.URI)).isTrue(); in isValidUri_validUri_returnsTrue()62 assertThat(SettingsQCRegistry.isValidUri(Uri.EMPTY)).isFalse(); in isValidUri_invalidUri_returnsFalse()67 assertThat(SettingsQCRegistry.isValidAction(QCTestUtils.URI.toString())).isTrue(); in isValidAction_validAction_returnsTrue()72 assertThat(SettingsQCRegistry.isValidAction(Uri.EMPTY.toString())).isFalse(); in isValidAction_invalidAction_returnsFalse()
40 SettingsQCRegistry.sUriToQC.clear(); in setUp()41 SettingsQCRegistry.sUriToQC.put(QCTestUtils.URI, TestSettingsQCItem.class); in setUp()
45 SettingsQCRegistry.sUriToQC.clear(); in setUp()46 SettingsQCRegistry.sUriToQC.put(QCTestUtils.URI, TestSettingsQCItem.class); in setUp()
27 return new MobileDataRowWorker(mContext, SettingsQCRegistry.MOBILE_DATA_ROW_URI); in getWorker()
27 return new WifiRowWorker(mContext, SettingsQCRegistry.WIFI_ROW_URI); in getWorker()
27 return new MobileDataTileWorker(mContext, SettingsQCRegistry.MOBILE_DATA_TILE_URI); in getWorker()
27 return new WifiTileWorker(mContext, SettingsQCRegistry.WIFI_TILE_URI); in getWorker()
45 mWorker = new BluetoothSwitchWorker(mContext, SettingsQCRegistry.BLUETOOTH_SWITCH_URI); in setUp()
63 SettingsQCRegistry.MEDIA_VOLUME_SLIDER_URI); in setUp()
60 SettingsQCRegistry.PAIRED_BLUETOOTH_DEVICES_URI); in setUp()
58 mWorker = new HotspotTileWorker(mContext, SettingsQCRegistry.HOTSPOT_TILE_URI); in setUp()
54 if (SettingsQCRegistry.isValidUri(uri)) { in onBind()63 if (SettingsQCRegistry.isValidUri(uri)) { in onSubscribed()89 Uri newUri = SettingsQCRegistry.removeParameterFromUri(uri); in getQCItemFromUri()90 Class clazz = SettingsQCRegistry.getQCClassByUri(newUri); in getQCItemFromUri()
35 if (SettingsQCRegistry.isValidAction(action)) { in onReceive()37 SettingsQCRegistry.getQCClassByUri(Uri.parse(action))); in onReceive()
19 import static com.android.car.settings.qc.SettingsQCRegistry.MEDIA_VOLUME_SLIDER_WITHOUT_ICON_URI;
21 import static com.android.car.settings.qc.SettingsQCRegistry.CALL_VOLUME_SLIDER_URI;
21 import static com.android.car.settings.qc.SettingsQCRegistry.NAVIGATION_VOLUME_SLIDER_URI;
21 import static com.android.car.settings.qc.SettingsQCRegistry.MEDIA_VOLUME_SLIDER_URI;
19 import static com.android.car.settings.qc.SettingsQCRegistry.BRIGHTNESS_SLIDER_WITH_ICON_URI;
19 import static com.android.car.settings.qc.SettingsQCRegistry.HOTSPOT_ROW_WITH_ACTION_URI;
19 import static com.android.car.settings.qc.SettingsQCRegistry.MEDIA_AUDIO_SELECTOR_URI;
22 import static com.android.car.settings.qc.SettingsQCRegistry.WIFI_TILE_URI;
22 import static com.android.car.settings.qc.SettingsQCRegistry.MOBILE_DATA_TILE_URI;
85 return SettingsQCRegistry.BLUETOOTH_SWITCH_URI; in getUri()
69 return SettingsQCRegistry.THEME_TOGGLE_URI; in getUri()
22 import static com.android.car.settings.qc.SettingsQCRegistry.HOTSPOT_TILE_URI;