Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java241 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleOpenNetworkBackupRestore() local
242 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkBackupRestore()
244 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(configurations); in testSingleOpenNetworkBackupRestore()
248 configurations, retrievedConfigurations); in testSingleOpenNetworkBackupRestore()
257 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleOpenHiddenNetworkBackupRestore() local
258 configurations.add(WifiConfigurationTestUtil.createOpenHiddenNetwork()); in testSingleOpenHiddenNetworkBackupRestore()
260 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(configurations); in testSingleOpenHiddenNetworkBackupRestore()
264 configurations, retrievedConfigurations); in testSingleOpenHiddenNetworkBackupRestore()
272 List<WifiConfiguration> configurations = new ArrayList<>(); in testSinglePskNetworkBackupRestore() local
273 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.java75 @NonNull String version, @NonNull UsbConfiguration[] configurations, in UsbDevice() argument
86 mConfigurations = Preconditions.checkArrayElementsNotNull(configurations, "configurations"); in UsbDevice()
317 UsbConfiguration[] configurations = in.readParcelableArray(
320 manufacturerName, productName, version, configurations,
380 @NonNull String version, @NonNull UsbConfiguration[] configurations, in Builder() argument
391 mConfigurations = configurations; in Builder()
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java108 StreamConfiguration[] configurations, in StreamConfigurationMap() argument
123 this(configurations, minFrameDurations, stallDurations, in StreamConfigurationMap()
169 StreamConfiguration[] configurations, in StreamConfigurationMap() argument
186 if (configurations == null && in StreamConfigurationMap()
193 if (configurations == null) { in StreamConfigurationMap()
199 mConfigurations = checkArrayElementsNotNull(configurations, "configurations"); in StreamConfigurationMap()
308 if (configurations != null && enforceImplementationDefined && in StreamConfigurationMap()
1516 StreamConfiguration[] configurations = in getInternalFormatSizes() local
1527 for (StreamConfiguration config : configurations) { in getInternalFormatSizes()
1683 StreamConfiguration[] configurations = in isSupportedInternalConfiguration() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupRestore.java143 public byte[] retrieveBackupDataFromConfigurations(List<WifiConfiguration> configurations) { in retrieveBackupDataFromConfigurations() argument
144 if (configurations == null) { in retrieveBackupDataFromConfigurations()
159 writeNetworkConfigurationsToXml(out, configurations); in retrieveBackupDataFromConfigurations()
182 XmlSerializer out, List<WifiConfiguration> configurations) in writeNetworkConfigurationsToXml() argument
185 for (WifiConfiguration configuration : configurations) { in writeNetworkConfigurationsToXml()
359 List<WifiConfiguration> configurations = supplicantNetworks.retrieveWifiConfigurations(); in retrieveConfigurationsFromSupplicantBackupData() local
370 for (WifiConfiguration configuration : configurations) { in retrieveConfigurationsFromSupplicantBackupData()
383 return configurations; in retrieveConfigurationsFromSupplicantBackupData()
DWifiBackupDataV1Parser.java147 List<WifiConfiguration> configurations = new ArrayList<>(); in parseNetworkConfigurationsFromXml() local
154 configurations.add(configuration); in parseNetworkConfigurationsFromXml()
157 return configurations; in parseNetworkConfigurationsFromXml()
DWifiConfigManager.java2987 List<WifiConfiguration> configurations, in loadInternalDataFromSharedStore() argument
2989 for (WifiConfiguration configuration : configurations) { in loadInternalDataFromSharedStore()
3013 List<WifiConfiguration> configurations, in loadInternalDataFromUserStore() argument
3015 for (WifiConfiguration configuration : configurations) { in loadInternalDataFromUserStore()
/frameworks/base/libs/androidfw/tests/
DAssetManager2_test.cpp460 static bool IsConfigurationPresent(const std::set<ResTable_config>& configurations, in IsConfigurationPresent() argument
462 return configurations.count(configuration) > 0; in IsConfigurationPresent()
469 std::set<ResTable_config> configurations = assetmanager.GetResourceConfigurations(); in TEST_F() local
473 EXPECT_EQ(4u, configurations.size()); in TEST_F()
479 EXPECT_TRUE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
483 EXPECT_TRUE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
487 EXPECT_TRUE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
490 configurations = assetmanager.GetResourceConfigurations(true /* exclude_system */); in TEST_F()
493 EXPECT_EQ(2u, configurations.size()); in TEST_F()
497 EXPECT_FALSE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java315 assertEquals(stats1.configurations.size(), stats2.configurations.size()); in compareIntervalStats()
316 Configuration[] configSet1 = stats1.configurations.keySet().toArray(new Configuration[0]); in compareIntervalStats()
318 if (!stats2.configurations.containsKey(configSet1[i])) { in compareIntervalStats()
319 Configuration[] configSet2 = stats2.configurations.keySet().toArray( in compareIntervalStats()
423 mIntervalStats.configurations.clear();
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java67 public final ArrayMap<Configuration, ConfigurationStats> configurations = new ArrayMap<>(); field in IntervalStats
138 ConfigurationStats configStats = configurations.get(config); in getOrCreateConfigurationStats()
144 configurations.put(config, configStats); in getOrCreateConfigurationStats()
357 ConfigurationStats activeStats = configurations.get(activeConfiguration); in updateConfigurationStats()
DUsageStatsXmlV1.java385 statsOut.configurations.clear(); in read()
473 final int configCount = stats.configurations.size(); in write()
475 boolean active = stats.activeConfiguration.equals(stats.configurations.keyAt(i)); in write()
476 writeConfigStats(xml, stats, stats.configurations.valueAt(i), active); in write()
DUsageStatsProto.java510 statsOut.configurations.clear(); in read()
596 final int configCount = stats.configurations.size(); in write()
598 boolean active = stats.activeConfiguration.equals(stats.configurations.keyAt(i)); in write()
600 stats.configurations.valueAt(i), active); in write()
DUserUsageStatsService.java272 accResult.addAll(stats.configurations.values());
276 final int configCount = stats.configurations.size();
278 accResult.add(new ConfigurationStats(stats.configurations.valueAt(i)));
890 final ArrayMap<Configuration, ConfigurationStats> configStats = stats.configurations; in printIntervalStats()
DUsageStatsDatabase.java1060 beingRestored.configurations.putAll(onDevice.configurations); in mergeStats()
1092 stats.configurations.clear(); in sanitizeIntervalStatsForBackup()
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/
Dbuild.gradle61 configurations.compile.collect {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/cmake/
Dexamples.cmake35 option(protobuf_BUILD_EXAMPLES_MULTITEST "Build Examples in multiple configurations. Useful for tes…
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java930 private void parseRecommendedConfigurations(RecommendedStreamConfiguration[] configurations, in parseRecommendedConfigurations() argument
946 for (RecommendedStreamConfiguration c : configurations) { in parseRecommendedConfigurations()
1049 RecommendedStreamConfiguration[] configurations = getBase( in getRecommendedStreamConfigurations() local
1053 if ((configurations == null) && (depthConfigurations == null)) { in getRecommendedStreamConfigurations()
1070 if (configurations != null) { in getRecommendedStreamConfigurations()
1071 parseRecommendedConfigurations(configurations, fullMap, /*isDepth*/ false, in getRecommendedStreamConfigurations()
1105 if (configurations != null) { in getRecommendedStreamConfigurations()
1230 StreamConfiguration[] configurations = getBase( in getStreamConfigurationMap() local
1260 configurations, minFrameDurations, stallDurations, in getStreamConfigurationMap()
/frameworks/opt/gamesdk/samples/unitypackaging/
D.gitignore65 # User-specific configurations
/frameworks/opt/gamesdk/samples/unitypackaging/app/
D.gitignore65 # User-specific configurations
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h320 std::vector<ResTable_config> configurations; member
/frameworks/base/libs/androidfw/
DAssetManager2.cpp246 std::set<ResTable_config> configurations; in GetResourceConfigurations() local
261 package.loaded_package_->CollectConfigurations(exclude_mipmap, &configurations); in GetResourceConfigurations()
264 return configurations; in GetResourceConfigurations()
451 const std::vector<ResTable_config>& candidate_configs = filtered_group.configurations; in FindEntry()
1053 group.configurations.push_back(this_config); in RebuildFilterList()
/frameworks/base/core/proto/android/service/
Dusb.proto131 repeated UsbConfigurationProto configurations = 11; field
137 // A single USB device can have several configurations and the app accessing
/frameworks/base/core/proto/android/server/
Dusagestatsservice.proto115 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/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

12