Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusConcurrentTest.java179 new AudioFocusInfoBuilder().setUsage(mExcludedAudioClientInfo.getUsage()) in concurrentInteractionsForFocusGainNoPause_requestGrantedAndFocusLossSent()
186 new AudioFocusInfoBuilder().setUsage(mAcceptedAudioClientInfo.getUsage()) in concurrentInteractionsForFocusGainNoPause_requestGrantedAndFocusLossSent()
205 new AudioFocusInfoBuilder().setUsage(mExcludedAudioClientInfo.getUsage()) in concurrentInteractionsForFocusGainNoPause_requestGrantedAndFocusNotGained()
212 new AudioFocusInfoBuilder().setUsage(mAcceptedAudioClientInfo.getUsage()) in concurrentInteractionsForFocusGainNoPause_requestGrantedAndFocusNotGained()
253 new AudioFocusInfoBuilder().setUsage(mExcludedAudioClientInfo.getUsage()) in concurrentInteractionsTransientMayDuckNoPause_requestGrantedAndFocusLossSent()
260 new AudioFocusInfoBuilder().setUsage(mAcceptedAudioClientInfo.getUsage()) in concurrentInteractionsTransientMayDuckNoPause_requestGrantedAndFocusLossSent()
278 new AudioFocusInfoBuilder().setUsage(mExcludedAudioClientInfo.getUsage()) in concurrentInteractionsTransientMayDuckNoPause_abandonSucceedAndFocusNotGained()
285 new AudioFocusInfoBuilder().setUsage(mAcceptedAudioClientInfo.getUsage()) in concurrentInteractionsTransientMayDuckNoPause_abandonSucceedAndFocusNotGained()
304 new AudioFocusInfoBuilder().setUsage(mExcludedAudioClientInfo.getUsage()) in concurrentInteractionsTransientMayDuckPause_requestGrantedAndFocusLossSent()
311 new AudioFocusInfoBuilder().setUsage(mAcceptedAudioClientInfo.getUsage()) in concurrentInteractionsTransientMayDuckPause_requestGrantedAndFocusLossSent()
[all …]
DCarZonesAudioFocusExclusiveTest.java161 new AudioFocusInfoBuilder().setUsage(mExcludedAudioClientInfo.getUsage()) in testExclusiveNonTransientInteractions()
168 new AudioFocusInfoBuilder().setUsage(mAcceptedAudioClientInfo.getUsage()) in testExclusiveNonTransientInteractions()
193 new AudioFocusInfoBuilder().setUsage(mExcludedAudioClientInfo.getUsage()) in testExclusiveTransientInteractions()
200 new AudioFocusInfoBuilder().setUsage(mAcceptedAudioClientInfo.getUsage()) in testExclusiveTransientInteractions()
DCarZonesAudioFocusUsageTest.java92 new AudioFocusInfoBuilder().setUsage(mAudioClientInfo.getUsage()) in requestFocus_forEveryUsage_requestGranted()
109 new AudioFocusInfoBuilder().setUsage(mAudioClientInfo.getUsage()) in requestAndAbandonFocus_forEveryUsage_abandonSucceeds()
DCarZonesAudioFocusRejectedTest.java139 new AudioFocusInfoBuilder().setUsage(mAcceptedAudioClientInfo.getUsage()) in rejectedInteractionsFocusTest()
146 new AudioFocusInfoBuilder().setUsage(mRejectedAudioClientInfo.getUsage()) in rejectedInteractionsFocusTest()
DCarZonesAudioFocusTestBase.java309 public int getUsage() { in getUsage() method in CarZonesAudioFocusTestBase.AudioClientInfo
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java105 + mAttrib.getUsage());
116 + mAttrib.getUsage());
180 public int getUsage() { in getUsage() method in AudioPlayer
200 Log.i(TAG, "Asking for focus for usage " + mAttrib.getUsage()); in start()
213 Log.i(TAG, "MediaPlayer got focus for usage " + mAttrib.getUsage()); in start()
217 Log.i(TAG, "MediaPlayer delayed focus for usage " + mAttrib.getUsage()); in start()
222 Log.i(TAG, "MediaPlayer denied focus for usage " + mAttrib.getUsage()); in start()
DPlayerAdapter.java81 mPlayer.getUsage()).replace("USAGE_", "")); in setPlayer()
/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.java53 public String getUsage() { in getUsage() method in CallCommand
/packages/apps/Settings/src/com/android/settings/datausage/
DChartDataUsagePreference.java92 mNetworkCycleChartData != null ? mNetworkCycleChartData.getTotal().getUsage() : 0; in getTop()
113 totalData += data.getUsage(); in calcPoints()
172 .mapToLong(NetworkUsageData::getUsage).sum()); in getDensedStatsData()
177 cumulatedDataUsage += data.getUsage(); in getDensedStatsData()
/packages/apps/Settings/src/com/android/settings/notification/app/
DSoundPreferenceController.java105 if (USAGE_ALARM == mChannel.getAudioAttributes().getUsage()) { in handlePreferenceTreeClick()
108 == mChannel.getAudioAttributes().getUsage()) { in handlePreferenceTreeClick()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioFocus.java247 + " with usage " + usageToString(afi.getAttributes().getUsage())); in evaluateFocusRequestLocked()
276 usageToString(mDelayedRequest.getAttributes().getUsage()), in evaluateFocusRequestLocked()
277 usageToString(afi.getAttributes().getUsage())); in evaluateFocusRequestLocked()
320 usageToString(entry.getAudioFocusInfo().getAttributes().getUsage()), in evaluateFocusRequestLocked()
321 usageToString(afi.getAttributes().getUsage())); in evaluateFocusRequestLocked()
357 usageToString(entry.getAudioFocusInfo().getAttributes().getUsage()), in evaluateFocusRequestLocked()
358 usageToString(afi.getAttributes().getUsage())); in evaluateFocusRequestLocked()
DCarAudioContextInfo.java106 proto.write(CarAudioAttributesProto.USAGE, attributes.getUsage()); in dumpCarAudioAttributesProto()
DCarAudioProtoUtils.java62 proto.write(CarAudioAttributesProto.USAGE, attributes.getUsage()); in dumpCarAudioAttributesProto()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DAudioRoutesManager.java129 if (audioAttributes.getUsage() == mUsage) { in updateAudioRoutesList()
246 if (audioAttributes.getUsage() == mUsage) { in setAudioRouteActive()
DVolumeItemParser.java123 public int getUsage() { in getUsage() method in VolumeItemParser.VolumeItem
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioFocusTest.java157 assertThat(actualRequest.getAudioAttributes().getUsage()).isEqualTo(USAGE_MEDIA); in requestAudioFocus_specifiesUsage()
215 .that(actualRequest.getAudioAttributes().getUsage()).isEqualTo(USAGE_MEDIA); in requestAudioFocus_withNullPlaybackMonitor()
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DNotificationEntry.java238 return mAttributes != null && mAttributes.getUsage() == usage; in isAudioAttributesUsage()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/
DAudioRoutesManagerTest.java207 when(mAudioAttributes.getUsage()).thenReturn(USAGE); in initMocks()

12