Home
last modified time | relevance | path

Searched refs:getZoneIdForUid (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusTest.java93 when(mCarAudioService.getZoneIdForUid(MEDIA_CLIENT_UID_1)).thenReturn(PRIMARY_ZONE_ID); in setUp()
115 when(mCarAudioService.getZoneIdForUid(MEDIA_CLIENT_UID_2)).thenReturn(SECONDARY_ZONE_ID); in onAudioFocusRequest_forTwoDifferentZones_requestGranted()
136 when(mCarAudioService.getZoneIdForUid(MEDIA_CLIENT_UID_2)).thenReturn(SECONDARY_ZONE_ID); in onAudioFocusRequest_forTwoDifferentZones_abandonInOne_requestGranted()
177 when(mCarAudioService.getZoneIdForUid(NAVIGATION_CLIENT_UID)).thenReturn(PRIMARY_ZONE_ID); in onAudioFocusRequest_repeatForSameZone_requestGranted()
201 when(mCarAudioService.getZoneIdForUid(CALL_CLIENT_UID)).thenReturn(PRIMARY_ZONE_ID); in onAudioFocusRequest_forNavigationWhileOnCall_rejectNavOnCall_requestFailed()
210 when(mCarAudioService.getZoneIdForUid(NAVIGATION_CLIENT_UID)).thenReturn(PRIMARY_ZONE_ID); in onAudioFocusRequest_forNavigationWhileOnCall_rejectNavOnCall_requestFailed()
230 when(mCarAudioService.getZoneIdForUid(CALL_CLIENT_UID)).thenReturn(PRIMARY_ZONE_ID); in onAudioFocusRequest_forNavigationWhileOnCall_noRejectNavOnCall_requestSucceeds()
239 when(mCarAudioService.getZoneIdForUid(NAVIGATION_CLIENT_UID)).thenReturn(PRIMARY_ZONE_ID); in onAudioFocusRequest_forNavigationWhileOnCall_noRejectNavOnCall_requestSucceeds()
258 when(mCarAudioService.getZoneIdForUid(CALL_CLIENT_UID)).thenReturn(PRIMARY_ZONE_ID); in onAudioFocusRequest_forMediaWhileOnCall_withDelayedEnable_delayedSucceeds()
/packages/services/Car/car-lib/src/android/car/media/
DICarAudio.aidl47 int getZoneIdForUid(int uid); in getZoneIdForUid() method
DCarAudioManager.java566 public int getZoneIdForUid(int uid) { in getZoneIdForUid() method in CarAudioManager
568 return mService.getZoneIdForUid(uid); in getZoneIdForUid()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarAudioService.java101 public int getZoneIdForUid(int uid) { in getZoneIdForUid() method in FakeCarAudioService
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/
DCarAudioManagerTest.java129 assertThat(mCarAudioManager.getZoneIdForUid(Process.myUid())).isEqualTo( in test_getZoneIdForUid()
/packages/services/Car/service/src/com/android/car/audio/
DCarZonesAudioFocus.java187 int zoneId = mCarAudioService.getZoneIdForUid(afi.getClientUid()); in getAudioZoneIdForAudioFocusInfo()
DCarAudioService.java1000 public int getZoneIdForUid(int uid) { in getZoneIdForUid() method in CarAudioService
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DAudioAutoStartActivity.java121 int audioZoneId = mCarAudioManager.getZoneIdForUid(info.uid); in setActivityCurrentZoneId()
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/media/
DCarAudioManagerPermissionTest.java205 () -> mCarAudioManager.getZoneIdForUid(UID)); in getZoneIdForUidPermission()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarZonesAudioFocusUnitTest.java278 when(mCarAudioService.getZoneIdForUid(CLIENT_UID)).thenReturn(zoneId); in withUidRoutingToZone()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java448 int audioZoneId = mCarAudioManager.getZoneIdForUid(info.uid); in setActivityCurrentZoneId()