Home
last modified time | relevance | path

Searched refs:configMap (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DConstrainDisplayApisConfig.java147 ArrayMap<String, Pair<Long, Long>> configMap = new ArrayMap<>(); in buildConfigMap() local
150 return configMap; in buildConfigMap()
171 configMap.put(packageName, minMaxVersionCodes); in buildConfigMap()
177 return configMap; in buildConfigMap()
187 private static boolean flagHasMatchingPackageEntry(Map<String, Pair<Long, Long>> configMap, in flagHasMatchingPackageEntry() argument
189 if (configMap.isEmpty()) { in flagHasMatchingPackageEntry()
192 if (!configMap.containsKey(applicationInfo.packageName)) { in flagHasMatchingPackageEntry()
195 return matchesApplicationInfo(configMap.get(applicationInfo.packageName), applicationInfo); in flagHasMatchingPackageEntry()
/frameworks/base/services/core/java/com/android/server/display/config/
DSupportedModeData.java44 static List<SupportedModeData> load(@Nullable NonNegativeFloatToFloatMap configMap) { in load() argument
46 if (configMap != null) { in load()
47 for (NonNegativeFloatToFloatPoint supportedMode : configMap.getPoint()) { in load()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java1316 private static void checkStreamConfigurationMapByFormatSize(StreamConfigurationMap configMap, in checkStreamConfigurationMapByFormatSize() argument
1328 sizes = configMap.getOutputSizes(IMPLEMENTATION_DEFINED_OUTPUT_CLASS); in checkStreamConfigurationMapByFormatSize()
1332 sizes = configMap.getOutputSizes(format); in checkStreamConfigurationMapByFormatSize()
1333 formats = configMap.getOutputFormats(); in checkStreamConfigurationMapByFormatSize()
1335 configMap.isOutputSupportedFor(format)); in checkStreamConfigurationMapByFormatSize()
1339 sizes = configMap.getInputSizes(format); in checkStreamConfigurationMapByFormatSize()
1340 formats = configMap.getInputFormats(); in checkStreamConfigurationMapByFormatSize()
1355 StreamConfigurationMap configMap, in checkStreamConfigurationMapDurationByFormatSize() argument
1367 actualDuration = configMap.getOutputMinFrameDuration( in checkStreamConfigurationMapDurationByFormatSize()
1370 actualDuration = configMap.getOutputMinFrameDuration(format, size); in checkStreamConfigurationMapDurationByFormatSize()
[all …]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
DVendorConfig.java230 ArrayMap<String, VendorConfig> configMap = new ArrayMap<>(configs.size()); in readVendorConfigs() local
235 configMap.put(config.name, config); in readVendorConfigs()
238 return configMap; in readVendorConfigs()
/frameworks/base/core/java/android/app/
DGameModeInfo.java168 boolean isFpsOverrideAllowed, @NonNull Map<Integer, GameModeConfiguration> configMap) { in GameModeInfo() argument
174 mConfigMap = configMap; in GameModeInfo()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java1563 InputConfiguration inputConfig, StreamConfigurationMap configMap) { in checkInputConfigurationWithStreamConfigurationsAs() argument
1564 int[] inputFormats = configMap.getInputFormats(); in checkInputConfigurationWithStreamConfigurationsAs()
1583 Size[] inputSizes = configMap.getInputSizes(inputFormat); in checkInputConfigurationWithStreamConfigurationsAs()
1608 StreamConfigurationMap configMap = mCharacteristics.get(ck); in checkInputConfigurationWithStreamConfigurations() local
1610 if (configMap != null && in checkInputConfigurationWithStreamConfigurations()
1611 checkInputConfigurationWithStreamConfigurationsAs(inputConfig, configMap)) { in checkInputConfigurationWithStreamConfigurations()
1616 configMap = entry.getValue().get(ck); in checkInputConfigurationWithStreamConfigurations()
1618 if (configMap != null && in checkInputConfigurationWithStreamConfigurations()
1619 checkInputConfigurationWithStreamConfigurationsAs(inputConfig, configMap)) { in checkInputConfigurationWithStreamConfigurations()
1633 MultiResolutionStreamConfigurationMap configMap = mCharacteristics.get( in checkInputConfiguration() local
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java999 StreamConfigurationMap configMap = in getSupportedSizeForFormat() local
1001 Size[] availableSizes = configMap.getOutputSizes(format); in getSupportedSizeForFormat()
1004 Size[] highResAvailableSizes = configMap.getHighResolutionOutputSizes(format); in getSupportedSizeForFormat()
1028 StreamConfigurationMap configMap = in getSupportedSizeForClass() local
1030 Size[] availableSizes = configMap.getOutputSizes(klass); in getSupportedSizeForClass()
1033 Size[] highResAvailableSizes = configMap.getHighResolutionOutputSizes(ImageFormat.PRIVATE); in getSupportedSizeForClass()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java610 StreamConfigurationMap configMap = in openDevice() local
612 mSupportRAW10 = configMap.isOutputSupportedFor(ImageFormat.RAW10); in openDevice()