Home
last modified time | relevance | path

Searched refs:SettingsQCRegistry (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DSettingsQCRegistryTest.java33 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()
DSettingsQCBroadcastReceiverTest.java40 SettingsQCRegistry.sUriToQC.clear(); in setUp()
41 SettingsQCRegistry.sUriToQC.put(QCTestUtils.URI, TestSettingsQCItem.class); in setUp()
DSettingsQCProviderTest.java45 SettingsQCRegistry.sUriToQC.clear(); in setUp()
46 SettingsQCRegistry.sUriToQC.put(QCTestUtils.URI, TestSettingsQCItem.class); in setUp()
DMobileDataRowWorkerTest.java27 return new MobileDataRowWorker(mContext, SettingsQCRegistry.MOBILE_DATA_ROW_URI); in getWorker()
DWifiRowWorkerTest.java27 return new WifiRowWorker(mContext, SettingsQCRegistry.WIFI_ROW_URI); in getWorker()
DMobileDataTileWorkerTest.java27 return new MobileDataTileWorker(mContext, SettingsQCRegistry.MOBILE_DATA_TILE_URI); in getWorker()
DWifiTileWorkerTest.java27 return new WifiTileWorker(mContext, SettingsQCRegistry.WIFI_TILE_URI); in getWorker()
DBluetoothSwitchWorkerTest.java45 mWorker = new BluetoothSwitchWorker(mContext, SettingsQCRegistry.BLUETOOTH_SWITCH_URI); in setUp()
DMediaVolumeSliderWorkerTest.java63 SettingsQCRegistry.MEDIA_VOLUME_SLIDER_URI); in setUp()
DPairedBluetoothDevicesWorkerTest.java60 SettingsQCRegistry.PAIRED_BLUETOOTH_DEVICES_URI); in setUp()
DHotspotTileWorkerTest.java58 mWorker = new HotspotTileWorker(mContext, SettingsQCRegistry.HOTSPOT_TILE_URI); in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DSettingsQCProvider.java54 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()
DSettingsQCBroadcastReceiver.java35 if (SettingsQCRegistry.isValidAction(action)) { in onReceive()
37 SettingsQCRegistry.getQCClassByUri(Uri.parse(action))); in onReceive()
DMediaVolumeSliderWithoutIcon.java19 import static com.android.car.settings.qc.SettingsQCRegistry.MEDIA_VOLUME_SLIDER_WITHOUT_ICON_URI;
DCallVolumeSlider.java21 import static com.android.car.settings.qc.SettingsQCRegistry.CALL_VOLUME_SLIDER_URI;
DNavigationVolumeSlider.java21 import static com.android.car.settings.qc.SettingsQCRegistry.NAVIGATION_VOLUME_SLIDER_URI;
DMediaVolumeSlider.java21 import static com.android.car.settings.qc.SettingsQCRegistry.MEDIA_VOLUME_SLIDER_URI;
DBrightnessSliderWithIcon.java19 import static com.android.car.settings.qc.SettingsQCRegistry.BRIGHTNESS_SLIDER_WITH_ICON_URI;
DHotspotRowWithAction.java19 import static com.android.car.settings.qc.SettingsQCRegistry.HOTSPOT_ROW_WITH_ACTION_URI;
DMediaAudioSelectorRow.java19 import static com.android.car.settings.qc.SettingsQCRegistry.MEDIA_AUDIO_SELECTOR_URI;
DWifiTile.java22 import static com.android.car.settings.qc.SettingsQCRegistry.WIFI_TILE_URI;
DMobileDataTile.java22 import static com.android.car.settings.qc.SettingsQCRegistry.MOBILE_DATA_TILE_URI;
DBluetoothSwitch.java85 return SettingsQCRegistry.BLUETOOTH_SWITCH_URI; in getUri()
DThemeToggle.java69 return SettingsQCRegistry.THEME_TOGGLE_URI; in getUri()
DHotspotTile.java22 import static com.android.car.settings.qc.SettingsQCRegistry.HOTSPOT_TILE_URI;

12