Home
last modified time | relevance | path

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

1234

/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()
97 public void onMerge(Connection connection) { in onMerge()
113 final TelephonyConnection connection = getFirstConnection(); in onHold() local
124 final TelephonyConnection connection = getFirstConnection(); in onUnhold() local
132 final TelephonyConnection connection = getFirstConnection(); in onPlayDtmfTone() local
140 final TelephonyConnection connection = getFirstConnection(); in onStopDtmfTone() local
147 public void onConnectionAdded(Connection connection) { in onConnectionAdded()
198 private Call getMultipartyCallForConnection(Connection connection, String tag) { in getMultipartyCallForConnection()
211 Connection connection) { in getOriginalConnection()
DTelephonyConnectionServiceProxy.java33 void removeConnection(Connection connection); in removeConnection()
35 Connection connection); in addExistingConnection()
37 Connection connection, Conference conference); in addExistingConnection()
38 void addConnectionToConferenceController(TelephonyConnection connection); in addConnectionToConferenceController()
DImsConferenceController.java130 void add(TelephonyConnection connection) { in add()
160 void remove(Connection connection) { in remove()
310 private boolean isMemberOfPeerConference(Connection connection) { in isMemberOfPeerConference()
330 TelephonyConnection connection = it.next(); in recalculateConference() local
354 private void startConference(TelephonyConnection connection) { in startConference()
DCdmaConference.java72 public void onSeparate(Connection connection) { in onSeparate()
104 final CdmaConnection connection = getFirstConnection(); in onPlayDtmfTone() local
114 final CdmaConnection connection = getFirstConnection(); in onStopDtmfTone() local
140 private Call getMultipartyCallForConnection(Connection connection) { in getMultipartyCallForConnection()
188 private com.android.internal.telephony.Connection getOriginalConnection(Connection connection) { in getOriginalConnection()
DCdmaConferenceController.java92 void add(final CdmaConnection connection) { in add()
140 private void addInternal(CdmaConnection connection) { in addInternal()
146 void remove(CdmaConnection connection) { in remove()
DPstnIncomingCallNotifier.java127 Connection connection = (Connection) asyncResult.result; in handleNewRingingConnection() local
156 Connection connection = call.getLatestConnection(); in handleCdmaCallWaiting() local
188 Connection connection = (Connection) asyncResult.result; in handleNewUnknownConnection() local
206 private void addNewUnknownCall(Connection connection) { in addNewUnknownCall()
249 private void sendIncomingCallIntent(Connection connection) { in sendIncomingCallIntent()
DTelephonyConferenceController.java81 void add(TelephonyConnection connection) { in add()
92 void remove(Connection connection) { in remove()
113 private boolean participatesInFullConference(Connection connection) { in participatesInFullConference()
/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
132 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testCsPutIntExtra() local
154 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testCsPutStringExtra() local
178 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testCsRemoveExtra() local
208 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testCsUpdateExisting() local
245 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testCsSetExtras() local
291 Connection connection = mConnectionServiceFixtureA.mLatestConnection; in testICSPutExtras() local
313 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()
DSimulatorVoiceCall.java157 public void onNewOutgoingConnection(@NonNull SimulatorConnection connection) { in onNewOutgoingConnection()
169 public void onNewIncomingConnection(@NonNull SimulatorConnection connection) { in onNewIncomingConnection()
180 private void handleNewConnection(@NonNull SimulatorConnection connection) { in handleNewConnection()
188 private boolean isMyConnection(@NonNull Connection connection) { in isMyConnection()
193 public void onEvent(@NonNull SimulatorConnection connection, @NonNull Event event) { in onEvent()
DNonSimulatorConnectionListener.java31 public void onEvent(@NonNull SimulatorConnection connection, @NonNull Event event) { in onEvent()
/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/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsClientManagerTest.java421 ServiceConnection connection = mConnectionCaptor.getValue(); in testUnregisterConnectionListener() local
450 ServiceConnection connection = mConnectionCaptor.getValue(); in bindSystemClient() local
467 ServiceConnection connection = mConnectionCaptor.getValue(); in bindUserClient() local
486 ServiceConnection connection = mConnectionCaptor.getValue(); in testOnSystemServiceDisconnected() local
503 ServiceConnection connection = mConnectionCaptor.getValue(); in testOnSystemServiceDisconnected_ServiceNotConnected() local
519 ServiceConnection connection = mConnectionCaptor.getValue(); in testOnUserServiceDisconnected() local
536 ServiceConnection connection = mConnectionCaptor.getValue(); in testOnUserServiceDisconnected_ServiceNotConnected() local
550 ServiceConnection connection = mConnectionCaptor.getValue(); in testOnUserSwitched_UserChange() local
567 ServiceConnection connection = mConnectionCaptor.getValue(); in testOnUserSwitched_UserChange_ToSystemUser() local
584 ServiceConnection connection = mConnectionCaptor.getValue(); in testOnUserSwitched_UserChange_ServiceNotConnected() local
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlock.java91 HfpClientConnection connection = mConnections.get(call.getUUID()); in onCreateIncomingConnection() local
102 HfpClientConnection connection = buildConnection(null, address); in onCreateOutgoingConnection() local
111 HfpClientConnection connection = mConnections.get(call.getUUID()); in onCreateUnknownConnection() local
151 HfpClientConnection connection = findConnectionKey(call); in handleCall() local
251 HfpClientConnection connection = null; in buildConnection() local
259 mConnections.put(connection.getUUID(), connection); in buildConnection() local
DHfpClientConference.java50 public void onMerge(Connection connection) { in onMerge()
56 public void onSeparate(Connection connection) { in onSeparate()
83 public void onConnectionAdded(Connection connection) { in onConnectionAdded()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DNetworkUriImageRequest.java57 HttpURLConnection connection = null; in isGif() local
88 HttpURLConnection connection = null; in loadBitmapInternal() local
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DAoapServiceManager.java92 final AoapServiceConnection connection = getConnectionOrNull(serviceName); in isDeviceSupported() local
112 final AoapServiceConnection connection = getConnectionOrNull(serviceName); in canSwitchDeviceToAoap() local
128 AoapServiceConnection connection; in getConnectionOrNull() local
150 private void postponeServiceDisconnection(AoapServiceConnection connection) { in postponeServiceDisconnection()
162 private void removeConnection(AoapServiceConnection connection) { in removeConnection()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java264 Connection connection = i.next(); in removeConnection() local
279 Connection connection = i.next(); in removeConnectionsByAppId() local
379 Connection connection = i.next(); in getConnectedDevices() local
391 Connection connection = ii.next(); in getByConnId() local
410 Connection connection = i.next(); in connIdByAddress() local
424 Connection connection = i.next(); in addressByConnId() local
436 Connection connection = i.next(); in getConnectionByApp() local

1234