/frameworks/base/media/java/android/media/ |
D | CamcorderProfile.java | 343 public int quality; field in CamcorderProfile 450 public static CamcorderProfile get(int quality) { in get() argument 456 return get(i, quality); in get() 518 public static CamcorderProfile get(int cameraId, int quality) { in get() argument 519 if (!((quality >= QUALITY_LIST_START && in get() 520 quality <= QUALITY_LIST_END) || in get() 521 (quality >= QUALITY_TIME_LAPSE_LIST_START && in get() 522 quality <= QUALITY_TIME_LAPSE_LIST_END) || in get() 523 (quality >= QUALITY_HIGH_SPEED_LIST_START && in get() 524 quality <= QUALITY_HIGH_SPEED_LIST_END))) { in get() [all …]
|
D | CameraProfile.java | 57 public static int getJpegEncodingQualityParameter(int quality) { in getJpegEncodingQualityParameter() argument 63 return getJpegEncodingQualityParameter(i, quality); in getJpegEncodingQualityParameter() 77 public static int getJpegEncodingQualityParameter(int cameraId, int quality) { in getJpegEncodingQualityParameter() argument 78 if (quality < QUALITY_LOW || quality > QUALITY_HIGH) { in getJpegEncodingQualityParameter() 79 throw new IllegalArgumentException("Unsupported quality level: " + quality); in getJpegEncodingQualityParameter() 87 return levels[quality]; in getJpegEncodingQualityParameter()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResampler.cpp | 86 bool AudioResampler::qualityIsSupported(src_quality quality) in qualityIsSupported() argument 88 switch (quality) { in qualityIsSupported() 124 uint32_t AudioResampler::qualityMHz(src_quality quality) in qualityMHz() argument 126 switch (quality) { in qualityMHz() 151 int32_t sampleRate, src_quality quality) { in create() argument 154 if (quality == DEFAULT_QUALITY) { in create() 160 quality = defaultQuality; in create() 172 if (quality == DEFAULT_QUALITY) { in create() 173 quality = DYN_MED_QUALITY; in create() 179 uint32_t deltaMHz = qualityMHz(quality); in create() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | PasswordPolicy.java | 45 public int quality = PASSWORD_QUALITY_UNSPECIFIED; field in PasswordPolicy 58 if (quality == PASSWORD_QUALITY_UNSPECIFIED) { in getMinMetrics() 60 } else if (quality == PASSWORD_QUALITY_BIOMETRIC_WEAK in getMinMetrics() 61 || quality == PASSWORD_QUALITY_SOMETHING) { in getMinMetrics() 63 } else if (quality == PASSWORD_QUALITY_NUMERIC in getMinMetrics() 64 || quality == PASSWORD_QUALITY_NUMERIC_COMPLEX) { in getMinMetrics() 67 if (quality == PASSWORD_QUALITY_NUMERIC_COMPLEX) { in getMinMetrics() 76 if (quality == PASSWORD_QUALITY_ALPHABETIC) { in getMinMetrics() 78 } else if (quality == PASSWORD_QUALITY_ALPHANUMERIC) { in getMinMetrics() 81 } else if (quality == PASSWORD_QUALITY_COMPLEX) { in getMinMetrics()
|
/frameworks/base/media/jni/ |
D | android_media_MediaProfiles.cpp | 166 static bool isCamcorderQualityKnown(int quality) in isCamcorderQualityKnown() argument 168 return ((quality >= CAMCORDER_QUALITY_LIST_START && in isCamcorderQualityKnown() 169 quality <= CAMCORDER_QUALITY_LIST_END) || in isCamcorderQualityKnown() 170 (quality >= CAMCORDER_QUALITY_TIME_LAPSE_LIST_START && in isCamcorderQualityKnown() 171 quality <= CAMCORDER_QUALITY_TIME_LAPSE_LIST_END) || in isCamcorderQualityKnown() 172 (quality >= CAMCORDER_QUALITY_HIGH_SPEED_LIST_START && in isCamcorderQualityKnown() 173 quality <= CAMCORDER_QUALITY_HIGH_SPEED_LIST_END)); in isCamcorderQualityKnown() 178 jint quality) in android_media_MediaProfiles_native_get_camcorder_profile() argument 180 ALOGV("native_get_camcorder_profile: %d %d", id, quality); in android_media_MediaProfiles_native_get_camcorder_profile() 181 if (!isCamcorderQualityKnown(quality)) { in android_media_MediaProfiles_native_get_camcorder_profile() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | TimeZoneSuggesterImpl.java | 153 int quality = lookupResult.isOnlyMatch() in findTimeZoneForTestNetwork() local 156 suggestionBuilder.setQuality(quality); in findTimeZoneForTestNetwork() 192 int quality = lookupResult.isOnlyMatch() in findTimeZoneFromCountryAndNitz() local 195 suggestionBuilder.setQuality(quality); in findTimeZoneFromCountryAndNitz() 214 if (countryResult.quality == CountryResult.QUALITY_SINGLE_ZONE in findTimeZoneFromCountryAndNitz() 215 || countryResult.quality == CountryResult.QUALITY_DEFAULT_BOOSTED) { in findTimeZoneFromCountryAndNitz() 258 int quality; in findTimeZoneFromNetworkCountryCode() local 259 if (lookupResult.quality == CountryResult.QUALITY_SINGLE_ZONE in findTimeZoneFromNetworkCountryCode() 260 || lookupResult.quality == CountryResult.QUALITY_DEFAULT_BOOSTED) { in findTimeZoneFromNetworkCountryCode() 261 quality = TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE; in findTimeZoneFromNetworkCountryCode() [all …]
|
D | TimeZoneLookupHelper.java | 70 public final int quality; field in TimeZoneLookupHelper.CountryResult 78 public CountryResult(@NonNull String zoneId, @Quality int quality, String debugInfo) { in CountryResult() argument 80 this.quality = quality; in CountryResult() 93 return quality == that.quality in equals() 99 return Objects.hash(zoneId, quality); in hashCode() 106 + ", quality=" + quality in toString()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CallAttributesTest.java | 35 CallQuality quality = new CallQuality(); in testParcelUnparcelCallQuality() local 37 CallAttributes data = new CallAttributes(pcs, 10, quality); in testParcelUnparcelCallQuality() 52 CallQuality quality = new CallQuality(); in testParcelUnparcelPreciseCallState() local 54 CallAttributes data = new CallAttributes(pcs, 10, quality); in testParcelUnparcelPreciseCallState() 69 CallQuality quality = new CallQuality(); in testParcelUnparcelNetworkType() local 71 CallAttributes data = new CallAttributes(pcs, 10, quality); in testParcelUnparcelNetworkType()
|
D | CallQualityTest.java | 39 CallQuality quality = new CallQuality( in testParcelUnparcelCallQuality() local 53 quality.writeToParcel(parcel, 0); in testParcelUnparcelCallQuality() 58 assertEquals("CallQuality is not equal after parceled/unparceled", quality, unparceledData); in testParcelUnparcelCallQuality()
|
/frameworks/base/core/java/android/app/timezonedetector/ |
D | TelephonyTimeZoneSuggestion.java | 345 public Builder setQuality(@Quality int quality) { in setQuality() argument 346 mQuality = quality; in setQuality() 369 int quality = mQuality; in validate() local 372 if (quality != QUALITY_NA || matchType != MATCH_TYPE_NA) { in validate() 374 + " quality=" + quality + ", matchType=" + matchType); in validate() 377 boolean qualityValid = (quality == QUALITY_SINGLE_ZONE in validate() 378 || quality == QUALITY_MULTIPLE_ZONES_WITH_SAME_OFFSET in validate() 379 || quality == QUALITY_MULTIPLE_ZONES_WITH_DIFFERENT_OFFSETS); in validate() 386 + " quality=" + quality + ", matchType=" + matchType); in validate() 404 Integer quality = null; in parseCommandLineArg() local [all …]
|
/frameworks/av/media/libaudioprocessing/tests/fuzzer/ |
D | libaudioprocessing_resampler_fuzzer.cpp | 58 audio_format_t chooseFormat(AudioResampler::src_quality quality, in chooseFormat() argument 60 switch (quality) { in chooseFormat() 94 AudioResampler::src_quality quality = qualities[data[0] % 8]; in LLVMFuzzerTestOneInput() local 95 audio_format_t format = chooseFormat(quality, data[1]); in LLVMFuzzerTestOneInput() 112 input_channels > (quality < AudioResampler::DYN_LOW_QUALITY ? 2 : 8)) { in LLVMFuzzerTestOneInput() 132 AudioResampler::create(format, input_channels, output_freq, quality)); in LLVMFuzzerTestOneInput()
|
/frameworks/av/media/libaudioprocessing/tests/ |
D | test-resampler.cpp | 113 AudioResampler::src_quality quality = AudioResampler::DEFAULT_QUALITY; in main() local 137 quality = AudioResampler::DEFAULT_QUALITY; in main() 139 quality = AudioResampler::LOW_QUALITY; in main() 141 quality = AudioResampler::MED_QUALITY; in main() 143 quality = AudioResampler::HIGH_QUALITY; in main() 145 quality = AudioResampler::VERY_HIGH_QUALITY; in main() 147 quality = AudioResampler::DYN_LOW_QUALITY; in main() 149 quality = AudioResampler::DYN_MED_QUALITY; in main() 151 quality = AudioResampler::DYN_HIGH_QUALITY; in main() 183 || channels > (quality < AudioResampler::DYN_LOW_QUALITY ? 2 : 8)) { in main() [all …]
|
D | resampler_tests.cpp | 91 enum android::AudioResampler::src_quality quality) in testBufferIncrement() argument 115 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement() 133 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement() 183 enum android::AudioResampler::src_quality quality) in testStopbandDownconversion() argument 203 channels, outputFreq, quality); in testStopbandDownconversion() 250 android::AudioResampler::src_quality quality = android::AudioResampler::DYN_HIGH_QUALITY) in testFilterResponse() argument 260 quality))); in testFilterResponse() 283 inputFreq, outputFreq, quality, in testFilterResponse() 565 for (auto quality : qualities) { in TEST() local 568 testFilterResponse(2 /* channels */, inSampleRate, outSampleRate, quality); in TEST()
|
/frameworks/compile/mclinker/lib/Support/ |
D | TargetRegistry.cpp | 39 unsigned int quality = (*target)->getTripleQuality(triple); in lookupTarget() local 40 if (quality > 0) { in lookupTarget() 41 if (best == NULL || highest < quality) { in lookupTarget() 42 highest = quality; in lookupTarget() 45 } else if (highest == quality) { in lookupTarget()
|
/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 644 const int quality = findTagForName(sCamcorderQualityNameMap, nProfileMappings, atts[1]); in createCamcorderProfile() local 645 if (quality == -1) { in createCamcorderProfile() 663 profile->mQuality = static_cast<camcorder_quality>(quality); in createCamcorderProfile() 685 int quality = atoi(atts[1]); in addImageEncodingQualityLevel() local 686 ALOGV("%s: cameraId=%d, quality=%d", __func__, cameraId, quality); in addImageEncodingQualityLevel() 695 levels->mLevels.add(quality); in addImageEncodingQualityLevel() 777 static bool isCamcorderProfile(camcorder_quality quality) { in isCamcorderProfile() argument 778 return quality >= CAMCORDER_QUALITY_LIST_START && in isCamcorderProfile() 779 quality <= CAMCORDER_QUALITY_LIST_END; in isCamcorderProfile() 782 static bool isTimelapseProfile(camcorder_quality quality) { in isTimelapseProfile() argument [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | YuvImage.java | 123 public boolean compressToJpeg(Rect rectangle, int quality, OutputStream stream) { in compressToJpeg() argument 130 if (quality < 0 || quality > 100) { in compressToJpeg() 142 rectangle.height(), offsets, mStrides, quality, stream, in compressToJpeg() 239 int quality, OutputStream stream, byte[] tempStorage); in nativeCompressToJpeg() argument
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | AudioResampler.h | 55 int32_t sampleRate, src_quality quality=DEFAULT_QUALITY); 96 AudioResampler(int inChannelCount, int32_t sampleRate, src_quality quality); 160 static bool qualityIsSupported(src_quality quality); 167 static uint32_t qualityMHz(src_quality quality);
|
/frameworks/base/location/java/android/location/ |
D | LocationRequest.java | 233 int quality; in createFromDeprecatedProvider() local 235 quality = POWER_NONE; in createFromDeprecatedProvider() 237 quality = QUALITY_HIGH_ACCURACY; in createFromDeprecatedProvider() 239 quality = QUALITY_BALANCED_POWER_ACCURACY; in createFromDeprecatedProvider() 248 .setQuality(quality); in createFromDeprecatedProvider() 282 @Quality int quality, in LocationRequest() argument 296 mQuality = quality; in LocationRequest() 338 public @NonNull LocationRequest setQuality(int quality) { in setQuality() argument 339 switch (quality) { in setQuality() 357 throw new IllegalArgumentException("invalid quality: " + quality); in setQuality() [all …]
|
/frameworks/base/location/java/android/location/provider/ |
D | ProviderRequest.java | 79 @Quality int quality, in ProviderRequest() argument 86 mQuality = quality; in ProviderRequest() 310 public @NonNull Builder setQuality(@Quality int quality) { in setQuality() argument 312 quality == QUALITY_LOW_POWER || quality == QUALITY_BALANCED_POWER_ACCURACY in setQuality() 313 || quality == QUALITY_HIGH_ACCURACY); in setQuality() 314 mQuality = quality; in setQuality()
|
/frameworks/base/native/graphics/jni/ |
D | bitmap.cpp | 101 int32_t format, int32_t quality, in AndroidBitmap_compress() argument 107 if (quality < 0 || quality > 100) { in AndroidBitmap_compress() 112 (AndroidBitmapCompressFormat) format, quality, userContext, fn); in AndroidBitmap_compress()
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaProfiles.h | 326 int cameraId, camcorder_quality quality) const; 346 camcorder_quality quality) const; 352 bool hasCamcorderProfile(int cameraId, camcorder_quality quality) const; 496 int getCamcorderProfileIndex(int cameraId, camcorder_quality quality) const; 539 static CamcorderProfile *createDefaultCamcorderQcifProfile(camcorder_quality quality); 540 static CamcorderProfile *createDefaultCamcorderCifProfile(camcorder_quality quality); 548 static CamcorderProfile *createDefaultCamcorderTimeLapseQcifProfile(camcorder_quality quality); 549 static CamcorderProfile *createDefaultCamcorderTimeLapse480pProfile(camcorder_quality quality);
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | NV12Compressor.h | 43 bool compress(const unsigned char* data, int width, int height, int quality); 44 bool compressWithExifOrientation(const unsigned char* data, int width, int height, int quality, 129 bool configureCompressor(int width, int height, int quality);
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | HeicCompositeStream.h | 152 int32_t quality; member 178 InputFrame() : orientation(0), quality(kDefaultJpegQuality), error(false), in InputFrame() 207 void updateCodecQualityLocked(int32_t quality); 241 int32_t quality; member 246 HeicSettings() : orientation(0), quality(95), timestamp(0), in HeicSettings() 250 quality(_quality), timestamp(0), in HeicSettings()
|
/frameworks/av/media/codecs/amrwb/dec/fuzzer/ |
D | README.md | 12 1. Quality (parameter name: `quality`) 17 | `quality` | 0. `Bad Quality` 1. `Good quality` | Bit 0 (LSB) of 1st byte of data. | 25 which is based on `mode` and `quality` selected.
|
/frameworks/base/telecomm/java/android/telecom/ |
D | VideoProfile.java | 141 public VideoProfile(@VideoState int videoState, @VideoQuality int quality) { in VideoProfile() argument 143 mQuality = quality; in VideoProfile() 183 int quality = source.readInt(); 186 return new VideoProfile(state, quality);
|