Home
last modified time | relevance | path

Searched refs:onConnect (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Media/apex/framework/java/android/media/
DSession2Link.java149 public void onConnect(final Controller2Link caller, int pid, int uid, int seq, in onConnect() method in Session2Link
151 mSession.onConnect(caller, pid, uid, seq, connectionRequest); in onConnect()
180 Session2Link.this.onConnect(caller, pid, uid, seq, connectionRequest); in connect()
DMediaSession2.java350 void onConnect(final Controller2Link controller, int callingPid, int callingUid, int seq, in onConnect() method in MediaSession2
382 mCallback.onConnect(MediaSession2.this, controllerInfo); in onConnect()
868 public Session2CommandGroup onConnect(@NonNull MediaSession2 session, in onConnect() method in MediaSession2.SessionCallback
DMediaSession2Service.java422 session.onConnect(caller, pid, uid, seq, connectionRequest); in connect()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DObexServerSockets.java226 private synchronized boolean onConnect(BluetoothDevice device, BluetoothSocket conSocket) { in onConnect() method in ObexServerSockets
228 return mConHandler.onConnect(device, conSocket); in onConnect()
334 boolean isValid = ObexServerSockets.this.onConnect(device, connSocket); in run()
DIObexConnectionHandler.java29 boolean onConnect(BluetoothDevice device, BluetoothSocket socket); in onConnect() method
DObexRejectServer.java66 public int onConnect(HeaderSet request, HeaderSet reply) { in onConnect() method in ObexRejectServer
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServerTest.java133 assertThat(mServer.onConnect(request, reply)) in testOnConnect_whenIoExceptionIsThrownFromGettingTargetHeader()
143 assertThat(mServer.onConnect(request, reply)) in testOnConnect_whenUuidIsNull()
153 assertThat(mServer.onConnect(request, reply)) in testOnConnect_whenUuidLengthIsWrong()
163 assertThat(mServer.onConnect(request, reply)) in testOnConnect_whenUuidIsWrong()
175 assertThat(mServer.onConnect(request, reply)) in testOnConnect_whenIoExceptionIsThrownFromGettingWhoHeader()
190 assertThat(mServer.onConnect(request, reply)) in testOnConnect_whenIoExceptionIsThrownFromGettingApplicationParameterHeader()
203 assertThat(mServer.onConnect(request, reply)) in testOnConnect_whenApplicationParameterIsWrong()
213 assertThat(mServer.onConnect(request, reply)).isEqualTo(ResponseCodes.OBEX_HTTP_OK); in testOnConnect_success()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DMnsObexServerTest.java66 assertThat(mServer.onConnect(request, reply)) in onConnect_whenUuidIsWrong()
76 assertThat(mServer.onConnect(request, reply)).isEqualTo(ResponseCodes.OBEX_HTTP_OK); in onConnect_withCorrectUuid()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DCarServiceMediator.java87 onConnect(car);
101 void onConnect(Car car) { in onConnect() method in CarServiceMediator
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/obex/
DFakeObexServer.java61 public int onConnect(final HeaderSet request, HeaderSet reply) { in onConnect() method in FakeObexServer.Server
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java502 public synchronized boolean onConnect(BluetoothDevice device, BluetoothSocket socket) { in onConnect() method in BluetoothMapMasInstance
508 boolean isValid = mMapService.onConnect(device, BluetoothMapMasInstance.this); in onConnect()
DBluetoothMapService.java922 public boolean onConnect(BluetoothDevice remoteDevice, BluetoothMapMasInstance masInst) { in onConnect() method in BluetoothMapService
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMnsService.java117 public synchronized boolean onConnect(BluetoothDevice device, BluetoothSocket socket) { in onConnect() method in MnsService.SocketAcceptor
DMnsObexServer.java66 public int onConnect(final HeaderSet request, HeaderSet reply) { in onConnect() method in MnsObexServer
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSessionTest.java321 assertThat(mServerSession.onConnect(request, reply)) in onConnect_withNonNullTargetInHeader_returnsHttpNotAcceptable()
338 assertThat(mServerSession.onConnect(request, reply)).isEqualTo(ResponseCodes.OBEX_HTTP_OK); in onConnect_returnsObexHttpOk()
DTestActivity.java527 public int onConnect(HeaderSet request, HeaderSet reply) { in onConnect() method in TestTcpServer
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcp/
DAvrcpBipObexServerTest.java184 int responseCode = mAvrcpBipObexServer.onConnect(mRequest, mReply); in testConnectWithValidUuidHeader()
193 int responseCode = mAvrcpBipObexServer.onConnect(mRequest, mReply); in testConnectWithInvalidUuidHeader()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpCoverArtService.java243 public synchronized boolean onConnect(BluetoothDevice device, BluetoothSocket socket) { in onConnect() method in AvrcpCoverArtService.SocketAcceptor
DAvrcpBipObexServer.java89 public int onConnect(final HeaderSet request, HeaderSet reply) { in onConnect() method in AvrcpBipObexServer
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/
DCarServiceMediatorTest.java104 mCarServiceMediator.onConnect(mMockCar); in setUp()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java633 public int onConnect(HeaderSet request, HeaderSet reply) { in onConnect() method in BluetoothOppObexServerSession
DBluetoothOppService.java1367 public boolean onConnect(BluetoothDevice device, BluetoothSocket socket) { in onConnect() method in BluetoothOppService
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java912 public boolean onConnect(BluetoothDevice remoteDevice, BluetoothSocket socket) { in onConnect() method in BluetoothPbapService
DBluetoothPbapObexServer.java251 public int onConnect(final HeaderSet request, HeaderSet reply) { in onConnect() method in BluetoothPbapObexServer
/packages/modules/Media/apex/framework/api/
Dcurrent.txt191 …method @Nullable public android.media.Session2CommandGroup onConnect(@NonNull android.media.MediaS…

12