Home
last modified time | relevance | path

Searched refs:configurations (Results 1 – 25 of 52) sorted by relevance

123

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java388 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleOpenNetworkBackupRestore() local
389 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkBackupRestore()
391 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(configurations); in testSingleOpenNetworkBackupRestore()
395 configurations, retrievedConfigurations); in testSingleOpenNetworkBackupRestore()
404 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleOpenHiddenNetworkBackupRestore() local
405 configurations.add(WifiConfigurationTestUtil.createOpenHiddenNetwork()); in testSingleOpenHiddenNetworkBackupRestore()
407 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(configurations); in testSingleOpenHiddenNetworkBackupRestore()
411 configurations, retrievedConfigurations); in testSingleOpenHiddenNetworkBackupRestore()
419 List<WifiConfiguration> configurations = new ArrayList<>(); in testSinglePskNetworkBackupRestore() local
420 configurations.add(WifiConfigurationTestUtil.createPskNetwork()); in testSinglePskNetworkBackupRestore()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioPlaybackCallbackTest.java145 List<AudioPlaybackConfiguration> configurations = ImmutableList.of( in onPlaybackConfigChanged_singleConfig_returnsActiveContextForPrimaryZoneOnly() local
153 mCallback.onPlaybackConfigChanged(configurations); in onPlaybackConfigChanged_singleConfig_returnsActiveContextForPrimaryZoneOnly()
175 List<AudioPlaybackConfiguration> configurations = ImmutableList.of( in onPlaybackConfigChanged_withNullPlaybackMonitor() local
182 callback.onPlaybackConfigChanged(configurations); in onPlaybackConfigChanged_withNullPlaybackMonitor()
196 List<AudioPlaybackConfiguration> configurations = ImmutableList.of( in onPlaybackConfigChanged_withMultipleConfigs_returnsActiveConfigsForTwoZones() local
209 mCallback.onPlaybackConfigChanged(configurations); in onPlaybackConfigChanged_withMultipleConfigs_returnsActiveConfigsForTwoZones()
229 List<AudioPlaybackConfiguration> configurations = ImmutableList.of( in onPlaybackConfigChanged_withMultipleConfigs_onIncorrectConfigurations() local
243 mCallback.onPlaybackConfigChanged(configurations); in onPlaybackConfigChanged_withMultipleConfigs_onIncorrectConfigurations()
263 List<AudioPlaybackConfiguration> configurations = ImmutableList.of( in onPlaybackConfigChanged_withMultipleInactiveConfigs_beforeTimeout() local
289 mCallback.onPlaybackConfigChanged(configurations); in onPlaybackConfigChanged_withMultipleInactiveConfigs_beforeTimeout()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/
Daudio_set_scenarios.fbs19 /// Each scenario can list any number of codec configurations by their names in
22 /// configurations are being checked.
24 /// The referenced codec configurations are defined by the
26 /// Multiple scenarios can reference same codec configurations.
30 configurations: [string] (required);
Daudio_set_configurations.fbs77 /// one can define multiple output stream configurations with different
78 /// qualities, or assign different configurations to each stream direction.
86 configurations: [AudioSetConfiguration] (required);
Dle_audio_set_configuration_provider_json.cc444 auto flat_configs = configurations_root->configurations(); in LoadConfigurationsFromFiles()
463 if (!flat_scenario->configurations()) return items; in AudioSetConfigurationsFromFlatScenario()
465 for (auto config_name : *flat_scenario->configurations()) { in AudioSetConfigurationsFromFlatScenario()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DTextReadingPreviewPreferenceTest.java64 final Configuration[] configurations = createConfigurations(mPreviewSampleCount); in setUp() local
68 previewSamples, configurations)); in setUp()
189 final Configuration[] configurations = new Configuration[count]; in createConfigurations() local
191 configurations[i] = new Configuration(); in createConfigurations()
194 return configurations; in createConfigurations()
/packages/services/Car/cpp/watchdog/car-watchdog-lib/src/android/car/watchdoglib/
DCarWatchdogDaemonHelper.java265 List<ResourceOveruseConfiguration> configurations) throws RemoteException { in updateResourceOveruseConfigurations() argument
266 invokeDaemonMethod((daemon) -> daemon.updateResourceOveruseConfigurations(configurations)); in updateResourceOveruseConfigurations()
276 List<ResourceOveruseConfiguration> configurations = new ArrayList<>(); in getResourceOveruseConfigurations() local
278 configurations.addAll(daemon.getResourceOveruseConfigurations()); in getResourceOveruseConfigurations()
280 return configurations; in getResourceOveruseConfigurations()
/packages/apps/Settings/src/com/android/settings/display/
DPreviewPagerAdapter.java59 int[] previewSampleResIds, Configuration[] configurations) { in PreviewPagerAdapter() argument
62 mViewStubInflated = new boolean[previewSampleResIds.length][configurations.length]; in PreviewPagerAdapter()
72 for (int j = 0; j < configurations.length; ++j) { in PreviewPagerAdapter()
75 final Context configContext = context.createConfigurationContext(configurations[j]); in PreviewPagerAdapter()
/packages/services/Car/service/src/com/android/car/audio/
DZoneAudioPlaybackCallback.java66 public void onPlaybackConfigChanged(List<AudioPlaybackConfiguration> configurations) { in onPlaybackConfigChanged() argument
68 filterNewActiveConfiguration(configurations); in onPlaybackConfigChanged()
156 List<AudioPlaybackConfiguration> configurations) { in filterNewActiveConfiguration() argument
158 for (int index = 0; index < configurations.size(); index++) { in filterNewActiveConfiguration()
159 AudioPlaybackConfiguration configuration = configurations.get(index); in filterNewActiveConfiguration()
DCarAudioZone.java348 List<AudioPlaybackConfiguration> configurations) { in findActiveAudioAttributesFromPlaybackConfigurations() argument
349 Objects.requireNonNull(configurations, "Audio playback configurations can not be null"); in findActiveAudioAttributesFromPlaybackConfigurations()
351 for (int index = 0; index < configurations.size(); index++) { in findActiveAudioAttributesFromPlaybackConfigurations()
352 AudioPlaybackConfiguration configuration = configurations.get(index); in findActiveAudioAttributesFromPlaybackConfigurations()
DCarAudioPlaybackCallback.java94 public void onPlaybackConfigChanged(List<AudioPlaybackConfiguration> configurations) { in onPlaybackConfigChanged() argument
96 mCarAudioZonesToZonePlaybackCallback.valueAt(i).onPlaybackConfigChanged(configurations); in onPlaybackConfigChanged()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioConfigurationTestFragment.java166 List<CarAudioZoneConfigInfo> configurations = in setUpAutoConnectConfiguration() local
169 getCarAudioZoneConfigInfoOrNull(configurations, zoneId, configId); in setUpAutoConnectConfiguration()
171 configsUpdatedListener(configurations); in setUpAutoConnectConfiguration()
176 String[] configurations = infos.stream().map(i -> i.getName()).toArray(String[]::new); in showConfigSelectionDialog() local
179 builder.setItems(configurations, (DialogInterface.OnClickListener) (dialog, which) -> { in showConfigSelectionDialog()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBackupRestore.java168 public byte[] retrieveBackupDataFromConfigurations(List<WifiConfiguration> configurations) { in retrieveBackupDataFromConfigurations() argument
169 if (configurations == null) { in retrieveBackupDataFromConfigurations()
186 writeNetworkConfigurationsToXml(out, configurations); in retrieveBackupDataFromConfigurations()
209 XmlSerializer out, List<WifiConfiguration> configurations) in writeNetworkConfigurationsToXml() argument
212 for (WifiConfiguration configuration : configurations) { in writeNetworkConfigurationsToXml()
397 List<WifiConfiguration> configurations = supplicantNetworks.retrieveWifiConfigurations(); in retrieveConfigurationsFromSupplicantBackupData() local
408 for (WifiConfiguration configuration : configurations) { in retrieveConfigurationsFromSupplicantBackupData()
421 return configurations; in retrieveConfigurationsFromSupplicantBackupData()
DWifiBackupDataV1Parser.java198 List<WifiConfiguration> configurations = new ArrayList<>(); in parseNetworkConfigurationsFromXml() local
205 configurations.add(configuration); in parseNetworkConfigurationsFromXml()
208 return configurations; in parseNetworkConfigurationsFromXml()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DIpConfigStoreTest.java97 ArrayMap<String, IpConfiguration> configurations = IpConfigStore.readIpConfigurations(in); in backwardCompatibility2to3() local
99 assertNotNull(configurations); in backwardCompatibility2to3()
100 assertEquals(1, configurations.size()); in backwardCompatibility2to3()
101 IpConfiguration actualConfig = configurations.get(String.valueOf(KEY_CONFIG)); in backwardCompatibility2to3()
/packages/apps/Settings/src/com/android/settings/accessibility/
DTextReadingPreviewController.java244 final Configuration[] configurations = new Configuration[totalNum]; in createConfig() local
252 configurations[i * displayDataSize + j] = config; in createConfig()
256 return configurations; in createConfig()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
Dbuild.gradle.kts16 from(configurations.compileClasspath.get().map { if (it.isDirectory) it else zipTree(it) }) in <lambda>()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dclient_interface_aidl.cc685 configurations; in GetLeAudioAseConfiguration() local
688 &configurations); in GetLeAudioAseConfiguration()
698 configurations.size()); in GetLeAudioAseConfiguration()
699 return configurations; in GetLeAudioAseConfiguration()
/packages/services/Car/cpp/computepipe/proto/
DOptions.proto12 * input configurations supported by the graph
/packages/apps/Car/Launcher/libs/car-media-common/
Dbuild.gradle16 configurations.maybeCreate("default")
/packages/apps/Car/Launcher/libs/car-apps-common/
Dbuild.gradle16 configurations.maybeCreate("default")
/packages/apps/Car/Launcher/libs/car-ui-lib/
Dbuild.gradle16 configurations.maybeCreate("default")
/packages/services/Car/car-lib/src/android/car/watchdog/
DICarWatchdogService.aidl56 in List<ResourceOveruseConfiguration> configurations, in int resourceOveruseFlag); in setResourceOveruseConfigurations() argument
/packages/services/Car/cpp/watchdog/sepolicy/private/
Dcarwatchdog.te41 # R/W /data/system/car for resource overuse configurations.
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/RobolectricLib/
Dbuild.gradle69 // Robolectic specific configurations for code generation (of shadow jar code)

123