/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarZonesAudioFocusConcurrentTest.java | 179 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 …]
|
D | CarZonesAudioFocusExclusiveTest.java | 161 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()
|
D | CarZonesAudioFocusUsageTest.java | 92 new AudioFocusInfoBuilder().setUsage(mAudioClientInfo.getUsage()) in requestFocus_forEveryUsage_requestGranted() 109 new AudioFocusInfoBuilder().setUsage(mAudioClientInfo.getUsage()) in requestAndAbandonFocus_forEveryUsage_abandonSucceeds()
|
D | CarZonesAudioFocusRejectedTest.java | 139 new AudioFocusInfoBuilder().setUsage(mAcceptedAudioClientInfo.getUsage()) in rejectedInteractionsFocusTest() 146 new AudioFocusInfoBuilder().setUsage(mRejectedAudioClientInfo.getUsage()) in rejectedInteractionsFocusTest()
|
D | CarZonesAudioFocusTestBase.java | 309 public int getUsage() { in getUsage() method in CarZonesAudioFocusTestBase.AudioClientInfo
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioPlayer.java | 105 + 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()
|
D | PlayerAdapter.java | 81 mPlayer.getUsage()).replace("USAGE_", "")); in setPlayer()
|
/packages/apps/Dialer/java/com/android/dialer/commandline/ |
D | CommandLineReceiver.java | 66 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()
|
D | Command.java | 44 String getUsage(); in getUsage() method
|
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/ |
D | BlockingCommand.java | 49 public String getUsage() { in getUsage() method in BlockingCommand 67 return Futures.immediateFuture(getUsage()); in run() 108 return Futures.immediateFuture(getUsage()); in run()
|
D | ActiveCallsCommand.java | 47 public String getUsage() { in getUsage() method in ActiveCallsCommand 54 return Futures.immediateFuture(getUsage()); in run()
|
D | Echo.java | 39 public String getUsage() { in getUsage() method in Echo
|
D | Version.java | 42 public String getUsage() { in getUsage() method in Version
|
D | Help.java | 44 public String getUsage() { in getUsage() method in Help
|
D | CallCommand.java | 53 public String getUsage() { in getUsage() method in CallCommand
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | ChartDataUsagePreference.java | 92 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/ |
D | SoundPreferenceController.java | 105 if (USAGE_ALARM == mChannel.getAudioAttributes().getUsage()) { in handlePreferenceTreeClick() 108 == mChannel.getAudioAttributes().getUsage()) { in handlePreferenceTreeClick()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioFocus.java | 247 + " 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()
|
D | CarAudioContextInfo.java | 106 proto.write(CarAudioAttributesProto.USAGE, attributes.getUsage()); in dumpCarAudioAttributesProto()
|
D | CarAudioProtoUtils.java | 62 proto.write(CarAudioAttributesProto.USAGE, attributes.getUsage()); in dumpCarAudioAttributesProto()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | AudioRoutesManager.java | 129 if (audioAttributes.getUsage() == mUsage) { in updateAudioRoutesList() 246 if (audioAttributes.getUsage() == mUsage) { in setAudioRouteActive()
|
D | VolumeItemParser.java | 123 public int getUsage() { in getUsage() method in VolumeItemParser.VolumeItem
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/ |
D | HalAudioFocusTest.java | 157 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/ |
D | NotificationEntry.java | 238 return mAttributes != null && mAttributes.getUsage() == usage; in isAudioAttributesUsage()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/ |
D | AudioRoutesManagerTest.java | 207 when(mAudioAttributes.getUsage()).thenReturn(USAGE); in initMocks()
|