Home
last modified time | relevance | path

Searched refs:getUsage (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DAudioFocusTest.java378 + AudioAttributes.usageToString(attributes1.getUsage()); in testInteraction()
384 + AudioAttributes.usageToString(attributes2.getUsage()); in testInteraction()
392 + AudioAttributes.usageToString(attributes1.getUsage()); in testInteraction()
402 + AudioAttributes.usageToString(ATTR_MEDIA.getUsage()); in testInteraction()
408 + AudioAttributes.usageToString(ATTR_MEDIA.getUsage()); in testInteraction()
421 + AudioAttributes.usageToString(ATTR_MEDIA.getUsage()); in testInteraction()
427 + AudioAttributes.usageToString(attributes1.getUsage()); in testInteraction()
452 + AudioAttributes.usageToString(attribute.getUsage()); in requestAndLoseFocusForAttribute()
458 + AudioAttributes.usageToString(attribute.getUsage()); in requestAndLoseFocusForAttribute()
464 + AudioAttributes.usageToString(attribute.getUsage()); in requestAndLoseFocusForAttribute()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java59 Log.i(TAG, "Audio focus change AUDIOFOCUS_GAIN for usage " + mAttrib.getUsage());
72 + mAttrib.getUsage());
132 Log.i(TAG, "Asking for focus for usage " + mAttrib.getUsage()); in start()
137 Log.i(TAG, "MediaPlayer got focus for usage " + mAttrib.getUsage()); in start()
140 Log.i(TAG, "MediaPlayer denied focus for usage " + mAttrib.getUsage()); in start()
/packages/apps/Dialer/java/com/android/dialer/commandline/
DCommandLineReceiver.java66 LogUtil.i(outputTag, "usage:\n" + command.getUsage()); in onReceive()
84 LogUtil.e(outputTag, throwable.getMessage() + "\n\nusage:\n" + command.getUsage()); in onReceive()
91 LogUtil.e(outputTag, e.getMessage() + "\n\nusage:\n" + command.getUsage()); in onReceive()
DCommand.java44 String getUsage(); in getUsage() method
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/
DBlockingCommand.java49 public String getUsage() { in getUsage() method in BlockingCommand
67 return Futures.immediateFuture(getUsage()); in run()
108 return Futures.immediateFuture(getUsage()); in run()
DActiveCallsCommand.java47 public String getUsage() { in getUsage() method in ActiveCallsCommand
54 return Futures.immediateFuture(getUsage()); in run()
DEcho.java39 public String getUsage() { in getUsage() method in Echo
DVersion.java42 public String getUsage() { in getUsage() method in Version
DHelp.java44 public String getUsage() { in getUsage() method in Help
DCallCommand.java55 public String getUsage() { in getUsage() method in CallCommand
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DSoundPreferenceController.java99 if (USAGE_ALARM == mChannel.getAudioAttributes().getUsage()) { in handlePreferenceTreeClick()
102 == mChannel.getAudioAttributes().getUsage()) { in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/notification/
DSoundPreferenceController.java99 if (USAGE_ALARM == mChannel.getAudioAttributes().getUsage()) { in handlePreferenceTreeClick()
102 == mChannel.getAudioAttributes().getUsage()) { in handlePreferenceTreeClick()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeItemParser.java119 public int getUsage() { in getUsage() method in VolumeItemParser.VolumeItem
DVolumeSettingsPreferenceController.java76 groupId, volumeItem.getUsage(), volumeItem.getIcon(),
/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationEntry.java247 return mAttributes != null && mAttributes.getUsage() == usage; in isAudioAttributesUsage()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioFocus.java196 afi.getAttributes().getUsage()); in evaluateFocusRequest()
DCarAudioService.java1017 return playbacks.get(playbacks.size() - 1).getAudioAttributes().getUsage(); in getSuggestedAudioUsage()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java727 if (config.isActive() && (config.getAudioAttributes().getUsage()