Home
last modified time | relevance | path

Searched refs:usageToString (Results 1 – 9 of 9) 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.java267 + " Usage=" + usageToString() in toString()
268 + " Audio Usage= " + AudioAttributes.usageToString(mOriginalAudioUsage) in toString()
273 public String usageToString() { in usageToString() method in VibrationAttributes
274 return usageToString(mUsage); in usageToString()
278 public static String usageToString(int usage) { in usageToString() method in VibrationAttributes
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java190 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString()
194 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString()
/frameworks/base/media/java/android/media/
DAudioAttributes.java1235 + " usage=" + usageToString() in toString()
1262 public String usageToString() { in usageToString() method in AudioAttributes
1263 return usageToString(mUsage); in usageToString()
1275 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/services/core/java/com/android/server/audio/
DMediaFocusControl.java891 + " AA=" + aa.usageToString() + "/" + aa.contentTypeToString() in requestAudioFocus()
DAudioService.java8071 "Unsupported usage " + AudioAttributes.usageToString(usage)); in validateAudioAttributesUsage()
8816 pw.printf("\t%s\n", AudioAttributes.usageToString(mSupportedSystemUsages[i])); in dumpSupportedSystemUsage()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorManagerService.java1233 pw.print(VibrationAttributes.usageToString(mPreviousVibrations.keyAt(i))); in dumpText()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt26649 Landroid/media/AudioAttributes;->usageToString()Ljava/lang/String;
26650 Landroid/media/AudioAttributes;->usageToString(I)Ljava/lang/String;