/packages/services/Car/car-lib/src/android/car/occupantconnection/ |
D | CarOccupantConnectionManager.java | 263 void onConnected(@NonNull OccupantZoneInfo receiverZone); in onConnected() argument 273 void onFailed(@NonNull OccupantZoneInfo receiverZone, int connectionError); in onFailed() argument 283 void onDisconnected(@NonNull OccupantZoneInfo receiverZone); in onDisconnected() argument 317 public void onConnected(OccupantZoneInfo receiverZone) { 320 mConnectionRequestMap.get(receiverZone.zoneId); 330 executor.execute(() -> callback.onConnected(receiverZone)); 341 public void onFailed(OccupantZoneInfo receiverZone, int connectionError) { 344 mConnectionRequestMap.get(receiverZone.zoneId); 355 () -> callback.onFailed(receiverZone, connectionError)); 360 mConnectionRequestMap.remove(receiverZone.zoneId); [all …]
|
D | ICarOccupantConnection.aidl | 32 in CarOccupantZoneManager.OccupantZoneInfo receiverZone, in requestConnection() argument 35 in CarOccupantZoneManager.OccupantZoneInfo receiverZone); in cancelConnection() argument 38 in CarOccupantZoneManager.OccupantZoneInfo receiverZone, in sendPayload() argument 41 void disconnect(String packageName, in CarOccupantZoneManager.OccupantZoneInfo receiverZone); in disconnect() argument 44 in CarOccupantZoneManager.OccupantZoneInfo receiverZone); in isConnected() argument
|
D | IConnectionRequestCallback.aidl | 24 void onConnected(in CarOccupantZoneManager.OccupantZoneInfo receiverZone); in onConnected() argument 26 void onFailed(in CarOccupantZoneManager.OccupantZoneInfo receiverZone, in onFailed() argument 29 void onDisconnected(in CarOccupantZoneManager.OccupantZoneInfo receiverZone); in onDisconnected() argument
|
/packages/services/Car/service/src/com/android/car/occupantconnection/ |
D | CarOccupantConnectionService.java | 501 public void requestConnection(String packageName, OccupantZoneInfo receiverZone, in requestConnection() argument 508 ClientId receiverClient = getClientIdInOccupantZone(receiverZone, packageName); in requestConnection() 517 } else if (!mRemoteDeviceService.isConnectionReady(receiverZone)) { in requestConnection() 518 Slogf.e(TAG, "%s is not ready for connection", receiverZone); in requestConnection() 525 Slogf.e(TAG, "Peer app %s is not installed in %s", packageName, receiverZone); in requestConnection() 532 callback.onFailed(receiverZone, connectionError); in requestConnection() 566 public void cancelConnection(String packageName, OccupantZoneInfo receiverZone) { in cancelConnection() argument 571 ClientId receiverClient = getClientIdInOccupantZone(receiverZone, packageName); in cancelConnection() 586 public void sendPayload(String packageName, OccupantZoneInfo receiverZone, Payload payload) { in sendPayload() argument 591 ClientId receiverClient = getClientIdInOccupantZone(receiverZone, packageName); in sendPayload() [all …]
|
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/occupantconnection/ |
D | SenderFragment.java | 70 public void onConnected(OccupantZoneInfo receiverZone) { 76 public void onFailed(OccupantZoneInfo receiverZone, int connectionError) { 82 public void onDisconnected(OccupantZoneInfo receiverZone) {
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarOccupantConnectionManagerUnitTest.java | 183 OccupantZoneInfo receiverZone = (OccupantZoneInfo) args[1]; in testRequestConnectionCallbackInvoked() local 184 assertThat(receiverZone).isEqualTo(mReceiverZone); in testRequestConnectionCallbackInvoked()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/ |
D | CarOccupantConnectionServiceTest.java | 1021 public void onConnected(OccupantZoneInfo receiverZone) { in onConnected() argument 1025 public void onFailed(OccupantZoneInfo receiverZone, int connectionError) { in onFailed() argument 1029 public void onDisconnected(OccupantZoneInfo receiverZone) { in onDisconnected() argument
|