Home
last modified time | relevance | path

Searched refs:usageToString (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DAudioAttributesUnitTest.java33 assertEquals("USAGE_UNKNOWN", AudioAttributes.usageToString(AudioAttributes.USAGE_UNKNOWN)); in testUsageToString_returnCorrectStrings()
34 assertEquals("USAGE_MEDIA", AudioAttributes.usageToString(AudioAttributes.USAGE_MEDIA)); in testUsageToString_returnCorrectStrings()
36 AudioAttributes.usageToString(AudioAttributes.USAGE_VOICE_COMMUNICATION)); in testUsageToString_returnCorrectStrings()
38 AudioAttributes.usageToString( in testUsageToString_returnCorrectStrings()
40 assertEquals("USAGE_ALARM", AudioAttributes.usageToString(AudioAttributes.USAGE_ALARM)); in testUsageToString_returnCorrectStrings()
42 AudioAttributes.usageToString(AudioAttributes.USAGE_NOTIFICATION)); in testUsageToString_returnCorrectStrings()
44 AudioAttributes.usageToString(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)); in testUsageToString_returnCorrectStrings()
46 AudioAttributes.usageToString( in testUsageToString_returnCorrectStrings()
49 AudioAttributes.usageToString( in testUsageToString_returnCorrectStrings()
52 AudioAttributes.usageToString( in testUsageToString_returnCorrectStrings()
[all …]
/frameworks/base/core/java/android/os/
DVibrationAttributes.java415 + "mUsage=" + usageToString() in toString()
416 + ", mAudioUsage= " + AudioAttributes.usageToString(mOriginalAudioUsage) in toString()
423 public String usageToString() { in usageToString() method in VibrationAttributes
424 return usageToString(mUsage); in usageToString()
428 public static String usageToString(@Usage int usage) { in usageToString() method in VibrationAttributes
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java139 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString()
143 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString()
/frameworks/base/media/java/android/media/
DAudioAttributes.java1437 + " usage=" + usageToString() in toString()
1466 public String usageToString() { in usageToString() method in AudioAttributes
1467 return usageToString(mUsage); in usageToString()
1479 public static String usageToString(@AttributeSdkUsage int usage) { in usageToString() method in AudioAttributes
/frameworks/base/services/core/java/com/android/server/appop/
DAudioRestrictionManager.java164 pw.print(" usage="); pw.print(AudioAttributes.usageToString(usage)); in dump()
/frameworks/base/core/java/android/os/vibrator/
DVibrationConfig.java277 names[i] = VibrationAttributes.usageToString(mRequestVibrationParamsForUsages[i]); in getRequestVibrationParamsForUsagesNames()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationScaler.java235 pw.println(VibrationAttributes.usageToString(usage) in dump()
DVibration.java286 mCallerInfo.attrs.usageToString()); in dumpCompact()
297 ? " | audioUsage=" + AudioAttributes.usageToString( in dumpCompact()
DVibrationSettings.java641 vibrationIntensitiesString.append(VibrationAttributes.usageToString(usage)) in toString()
682 pw.println(VibrationAttributes.usageToString(usage) + " = " in dump()
DVibratorControlService.java621 sb.append(VibrationAttributes.usageToString(usages[i])); in createVibrationUsagesString()
DVibratorManagerService.java1806 pw.println(VibrationAttributes.usageToString(usage) + ":"); in dumpGroupHeader()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationSettingsTest.java957 return "Error for usage " + VibrationAttributes.usageToString(usage); in errorMessageForUsage()
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java1119 + " AA=" + aa.usageToString() + "/" + aa.contentTypeToString() in requestAudioFocus()
DAudioService.java10264 "Unsupported usage " + AudioAttributes.usageToString(usage)); in validateAudioAttributesUsage()
11935 pw.printf("\t%s\n", AudioAttributes.usageToString(mSupportedSystemUsages[i])); in dumpSupportedSystemUsage()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt23771 Landroid/media/AudioAttributes;->usageToString()Ljava/lang/String;
23772 Landroid/media/AudioAttributes;->usageToString(I)Ljava/lang/String;