/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | ScreenOffHandlerUnitTest.java | 261 .that((mCarOccupantZoneService.getUserForOccupant(zoneInfo.zoneId))) in testUpdateUserActivity_noUserAssignedInModeOn_shouldTurnOffDisplay() 307 .that((mCarOccupantZoneService.getUserForOccupant(zoneInfo.zoneId))) in testUserActivity_bootIncomplete() 357 .that((mCarOccupantZoneService.getUserForOccupant(zoneInfo.zoneId))) in testHandleDisplayStateChange_modeOn() 379 .that((mCarOccupantZoneService.getUserForOccupant(zoneInfo.zoneId))) in testHandleDisplayStateChange_modeAlwaysOn() 402 .that((mCarOccupantZoneService.getUserForOccupant(zoneInfo.zoneId))) in testHandleDisplayStateChange_modeOff()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/ |
D | CarRemoteDeviceServiceTest.java | 193 when(mOccupantZoneService.getUserForOccupant(zone1.zoneId)).thenReturn(USER_ID); in testInit() 194 when(mOccupantZoneService.getUserForOccupant(zone2.zoneId)).thenReturn(INVALID_USER_ID); in testInit() 195 when(mOccupantZoneService.getUserForOccupant(zone3.zoneId)).thenReturn(USER_SYSTEM); in testInit() 321 when(mOccupantZoneService.getUserForOccupant(OCCUPANT_ZONE_ID)).thenReturn( in testGetEndpointPackageInfoWithInvalidUserId() 773 when(mOccupantZoneService.getUserForOccupant(mOccupantZone.zoneId)) in testUserUnassigned() 797 when(mOccupantZoneService.getUserForOccupant(mOccupantZone.zoneId)).thenReturn(USER_ID2); in testUserSwitched() 918 when(mOccupantZoneService.getUserForOccupant(occupantZone.zoneId)).thenReturn(userId); in mockOccupantZoneConnectionReady() 928 when(mOccupantZoneService.getUserForOccupant(occupantZone.zoneId)).thenReturn(userId); in mockPerUserInfo()
|
D | CarOccupantConnectionServiceTest.java | 620 when(mOccupantZoneService.getUserForOccupant(mReceiverZone.zoneId)) in testCancelConnection() 775 when(mOccupantZoneService.getUserForOccupant(mReceiverZone.zoneId)) in testSendPayloadSucceed() 845 when(mOccupantZoneService.getUserForOccupant(mReceiverZone.zoneId)) in testDisconnect() 889 when(mOccupantZoneService.getUserForOccupant(mReceiverZone.zoneId)) in testConnectedSenderDied() 922 when(mOccupantZoneService.getUserForOccupant(mReceiverZone.zoneId)) in testConnectingSenderDiedWithoutReceiverServiceBound() 950 when(mOccupantZoneService.getUserForOccupant(mReceiverZone.zoneId)) in testConnectingSenderDiedWithReceiverServiceBound() 988 when(mOccupantZoneService.getUserForOccupant(occupantZone.zoneId)) in mockAppInstalled()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioUserAssignmentFragment.java | 134 int userId = mCarOccupantZoneManager.getUserForOccupant(info); in getUserName() 275 int occupantZoneUser = mCarOccupantZoneManager.getUserForOccupant(info); in getOccupantZoneForUser() 376 int userId = mCarOccupantZoneManager.getUserForOccupant(occupantZoneInfo); in setUserInfo()
|
D | AudioMirrorTestFragment.java | 237 int userId = mCarOccupantZoneManager.getUserForOccupant(info); in setupAudioZones()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarOccupantZoneServiceTest.java | 1131 int driverUser = mManager.getUserForOccupant(mZoneDriverLHD); in testManagerGetUserForOccupant() 1134 assertThat(mManager.getUserForOccupant(mZoneFrontPassengerLHD)).isEqualTo( in testManagerGetUserForOccupant() 1136 assertThat(mManager.getUserForOccupant(mZoneRearLeft)).isEqualTo( in testManagerGetUserForOccupant() 1138 assertThat(mManager.getUserForOccupant(mZoneRearRight)).isEqualTo( in testManagerGetUserForOccupant() 1154 assertThat(mManager.getUserForOccupant(mZoneDriverLHD)).isEqualTo(newUserId); in testManagerGetUserForOccupantAfterUserSwitch() 1156 assertThat(mManager.getUserForOccupant(mZoneFrontPassengerLHD)).isEqualTo( in testManagerGetUserForOccupantAfterUserSwitch() 1158 assertThat(mManager.getUserForOccupant(mZoneRearLeft)).isEqualTo( in testManagerGetUserForOccupantAfterUserSwitch() 1160 assertThat(mManager.getUserForOccupant(mZoneRearRight)).isEqualTo( in testManagerGetUserForOccupantAfterUserSwitch()
|
D | OccupantZoneHelper.java | 178 when(service.getUserForOccupant(anyInt())).thenAnswer( in setUpOccupantZones()
|
D | CarInputServiceTest.java | 190 when(mCarOccupantZoneService.getUserForOccupant(eq(DRIVER_ZONE_ID))) in setUpCarOccupantZoneService() 192 when(mCarOccupantZoneService.getUserForOccupant(eq(PASSENGER_ZONE_ID))) in setUpCarOccupantZoneService()
|
/packages/services/Car/car-lib/src/android/car/ |
D | ICarOccupantZone.aidl | 31 int getUserForOccupant(in int occupantZoneId); in getUserForOccupant() method
|
D | CarOccupantZoneManager.java | 536 public int getUserForOccupant(@NonNull OccupantZoneInfo occupantZone) { in getUserForOccupant() method in CarOccupantZoneManager 539 return mService.getUserForOccupant(occupantZone.zoneId); in getUserForOccupant()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | SimpleUserPickerFragment.java | 221 userId = mZoneManager.getUserForOccupant(zoneInfo); in updateTextInfo() 242 int user = mZoneManager.getUserForOccupant(zone); in updateTextInfo() 286 int userId = mZoneManager.getUserForOccupant(zoneInfo); in stopUser()
|
D | ProfileUserFragment.java | 160 zoneStatebuilder.append(mZoneManager.getUserForOccupant(zone)); in updateTextInfo() 355 int assignedUserId = mZoneManager.getUserForOccupant(zoneInfo); in launchAppForZone()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | ScreenOffHandler.java | 387 int userId = mOccupantZoneService.getUserForOccupant(zoneId); in handleOccupantZoneConfigChangeLocked() 404 int userId = mOccupantZoneService.getUserForOccupant(zoneId); in handleOccupantZoneConfigChangeLocked() 433 int userId = mOccupantZoneService.getUserForOccupant(zoneId); in initializeDisplayPowerInfos()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | OccupantZoneStartActivity.java | 75 int userId = mOccupantZoneManager.getUserForOccupant(zoneInfo); in startActivity()
|
/packages/services/Car/service/src/com/android/car/occupantconnection/ |
D | CarRemoteDeviceService.java | 395 int userId = mOccupantZoneService.getUserForOccupant(occupantZoneId); in getEndpointPackageInfo() 463 mOccupantZoneService.getUserForOccupant(occupantZone.zoneId); in handleUserChange() 565 int userId = mOccupantZoneService.getUserForOccupant(occupantZone.zoneId); in initAssignedUsers() 776 int userId = mOccupantZoneService.getUserForOccupant(occupantZone.zoneId); in isConnectionReady()
|
D | CarOccupantConnectionService.java | 676 int userId = mOccupantZoneService.getUserForOccupant(occupantZone.zoneId); in getClientIdInOccupantZone()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioServiceUnitTest.java | 613 when(mMockOccupantZoneService.getUserForOccupant(TEST_DRIVER_OCCUPANT_ZONE_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() 2058 when(mMockOccupantZoneService.getUserForOccupant(anyInt())) in onOccupantZoneConfigChanged_noUserAssignedToPrimaryZone() 2074 when(mMockOccupantZoneService.getUserForOccupant(anyInt())) in onOccupantZoneConfigChanged_userAssignedToPrimaryZone() 2089 when(mMockOccupantZoneService.getUserForOccupant(anyInt())) in onOccupantZoneConfigChanged_afterResettingUser_returnNoUser() 2093 when(mMockOccupantZoneService.getUserForOccupant(anyInt())) in onOccupantZoneConfigChanged_afterResettingUser_returnNoUser() 2110 verify(mMockOccupantZoneService, never()).getUserForOccupant(anyInt()); in onOccupantZoneConfigChanged_noOccupantZoneMapping() [all …]
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/users/ |
D | CarMUPANDUserTrackerImpl.java | 135 int zoneUserId = mCarOccupantZoneManager.getUserForOccupant(zoneInfo); in getDisplayIdForUser()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/ |
D | CarServiceMediatorTest.java | 152 .getUserForOccupant(mRearPassengerZoneInfo); in checkDisplayIdForUser_requestWithUserId_getDisplayId()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/ |
D | CarServiceMediator.java | 177 int zoneUserId = mCarOccupantZoneManager.getUserForOccupant(zoneInfo); in getDisplayIdForUser()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/ |
D | CarMediaServiceTest.java | 168 when(mMockOccupantZoneService.getUserForOccupant(OCCUPANT_ZONE_ID)) in setUp() 797 when(mMockOccupantZoneService.getUserForOccupant(OCCUPANT_ZONE_ID)) in testMediaKeyEventListenerOnKeyEvent_ignoresInvalidUser()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioService.java | 1234 int userId = carOccupantZoneService.getUserForOccupant(info.zoneId); in allowMediaAudioOnPrimaryZone() 2826 int userId = carOccupantZoneService.getUserForOccupant(info.zoneId); 3332 int userId = getCarOccupantZoneService().getUserForOccupant(occupantZoneId); 3561 int userId = getCarOccupantZoneService().getUserForOccupant(occupantZoneId);
|
/packages/services/Car/service/src/com/android/car/ |
D | CarInputService.java | 906 int userId = mCarOccupantZoneService.getUserForOccupant(zoneId); in handleHomeKey()
|
D | CarOccupantZoneService.java | 754 public int getUserForOccupant(int occupantZoneId) { in getUserForOccupant() method in CarOccupantZoneService
|
D | CarMediaService.java | 1730 int userId = mOccupantZoneService.getUserForOccupant(occupantZoneId); in onKeyEvent()
|