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.java195 List<CarUxRestrictionsConfiguration> configs; in loadConfig() local
201 configs = readPersistedConfig(prodConfig); in loadConfig()
202 if (configs != null) { in loadConfig()
203 return configs; in loadConfig()
209 configs = readXmlConfig(); in loadConfig()
210 if (configs != null) { in loadConfig()
211 return configs; in loadConfig()
217 configs = new ArrayList<>(); in loadConfig()
219 configs.add(createDefaultConfig(port)); in loadConfig()
221 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/services/Telecomm/src/com/android/server/telecom/
DCallRecordingTonePlayer.java48 public void onRecordingConfigChanged(List<AudioRecordingConfiguration> configs) {
52 handleRecordingConfigurationChange(configs);
191 private void handleRecordingConfigurationChange(List<AudioRecordingConfiguration> configs) { in handleRecordingConfigurationChange() argument
192 if (configs == null) { in handleRecordingConfigurationChange()
193 configs = Collections.emptyList(); in handleRecordingConfigurationChange()
196 boolean isRecording = isRecordingInProgress(configs); in handleRecordingConfigurationChange()
218 private boolean isRecordingInProgress(List<AudioRecordingConfiguration> configs) { in isRecordingInProgress() argument
219 String recordingPackages = configs.stream() in isRecordingInProgress()
223 return configs.stream() in isRecordingInProgress()
/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/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/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastBootupConfigTest.java135 CbConfig[] configs = new CbConfig[] { in testConfiguration() local
180 verify(mSmsService, times(configs.length)).enableCellBroadcastRangeForSubscriber(anyInt(), in testConfiguration()
183 for (int i = 0; i < configs.length; i++) { in testConfiguration()
184 assertEquals("i=" + i, configs[i].startId, mStartIds.getAllValues().get(i).intValue()); in testConfiguration()
185 assertEquals("i=" + i, configs[i].endId, mEndIds.getAllValues().get(i).intValue()); in testConfiguration()
186 assertEquals("i=" + i, configs[i].type, mTypes.getAllValues().get(i).intValue()); in testConfiguration()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java103 List<CarPropertyConfig> configs = mService.getPropertyList(); in CarPropertyManager() local
104 for (CarPropertyConfig carPropertyConfig : configs) { in CarPropertyManager()
291 List<CarPropertyConfig> configs = new ArrayList<>(mConfigMap.size()); in getPropertyList() local
293 configs.add(mConfigMap.valueAt(i)); in getPropertyList()
295 return configs; in getPropertyList()
305 List<CarPropertyConfig> configs = new ArrayList<>(); in getPropertyList() local
309 configs.add(config); in getPropertyList()
312 return configs; in getPropertyList()
/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.java160 List<CarUxRestrictionsConfiguration> configs = in testParsingMultipleConfigurations() local
164 assertEquals(configs.size(), 2); in testParsingMultipleConfigurations()
170 for (CarUxRestrictionsConfiguration config: configs) { in testParsingMultipleConfigurations()
178 List<CarUxRestrictionsConfiguration> configs = in testMultipleConfigurationsShareParameters() local
182 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.java320 List<CarPropertyConfig> configs = getPropertyList(); in registerCallback() local
321 for (CarPropertyConfig c : configs) { in registerCallback()
336 List<CarPropertyConfig> configs = getPropertyList(); in unregisterCallback() local
337 for (CarPropertyConfig c : configs) { in unregisterCallback()
/packages/services/Car/car-lib/src/android/car/hardware/cabin/
DCarCabinManager.java495 List<CarPropertyConfig> configs = getPropertyList(); in registerCallback() local
496 for (CarPropertyConfig c : configs) { in registerCallback()
510 List<CarPropertyConfig> configs = getPropertyList(); in unregisterCallback() local
511 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.java251 List<AudioRecordingConfiguration> configs = new ArrayList<>(); in getAudioRecordingConfig() local
252 configs.add(new AudioRecordingConfiguration(0, 0, MediaRecorder.AudioSource.MIC, in getAudioRecordingConfig()
255 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.java196 List<CarUxRestrictionsConfiguration> configs) { in saveUxRestrictionsConfigurationForNextBoot() argument
198 return mUxRService.saveUxRestrictionsConfigurationForNextBoot(configs); in saveUxRestrictionsConfigurationForNextBoot()
/packages/services/Car/tests/BugReportApp/
DREADME.md37 UI and upload configs are located in `res/` directory. Resources can be
49 `res/values/configs.xml` for obtaining GCS bucket name.
/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/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()
/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()

12