Home
last modified time | relevance | path

Searched refs:configs (Results 1 – 25 of 34) sorted by relevance

12

/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java212 List<CarUxRestrictionsConfiguration> configs; in loadConfig() local
218 configs = readPersistedConfig(prodConfig); in loadConfig()
219 if (configs != null) { in loadConfig()
220 return configs; in loadConfig()
226 configs = readXmlConfig(); in loadConfig()
227 if (configs != null) { in loadConfig()
228 return configs; in loadConfig()
234 configs = new ArrayList<>(); in loadConfig()
236 configs.add(createDefaultConfig(port)); in loadConfig()
238 return configs; in loadConfig()
[all …]
DCarUxRestrictionsConfigurationXmlParser.java100 List<CarUxRestrictionsConfiguration> configs = new ArrayList<>(); in parse() local
105 configs.add(builder.build()); in parse()
107 return configs; in parse()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DDialerVvmConfigManager.java97 private final Map<String, SortedSet<ConfigEntry>> configs; field in DialerVvmConfigManager
103 configs = cachedConfigs; in DialerVvmConfigManager()
108 configs = loadConfigs(context, parser); in DialerVvmConfigManager()
113 if (!configs.containsKey(carrierIdentifier.mccMnc())) { in getConfig()
116 for (ConfigEntry configEntry : configs.get(carrierIdentifier.mccMnc())) { in getConfig()
126 Map<String, SortedSet<ConfigEntry>> configs = new ArrayMap<>(); in loadConfigs() local
150 if (configs.containsKey(mccMnc)) { in loadConfigs()
151 set = configs.get(mccMnc); in loadConfigs()
155 configs.put(mccMnc, set); in loadConfigs()
168 return configs; in loadConfigs()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallRecordingTonePlayer.java50 public void onRecordingConfigChanged(List<AudioRecordingConfiguration> configs) {
54 handleRecordingConfigurationChange(configs);
193 private void handleRecordingConfigurationChange(List<AudioRecordingConfiguration> configs) { in handleRecordingConfigurationChange() argument
194 if (configs == null) { in handleRecordingConfigurationChange()
195 configs = Collections.emptyList(); in handleRecordingConfigurationChange()
198 boolean isRecording = isRecordingInProgress(configs); in handleRecordingConfigurationChange()
220 private boolean isRecordingInProgress(List<AudioRecordingConfiguration> configs) { in isRecordingInProgress() argument
221 String recordingPackages = configs.stream() in isRecordingInProgress()
225 return configs.stream() in isRecordingInProgress()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicRendererSurfaceView.java164 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() local
165 egl.eglChooseConfig(display, CONFIG_ATTRIBUTES, configs, numConfigs, numConfig); in chooseConfig()
168 printConfigs(egl, display, configs); in chooseConfig()
172 return chooseConfig(egl, display, configs); in chooseConfig()
176 EGLConfig[] configs) { in chooseConfig() argument
177 for (EGLConfig config : configs) { in chooseConfig()
213 EGLConfig[] configs) { in printConfigs() argument
214 int numConfigs = configs.length; in printConfigs()
218 printConfig(egl, display, configs[i]); in printConfigs()
/packages/services/Car/tools/emulator/
Duser_action_generator.py71 configs = vhalConfig.area_configs
72 if not configs:
75 if len(configs) == 1:
77 areaConfigs[area] = AreaConfig(configs[0], valueType)
79 for config in configs:
111 self.configs = self._getConfig(vhal)
129 config = self.configs[prop]
147 config = self.configs[prop]
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java105 List<CarPropertyConfig> configs = mService.getPropertyList(); in CarPropertyManager() local
106 for (CarPropertyConfig carPropertyConfig : configs) { in CarPropertyManager()
295 List<CarPropertyConfig> configs = new ArrayList<>(mConfigMap.size()); in getPropertyList() local
297 configs.add(mConfigMap.valueAt(i)); in getPropertyList()
299 return configs; in getPropertyList()
309 List<CarPropertyConfig> configs = new ArrayList<>(); in getPropertyList() local
313 configs.add(config); in getPropertyList()
316 return configs; in getPropertyList()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastBootupConfigTest.java143 CbConfig[] configs = new CbConfig[] { in testConfiguration() local
188 verify(mSmsService, times(configs.length)).enableCellBroadcastRangeForSubscriber(anyInt(), in testConfiguration()
191 for (int i = 0; i < configs.length; i++) { in testConfiguration()
192 assertEquals("i=" + i, configs[i].startId, mStartIds.getAllValues().get(i).intValue()); in testConfiguration()
193 assertEquals("i=" + i, configs[i].endId, mEndIds.getAllValues().get(i).intValue()); in testConfiguration()
194 assertEquals("i=" + i, configs[i].type, mTypes.getAllValues().get(i).intValue()); in testConfiguration()
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DCarUnitsManager.java108 List<CarPropertyConfig> configs = mCarPropertyManager.getPropertyList(propertyIdSet); in getUnitsSupportedByProperty() local
112 if (configs == null || configs.size() < 1 || configs.get(0) == null) { in getUnitsSupportedByProperty()
116 availableUnitsId = configs.get(0).getConfigArray(); in getUnitsSupportedByProperty()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParserTest.java162 List<CarUxRestrictionsConfiguration> configs = in testParsingMultipleConfigurations() local
166 assertEquals(configs.size(), 2); in testParsingMultipleConfigurations()
172 for (CarUxRestrictionsConfiguration config : configs) { in testParsingMultipleConfigurations()
180 List<CarUxRestrictionsConfiguration> configs = in testMultipleConfigurationsShareParameters() local
184 for (CarUxRestrictionsConfiguration config : configs) { in testMultipleConfigurationsShareParameters()
DCarVendorExtensionManagerTest.java124 List<CarPropertyConfig> configs = mManager.getProperties(); in testPropertyList() local
125 assertEquals(mConfigs.length, configs.size()); in testPropertyList()
127 SparseArray<CarPropertyConfig> configById = new SparseArray<>(configs.size()); in testPropertyList()
128 for (CarPropertyConfig config : configs) { in testPropertyList()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarVendorExtensionManager.java113 List<CarPropertyConfig> configs = mPropertyManager.getPropertyList(); in registerCallback() local
114 for (CarPropertyConfig c : configs) { in registerCallback()
126 List<CarPropertyConfig> configs = mPropertyManager.getPropertyList(); in unregisterCallback() local
127 for (CarPropertyConfig c : configs) { in unregisterCallback()
/packages/services/Car/car-lib/src/android/car/hardware/hvac/
DCarHvacManager.java319 List<CarPropertyConfig> configs = getPropertyList(); in registerCallback() local
320 for (CarPropertyConfig c : configs) { in registerCallback()
335 List<CarPropertyConfig> configs = getPropertyList(); in unregisterCallback() local
336 for (CarPropertyConfig c : configs) { in unregisterCallback()
/packages/services/Car/car-lib/src/android/car/hardware/cabin/
DCarCabinManager.java494 List<CarPropertyConfig> configs = getPropertyList(); in registerCallback() local
495 for (CarPropertyConfig c : configs) { in registerCallback()
509 List<CarPropertyConfig> configs = getPropertyList(); in unregisterCallback() local
510 for (CarPropertyConfig c : configs) { in unregisterCallback()
/packages/apps/Camera2/src/com/android/camera/
DSurfaceTextureRenderer.java201 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() local
203 display, CONFIG_SPEC, configs, numConfigs, numConfig)) { in chooseConfig()
207 return configs[0]; in chooseConfig()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallRecordingTonePlayerTest.java258 List<AudioRecordingConfiguration> configs = new ArrayList<>(); in getAudioRecordingConfig() local
259 configs.add(new AudioRecordingConfiguration(0, 0, MediaRecorder.AudioSource.MIC, in getAudioRecordingConfig()
262 return configs; in getAudioRecordingConfig()
/packages/apps/Gallery2/src/com/android/photos/views/
DBlockingGLTextureView.java116 EGLConfig[] configs = new EGLConfig[1]; in chooseEglConfig() local
118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig()
122 return configs[0]; in chooseEglConfig()
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java207 EGLConfig[] configs = new EGLConfig[1]; in chooseEglConfig() local
209 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig()
213 return configs[0]; in chooseEglConfig()
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
DImsConfigActivity.java40 public ConfigItemAdapter(Context context, ArrayList<TestImsConfigImpl.ConfigItem> configs) { in ConfigItemAdapter() argument
41 super(context, 0, configs); in ConfigItemAdapter()
/packages/apps/Nfc/src/com/android/nfc/beam/
DFireflyRenderer.java355 EGLConfig[] configs = new EGLConfig[1]; in chooseEglConfig() local
356 if (!mEgl.eglChooseConfig(mEglDisplay, sEglConfig, configs, 1, configsCount)) { in chooseEglConfig()
360 return configs[0]; in chooseEglConfig()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsManager.java168 List<CarUxRestrictionsConfiguration> configs) { in saveUxRestrictionsConfigurationForNextBoot() argument
170 return mUxRService.saveUxRestrictionsConfigurationForNextBoot(configs); in saveUxRestrictionsConfigurationForNextBoot()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppConfiguratorActivity.java391 final List<WifiConfiguration> configs = wifiManager.getConfiguredNetworks(); in getConnectedWifiNetworkConfigOrNull() local
392 for (WifiConfiguration wifiConfiguration : configs) { in getConnectedWifiNetworkConfigOrNull()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppConfiguratorActivity.java386 final List<WifiConfiguration> configs = wifiManager.getConfiguredNetworks(); in getConnectedWifiNetworkConfigOrNull() local
387 for (WifiConfiguration wifiConfiguration : configs) { in getConnectedWifiNetworkConfigOrNull()
/packages/services/Car/tests/BugReportApp/
DREADME.md37 UI and upload configs are located in `res/` directory. Resources can be
52 `res/values/configs.xml` for obtaining GCS bucket name.
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DMockedVehicleHal.java62 public synchronized void addProperties(VehiclePropConfig... configs) { in addProperties() argument
63 for (VehiclePropConfig config : configs) { in addProperties()

12