Searched defs:focusEntry (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | FocusInteractionTest.java | 174 FocusEntry focusEntry = newMockFocusEntryWithUsage(USAGE_VIRTUAL_SOURCE); in evaluateResult_forRejectPair_returnsFailed() local 189 FocusEntry focusEntry = newMockFocusEntryWithUsage(USAGE_VOICE_COMMUNICATION); in evaluateResult_forCallAndNavigation_withNavigationNotRejected_returnsConcurrent() local 204 FocusEntry focusEntry = newMockFocusEntryWithUsage(USAGE_VOICE_COMMUNICATION); in evaluateResult_forCallAndNavigation_withNavigationRejected_returnsConcurrent() local 216 FocusEntry focusEntry = newMockFocusEntryWithUsage(USAGE_VIRTUAL_SOURCE); in evaluateResult_forRejectPair_doesNotAddToLosers() local 226 FocusEntry focusEntry = newMockFocusEntryWithUsage(USAGE_MEDIA); in evaluateRequest_forExclusivePair_returnsGranted() local 237 FocusEntry focusEntry = newMockFocusEntryWithUsage(USAGE_MEDIA); in evaluateRequest_forExclusivePair_addsEntryToLosers() local 248 FocusEntry focusEntry = newMockFocusEntryWithUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE); in evaluateResult_forConcurrentPair_returnsGranted() local 259 FocusEntry focusEntry = in evaluateResult_forConcurrentPair_andNoDucking_addsToLosers() local 272 FocusEntry focusEntry = newMockFocusEntryWithDuckingBehavior( in evaluateResult_forConcurrentPair_andWantsPauseInsteadOfDucking_addsToLosers() local 284 FocusEntry focusEntry = newMockFocusEntryWithDuckingBehavior( in evaluateResult_forConcurrentPair_andReceivesDuckEvents_addsToLosers() local [all …]
|
D | FocusEntryTest.java | 70 FocusEntry focusEntry = new FocusEntry(info, TEST_MEDIA_CONTEXT, mMockPM); in wantsPauseInsteadOfDucking_whenFlagIsSet_returnsTrue() local 79 FocusEntry focusEntry = new FocusEntry(info, TEST_MEDIA_CONTEXT, mMockPM); in wantsPauseInsteadOfDucking_whenFlagIsNotSet_returnsFalse() local 87 FocusEntry focusEntry = new FocusEntry(info, TEST_MEDIA_CONTEXT, mMockPM); in receivesDuckEvents_whenBundleDoesNotReceiveDuckingEvents_returnsFalse() local 97 FocusEntry focusEntry = new FocusEntry(info, TEST_MEDIA_CONTEXT, mMockPM); in receivesDuckEvents_withoutReceiveCarAudioDuckingEventsPermission_returnsFalse() local 107 FocusEntry focusEntry = new FocusEntry(info, TEST_MEDIA_CONTEXT, mMockPM); in receivesDuckEvents_withReceiveCarAudioDuckingEventsPermission_returnsTrue() local
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioFocus.java | 387 AudioFocusEntry focusEntry = evaluationResults.getAudioFocusEntry(); in evaluateFocusRequestLocked() local 548 AudioFocusEntry focusEntry = in evaluateFocusRequestInternallyLocked() local 806 FocusEntry focusEntry = mFocusHolders.get(delayedFocusInfo.getClientId()); in attemptToGainFocusForDelayedAudioFocusRequestLocked() local
|
/packages/services/Car/car-lib/src/android/car/oem/ |
D | OemCarAudioFocusResult.java | 312 public Builder setAudioFocusEntry(@NonNull AudioFocusEntry focusEntry) { in setAudioFocusEntry()
|
/packages/services/Car/tests/OemCarServiceTestApp/src/com/android/car/oem/focus/ |
D | FocusInteraction.java | 419 AudioFocusEntry focusEntry = in evaluateFocusRequest() local
|