Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusTest.java69 when(mCarAudioService.getZoneIdForUid(MEDIA_CLIENT_UID_1)).thenReturn(PRIMARY_ZONE_ID); in setUp()
87 when(mCarAudioService.getZoneIdForUid(MEDIA_CLIENT_UID_2)).thenReturn(SECONDARY_ZONE_ID); in onAudioFocusRequest_forTwoDifferentZones_requestGranted()
109 when(mCarAudioService.getZoneIdForUid(MEDIA_CLIENT_UID_2)).thenReturn(SECONDARY_ZONE_ID); in onAudioFocusRequest_forTwoDifferentZones_abandonInOne_requestGranted()
147 when(mCarAudioService.getZoneIdForUid(NAVIGATION_CLIENT_UID_1)) in onAudioFocusRequest_repeatForSameZone_requestGranted()
172 when(mCarAudioService.getZoneIdForUid(CALL_CLIENT_UID_1)).thenReturn(PRIMARY_ZONE_ID); in onAudioFocusRequest_forNavigationWhileOnCall_rejectNavOnCall_requestFailed()
177 when(mCarAudioService.getZoneIdForUid(NAVIGATION_CLIENT_UID_1)).thenReturn(PRIMARY_ZONE_ID); in onAudioFocusRequest_forNavigationWhileOnCall_rejectNavOnCall_requestFailed()
197 when(mCarAudioService.getZoneIdForUid(CALL_CLIENT_UID_1)).thenReturn(PRIMARY_ZONE_ID); in onAudioFocusRequest_forNavigationWhileOnCall_noRejectNavOnCall_requestSucceeds()
202 when(mCarAudioService.getZoneIdForUid(NAVIGATION_CLIENT_UID_1)).thenReturn(PRIMARY_ZONE_ID); in onAudioFocusRequest_forNavigationWhileOnCall_noRejectNavOnCall_requestSucceeds()
221 when(mCarAudioService.getZoneIdForUid(CALL_CLIENT_UID_1)).thenReturn(PRIMARY_ZONE_ID); in onAudioFocusRequest_forMediaWithDelayedFocus_requestSucceeds()
237 when(mCarAudioService.getZoneIdForUid(CALL_CLIENT_UID_1)).thenReturn(PRIMARY_ZONE_ID); in onAudioFocusRequest_forMediaWithDelayedFocusWhileOnCall_delayedSucceeds()
[all …]
DCarZonesAudioFocusRejectedTest.java122 when(mCarAudioService.getZoneIdForUid(mAcceptedAudioClientInfo.getClientUid())) in setUp()
124 when(mCarAudioService.getZoneIdForUid(mRejectedAudioClientInfo.getClientUid())) in setUp()
DCarZonesAudioFocusExclusiveTest.java111 when(mCarAudioService.getZoneIdForUid(mExcludedAudioClientInfo.getClientUid())) in setUp()
113 when(mCarAudioService.getZoneIdForUid(mAcceptedAudioClientInfo.getClientUid())) in setUp()
DCarZonesAudioFocusUsageTest.java77 when(mCarAudioService.getZoneIdForUid(mAudioClientInfo.getClientUid())) in setUp()
DCarZonesAudioFocusConcurrentTest.java162 when(mCarAudioService.getZoneIdForUid(mExcludedAudioClientInfo.getClientUid())) in setUp()
164 when(mCarAudioService.getZoneIdForUid(mAcceptedAudioClientInfo.getClientUid())) in setUp()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioUtils.java37 return manager.getZoneIdForUid(info.uid); in getCurrentZoneId()
/packages/services/Car/car-lib/src/android/car/media/
DICarAudio.aidl58 int getZoneIdForUid(int uid); in getZoneIdForUid() method
DCarAudioManager.java1112 public int getZoneIdForUid(int uid) { in getZoneIdForUid() method in CarAudioManager
1114 return mService.getZoneIdForUid(uid); in getZoneIdForUid()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeCarAudioService.java132 public int getZoneIdForUid(int uid) { in getZoneIdForUid() method in FakeCarAudioService
/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/
DCarAudioManagerUnitTest.java553 public void getZoneIdForUid() throws Exception { in getZoneIdForUid() method in CarAudioManagerUnitTest
554 when(mServiceMock.getZoneIdForUid(TEST_UID)).thenReturn(TEST_REAR_LEFT_ZONE_ID); in getZoneIdForUid()
557 .getZoneIdForUid(TEST_UID)).isEqualTo(TEST_REAR_LEFT_ZONE_ID); in getZoneIdForUid()
562 doThrow(mRemoteException).when(mServiceMock).getZoneIdForUid(TEST_UID); in getZoneIdForUid_withServiceRemoteException()
565 .that(mCarAudioManager.getZoneIdForUid(TEST_UID)).isEqualTo(0); in getZoneIdForUid_withServiceRemoteException()
/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/android_car_api_test/src/android/car/apitest/media/
DCarAudioManagerTest.java173 assertThat(mCarAudioManager.getZoneIdForUid(Process.myUid())).isEqualTo(PRIMARY_AUDIO_ZONE); in test_getZoneIdForUid()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioServiceUnitTest.java1398 .getZoneIdForUid(MEDIA_APP_UID); in getZoneIdForUid_withoutMappedUid_succeeds()
1412 .getZoneIdForUid(MEDIA_APP_UID); in getZoneIdForUid_succeeds()
1429 .getZoneIdForUid(MEDIA_APP_UID); in getZoneIdForUid_afterSwitchingZones_succeeds()
1506 int zoneId = noZoneMappingAudioService.getZoneIdForUid(MEDIA_APP_UID); in getZoneIdForUid_afterClearedUidMapping_returnsDefaultZone()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.2.txt403 android.car.media CarAudioManager int getZoneIdForUid(int uid)
Dcar_hidden_apis_release_33.1.txt403 android.car.media CarAudioManager int getZoneIdForUid(int uid)
Dcar_hidden_apis.txt503 android.car.media CarAudioManager int getZoneIdForUid(int uid)
Dcar_hidden_apis_release_33.3.txt447 android.car.media CarAudioManager int getZoneIdForUid(int uid)
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java2632 public int getZoneIdForUid(int uid) {
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt279 method TIRAMISU_0 @hiddenOnly int getZoneIdForUid(int uid);