Home
last modified time | relevance | path

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

12345

/frameworks/base/services/robotests/src/com/android/server/backup/transport/
DTransportClientTest.java154 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_callsListenerWhenConnected() local
167 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_whenPendingConnection_callsAllListenersWhenConnected() local
182 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_whenAlreadyConnected_callsListener() local
219 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_whenFrameworkDoesNotBind_releasesConnection() local
227 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_afterOnServiceDisconnectedBeforeNewConnection_callsListener() local
241 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_afterOnServiceDisconnectedAfterNewConnection_callsListener() local
256 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_callsListenerIfBindingDies() local
269 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_whenPendingConnection_callsListenersIfBindingDies() local
294 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_afterOnServiceConnected_logsBoundAndConnectedTransitions() local
306 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_afterOnBindingDied_logsBoundAndUnboundTransitions() local
[all …]
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnection.java61 public void onStateChanged(RemoteConnection connection, int state) {} in onStateChanged()
71 RemoteConnection connection, in onDisconnected()
81 public void onRingbackRequested(RemoteConnection connection, boolean ringback) {} in onRingbackRequested()
91 RemoteConnection connection, in onConnectionCapabilitiesChanged()
102 RemoteConnection connection, in onConnectionPropertiesChanged()
114 public void onPostDialWait(RemoteConnection connection, String remainingPostDialSequence) {} in onPostDialWait()
123 public void onPostDialChar(RemoteConnection connection, char nextChar) {} in onPostDialChar()
132 public void onVoipAudioChanged(RemoteConnection connection, boolean isVoip) {} in onVoipAudioChanged()
141 public void onStatusHintsChanged(RemoteConnection connection, StatusHints statusHints) {} in onStatusHintsChanged()
152 public void onAddressChanged(RemoteConnection connection, Uri address, int presentation) {} in onAddressChanged()
[all …]
DConnectionService.java1512 Connection connection = null; in createConnection() local
1536 addConnection(request.getAccountHandle(), callId, connection); in createConnection() local
1761 Connection connection = findConnectionForAction(callId, "splitFromConference"); in splitFromConference() local
1798 Connection connection = findConnectionForAction(callId, "pullExternalCall"); in pullExternalCall() local
1815 Connection connection = findConnectionForAction(callId, "sendCallEvent"); in sendCallEvent() local
1828 Connection connection = findConnectionForAction(callId, "notifyHandoverComplete"); in notifyHandoverComplete() local
2036 Connection connection) { in addExistingConnection()
2060 Connection connection, Conference conference) { in addExistingConnection()
2141 public void onCreateConnectionComplete(Connection connection) { in onCreateConnectionComplete()
2361 public void onConnectionAdded(Connection connection) {} in onConnectionAdded()
[all …]
DRemoteConference.java73 public void onConnectionAdded(RemoteConference conference, RemoteConnection connection) {} in onConnectionAdded()
81 public void onConnectionRemoved(RemoteConference conference, RemoteConnection connection) {} in onConnectionRemoved()
206 void addConnection(final RemoteConnection connection) { in addConnection()
224 void removeConnection(final RemoteConnection connection) { in removeConnection()
414 public void separate(RemoteConnection connection) { in separate()
/frameworks/native/services/sensorservice/
DSensorRecord.cpp24 const sp<const SensorEventConnection>& connection) in SensorRecord()
30 const sp<const SensorEventConnection>& connection) in addConnection()
40 const wp<const SensorEventConnection>& connection) in removeConnection()
59 const sp<const SensorEventConnection>& connection) { in addPendingFlushConnection()
DSensorService.cpp368 sp<SensorDirectConnection> connection(i.promote()); in dump() local
390 sp<SensorDirectConnection> connection(i.promote()); in dump() local
477 sp<SensorEventConnection> connection(mActiveConnections[i].promote()); in dump() local
486 sp<SensorDirectConnection> connection(mDirectConnections[i].promote()); in dump() local
593 void SensorService::cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection, in cleanupAutoDisabledSensorLocked()
1087 sp<SensorDirectConnection> connection(i.promote()); in createSensorDirectConnection() local
1255 const wp<SensorEventConnection> connection(c); in cleanupConnection() local
1309 status_t SensorService::enable(const sp<SensorEventConnection>& connection, in enable()
1436 status_t SensorService::disable(const sp<SensorEventConnection>& connection, int handle) { in disable()
1456 const sp<SensorEventConnection>& connection, int handle) { in cleanupWithoutDisable()
[all …]
/frameworks/support/lifecycle/service/src/androidTest/java/androidx/lifecycle/
DServiceLifecycleTest.java102 ServiceConnection connection = bindToService(); in testBoundedService() local
114 ServiceConnection connection = bindToService(); in testStartBindUnbindStop() local
136 ServiceConnection connection = bindToService(); in testStartBindStopUnbind() local
156 ServiceConnection connection = bindToService(); in testBindStartUnbindStop() local
180 ServiceConnection connection = bindToService(); in testBindStartStopUnbind() local
204 ServiceConnection connection = new ServiceConnection() { in bindToService() local
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp95 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteTraceCallback() local
102 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteProfileCallback() local
109 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteProgressHandlerCallback() local
175 SQLiteConnection* connection = new SQLiteConnection(db, openFlags, path, label); in nativeOpen() local
190 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeClose() local
261 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeRegisterCustomFunction() local
285 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeRegisterLocalizedCollators() local
298 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativePrepareStatement() local
329 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeFinalizeStatement() local
377 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeBindNull() local
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteProviderProxy.java186 Connection connection = new Connection(provider); in onServiceConnected() local
212 private void onConnectionReady(Connection connection) { in onConnectionReady()
222 private void onConnectionDied(Connection connection) { in onConnectionDied()
564 public RemoteServiceInputProvider(Connection connection) { in RemoteServiceInputProvider()
576 Connection connection = mConnectionRef.get(); in openInputBridge() local
584 Connection connection = mConnectionRef.get(); in closeInputBridge() local
592 Connection connection = mConnectionRef.get(); in clearInputBridge() local
600 Connection connection = mConnectionRef.get(); in sendTimestamp() local
608 Connection connection = mConnectionRef.get(); in sendKeyDown() local
616 Connection connection = mConnectionRef.get(); in sendKeyUp() local
[all …]
DTvInputHardwareManager.java157 Connection connection = new Connection(info); in onDeviceAvailable() local
159 mConnections.put(info.getDeviceId(), connection); in onDeviceAvailable() local
179 Connection connection = mConnections.get(deviceId); in onDeviceUnavailable() local
207 Connection connection = mConnections.get(deviceId); in onStreamConfigurationChanged() local
235 Connection connection = mConnections.get(deviceId); in onFirstFrameCaptured() local
262 Connection connection, int callingUid, int resolvedUserId) { in checkUidChangedLocked()
303 Connection connection = mConnections.get(deviceId); in addHardwareInput() local
374 Connection connection = mConnections.get(deviceId); in acquireHardware() local
400 Connection connection = mConnections.get(deviceId); in releaseHardware() local
425 Connection connection = mConnections.get(i); in findDeviceIdForInputIdLocked() local
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvUinputBridge.cpp193 NativeConnection* connection = NativeConnection::open(name.c_str(), uniqueId.c_str(), in nativeOpen() local
199 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeClose() local
204 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendTimestamp() local
212 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendKey() local
222 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendPointerDown() local
238 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendPointerUp() local
249 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendPointerSync() local
254 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeClear() local
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java399 public void releaseConnection(SQLiteConnection connection) { in releaseConnection()
432 private boolean recycleConnectionLocked(SQLiteConnection connection, in recycleConnectionLocked()
461 public boolean shouldYieldConnection(SQLiteConnection connection, int connectionFlags) { in shouldYieldConnection()
598 SQLiteConnection connection = in closeExcessConnectionsAndLogExceptionsLocked() local
606 private void closeConnectionAndLogExceptionsLocked(SQLiteConnection connection) { in closeConnectionAndLogExceptionsLocked()
639 final SQLiteConnection connection = mAvailableNonPrimaryConnections.get(i); in reconfigureAllConnectionsLocked() local
691 SQLiteConnection connection = null; in waitForConnection() local
763 final SQLiteConnection connection = waiter.mAssignedConnection; in waitForConnection() local
880 SQLiteConnection connection = null; in wakeConnectionWaitersLocked() local
931 SQLiteConnection connection = mAvailablePrimaryConnection; in tryAcquirePrimaryConnectionLocked() local
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java591 final IAccessibilityServiceConnection connection = in disableSelf() local
667 final IAccessibilityServiceConnection connection = in dispatchGesture() local
850 final IAccessibilityServiceConnection connection = in setMagnificationCallbackEnabled() local
911 final IAccessibilityServiceConnection connection = in getScale() local
940 final IAccessibilityServiceConnection connection = in getCenterX() local
969 final IAccessibilityServiceConnection connection = in getCenterY() local
1003 final IAccessibilityServiceConnection connection = in getMagnificationRegion() local
1032 final IAccessibilityServiceConnection connection = in reset() local
1060 final IAccessibilityServiceConnection connection = in setScale() local
1092 final IAccessibilityServiceConnection connection = in setCenter() local
[all …]
/frameworks/native/services/surfaceflinger/
DEventThread.cpp96 const sp<EventThread::Connection>& connection) { in registerDisplayEventConnection()
103 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThread::Connection>& connection)… in removeDisplayEventConnectionLocked()
107 void EventThread::setVsyncRate(uint32_t count, const sp<EventThread::Connection>& connection) { in setVsyncRate()
118 void EventThread::requestNextVsync(const sp<EventThread::Connection>& connection) { in requestNextVsync()
244 sp<Connection> connection(mDisplayEventConnections[i].promote()); in waitForEventLocked() local
370 sp<Connection> connection = mDisplayEventConnections.itemAt(i).promote(); in dump() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsExternalCallTrackerTest.java83 Connection connection = connectionArgumentCaptor.getValue(); in testAddExternalCall() local
92 ImsExternalConnection connection = (ImsExternalConnection) in testRemoveExternalCall() local
DImsPhoneCallTrackerTest.java354 ImsPhoneConnection connection = in testImsMTCall() local
674 ImsPhoneConnection connection = in testNotifyHandovers() local
748 ImsPhoneConnection connection = mCTUT.mForegroundCall.getFirstConnection(); in testNoRemoteHoldtone() local
774 ImsPhoneConnection connection = mCTUT.mForegroundCall.getFirstConnection(); in testRemoteToneInactive() local
798 ImsPhoneConnection connection = mCTUT.mForegroundCall.getFirstConnection(); in testRemoteHoldtone() local
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java157 public static void addConnection(int connectionId, IAccessibilityServiceConnection connection) { in addConnection()
223 IAccessibilityServiceConnection connection = getConnection(connectionId); in getWindow() local
265 IAccessibilityServiceConnection connection = getConnection(connectionId); in getWindows() local
322 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfoByAccessibilityId() local
397 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfosByViewId() local
451 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfosByText() local
504 IAccessibilityServiceConnection connection = getConnection(connectionId); in findFocus() local
553 IAccessibilityServiceConnection connection = getConnection(connectionId); in focusSearch() local
601 IAccessibilityServiceConnection connection = getConnection(connectionId); in performAccessibilityAction() local
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderProxy.java230 Connection connection = new Connection(provider); in onServiceConnected() local
252 private void onConnectionReady(Connection connection) { in onConnectionReady()
265 private void onConnectionDied(Connection connection) { in onConnectionDied()
274 private void onDisplayStateChanged(Connection connection, RemoteDisplayState state) { in onDisplayStateChanged()
427 public ProviderCallback(Connection connection) { in ProviderCallback()
437 Connection connection = mConnectionRef.get(); in onStateChanged() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalCallTracker.java84 public void onPullExternalCall(ImsExternalConnection connection) { in onPullExternalCall()
309 ImsExternalConnection connection = new ImsExternalConnection(mPhone, in createExternalConnection() local
326 mExternalConnections.put(connection.getCallId(), connection); in createExternalConnection() local
343 private void updateExistingConnection(ImsExternalConnection connection, in updateExistingConnection()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/verifier/
DDatabaseVerifier.kt37 val connection: Connection, val context: Context, val entities: List<Entity>) { in <lambda>() constant in androidx.room.verifier.DatabaseVerifier
71 val connection = JDBC.createConnection(CONNECTION_URL, java.util.Properties()) in <lambda>() constant
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
DRegisteredMediaRouteProvider.java135 Connection connection = new Connection(messenger); in onServiceConnected() local
274 void onConnectionReady(Connection connection) { in onConnectionReady()
286 void onConnectionDied(Connection connection) { in onConnectionDied()
295 void onConnectionError(Connection connection, String error) { in onConnectionError()
304 void onConnectionDescriptorChanged(Connection connection, in onConnectionDescriptorChanged()
360 public void attachConnection(Connection connection) { in attachConnection()
666 public ReceiveHandler(Connection connection) { in ReceiveHandler()
676 Connection connection = mConnectionRef.get(); in handleMessage() local
691 private boolean processMessage(Connection connection, in processMessage()
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
DRegisteredMediaRouteProvider.java143 Connection connection = new Connection(messenger); in onServiceConnected() local
282 void onConnectionReady(Connection connection) { in onConnectionReady()
294 void onConnectionDied(Connection connection) { in onConnectionDied()
303 void onConnectionError(Connection connection, String error) { in onConnectionError()
312 void onConnectionDescriptorChanged(Connection connection, in onConnectionDescriptorChanged()
368 public void attachConnection(Connection connection) { in attachConnection()
674 public ReceiveHandler(Connection connection) { in ReceiveHandler()
684 Connection connection = mConnectionRef.get(); in handleMessage() local
699 private boolean processMessage(Connection connection, in processMessage()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DFrameworkShadowContextImpl.java32 ServiceConnection connection, in bindServiceAsUser()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DTestUtils.java55 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in assertUrlConnectionFails() local
68 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in assertUrlConnectionSucceeds() local
/frameworks/support/browser/src/main/java/androidx/browser/customtabs/
DCustomTabsClient.java70 String packageName, CustomTabsServiceConnection connection) { in bindCustomTabsService()
141 CustomTabsServiceConnection connection = new CustomTabsServiceConnection() { in connectAndInitialize() local

12345