Home
last modified time | relevance | path

Searched refs:occupantType (Results 1 – 23 of 23) sorted by relevance

/packages/services/Car/car-lib/src/android/car/
DCarOccupantZoneManager.java199 public final int occupantType; field in CarOccupantZoneManager.OccupantZoneInfo
208 public OccupantZoneInfo(int zoneId, @OccupantTypeEnum int occupantType, in OccupantZoneInfo() argument
211 this.occupantType = occupantType; in OccupantZoneInfo()
218 occupantType = in.readInt(); in OccupantZoneInfo()
231 dest.writeInt(occupantType); in writeToParcel()
244 return zoneId == that.zoneId && occupantType == that.occupantType in equals()
252 hash = hash * 17 + occupantType; in hashCode()
274 b.append(occupantType); in toString()
777 public OccupantZoneInfo getOccupantZone(@OccupantTypeEnum int occupantType, in getOccupantZone() argument
780 return mService.getOccupantZone(occupantType, seat); in getOccupantZone()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DOccupantZoneInfoTestBuilder.java54 public OccupantZoneInfoTestBuilder setOccupantType(@OccupantTypeEnum int occupantType) { in setOccupantType() argument
55 mOccupantType = occupantType; in setOccupantType()
/packages/services/Car/service/src/com/android/car/user/
DExperimentalCarUserService.java122 List<OccupantZoneInfo> getOccupantZones(@OccupantTypeEnum int occupantType); in getOccupantZones() argument
509 for (int occupantType : occupantTypes) { in getAvailablePassengerZone()
510 int zoneId = getZoneId(occupantType); in getAvailablePassengerZone()
538 private List<OccupantZoneInfo> getOccupantZones(@OccupantTypeEnum int occupantType) { in getOccupantZones() argument
547 return helper.getOccupantZones(occupantType); in getOccupantZones()
594 private int getZoneId(@CarOccupantZoneManager.OccupantTypeEnum int occupantType) { in getZoneId() argument
595 List<CarOccupantZoneManager.OccupantZoneInfo> zoneInfos = getOccupantZones(occupantType); in getZoneId()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/
DUserPickerTestCase.java92 if (zoneInfo.occupantType == OCCUPANT_TYPE_DRIVER) { in getZoneDesc()
95 if (zoneInfo.occupantType == OCCUPANT_TYPE_FRONT_PASSENGER) { in getZoneDesc()
97 } else if (zoneInfo.occupantType == OCCUPANT_TYPE_REAR_PASSENGER) { in getZoneDesc()
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java319 public List<OccupantZoneInfo> getOccupantZones(@OccupantTypeEnum int occupantType) { in init()
322 if (ozi.occupantType == occupantType) { in init()
373 && ozi.occupantType != CarOccupantZoneManager.OCCUPANT_TYPE_DRIVER) { in init()
632 if (zoneInfo.occupantType == CarOccupantZoneManager.OCCUPANT_TYPE_DRIVER) { in findDisplayForDriverLocked()
994 if (info.occupantType == CarOccupantZoneManager.OCCUPANT_TYPE_DRIVER) { in unassignOccupantZoneUnchecked()
1039 public OccupantZoneInfo getOccupantZone(@OccupantTypeEnum int occupantType, in getOccupantZone() argument
1045 if (occupantType == CarOccupantZoneManager.OCCUPANT_TYPE_DRIVER in getOccupantZone()
1046 || occupantType == CarOccupantZoneManager.OCCUPANT_TYPE_FRONT_PASSENGER) { in getOccupantZone()
1047 if (occupantType == info.occupantType) { in getOccupantZone()
1051 if (occupantType == info.occupantType && seat == info.seat) { in getOccupantZone()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/
DCarSettingsApplication.java160 mOccupantZoneType = info.occupantType; in updateZoneInfoLocked()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioUserAssignmentFragment.java354 if (mCarOccupantZoneManager.getMyOccupantZone().occupantType != OCCUPANT_TYPE_DRIVER) { in setDriverOnlyAbilities()
384 if (occupantZoneInfo.occupantType == OCCUPANT_TYPE_DRIVER) { in setUserInfo()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/input/
DDisplayInputSinkController.java205 if (zone.occupantType == OCCUPANT_TYPE_DRIVER) continue; // Skip a driver. in initPassengerDisplays()
229 if (zone.occupantType == OCCUPANT_TYPE_DRIVER) { in mayUpdatePassengerDisplayOnAdded()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DOccupantZoneHelper.java103 if (zone.occupantType == type && zone.seat == seat) { in setUpOccupantZones()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DProfileUserFragment.java482 if (zone.occupantType == CarOccupantZoneManager.OCCUPANT_TYPE_DRIVER) { in getZones()
484 } else if (zone.occupantType == CarOccupantZoneManager.OCCUPANT_TYPE_FRONT_PASSENGER) { in getZones()
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DLauncherActivity.java308 || (zone.occupantType != OCCUPANT_TYPE_FRONT_PASSENGER in launchOtherUiForInvalidUser()
309 && zone.occupantType != OCCUPANT_TYPE_REAR_PASSENGER)) { in launchOtherUiForInvalidUser()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DMediaRequestHandlerTest.java711 int occupantType, int seat) { in getOccupantInfo() argument
712 return new CarOccupantZoneManager.OccupantZoneInfo(occupantZoneId, occupantType, seat); in getOccupantInfo()
DCarAudioServiceUnitTest.java3444 int occupantType, int seat) { in getOccupantInfo() argument
3445 return new CarOccupantZoneManager.OccupantZoneInfo(occupantZoneId, occupantType, seat); in getOccupantInfo()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DCarServiceMediator.java214 switch (zoneInfo.occupantType) { in getSeatString()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/
DDisplayInputLockTestFragment.java238 if (zone.occupantType == OCCUPANT_TYPE_DRIVER) { in initDisplayInputLockData()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DExperimentalCarUserServiceTest.java328 @OccupantTypeEnum int occupantType) {
/packages/services/Car/service/src/com/android/car/power/
DScreenOffHandler.java435 if (zoneInfo.occupantType == CarOccupantZoneManager.OCCUPANT_TYPE_DRIVER) { in initializeDisplayPowerInfos()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.3.txt76 …eManager.OccupantZoneInfo OccupantZoneInfo OccupantZoneInfo(int zoneId, int occupantType, int seat)
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java3628 if (info.occupantType == CarOccupantZoneManager.OCCUPANT_TYPE_DRIVER) {
/packages/services/Car/car-lib/api/
Dcurrent.txt161 field public final int occupantType;
Dlint-baseline.txt444 UnflaggedApi: android.car.CarOccupantZoneManager.OccupantZoneInfo#occupantType:
445 …be flagged with @FlaggedApi: field android.car.CarOccupantZoneManager.OccupantZoneInfo.occupantType
/packages/services/Car/car-lib-module/api/
Dcurrent.txt161 field public final int occupantType;
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt399 field TIRAMISU_0 int occupantType;