Searched refs:mMockOccupantZoneService (Results 1 – 2 of 2) sorted by relevance
465 private CarOccupantZoneService mMockOccupantZoneService; field in CarAudioServiceUnitTest613 when(mMockOccupantZoneService.getUserForOccupant(TEST_DRIVER_OCCUPANT_ZONE_ID)) in setUpService()615 when(mMockOccupantZoneService.getAudioZoneIdForOccupant(TEST_DRIVER_OCCUPANT_ZONE_ID)) in setUpService()617 when(mMockOccupantZoneService.getOccupantZoneForUser(UserHandle.of(TEST_DRIVER_USER_ID))) in setUpService()620 when(mMockOccupantZoneService.getUserForOccupant(TEST_REAR_LEFT_OCCUPANT_ZONE_ID)) in setUpService()622 when(mMockOccupantZoneService.getUserForOccupant(TEST_REAR_RIGHT_OCCUPANT_ZONE_ID)) in setUpService()624 when(mMockOccupantZoneService.getUserForOccupant(TEST_FRONT_OCCUPANT_ZONE_ID)) in setUpService()626 when(mMockOccupantZoneService.getUserForOccupant(TEST_REAR_ROW_3_OCCUPANT_ZONE_ID)) in setUpService()628 when(mMockOccupantZoneService.getAudioZoneIdForOccupant(TEST_REAR_LEFT_OCCUPANT_ZONE_ID)) in setUpService()630 when(mMockOccupantZoneService.getAudioZoneIdForOccupant(TEST_REAR_RIGHT_OCCUPANT_ZONE_ID)) in setUpService()[all …]
123 @Mock private CarOccupantZoneService mMockOccupantZoneService; field in CarMediaServiceTest166 when(mMockOccupantZoneService.getOccupantZoneIdForSeat(SEAT_NUMBER)) in setUp()168 when(mMockOccupantZoneService.getUserForOccupant(OCCUPANT_ZONE_ID)) in setUp()182 mCarMediaService = new CarMediaService(mContext, mMockOccupantZoneService, mUserService, in setUp()785 when(mMockOccupantZoneService.getOccupantZoneIdForSeat(SEAT_NUMBER)) in testMediaKeyEventListenerOnKeyEvent_ignoresInvalidOccupantZone()797 when(mMockOccupantZoneService.getUserForOccupant(OCCUPANT_ZONE_ID)) in testMediaKeyEventListenerOnKeyEvent_ignoresInvalidUser()