Home
last modified time | relevance | path

Searched refs:OccupantZoneInfo (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/car-lib/src/android/car/
DCarOccupantZoneManager.java125 public static final class OccupantZoneInfo implements Parcelable { class in CarOccupantZoneManager
149 public OccupantZoneInfo(int zoneId, @OccupantTypeEnum int occupantType, in OccupantZoneInfo() method in CarOccupantZoneManager.OccupantZoneInfo
157 public OccupantZoneInfo(Parcel in) { in OccupantZoneInfo() method in CarOccupantZoneManager.OccupantZoneInfo
180 if (!(other instanceof OccupantZoneInfo)) { in equals()
183 OccupantZoneInfo that = (OccupantZoneInfo) other; in equals()
197 public static final Parcelable.Creator<OccupantZoneInfo> CREATOR =
198 new Parcelable.Creator<OccupantZoneInfo>() {
199 public OccupantZoneInfo createFromParcel(Parcel in) {
200 return new OccupantZoneInfo(in);
203 public OccupantZoneInfo[] newArray(int size) {
[all …]
DICarOccupantZone.aidl25 List<CarOccupantZoneManager.OccupantZoneInfo> getAllOccupantZones(); in getAllOccupantZones()
29 CarOccupantZoneManager.OccupantZoneInfo getOccupantForAudioZoneId(in int audioZoneId); in getOccupantForAudioZoneId()
DCarOccupantZoneManager.aidl19 parcelable CarOccupantZoneManager.OccupantZoneInfo;
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java27 import android.car.CarOccupantZoneManager.OccupantZoneInfo;
93 private final HashMap<Integer, OccupantZoneInfo> mOccupantsConfig = new HashMap<>();
184 private int mDriverZoneId = OccupantZoneInfo.INVALID_ZONE_ID;
275 public List<OccupantZoneInfo> getOccupantZones(@OccupantTypeEnum int occupantType) { in init()
276 List<OccupantZoneInfo> zones = new ArrayList<OccupantZoneInfo>(); in init()
277 for (OccupantZoneInfo ozi : getAllOccupantZones()) { in init()
326 for (OccupantZoneInfo ozi : getAllOccupantZones()) { in init()
356 public HashMap<Integer, OccupantZoneInfo> getOccupantsConfig() { in getOccupantsConfig()
358 return (HashMap<Integer, OccupantZoneInfo>) mOccupantsConfig.clone(); in getOccupantsConfig()
394 for (Map.Entry<Integer, OccupantZoneInfo> entry : mOccupantsConfig.entrySet()) { in dump()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java33 import android.car.CarOccupantZoneManager.OccupantZoneInfo;
137 private final OccupantZoneInfo mZoneDriverLHD = new OccupantZoneInfo(0,
140 private final OccupantZoneInfo mZoneFrontPassengerLHD = new OccupantZoneInfo(1,
143 private final OccupantZoneInfo mZoneRearLeft = new OccupantZoneInfo(2,
146 private final OccupantZoneInfo mZoneRearRight = new OccupantZoneInfo(3,
251 HashMap<Integer, OccupantZoneInfo> configs = mService.getOccupantsConfig(); in testDefaultOccupantConfig()
275 HashMap<Integer, OccupantZoneInfo> configs = mService.getOccupantsConfig(); in testDefaultOccupantConfigForRHD()
277 assertThat(new OccupantZoneInfo(0, CarOccupantZoneManager.OCCUPANT_TYPE_DRIVER, in testDefaultOccupantConfigForRHD()
279 assertThat(new OccupantZoneInfo(1, CarOccupantZoneManager.OCCUPANT_TYPE_FRONT_PASSENGER, in testDefaultOccupantConfigForRHD()
508 HashMap<Integer, CarOccupantZoneManager.OccupantZoneInfo> occupantZoneConfigs = in testOccupantZoneConfigInfoForAudio()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DProfileUserFragment.java156 List<CarOccupantZoneManager.OccupantZoneInfo> zonelist = mZoneManager.getAllOccupantZones(); in updateTextInfo()
157 for (CarOccupantZoneManager.OccupantZoneInfo zone : zonelist) { in updateTextInfo()
350 CarOccupantZoneManager.OccupantZoneInfo zoneInfo = getZoneInfoForId(zoneId); in launchAppForZone()
384 private CarOccupantZoneManager.OccupantZoneInfo getZoneInfoForId(int zoneId) { in getZoneInfoForId()
385 List<CarOccupantZoneManager.OccupantZoneInfo> zonelist = mZoneManager.getAllOccupantZones(); in getZoneInfoForId()
386 for (CarOccupantZoneManager.OccupantZoneInfo zone : zonelist) { in getZoneInfoForId()
477 List<CarOccupantZoneManager.OccupantZoneInfo> zonelist = mZoneManager.getAllOccupantZones(); in getZones()
478 for (CarOccupantZoneManager.OccupantZoneInfo zone : zonelist) { in getZones()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterDisplayProvider.java21 import android.car.CarOccupantZoneManager.OccupantZoneInfo;
86 List<OccupantZoneInfo> zones = mOccupantZoneManager.getAllOccupantZones(); in getClusterDisplay()
89 OccupantZoneInfo zone = zones.get(i); in getClusterDisplay()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java29 import android.car.CarOccupantZoneManager.OccupantZoneInfo;
220 List<OccupantZoneInfo> getOccupantZones(@OccupantTypeEnum int occupantType); in getOccupantZones()
1858 if (zoneId == OccupantZoneInfo.INVALID_ZONE_ID) { in startFirstPassenger()
1882 if (zoneId != OccupantZoneInfo.INVALID_ZONE_ID) { in getAvailablePassengerZone()
1886 return OccupantZoneInfo.INVALID_ZONE_ID; in getAvailablePassengerZone()
1910 private List<OccupantZoneInfo> getOccupantZones(@OccupantTypeEnum int occupantType) { in getOccupantZones()
1915 return new ArrayList<OccupantZoneInfo>(); in getOccupantZones()
1967 List<OccupantZoneInfo> zoneInfos = getOccupantZones(occupantType); in getZoneId()
1968 return (zoneInfos.size() > 0) ? zoneInfos.get(0).zoneId : OccupantZoneInfo.INVALID_ZONE_ID; in getZoneId()
/packages/services/Car/car-lib/api/
Dlint-baseline.txt108 MissingNullability: android.car.CarOccupantZoneManager.OccupantZoneInfo#CREATOR:
109 …nullability on field `CREATOR` in class `class android.car.CarOccupantZoneManager.OccupantZoneInfo`
110 MissingNullability: android.car.CarOccupantZoneManager.OccupantZoneInfo#writeToParcel(android.os.Pa…
172 MutableBareField: android.car.CarOccupantZoneManager.OccupantZoneInfo#zoneId:
Dcurrent.txt102 …w.Display> getAllDisplaysForOccupant(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo);
103 …method @NonNull public java.util.List<android.car.CarOccupantZoneManager.OccupantZoneInfo> getAllO…
104 …w.Display getDisplayForOccupant(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, int);
106 …method public int getUserForOccupant(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo);
127 …public static final class CarOccupantZoneManager.OccupantZoneInfo implements android.os.Parcelable…
130 …c final android.os.Parcelable.Creator<android.car.CarOccupantZoneManager.OccupantZoneInfo> CREATOR;
Dsystem-current.txt78 …public int getAudioZoneIdForOccupant(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo);
79 …R_CONTROL_AUDIO_SETTINGS) public android.car.CarOccupantZoneManager.OccupantZoneInfo getOccupantFo…
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java1184 List<CarOccupantZoneManager.OccupantZoneInfo> occupantZoneInfos = in getOccupantZoneIdForDriver()
1186 for (CarOccupantZoneManager.OccupantZoneInfo info: occupantZoneInfos) { in getOccupantZoneIdForDriver()
1191 return CarOccupantZoneManager.OccupantZoneInfo.INVALID_ZONE_ID; in getOccupantZoneIdForDriver()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java56 import android.car.CarOccupantZoneManager.OccupantZoneInfo;
2144 public List<OccupantZoneInfo> getOccupantZones(