Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java251 HashMap<Integer, OccupantZoneInfo> configs = mService.getOccupantsConfig(); in testDefaultOccupantConfig() local
252 assertThat(configs).hasSize(DEFAULT_OCCUPANT_ZONES.length); in testDefaultOccupantConfig()
253 assertThat(mZoneDriverLHD).isEqualTo(configs.get(0)); in testDefaultOccupantConfig()
254 assertThat(mZoneFrontPassengerLHD).isEqualTo(configs.get(1)); in testDefaultOccupantConfig()
255 assertThat(mZoneRearLeft).isEqualTo(configs.get(2)); in testDefaultOccupantConfig()
256 assertThat(mZoneRearRight).isEqualTo(configs.get(3)); in testDefaultOccupantConfig()
275 HashMap<Integer, OccupantZoneInfo> configs = mService.getOccupantsConfig(); in testDefaultOccupantConfigForRHD() local
276 assertThat(configs).hasSize(DEFAULT_OCCUPANT_ZONES.length); in testDefaultOccupantConfigForRHD()
278 VehicleAreaSeat.SEAT_ROW_1_RIGHT)).isEqualTo(configs.get(0)); in testDefaultOccupantConfigForRHD()
280 VehicleAreaSeat.SEAT_ROW_1_LEFT)).isEqualTo(configs.get(1)); in testDefaultOccupantConfigForRHD()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java251 List<CarUxRestrictionsConfiguration> configs; in loadConfig() local
257 configs = readPersistedConfig(prodConfig); in loadConfig()
258 if (configs != null) { in loadConfig()
259 return configs; in loadConfig()
265 configs = readXmlConfig(); in loadConfig()
266 if (configs != null) { in loadConfig()
267 return configs; in loadConfig()
273 configs = new ArrayList<>(); in loadConfig()
276 configs.add(createDefaultConfig(port)); in loadConfig()
279 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.java51 public void onRecordingConfigChanged(List<AudioRecordingConfiguration> configs) {
55 handleRecordingConfigurationChange(configs);
246 private void handleRecordingConfigurationChange(List<AudioRecordingConfiguration> configs) { in handleRecordingConfigurationChange() argument
247 if (configs == null) { in handleRecordingConfigurationChange()
248 configs = Collections.emptyList(); in handleRecordingConfigurationChange()
251 boolean isRecording = isRecordingInProgress(configs); in handleRecordingConfigurationChange()
273 private boolean isRecordingInProgress(List<AudioRecordingConfiguration> configs) { in isRecordingInProgress() argument
274 String recordingPackages = configs.stream() in isRecordingInProgress()
278 return configs.stream() in isRecordingInProgress()
/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/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/apps/Settings/src/com/android/settings/development/bluetooth/
DAbstractBluetoothDialogPreferenceController.java199 final BluetoothCodecConfig[] configs = getSelectableConfigs(activeDevice); in getSelectableByCodecType() local
200 if (configs == null) { in getSelectableByCodecType()
204 for (BluetoothCodecConfig config : configs) { in getSelectableByCodecType()
220 static int getHighestCodec(BluetoothCodecConfig[] configs) { in getHighestCodec() argument
221 if (configs == null) { in getHighestCodec()
226 for (int j = 0; j < configs.length; j++) { in getHighestCodec()
227 if ((configs[j].getCodecType() == CODEC_TYPES[i])) { in getHighestCodec()
DBluetoothCodecDialogPreferenceController.java88 BluetoothCodecConfig[] configs = getSelectableConfigs(activeDevice); in getSelectableIndex() local
89 if (configs != null) { in getSelectableIndex()
90 return getIndexFromConfig(configs); in getSelectableIndex()
158 private List<Integer> getIndexFromConfig(BluetoothCodecConfig[] configs) { in getIndexFromConfig() argument
160 for (int i = 0; i < configs.length; i++) { in getIndexFromConfig()
161 indexArray.add(convertCfgToBtnIndex(configs[i].getCodecType())); in getIndexFromConfig()
DBluetoothBitPerSampleDialogPreferenceController.java97 final int configs = in getSelectableIndex() local
100 if ((configs & BITS_PER_SAMPLES[i]) != 0) { in getSelectableIndex()
DBluetoothSampleRateDialogPreferenceController.java100 final int configs = in getSelectableIndex() local
103 if ((configs & sampleRate) != 0) { in getSelectableIndex()
DBluetoothChannelModeDialogPreferenceController.java94 final int configs = in getSelectableIndex() local
97 if ((configs & CHANNEL_MODES[i]) != 0) { in getSelectableIndex()
/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/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java176 List<CarPropertyConfig> configs = mService.getPropertyList(); in CarPropertyManager() local
177 for (CarPropertyConfig carPropertyConfig : configs) { in CarPropertyManager()
367 List<CarPropertyConfig> configs = new ArrayList<>(mConfigMap.size()); in getPropertyList() local
369 configs.add(mConfigMap.valueAt(i)); in getPropertyList()
371 return configs; in getPropertyList()
381 List<CarPropertyConfig> configs = new ArrayList<>(); in getPropertyList() local
386 configs.add(config); in getPropertyList()
389 return configs; in getPropertyList()
/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.java328 List<CarPropertyConfig> configs = getPropertyList(); in registerCallback() local
329 for (CarPropertyConfig c : configs) { in registerCallback()
346 List<CarPropertyConfig> configs = getPropertyList(); in unregisterCallback() local
347 for (CarPropertyConfig c : configs) { in unregisterCallback()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarPropertyTest.java240 List<CarPropertyConfig> configs = propertyManager.getPropertyList(propConfigSet); in testMixedTypeProperty() local
244 0, configs.size()); in testMixedTypeProperty()
247 CarPropertyConfig<?> cfg = configs.get(0); in testMixedTypeProperty()
290 List<CarPropertyConfig> configs = propMgr.getPropertyList(); in checkPropertyPermission() local
291 for (CarPropertyConfig cfg : configs) { in checkPropertyPermission()
/packages/services/Car/car-lib/src/android/car/hardware/cabin/
DCarCabinManager.java494 List<CarPropertyConfig> configs = getPropertyList(); in registerCallback() local
499 for (CarPropertyConfig c : configs) { in registerCallback()
515 List<CarPropertyConfig> configs = getPropertyList(); in unregisterCallback() local
516 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/Car/service/src/com/android/car/hal/
DVehicleHal.java165 ArrayList<VehiclePropConfig> configs; in fetchAllPropConfigs() local
167 configs = mHalClient.getAllPropConfigs(); in fetchAllPropConfigs()
168 if (configs == null || configs.size() == 0) { in fetchAllPropConfigs()
178 for (VehiclePropConfig p : configs) { in fetchAllPropConfigs()
504 static void dumpProperties(PrintWriter writer, Collection<VehiclePropConfig> configs) { in dumpProperties() argument
505 for (VehiclePropConfig config : configs) { in dumpProperties()
/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()

12