Home
last modified time | relevance | path

Searched refs:connectionRequest (Results 1 – 12 of 12) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/
DConnectionProvider.kt30 fun getConnection(connectionRequest: ConnectionRequest<out Connection>): Connection in getConnection()
33 fun <T : Connection> getTypedConnection(connectionRequest: ConnectionRequest<T>): T { in getConnection()
34 return requireNotNull(getConnection(connectionRequest) as? T) { in getConnection()
35 "Returned connection could not be cast to $connectionRequest" in getConnection()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionServiceTest.java242 ConnectionRequest connectionRequest = in onCreateIncomingConnection() local
249 getPhoneAccountHandle(TEST_DEVICE), connectionRequest); in onCreateIncomingConnection()
276 ConnectionRequest connectionRequest = in onCreateOutgoingConnection() local
284 getPhoneAccountHandle(TEST_DEVICE), connectionRequest); in onCreateOutgoingConnection()
309 ConnectionRequest connectionRequest = in onCreateUnknownConnection() local
319 getPhoneAccountHandle(TEST_DEVICE), connectionRequest); in onCreateUnknownConnection()
345 ConnectionRequest connectionRequest = in onCreateIncomingConnection_phoneAccountIsNull_returnsNull() local
352 getPhoneAccountHandle(TEST_DEVICE), connectionRequest); in onCreateIncomingConnection_phoneAccountIsNull_returnsNull()
378 ConnectionRequest connectionRequest = in onCreateOutgoingConnection_phoneAccountIsNull_returnsNull() local
386 getPhoneAccountHandle(TEST_DEVICE), connectionRequest); in onCreateOutgoingConnection_phoneAccountIsNull_returnsNull()
[all …]
/packages/modules/Media/apex/framework/java/android/media/
DSession2Link.java112 public void connect(final Controller2Link caller, int seq, Bundle connectionRequest) { in connect() argument
114 mISession.connect(caller, seq, connectionRequest); in connect()
150 Bundle connectionRequest) { in onConnect() argument
151 mSession.onConnect(caller, pid, uid, seq, connectionRequest); in onConnect()
172 public void connect(final Controller2Link caller, int seq, Bundle connectionRequest) { in connect() argument
173 if (caller == null || connectionRequest == null) { in connect()
180 Session2Link.this.onConnect(caller, pid, uid, seq, connectionRequest); in connect()
DMediaController2.java359 Bundle connectionRequest = new Bundle(); in createConnectionRequest() local
360 connectionRequest.putString(KEY_PACKAGE_NAME, mContext.getPackageName()); in createConnectionRequest()
361 connectionRequest.putInt(KEY_PID, Process.myPid()); in createConnectionRequest()
362 connectionRequest.putBundle(KEY_CONNECTION_HINTS, connectionHints); in createConnectionRequest()
363 return connectionRequest; in createConnectionRequest()
368 Bundle connectionRequest = createConnectionRequest(connectionHints); in requestConnectToSession() local
370 sessionBinder.connect(mControllerStub, getNextSeqNumber(), connectionRequest); in requestConnectToSession()
607 Bundle connectionRequest = createConnectionRequest(mConnectionHints); in onServiceConnected() local
608 iService.connect(mControllerStub, getNextSeqNumber(), connectionRequest); in onServiceConnected()
DMediaSession2Service.java350 public void connect(Controller2Link caller, int seq, Bundle connectionRequest) { in connect() argument
357 if (caller == null || connectionRequest == null) { in connect()
360 + ", connectionRequest=" + connectionRequest); in connect()
379 String callingPkg = connectionRequest.getString(KEY_PACKAGE_NAME); in connect()
384 pid == 0 ? connectionRequest.getInt(KEY_PID) : pid, in connect()
387 Bundle connectionHints = connectionRequest.getBundle(KEY_CONNECTION_HINTS); in connect()
422 session.onConnect(caller, pid, uid, seq, connectionRequest); in connect()
DMediaSession2.java351 Bundle connectionRequest) { in onConnect() argument
355 callingPid = connectionRequest.getInt(KEY_PID); in onConnect()
357 String callingPkg = connectionRequest.getString(KEY_PACKAGE_NAME); in onConnect()
361 Bundle connectionHints = connectionRequest.getBundle(KEY_CONNECTION_HINTS); in onConnect()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientConnectionHandler.java322 HeaderSet connectionRequest = new HeaderSet(); in connectObexSession() local
323 connectionRequest.setHeader(HeaderSet.TARGET, PBAP_TARGET); in connectObexSession()
336 oap.addToHeaderSet(connectionRequest); in connectObexSession()
338 HeaderSet connectionResponse = mObexSession.connect(connectionRequest); in connectObexSession()
/packages/modules/Media/apex/aidl/private/android/media/
DIMediaSession2Service.aidl30 void connect(in Controller2Link caller, int seq, in Bundle connectionRequest) = 0; in connect() argument
DIMediaSession2.aidl33 void connect(in Controller2Link caller, int seq, in Bundle connectionRequest) = 0; in connect() argument
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/policyengine/data/impl/
DUserDataConnectionProvider.kt43 override fun getConnection(connectionRequest: ConnectionRequest<out Connection>): Connection { in getConnection()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java1364 ConnectionRequest connectionRequest = new ConnectionRequest.Builder() in testCreateOutgoingConnectionForNormalRoutedEmergencyCall() local
1421 PHONE_ACCOUNT_HANDLE_1, connectionRequest); in testCreateOutgoingConnectionForNormalRoutedEmergencyCall()
1491 ConnectionRequest connectionRequest = new ConnectionRequest.Builder() in testCreateOutgoingCall_turnOnRadio_bluetoothOn() local
1496 PHONE_ACCOUNT_HANDLE_1, connectionRequest); in testCreateOutgoingCall_turnOnRadio_bluetoothOn()
1525 ConnectionRequest connectionRequest = new ConnectionRequest.Builder() in testCreateOutgoingCall_forWearWatch_whenPhoneIsNull() local
1530 PHONE_ACCOUNT_HANDLE_1, connectionRequest); in testCreateOutgoingCall_forWearWatch_whenPhoneIsNull()
1558 ConnectionRequest connectionRequest = new ConnectionRequest.Builder() in testCreateOutgoingCall_notTurnOnRadio_bluetoothOnWifiCallingEnabled() local
1563 PHONE_ACCOUNT_HANDLE_1, connectionRequest); in testCreateOutgoingCall_notTurnOnRadio_bluetoothOnWifiCallingEnabled()
2157 ConnectionRequest connectionRequest = new ConnectionRequest.Builder() in testIsEmergencyDeterminedByTelephonyManager() local
2162 PHONE_ACCOUNT_HANDLE_1, connectionRequest); in testIsEmergencyDeterminedByTelephonyManager()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceWrapper.java1631 ConnectionRequest connectionRequest = new ConnectionRequest.Builder() in createConference()
1674 connectionRequest, in createConference()
1756 ConnectionRequest connectionRequest = new ConnectionRequest.Builder() in createConnection()
1797 connectionRequest, in createConnection()