Home
last modified time | relevance | path

Searched refs:mOccupantZone (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DCarRemoteDeviceServiceTest.java144 private final OccupantZoneInfo mOccupantZone = field in CarRemoteDeviceServiceTest
213 mockPerUserInfo(mMyUserId, mOccupantZone); in testPeerClientInstallUninstall()
225 List<OccupantZoneInfo> allZones = Arrays.asList(mOccupantZone, peerZone); in testPeerClientInstallUninstall()
266 mockPerUserInfo(mMyUserId, mOccupantZone); in testNonPeerClientUninstall()
278 List<OccupantZoneInfo> allZones = Arrays.asList(mOccupantZone, peerZone); in testNonPeerClientUninstall()
330 PerUserInfo perUserInfo = mockPerUserInfo(USER_ID, mOccupantZone); in testGetEndpointPackageInfo()
333 assertThat(mService.getEndpointPackageInfo(mOccupantZone.zoneId, PACKAGE_NAME)) in testGetEndpointPackageInfo()
344 mService.setOccupantZonePower(mOccupantZone, true); in testChangePowerStateOn()
355 mService.setOccupantZonePower(mOccupantZone, false); in testChangePowerStateOff()
364 assertThat(mService.isOccupantZonePowerOn(mOccupantZone)).isTrue(); in testGetPowerStateOn()
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/users/
DCarDisplayTrackerImpl.java56 private CarOccupantZoneManager.OccupantZoneInfo mOccupantZone; field in CarDisplayTrackerImpl
66 mOccupantZone = mCarOccupantZoneManager.getOccupantZoneForUser(
135 if (mOccupantZone != null) { in getDefaultDisplayId()
136 Display display = mCarOccupantZoneManager.getDisplayForOccupant(mOccupantZone, in getDefaultDisplayId()
150 if (mOccupantZone != null) { in getAllDisplays()
151 return mCarOccupantZoneManager.getAllDisplaysForOccupant(mOccupantZone) in getAllDisplays()
249 return mOccupantZone != null && isCurrentSystemUIDisplay(mCarOccupantZoneManager, in shouldExecuteDisplayCallback()
250 mOccupantZone, displayId); in shouldExecuteDisplayCallback()
261 mOccupantZone = mCarOccupantZoneManager.getOccupantZoneForUser(
/packages/services/Car/service/src/com/android/car/occupantconnection/
DCarRemoteDeviceService.java186 private final OccupantZoneInfo mOccupantZone; field in CarRemoteDeviceService.PackageChangeReceiver
192 this.mOccupantZone = occupantZone; in PackageChangeReceiver()
208 ClientId clientId = new ClientId(mOccupantZone, mUserId, packageName); in onReceive()