/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/ |
D | CallQuality.cpp | 55 CallQuality::CallQuality(const CallQuality& quality) in CallQuality() argument 57 mDownlinkCallQualityLevel = quality.mDownlinkCallQualityLevel; in CallQuality() 58 mUplinkCallQualityLevel = quality.mUplinkCallQualityLevel; in CallQuality() 59 mCallDuration = quality.mCallDuration; in CallQuality() 60 mNumRtpPacketsTransmitted = quality.mNumRtpPacketsTransmitted; in CallQuality() 61 mNumRtpPacketsReceived = quality.mNumRtpPacketsReceived; in CallQuality() 62 mNumRtpPacketsTransmittedLost = quality.mNumRtpPacketsTransmittedLost; in CallQuality() 63 mNumRtpPacketsNotReceived = quality.mNumRtpPacketsNotReceived; in CallQuality() 64 mAverageRelativeJitter = quality.mAverageRelativeJitter; in CallQuality() 65 mMaxRelativeJitter = quality.mMaxRelativeJitter; in CallQuality() [all …]
|
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/ |
D | AudioManagerTest.cpp | 355 CallQuality quality; in audioCallback() local 356 quality.readFromParcel(&parcel); in audioCallback() 357 (callback->second)->onCallbackCallQuality(sessionId, response, quality); in audioCallback() 658 CallQuality quality; in TEST_F() local 659 quality.setDownlinkCallQualityLevel(0); in TEST_F() 660 quality.setUplinkCallQualityLevel(0); in TEST_F() 661 quality.setCallDuration(30000); in TEST_F() 662 quality.setNumRtpPacketsTransmitted(1500); in TEST_F() 663 quality.setNumRtpPacketsReceived(1500); in TEST_F() 664 quality.setNumRtpPacketsTransmittedLost(1); in TEST_F() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
D | JPEGOutputStream.java | 37 public JPEGOutputStream(OutputStream out, int width, int height, int quality, in JPEGOutputStream() argument 40 setConfig(width, height, quality, format); in JPEGOutputStream() 43 public boolean setConfig(int width, int height, int quality, int format) { in setConfig() argument 45 quality = Math.max(Math.min(quality, 100), 1); in setConfig() 63 mQuality = quality; in setConfig() 135 native private int setup(OutputStream out, int width, int height, int format, int quality); in setup() argument
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockPasswordTest.java | 168 policy.quality = PASSWORD_QUALITY_ALPHABETIC; in activity_shouldHaveSecureFlag() 183 policy.quality = PASSWORD_QUALITY_UNSPECIFIED; in processAndValidatePasswordRequirements_cannotIncludeInvalidChar() 201 policy.quality = PASSWORD_QUALITY_ALPHABETIC; in processAndValidatePasswordRequirements_noMinPasswordComplexity() 216 policy.quality = PASSWORD_QUALITY_SOMETHING; in processAndValidatePasswordRequirements_minPasswordComplexityStricter_pin() 229 policy.quality = PASSWORD_QUALITY_SOMETHING; in processAndValidatePasswordRequirements_minPasswordComplexityStricter_password() 242 policy.quality = PASSWORD_QUALITY_ALPHANUMERIC; in processAndValidatePasswordRequirements_dpmRestrictionsStricter_password() 258 policy.quality = PASSWORD_QUALITY_NUMERIC; in processAndValidatePasswordRequirements_dpmLengthLonger_pin() 272 policy.quality = PASSWORD_QUALITY_COMPLEX; in processAndValidatePasswordRequirements_dpmQualityComplex() 290 policy.quality = PASSWORD_QUALITY_NUMERIC_COMPLEX; in processAndValidatePasswordRequirements_numericComplexNoMinComplexity_pinRequested() 304 policy.quality = PASSWORD_QUALITY_NUMERIC_COMPLEX; in processAndValidatePasswordRequirements_numericComplexNoMinComplexity_passwordRequested() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterDraw.java | 92 int quality); in paint() argument 110 int quality) { in paint() argument 160 int quality) { in paint() argument 219 int quality) { in paint() argument 220 mDrawingsTypes[sd.mType].paint(sd, canvas, toScrMatrix, quality); in paint() 223 public void drawData(Canvas canvas, Matrix originalRotateToScreen, int quality) { in drawData() argument 225 if (quality == FilterEnvironment.QUALITY_FINAL) { in drawData() 237 if (quality == FilterEnvironment.QUALITY_FINAL) { in drawData() 240 paint(strokeData, canvas, originalRotateToScreen, quality); in drawData() 262 paint(stroke, canvas, originalRotateToScreen, quality); in drawData() [all …]
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | JpegUtilNative.java | 101 int quality, in compressJpegFromYUV420pNative() argument 144 ByteBuffer outBuf, int quality, in compressJpegFromYUV420p() argument 160 quality, cropLeft, cropTop, cropRight, cropBottom, rot90); in compressJpegFromYUV420p() 173 public static int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality) { in compressJpegFromYUV420Image() argument 174 return compressJpegFromYUV420Image(img, outBuf, quality, 0); in compressJpegFromYUV420Image() 188 public static int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality, in compressJpegFromYUV420Image() argument 190 return compressJpegFromYUV420Image(img, outBuf, quality, new Rect(0, 0, img.getWidth(), in compressJpegFromYUV420Image() 210 public static int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality, in compressJpegFromYUV420Image() argument 268 outBuf, quality, cropLeft, cropTop, cropRight, cropBot, in compressJpegFromYUV420Image()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ScreenLockType.java | 64 ScreenLockType(int quality, String preferenceKey) { in ScreenLockType() argument 65 this(quality, quality, preferenceKey); in ScreenLockType() 80 public static ScreenLockType fromQuality(int quality) { in fromQuality() argument 81 switch (quality) { in fromQuality()
|
D | ChooseLockGeneric.java | 498 int quality = getIntent().getIntExtra(LockPatternUtils.PASSWORD_TYPE_KEY, -1); in onActivityResult() local 499 if (quality != -1) { in onActivityResult() 559 int quality = -1; in updatePreferencesOrFinish() local 561 quality = intent.getIntExtra(LockPatternUtils.PASSWORD_TYPE_KEY, -1); in updatePreferencesOrFinish() 567 if (quality == -1) { in updatePreferencesOrFinish() 579 updateUnlockMethodAndFinish(quality, false, true /* chooseLockSkipped */); in updatePreferencesOrFinish() 775 protected Intent getLockPasswordIntent(int quality) { in getLockPasswordIntent() argument 778 .setPasswordType(quality) in getLockPasswordIntent() 825 void updateUnlockMethodAndFinish(int quality, boolean disabled, boolean chooseLockSkipped) { in updateUnlockMethodAndFinish() argument 831 quality = mController.upgradeQuality(quality); in updateUnlockMethodAndFinish() [all …]
|
D | SetupChooseLockGeneric.java | 209 protected Intent getLockPasswordIntent(int quality) { in getLockPasswordIntent() argument 211 getContext(), super.getLockPasswordIntent(quality)); in getLockPasswordIntent() 280 protected Intent getLockPasswordIntent(int quality) { in getLockPasswordIntent() argument 282 getContext(), super.getLockPasswordIntent(quality)); in getLockPasswordIntent()
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | CellularQualityMonitorTest.java | 156 int quality = in testGetCurrentQuality() local 160 Assert.assertEquals(-91, quality); in testGetCurrentQuality() 162 quality = in testGetCurrentQuality() 166 Assert.assertEquals(-6, quality); in testGetCurrentQuality() 168 quality = in testGetCurrentQuality() 172 Assert.assertEquals(-10, quality); in testGetCurrentQuality() 174 quality = in testGetCurrentQuality() 178 Assert.assertEquals(-79, quality); in testGetCurrentQuality() 180 quality = in testGetCurrentQuality() 184 Assert.assertEquals(-80, quality); in testGetCurrentQuality() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ImageSavingTask.java | 38 int quality; field in ImageSavingTask.SaveRequest 70 int quality, float sizeFactor, boolean exit) { in saveImage() argument 77 request.quality = quality; in saveImage() 118 request.quality, request.sizeFactor, request.exit); in doInBackground()
|
D | ProcessingService.java | 144 Uri selectedImageUri, Uri sourceImageUri, boolean doFlatten, int quality, in getSaveIntent() argument 151 processIntent.putExtra(ProcessingService.QUALITY, quality); in getSaveIntent() 199 int quality = intent.getIntExtra(QUALITY, 100); in onStartCommand() local 218 flatten, quality, sizeFactor, exit); in onStartCommand() 237 boolean flatten, int quality, float sizeFactor, boolean exit) { in handleSaveRequest() argument 254 preset, previewImage, flatten, quality, sizeFactor, exit); in handleSaveRequest()
|
D | FilterEnvironment.java | 93 public void setQuality(int quality) { in setQuality() argument 94 mQuality = quality; in setQuality()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/include/ |
D | CallQuality.h | 42 CallQuality(const CallQuality& quality); 87 CallQuality& operator=(const CallQuality& quality); 88 bool operator==(const CallQuality& quality) const; 89 bool operator!=(const CallQuality& quality) const;
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraSettings.java | 88 int quality = Integer.valueOf(defaultQuality); in getDefaultVideoQuality() local 89 if (CamcorderProfile.hasProfile(cameraId, quality)) { in getDefaultVideoQuality() 323 String quality = pref.getString(KEY_JPEG_QUALITY, "85"); in upgradeGlobalPreferences() local 324 if (quality.equals("65")) { in upgradeGlobalPreferences() 325 quality = "normal"; in upgradeGlobalPreferences() 326 } else if (quality.equals("75")) { in upgradeGlobalPreferences() 327 quality = "fine"; in upgradeGlobalPreferences() 329 quality = "superfine"; in upgradeGlobalPreferences() 331 editor.putString(KEY_JPEG_QUALITY, quality); in upgradeGlobalPreferences()
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpeg_writer.cpp | 45 Jpeg_Config::Format format, int32_t quality) { in setup() argument 52 if (height <= 0 || width <= 0 || quality <= 0 || quality > 100) { in setup() 98 jpeg_set_quality(&mInfo, quality, TRUE); in setup()
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genJPEGStrips.cpp | 51 write_JPEG_Buff(ubyte *buffPtr, int quality, int image_width, int image_height, in write_JPEG_Buff() argument 92 jpeg_set_quality(&cinfo, quality, TRUE); // TRUE = limit to baseline-JPEG values in write_JPEG_Buff() 129 resolution, quality, *numCompBytes); in write_JPEG_Buff()
|
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/ |
D | ShadowLockPatternUtils.java | 230 public static void setActivePasswordQuality(int quality) { in setActivePasswordQuality() argument 231 sUserToActivePasswordQualityMap.put(UserHandle.myUserId(), quality); in setActivePasswordQuality() local 244 public static void setKeyguardStoredPasswordQuality(int quality) { in setKeyguardStoredPasswordQuality() argument 245 sKeyguardStoredPasswordQualityMap.put(UserHandle.myUserId(), quality); in setKeyguardStoredPasswordQuality() local
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskCompressImageToJpeg.java | 87 public int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality, in compressJpegFromYUV420Image() argument 89 return JpegUtilNative.compressJpegFromYUV420Image(img, outBuf, quality, crop, degrees); in compressJpegFromYUV420Image() 424 final int quality = CameraProfile.QUALITY_HIGH; in getJpegCompressionQuality() local 425 int level = CameraProfile.getJpegEncodingQualityParameter(quality); in getJpegCompressionQuality() 435 return CameraProfile.getJpegEncodingQualityParameter(0, quality); in getJpegCompressionQuality()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDevicePolicyManager.java | 135 policy.quality = mPasswordMinQuality; in getPasswordMinimumMetrics() 146 public void setPasswordQuality(int quality) { in setPasswordQuality() argument 147 mPasswordMinQuality = quality; in setPasswordQuality()
|
/packages/apps/Camera2/jni/ |
D | jpegutil.cpp | 145 std::function<void(size_t)> flush, int quality) { in Compress() argument 247 jpeg_set_quality(&cinfo, quality, true); in Compress() 317 int quality, in Compress() argument 362 outBufCapacity, flush, quality); in Compress()
|
D | jpegutilnative.cpp | 82 jint quality, in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative() argument 98 quality, // in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | CellularQualityMonitor.java | 207 int quality = SignalStrength.INVALID; // Int Max Value in getCurrentQuality() local 211 quality = getSignalStrength(accessNetwork, measurementType, cs); in getCurrentQuality() 212 if (quality != UNAVAILABLE) { in getCurrentQuality() 213 return quality; in getCurrentQuality() 217 return quality; in getCurrentQuality()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/ |
D | AudioManager.cpp | 601 CallQuality* quality = reinterpret_cast<CallQuality*>(paramA); in processEvent() local 602 if (quality != nullptr) in processEvent() 604 quality->writeToParcel(&parcel); in processEvent() 606 delete quality; in processEvent()
|
D | MediaQualityAnalyzer.cpp | 462 int32_t quality; in processData() local 472 quality = CallQuality::kCallQualityBad; in processData() 483 quality = getCallQuality(lossRate); in processData() 486 mCallQuality.setDownlinkCallQualityLevel(quality); in processData() 491 mCallQualityNumDroppedPacket, lossRate, quality); in processData()
|