Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java283 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleOpenNetworkBackupRestore() local
284 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkBackupRestore()
286 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(configurations); in testSingleOpenNetworkBackupRestore()
290 configurations, retrievedConfigurations); in testSingleOpenNetworkBackupRestore()
299 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleOpenHiddenNetworkBackupRestore() local
300 configurations.add(WifiConfigurationTestUtil.createOpenHiddenNetwork()); in testSingleOpenHiddenNetworkBackupRestore()
302 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(configurations); in testSingleOpenHiddenNetworkBackupRestore()
306 configurations, retrievedConfigurations); in testSingleOpenHiddenNetworkBackupRestore()
314 List<WifiConfiguration> configurations = new ArrayList<>(); in testSinglePskNetworkBackupRestore() local
315 configurations.add(WifiConfigurationTestUtil.createPskNetwork()); in testSinglePskNetworkBackupRestore()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java62 ArrayMap<String, IpConfiguration> configurations = IpConfigStore.readIpConfigurations(in); in backwardCompatibility2to3() local
64 assertNotNull(configurations); in backwardCompatibility2to3()
65 assertEquals(1, configurations.size()); in backwardCompatibility2to3()
66 IpConfiguration actualConfig = configurations.get(String.valueOf(KEY_CONFIG)); in backwardCompatibility2to3()
/frameworks/base/core/java/android/hardware/usb/
DUsbDevice.java82 @NonNull String version, @NonNull UsbConfiguration[] configurations, in UsbDevice() argument
95 mConfigurations = Preconditions.checkArrayElementsNotNull(configurations, "configurations"); in UsbDevice()
361 UsbConfiguration[] configurations = in.readParcelableArray(
370 manufacturerName, productName, version, configurations, serialNumberReader,
442 @NonNull String version, @NonNull UsbConfiguration[] configurations, in Builder() argument
455 mConfigurations = configurations; in Builder()
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java107 StreamConfiguration[] configurations, in StreamConfigurationMap() argument
122 this(configurations, minFrameDurations, stallDurations, in StreamConfigurationMap()
168 StreamConfiguration[] configurations, in StreamConfigurationMap() argument
185 if (configurations == null && in StreamConfigurationMap()
192 if (configurations == null) { in StreamConfigurationMap()
198 mConfigurations = checkArrayElementsNotNull(configurations, "configurations"); in StreamConfigurationMap()
307 if (configurations != null && enforceImplementationDefined && in StreamConfigurationMap()
1513 StreamConfiguration[] configurations = in getInternalFormatSizes() local
1524 for (StreamConfiguration config : configurations) { in getInternalFormatSizes()
1680 StreamConfiguration[] configurations = in isSupportedInternalConfiguration() local
[all …]
/frameworks/base/libs/androidfw/tests/
DAssetManager2_test.cpp510 static bool IsConfigurationPresent(const std::set<ResTable_config>& configurations, in IsConfigurationPresent() argument
512 return configurations.count(configuration) > 0; in IsConfigurationPresent()
519 std::set<ResTable_config> configurations = assetmanager.GetResourceConfigurations(); in TEST_F() local
523 EXPECT_EQ(4u, configurations.size()); in TEST_F()
529 EXPECT_TRUE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
533 EXPECT_TRUE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
537 EXPECT_TRUE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
540 configurations = assetmanager.GetResourceConfigurations(true /* exclude_system */); in TEST_F()
543 EXPECT_EQ(2u, configurations.size()); in TEST_F()
547 EXPECT_FALSE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupRestore.java167 public byte[] retrieveBackupDataFromConfigurations(List<WifiConfiguration> configurations) { in retrieveBackupDataFromConfigurations() argument
168 if (configurations == null) { in retrieveBackupDataFromConfigurations()
185 writeNetworkConfigurationsToXml(out, configurations); in retrieveBackupDataFromConfigurations()
208 XmlSerializer out, List<WifiConfiguration> configurations) in writeNetworkConfigurationsToXml() argument
211 for (WifiConfiguration configuration : configurations) { in writeNetworkConfigurationsToXml()
386 List<WifiConfiguration> configurations = supplicantNetworks.retrieveWifiConfigurations(); in retrieveConfigurationsFromSupplicantBackupData() local
397 for (WifiConfiguration configuration : configurations) { in retrieveConfigurationsFromSupplicantBackupData()
410 return configurations; in retrieveConfigurationsFromSupplicantBackupData()
DWifiBackupDataV1Parser.java156 List<WifiConfiguration> configurations = new ArrayList<>(); in parseNetworkConfigurationsFromXml() local
163 configurations.add(configuration); in parseNetworkConfigurationsFromXml()
166 return configurations; in parseNetworkConfigurationsFromXml()
DWifiConfigManager.java2951 List<WifiConfiguration> configurations, in loadInternalDataFromSharedStore() argument
2953 for (WifiConfiguration configuration : configurations) { in loadInternalDataFromSharedStore()
2973 private void loadInternalDataFromUserStore(List<WifiConfiguration> configurations) { in loadInternalDataFromUserStore() argument
2974 for (WifiConfiguration configuration : configurations) { in loadInternalDataFromUserStore()
/frameworks/base/wifi/java/android/net/wifi/migration_samples/
DREADME.txt12 1) WifiConfigStore.xml - General storage for shared configurations. Includes
26 3) WifiConfigStore.xml - General storage for user specific configurations. Includes
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java350 assertEquals(stats1.configurations.size(), stats2.configurations.size()); in compareIntervalStats()
351 Configuration[] configSet1 = stats1.configurations.keySet().toArray(new Configuration[0]); in compareIntervalStats()
353 if (!stats2.configurations.containsKey(configSet1[i])) { in compareIntervalStats()
354 Configuration[] configSet2 = stats2.configurations.keySet().toArray( in compareIntervalStats()
469 mIntervalStats.configurations.clear();
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java983 private void parseRecommendedConfigurations(RecommendedStreamConfiguration[] configurations, in parseRecommendedConfigurations() argument
999 for (RecommendedStreamConfiguration c : configurations) { in parseRecommendedConfigurations()
1102 RecommendedStreamConfiguration[] configurations = getBase( in getRecommendedStreamConfigurations() local
1106 if ((configurations == null) && (depthConfigurations == null)) { in getRecommendedStreamConfigurations()
1123 if (configurations != null) { in getRecommendedStreamConfigurations()
1124 parseRecommendedConfigurations(configurations, fullMap, /*isDepth*/ false, in getRecommendedStreamConfigurations()
1158 if (configurations != null) { in getRecommendedStreamConfigurations()
1301 StreamConfiguration[] configurations = getBase( in getStreamConfigurationMap() local
1331 configurations, minFrameDurations, stallDurations, in getStreamConfigurationMap()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java76 public final ArrayMap<Configuration, ConfigurationStats> configurations = new ArrayMap<>(); field in IntervalStats
147 ConfigurationStats configStats = configurations.get(config); in getOrCreateConfigurationStats()
153 configurations.put(config, configStats); in getOrCreateConfigurationStats()
371 ConfigurationStats activeStats = configurations.get(activeConfiguration); in updateConfigurationStats()
DUsageStatsProto.java506 statsOut.configurations.clear(); in read()
618 final int configCount = stats.configurations.size(); in write()
620 boolean active = stats.activeConfiguration.equals(stats.configurations.keyAt(i)); in write()
623 stats.configurations.valueAt(i), active); in write()
DUserUsageStatsService.java383 accResult.addAll(stats.configurations.values());
387 final int configCount = stats.configurations.size();
389 accResult.add(new ConfigurationStats(stats.configurations.valueAt(i)));
1045 final ArrayMap<Configuration, ConfigurationStats> configStats = stats.configurations; in printIntervalStats()
DUsageStatsProtoV2.java549 final int configCount = stats.configurations.size(); in write()
551 boolean active = stats.activeConfiguration.equals(stats.configurations.keyAt(i)); in write()
554 writeConfigStats(proto, stats.beginTime, stats.configurations.valueAt(i), active); in write()
DUsageStatsXmlV1.java255 statsOut.configurations.clear(); in read()
DUsageStatsDatabase.java1376 beingRestored.configurations.putAll(onDevice.configurations); in mergeStats()
1408 stats.configurations.clear(); in sanitizeIntervalStatsForBackup()
/frameworks/base/core/proto/android/server/
Dusagestatsservice_v2.proto56 repeated Configuration configurations = 21; field
Dusagestatsservice.proto117 repeated Configuration configurations = 21; field
/frameworks/base/tools/aapt2/
Dreadme.md149 - Duplicate resource filtering: removes duplicate resources in dominated configurations
156 configurations to a separate APK which can be loaded alongside the base APK on
/frameworks/base/core/proto/android/service/
Dusb.proto132 repeated UsbConfigurationProto configurations = 11; field
138 // A single USB device can have several configurations and the app accessing
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h292 std::vector<ResTable_config> configurations; member
/frameworks/base/libs/androidfw/
DAssetManager2.cpp376 std::set<ResTable_config> configurations; in GetResourceConfigurations() local
391 package.loaded_package_->CollectConfigurations(exclude_mipmap, &configurations); in GetResourceConfigurations()
394 return configurations; in GetResourceConfigurations()
644 const std::vector<ResTable_config>& candidate_configs = filtered_group.configurations; in FindEntryInternal()
1284 group.configurations.push_back(this_config); in RebuildFilterList()
/frameworks/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal296 * This describes camera output. It has configurations specific to a
381 * A vector containing all output configurations
/frameworks/ml/nn/runtime/test/
DTestValidateOperations.cpp4517 const std::vector<std::pair<std::string, std::vector<uint32_t>>> configurations = { in TEST() local
4527 for (const auto& [outerTrace, outerDims] : configurations) { in TEST()
4529 for (const auto& [thenTrace, thenDims] : configurations) { in TEST()
4531 for (const auto& [elseTrace, elseDims] : configurations) { in TEST()
4625 const std::vector<std::pair<std::string, std::vector<uint32_t>>> configurations = { in TEST() local
4635 for (const auto& [outerTrace, outerDims] : configurations) { in TEST()
4637 for (const auto& [condTrace, condDims] : configurations) { in TEST()
4639 for (const auto& [bodyTrace, bodyDims] : configurations) { in TEST()

12