Home
last modified time | relevance | path

Searched refs:OccupantZoneInfo (Results 1 – 15 of 15) 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.java28 import android.car.CarOccupantZoneManager.OccupantZoneInfo;
94 private final SparseArray<OccupantZoneInfo> mOccupantsConfig = new SparseArray<>();
189 private int mDriverZoneId = OccupantZoneInfo.INVALID_ZONE_ID;
278 public List<OccupantZoneInfo> getOccupantZones(@OccupantTypeEnum int occupantType) { in init()
279 List<OccupantZoneInfo> zones = new ArrayList<OccupantZoneInfo>(); in init()
280 for (OccupantZoneInfo ozi : getAllOccupantZones()) { in init()
329 for (OccupantZoneInfo ozi : getAllOccupantZones()) { in init()
360 public SparseArray<OccupantZoneInfo> getOccupantsConfig() { in getOccupantsConfig()
447 public List<OccupantZoneInfo> getAllOccupantZones() { in getAllOccupantZones()
449 List<OccupantZoneInfo> infos = new ArrayList<>(); in getAllOccupantZones()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java34 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,
261 SparseArray<OccupantZoneInfo> configs = mService.getOccupantsConfig(); in testDefaultOccupantConfig()
285 SparseArray<OccupantZoneInfo> configs = mService.getOccupantsConfig(); in testDefaultOccupantConfigForRHD()
287 assertThat(new OccupantZoneInfo(0, CarOccupantZoneManager.OCCUPANT_TYPE_DRIVER, in testDefaultOccupantConfigForRHD()
289 assertThat(new OccupantZoneInfo(1, CarOccupantZoneManager.OCCUPANT_TYPE_FRONT_PASSENGER, in testDefaultOccupantConfigForRHD()
526 SparseArray<CarOccupantZoneManager.OccupantZoneInfo> occupantZoneConfigs = in testOccupantZoneConfigInfoForAudio()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DOccupantZoneStartActivity.java29 import android.car.CarOccupantZoneManager.OccupantZoneInfo;
72 OccupantZoneInfo zoneInfo = getOccupantZoneForDisplay(display); in startActivity()
86 private OccupantZoneInfo getOccupantZoneForDisplay(Display display) { in getOccupantZoneForDisplay()
87 List<OccupantZoneInfo> occupantZoneInfos = mOccupantZoneManager.getAllOccupantZones(); in getOccupantZoneForDisplay()
89 OccupantZoneInfo occupantZoneInfo = occupantZoneInfos.get(index); in getOccupantZoneForDisplay()
/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/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/
DCarOccupantZoneManagerPermissionTest.java19 import static android.car.CarOccupantZoneManager.OccupantZoneInfo;
48 private OccupantZoneInfo mAnyOccupantZone;
56 List<OccupantZoneInfo> occupantZones = mCarOccupantZoneManager.getAllOccupantZones(); in setUp()
/packages/apps/Car/Cluster/DirectRenderingCluster/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.java36 import android.car.CarOccupantZoneManager.OccupantZoneInfo;
280 List<OccupantZoneInfo> getOccupantZones(@OccupantTypeEnum int occupantType); in getOccupantZones()
2317 if (zoneId == OccupantZoneInfo.INVALID_ZONE_ID) { in startFirstPassenger()
2341 if (zoneId != OccupantZoneInfo.INVALID_ZONE_ID) { in getAvailablePassengerZone()
2345 return OccupantZoneInfo.INVALID_ZONE_ID; in getAvailablePassengerZone()
2369 private List<OccupantZoneInfo> getOccupantZones(@OccupantTypeEnum int occupantType) { in getOccupantZones()
2374 return new ArrayList<OccupantZoneInfo>(); in getOccupantZones()
2426 List<OccupantZoneInfo> zoneInfos = getOccupantZones(occupantType); in getZoneId()
2427 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.txt104 …w.Display> getAllDisplaysForOccupant(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo);
105 …method @NonNull public java.util.List<android.car.CarOccupantZoneManager.OccupantZoneInfo> getAllO…
106 …w.Display getDisplayForOccupant(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, int);
108 …method public int getUserForOccupant(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo);
129 …public static final class CarOccupantZoneManager.OccupantZoneInfo implements android.os.Parcelable…
132 …c final android.os.Parcelable.Creator<android.car.CarOccupantZoneManager.OccupantZoneInfo> CREATOR;
Dsystem-current.txt89 …public int getAudioZoneIdForOccupant(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo);
91 …R_CONTROL_AUDIO_SETTINGS) public android.car.CarOccupantZoneManager.OccupantZoneInfo getOccupantFo…
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java1441 List<CarOccupantZoneManager.OccupantZoneInfo> occupantZoneInfos = in getOccupantZoneIdForDriver()
1443 for (CarOccupantZoneManager.OccupantZoneInfo info: occupantZoneInfos) { in getOccupantZoneIdForDriver()
1448 return CarOccupantZoneManager.OccupantZoneInfo.INVALID_ZONE_ID; in getOccupantZoneIdForDriver()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java61 import android.car.CarOccupantZoneManager.OccupantZoneInfo;
2878 public List<OccupantZoneInfo> getOccupantZones(