Home
last modified time | relevance | path

Searched refs:getOccupantZoneForUser (Results 1 – 21 of 21) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DCarOccupantConnectionServiceTest.java170 when(mOccupantZoneService.getOccupantZoneForUser(receiverUserHandle)) in testRegisterReceiverWithDuplicateId_throwsException()
186 when(mOccupantZoneService.getOccupantZoneForUser(receiverUserHandle)) in testRegisterTwoReceiversWithoutReceiverServiceConnected()
240 when(mOccupantZoneService.getOccupantZoneForUser(receiverUserHandle)) in testRegisterReceiverThenConnectReceiverService()
284 when(mOccupantZoneService.getOccupantZoneForUser(receiverUserHandle)) in testRegisterReceiverWithReceiverServiceConnected()
339 when(mOccupantZoneService.getOccupantZoneForUser(receiverUserHandle)) in testUnregisterNonexistentReceiver_throwsException()
349 when(mOccupantZoneService.getOccupantZoneForUser(receiverUserHandle)) in testUnregisterReceiverWithReceiverServiceBound()
388 when(mOccupantZoneService.getOccupantZoneForUser(receiverUserHandle)) in testUnregisterReceiverWithoutReceiverServiceBound()
414 when(mOccupantZoneService.getOccupantZoneForUser(receiverUserHandle)) in testUnregisterReceiverWithOtherReceiversLeft()
625 when(mOccupantZoneService.getOccupantZoneForUser(senderUserHandle)) in testCancelConnection()
658 when(mOccupantZoneService.getOccupantZoneForUser(senderUserHandle)) in testCancelConnectionWithoutPendingConnectionRequest_throwsException()
[all …]
DCarRemoteDeviceServiceTest.java452 when(mOccupantZoneService.getOccupantZoneForUser(userHandle)).thenReturn(mOccupantZone); in testRegisterDuplicateStateCallback_throwsException()
826 when(mOccupantZoneService.getOccupantZoneForUser(userHandle)).thenReturn(mOccupantZone); in testUnregisterNonexistentStateCallback_throwsException()
929 when(mOccupantZoneService.getOccupantZoneForUser(UserHandle.of(userId))) in mockPerUserInfo()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioUserAssignmentFragment.java184 OccupantZoneInfo info = getOccupantZoneForUser(userId); in handleResetUserAudio()
193 OccupantZoneInfo info = getOccupantZoneForUser(userId); in handleToggleAssignUserAudio()
205 OccupantZoneInfo info = getOccupantZoneForUser(userId); in handleRequestUserToPlayInMainCabin()
269 private OccupantZoneInfo getOccupantZoneForUser(int userId) { in getOccupantZoneForUser() method in AudioUserAssignmentFragment
317 mCarAudioManager.isMediaAudioAllowedInPrimaryZone(getOccupantZoneForUser(userId)); in handleUserSelection()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/systemui/keyguard/
DExperimentalCarKeyguardServiceTest.java302 when(mMockCarOccupantZoneService.getOccupantZoneForUser(UserHandle.SYSTEM)).thenReturn( in setupUsers()
304 when(mMockCarOccupantZoneService.getOccupantZoneForUser( in setupUsers()
306 when(mMockCarOccupantZoneService.getOccupantZoneForUser( in setupUsers()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/users/
DCarDisplayTrackerImpl.java66 mOccupantZone = mCarOccupantZoneManager.getOccupantZoneForUser(
261 mOccupantZone = mCarOccupantZoneManager.getOccupantZoneForUser(
/packages/services/Car/car-lib/src/android/car/
DICarOccupantZone.aidl45 CarOccupantZoneManager.OccupantZoneInfo getOccupantZoneForUser(in UserHandle user); in getOccupantZoneForUser() method
DCarOccupantZoneManager.java756 public OccupantZoneInfo getOccupantZoneForUser(@NonNull UserHandle user) { in getOccupantZoneForUser() method in CarOccupantZoneManager
758 return mService.getOccupantZoneForUser(user); in getOccupantZoneForUser()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DVolumeUI.java166 carOccupantZoneManager.getOccupantZoneForUser(mUserTracker.getUserHandle()); in start()
DCarVolumeDialogImpl.java209 carOccupantZoneManager.getOccupantZoneForUser(
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java674 mService.getOccupantZoneForUser(UserHandle.of(invalidProfileUser)); in testGetOccupantZoneForUser_invalidUser()
688 mService.getOccupantZoneForUser(UserHandle.of(PROFILE_USER1)); in testGetOccupantZoneForUser_validUser()
700 () -> mService.getOccupantZoneForUser(null)); in testGetOccupantZoneForUser_nullUser()
/packages/services/Car/service/src/com/android/car/occupantconnection/
DCarOccupantConnectionService.java635 OccupantZoneInfo senderZone = mOccupantZoneService.getOccupantZoneForUser(senderUserHandle); in isConnected()
668 mOccupantZoneService.getOccupantZoneForUser(callingUserHandle); in getCallingClientId()
DCarRemoteDeviceService.java680 mOccupantZoneService.getOccupantZoneForUser(callingUserHandle); in getCallingClientId()
1041 OccupantZoneInfo occupantZone = mOccupantZoneService.getOccupantZoneForUser(userHandle); in getUniquePackageNameByUidLocked()
/packages/services/Car/service/src/com/android/car/systemui/keyguard/
DExperimentalCarKeyguardService.java357 mCarOccupantZoneService.getOccupantZoneForUser(userHandle); in getDisplaysForUser()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java2184 occupantZoneService.getOccupantZoneForUser(UserHandle.of(driverId));
2653 carOccupantZoneService.getOccupantZoneForUser(handle);
3873 .getOccupantZoneForUser(UserHandle
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java1026 public OccupantZoneInfo getOccupantZoneForUser(UserHandle user) { in getOccupantZoneForUser() method in CarOccupantZoneService
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioServiceUnitTest.java617 when(mMockOccupantZoneService.getOccupantZoneForUser(UserHandle.of(TEST_DRIVER_USER_ID))) in setUpService()
636 when(mMockOccupantZoneService.getOccupantZoneForUser( in setUpService()
639 when(mMockOccupantZoneService.getOccupantZoneForUser( in setUpService()
642 when(mMockOccupantZoneService.getOccupantZoneForUser( in setUpService()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java2535 mCarOccupantZoneService.getOccupantZoneForUser(UserHandle.of(userId)); in unassignInvisibleUserFromZone()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java542 when(mCarOccupantZoneService.getOccupantZoneForUser(UserHandle.of(TEST_USER_ID))) in testOnUserInvisible_nonSystemUser_occupantZoneUnassignment()
/packages/services/Car/car-lib/api/
Dcurrent.txt130 …lable public android.car.CarOccupantZoneManager.OccupantZoneInfo getOccupantZoneForUser(@NonNull a…
Dlint-baseline.txt418 UnflaggedApi: android.car.CarOccupantZoneManager#getOccupantZoneForUser(android.os.UserHandle):
419 …gged with @FlaggedApi: method android.car.CarOccupantZoneManager.getOccupantZoneForUser(android.os…
/packages/services/Car/car-lib-module/api/
Dcurrent.txt130 …lable public android.car.CarOccupantZoneManager.OccupantZoneInfo getOccupantZoneForUser(@NonNull a…