Home
last modified time | relevance | path

Searched defs:connection (Results 1 – 25 of 192) sorted by relevance

12345678

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
DHttpUrlConnectionBuilderTests.java71 HttpURLConnection connection = builder.build(); in testSetConnectTimeout() local
91 HttpURLConnection connection = builder.build(); in testSetReadTimeout() local
100 HttpURLConnection connection = builder.build(); in testAddHeader() local
108 HttpURLConnection connection = builder.build(); in testSetUseCache_notSet() local
116 HttpURLConnection connection = builder.build(); in testSetUseCache_false() local
125 HttpURLConnection connection = builder.build(); in testSetUseCache_true() local
135 HttpURLConnection connection = builder.build(); in testSetMode_uploadOnly() local
145 HttpURLConnection connection = builder.build(); in testSetMode_downloadOnly() local
155 HttpURLConnection connection = builder.build(); in testSetMode_bidirectional() local
165 HttpURLConnection connection = builder.build(); in testSetAuthToken() local
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConference.java66 private boolean disconnectCall(Connection connection) { in disconnectCall()
86 public void onSeparate(Connection connection) { in onSeparate()
113 public void onMerge(Connection connection) { in onMerge()
129 final TelephonyConnection connection = getFirstConnection(); in onHold() local
140 final TelephonyConnection connection = getFirstConnection(); in onUnhold() local
148 final TelephonyConnection connection = getFirstConnection(); in onPlayDtmfTone() local
156 final TelephonyConnection connection = getFirstConnection(); in onStopDtmfTone() local
163 public void onConnectionAdded(Connection connection) { in onConnectionAdded()
214 private Call getMultipartyCallForConnection(Connection connection, String tag) { in getMultipartyCallForConnection()
227 Connection connection) { in getOriginalConnection()
DImsConferenceController.java166 void add(TelephonyConnection connection) { in add()
197 void remove(Connection connection) { in remove()
234 Connection connection = (Connection) c; in getPhoneAccountHandle() local
381 private boolean isMemberOfPeerConference(Connection connection) { in isMemberOfPeerConference()
401 TelephonyConnection connection = it.next(); in recalculateConference() local
425 private void startConference(TelephonyConnection connection) { in startConference()
DCdmaConference.java72 public void onSeparate(Connection connection) { in onSeparate()
120 final CdmaConnection connection = getFirstConnection(); in onPlayDtmfTone() local
130 final CdmaConnection connection = getFirstConnection(); in onStopDtmfTone() local
156 private Call getMultipartyCallForConnection(Connection connection) { in getMultipartyCallForConnection()
204 private com.android.internal.telephony.Connection getOriginalConnection(Connection connection) { in getOriginalConnection()
DTelephonyConnectionServiceProxy.java34 Connection connection); in addExistingConnection()
36 Connection connection, Conference conference); in addExistingConnection()
37 void addConnectionToConferenceController(TelephonyConnection connection); in addConnectionToConferenceController()
/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_support/fastpair_provider/src/android/nearby/fastpair/provider/bluetooth/
DBluetoothGattServlet.java30 public byte[] read(BluetoothGattServerConnection connection, in read()
36 public void write(BluetoothGattServerConnection connection, in write()
43 public byte[] readDescriptor(BluetoothGattServerConnection connection, in readDescriptor()
50 public void writeDescriptor(BluetoothGattServerConnection connection, in writeDescriptor()
58 public void enableNotification(BluetoothGattServerConnection connection, Notifier notifier) in enableNotification()
64 public void disableNotification(BluetoothGattServerConnection connection, Notifier notifier) in disableNotification()
/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/
Dhfp.proto61 Connection connection = 1; field
67 Connection connection = 1; field
73 Connection connection = 1; field
115 Connection connection = 1; field
126 Connection connection = 1; field
132 Connection connection = 1; field
138 Connection connection = 1; field
144 Connection connection = 1; field
150 Connection connection = 1; field
156 Connection connection = 1; field
[all …]
Dasha.proto50 Connection connection = 1; field
63 Connection connection = 1; field
72 Connection connection = 1; field
85 Connection connection = 1; field
94 Connection connection = 1; field
101 Connection connection = 1; field
Dl2cap.proto26 Connection connection = 1; field
36 Connection connection = 1; field
44 Connection connection = 1; field
52 Connection connection = 1; field
59 Connection connection = 1; field
Drfcomm.proto28 RfcommConnection connection = 1; field
56 RfcommConnection connection = 1; field
60 RfcommConnection connection = 1; field
67 RfcommConnection connection = 1; field
75 RfcommConnection connection = 1; field
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallExtrasTest.java88 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testCsPutExtras() local
110 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testCsPutBooleanExtra() local
135 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testCsPutIntExtra() local
159 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testCsPutStringExtra() local
185 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testCsRemoveExtra() local
217 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testCsUpdateExisting() local
256 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testCsSetExtras() local
302 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testICSPutExtras() local
324 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testExtrasBidirectional() local
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorRttCall.java70 public void onNewOutgoingConnection(@NonNull SimulatorConnection connection) { in onNewOutgoingConnection()
82 public void onNewIncomingConnection(@NonNull SimulatorConnection connection) { in onNewIncomingConnection()
93 private void handleNewConnection(@NonNull SimulatorConnection connection) { in handleNewConnection()
99 private boolean isMyConnection(@NonNull Connection connection) { in isMyConnection()
104 public void onEvent(@NonNull SimulatorConnection connection, @NonNull Event event) { in onEvent()
DSimulatorConnectionsBankImpl.java48 public void add(Connection connection) { in add()
53 public void remove(Connection connection) { in remove()
91 SimulatorConnection connection = SimulatorSimCallManager.findConnectionByTag(connectionTag); in updateConferenceableConnections() local
102 SimulatorConnection connection = SimulatorSimCallManager.findConnectionByTag(connectionTag); in getSimulatorConferenceables() local
113 public boolean isSimulatorConnection(@NonNull Connection connection) { in isSimulatorConnection()
DSimulatorMissedCallCreator.java50 public void onNewOutgoingConnection(@NonNull SimulatorConnection connection) {} in onNewOutgoingConnection()
53 public void onNewIncomingConnection(@NonNull SimulatorConnection connection) { in onNewIncomingConnection()
85 private static boolean isMissedCallConnection(@NonNull Connection connection) { in isMissedCallConnection()
89 private static int getCallCount(@NonNull Connection connection) { in getCallCount()
DSimulatorVideoCall.java72 public void onNewOutgoingConnection(@NonNull SimulatorConnection connection) { in onNewOutgoingConnection()
83 public void onNewIncomingConnection(@NonNull SimulatorConnection connection) { in onNewIncomingConnection()
107 private void handleNewConnection(@NonNull SimulatorConnection connection) { in handleNewConnection()
115 public void onEvent(@NonNull SimulatorConnection connection, @NonNull Event event) { in onEvent()
DSimulatorConferenceCreator.java110 public void onNewIncomingConnection(@NonNull SimulatorConnection connection) { in onNewIncomingConnection()
130 public void onNewOutgoingConnection(@NonNull SimulatorConnection connection) {} in onNewOutgoingConnection()
161 private static int getCallCount(@NonNull Connection connection) { in getCallCount()
165 private static boolean shouldReconnect(@NonNull Connection connection) { in shouldReconnect()
170 public void onEvent(@NonNull SimulatorConnection connection, @NonNull Event event) { in onEvent()
DSimulatorConference.java92 public void onConnectionAdded(Connection connection) { in onConnectionAdded()
113 public void onMerge(Connection connection) { in onMerge()
131 public void onSeparate(Connection connection) { in onSeparate()
154 public void onEvent(@NonNull SimulatorConnection connection, @NonNull Event event) { in onEvent()
160 private void onGsmEvent(@NonNull SimulatorConnection connection, @NonNull Event event) { in onGsmEvent()
DSimulatorConnectionService.java86 SimulatorConnection connection = new SimulatorConnection(this, request); in onCreateOutgoingConnection() local
129 SimulatorConnection connection = new SimulatorConnection(this, request); in onCreateIncomingConnection() local
163 void onNewOutgoingConnection(@NonNull SimulatorConnection connection); in onNewOutgoingConnection()
165 void onNewIncomingConnection(@NonNull SimulatorConnection connection); in onNewIncomingConnection()
/packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/
DL2cap.kt70 val connection = request.connection in listenL2CAPChannel() constant
89 val connection = request.connection in acceptL2CAPChannel() constant
113 val connection = request.connection in createLECreditBasedChannel() constant
145 val connection = request.connection in sendData() constant
168 val connection = request.connection in receiveData() constant
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/http/
DHttpClient.java69 HttpsURLConnection connection = createConnection(request); in request() local
114 HttpsURLConnection connection; in createConnection() local
143 private static HttpResponse getHttpResponse(@NonNull HttpsURLConnection connection) in getHttpResponse()
170 private static String readResponse(@NonNull URLConnection connection) throws IOException { in readResponse()
184 private static int getContentType(@NonNull URLConnection connection) { in getContentType()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DServerInterfaceTest.java268 HttpURLConnection connection = Mockito.mock(HttpURLConnection.class); in testReadErrorInvalidContentType() local
278 HttpURLConnection connection = Mockito.mock(HttpURLConnection.class); in testReadTextErrorFromErrorStreamNoErrorData() local
290 HttpURLConnection connection = Mockito.mock(HttpURLConnection.class); in testReadTextErrorFromErrorStream() local
312 HttpURLConnection connection = Mockito.mock(HttpURLConnection.class); in testReadTextError() local
327 HttpURLConnection connection = Mockito.mock(HttpURLConnection.class); in testReadJsonError() local
340 HttpURLConnection connection = Mockito.mock(HttpURLConnection.class); in testReadErrorStreamThrowsException() local
351 HttpURLConnection connection = Mockito.mock(HttpURLConnection.class); in testReadErrorEmptyStream() local
368 HttpURLConnection connection = Mockito.mock(HttpURLConnection.class); in testReadErrorStreamTooLarge() local
/packages/apps/Dialer/java/com/android/dialer/simulator/
DSimulatorConnectionsBank.java32 void add(Connection connection); in add()
35 void remove(Connection connection); in remove()
51 boolean isSimulatorConnection(@NonNull Connection connection); in isSimulatorConnection()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionServiceTest.java223 Connection connection = mHfpClientConnectionService.onCreateIncomingConnection( in onCreateIncomingConnection() local
250 Connection connection = mHfpClientConnectionService.onCreateOutgoingConnection( in onCreateOutgoingConnection() local
277 Connection connection = mHfpClientConnectionService.onCreateUnknownConnection( in onCreateUnknownConnection() local
304 Connection connection = mHfpClientConnectionService.onCreateIncomingConnection( in onCreateIncomingConnection_phoneAccountIsNull_returnsNull() local
331 Connection connection = mHfpClientConnectionService.onCreateOutgoingConnection( in onCreateOutgoingConnection_phoneAccountIsNull_returnsNull() local
358 Connection connection = mHfpClientConnectionService.onCreateUnknownConnection( in onCreateUnknownConnection_phoneAccountIsNull_returnsNull() local
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/fastpair/
DFastPairDualConnectionTest.java217 FastPairDualConnection connection = new FastPairDualConnection( in testSetGetProviderDeviceName() local
229 FastPairDualConnection connection = new FastPairDualConnection( in testGetExistingAccountKey() local
240 FastPairDualConnection connection = new FastPairDualConnection( in testPair() local
257 FastPairDualConnection connection = new FastPairDualConnection( in testGetPublicAddress() local
269 FastPairDualConnection connection = new FastPairDualConnection( in testShouldWriteAccountKeyForExistingCase() local
281 FastPairDualConnection connection = new FastPairDualConnection( in testReadFirmwareVersion() local
314 FastPairDualConnection connection = new FastPairDualConnection( in testHistoryItem() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DHttpClientTest.java129 HttpURLConnection connection = sFakeURLStreamHandler.getConnections().get(0); in request_contentTypeXml_returnsXmlBody() local
164 HttpURLConnection connection = sFakeURLStreamHandler.getConnections().get(0); in request_httpGetResponseBadRequest_throwsException() local
180 FakeHttpsURLConnection connection = new FakeHttpsURLConnection(url, responseContent); in request_contentTypeXml_returnsXmlBody_useSpecificNetwork() local
223 FakeHttpsURLConnection connection = sFakeURLStreamHandler.getConnections().get(0); in request_postJson_doNotEscapeForwardSlash() local
248 FakeHttpsURLConnection connection = sFakeURLStreamHandler.getConnections().get(0); in request_postGzipJsonArray() local
273 FakeHttpsURLConnection connection = sFakeURLStreamHandler.getConnections().get(0); in request_postJsonArray() local

12345678