Lines Matching refs:occupantZone
170 void onOccupantZoneStateChanged(@NonNull OccupantZoneInfo occupantZone, in onOccupantZoneStateChanged() argument
182 void onAppStateChanged(@NonNull OccupantZoneInfo occupantZone, in onAppStateChanged() argument
197 public void onOccupantZoneStateChanged(OccupantZoneInfo occupantZone,
215 occupantZone, occupantZoneStates));
222 public void onAppStateChanged(OccupantZoneInfo occupantZone, int appStates) {
239 callback.onAppStateChanged(occupantZone, appStates));
325 public PackageInfo getEndpointPackageInfo(@NonNull OccupantZoneInfo occupantZone) { in getEndpointPackageInfo() argument
326 Objects.requireNonNull(occupantZone, "occupantZone cannot be null"); in getEndpointPackageInfo()
328 return mService.getEndpointPackageInfo(occupantZone.zoneId, mPackageName); in getEndpointPackageInfo()
330 Slogf.e(TAG, "Failed to get peer endpoint PackageInfo in " + occupantZone); in getEndpointPackageInfo()
347 public void setOccupantZonePower(@NonNull OccupantZoneInfo occupantZone, boolean powerOn) { in setOccupantZonePower() argument
348 Objects.requireNonNull(occupantZone, "occupantZone cannot be null"); in setOccupantZonePower()
350 mService.setOccupantZonePower(occupantZone, powerOn); in setOccupantZonePower()
352 Slogf.e(TAG, "Failed to control the power of " + occupantZone); in setOccupantZonePower()
362 public boolean isOccupantZonePowerOn(@NonNull OccupantZoneInfo occupantZone) { in isOccupantZonePowerOn() argument
363 Objects.requireNonNull(occupantZone, "occupantZone cannot be null"); in isOccupantZonePowerOn()
365 return mService.isOccupantZonePowerOn(occupantZone); in isOccupantZonePowerOn()
367 Slogf.e(TAG, "Failed to get power state of " + occupantZone); in isOccupantZonePowerOn()