Home
last modified time | relevance | path

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

123456

/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportClientTest.java153 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_callsListenerWhenConnected() local
165 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_whenPendingConnection_callsAllListenersWhenConnected() local
180 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_whenAlreadyConnected_callsListener() local
217 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_whenFrameworkDoesNotBind_releasesConnection() local
224 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_afterOnServiceDisconnectedBeforeNewConnection_callsListener() local
237 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_afterOnServiceDisconnectedAfterNewConnection_callsListener() local
252 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_callsListenerIfBindingDies() local
264 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_whenPendingConnection_callsListenersIfBindingDies() local
289 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_afterOnServiceConnected_logsBoundAndConnectedTransitionEvents() local
301 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); in testConnectAsync_afterOnBindingDied_logsBoundAndUnboundTransitionEvents() local
[all …]
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnection.java64 public void onStateChanged(RemoteConnection connection, int state) {} in onStateChanged()
74 RemoteConnection connection, in onDisconnected()
84 public void onRingbackRequested(RemoteConnection connection, boolean ringback) {} in onRingbackRequested()
94 RemoteConnection connection, in onConnectionCapabilitiesChanged()
105 RemoteConnection connection, in onConnectionPropertiesChanged()
117 public void onPostDialWait(RemoteConnection connection, String remainingPostDialSequence) {} in onPostDialWait()
126 public void onPostDialChar(RemoteConnection connection, char nextChar) {} in onPostDialChar()
135 public void onVoipAudioChanged(RemoteConnection connection, boolean isVoip) {} in onVoipAudioChanged()
144 public void onStatusHintsChanged(RemoteConnection connection, StatusHints statusHints) {} in onStatusHintsChanged()
155 public void onAddressChanged(RemoteConnection connection, Uri address, int presentation) {} in onAddressChanged()
[all …]
DConnectionService.java1935 Connection connection = null; in createConnection() local
1991 addConnection(request.getAccountHandle(), callId, connection); in createConnection() local
2274 Connection connection = findConnectionForAction(callId, "splitFromConference"); in splitFromConference() local
2322 Connection connection = findConnectionForAction(callId, "pullExternalCall"); in pullExternalCall() local
2339 Connection connection = findConnectionForAction(callId, "sendCallEvent"); in sendCallEvent() local
2352 Connection connection = findConnectionForAction(callId, "notifyHandoverComplete"); in notifyHandoverComplete() local
2573 Connection connection) { in addExistingConnection()
2607 @NonNull Connection connection, @NonNull Conference conference) { in addExistingConnection()
2706 public void onCreateConnectionComplete(Connection connection) { in onCreateConnectionComplete()
3013 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.cpp821 void SensorService::cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection, in cleanupAutoDisabledSensorLocked()
1001 for (const sp<SensorEventConnection>& connection : activeConnections) { in threadLoop() local
1011 for (const sp<SensorEventConnection>& connection : activeConnections) { in threadLoop() local
1038 for (const sp<SensorEventConnection>& connection : connLock.getActiveConnections()) { in resetAllWakeLockRefCounts() local
1306 for (const sp<SensorDirectConnection>& connection : connLock.getDirectConnections()) { in createSensorDirectConnection() local
1479 const wp<SensorEventConnection> connection(c); in cleanupConnection() local
1541 status_t SensorService::enable(const sp<SensorEventConnection>& connection, in enable()
1686 status_t SensorService::disable(const sp<SensorEventConnection>& connection, int handle) { in disable()
1706 const sp<SensorEventConnection>& connection, int handle) { in cleanupWithoutDisable()
1712 const sp<SensorEventConnection>& connection, int handle) { in cleanupWithoutDisableLocked()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java348 ImsPhoneConnection connection = in testImsMTCall() local
401 ImsPhoneConnection connection = mCTUT.getConnections().get(0); in injectConferenceState() local
757 ImsPhoneConnection connection = null; in testRewriteOutgoingNumber() local
783 ImsPhoneConnection connection = in testNotifyHandovers() local
857 ImsPhoneConnection connection = mCTUT.mForegroundCall.getFirstConnection(); in testNoRemoteHoldtone() local
883 ImsPhoneConnection connection = mCTUT.mForegroundCall.getFirstConnection(); in testRemoteToneInactive() local
907 ImsPhoneConnection connection = mCTUT.mForegroundCall.getFirstConnection(); in testRemoteHoldtone() local
1012 ImsPhoneConnection connection = placeCallAndMakeActive(); in testMergeComplete() local
1095 final ImsPhoneConnection connection = mCTUT.mForegroundCall.getFirstConnection(); in testVtDataUsageProvider() local
1130 ImsPhoneConnection connection = in testHangupHandoverCall() local
[all …]
DImsExternalCallTrackerTest.java84 Connection connection = connectionArgumentCaptor.getValue(); in testAddExternalCall() local
94 ImsExternalConnection connection = (ImsExternalConnection) in testRemoveExternalCall() local
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp93 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteTraceCallback() local
100 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteProfileCallback() local
107 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteProgressHandlerCallback() local
173 SQLiteConnection* connection = new SQLiteConnection(db, openFlags, path, label); in nativeOpen() local
188 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeClose() local
239 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeRegisterCustomScalarFunction() local
333 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeRegisterCustomAggregateFunction() local
355 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeRegisterLocalizedCollators() local
368 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativePrepareStatement() local
399 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeFinalizeStatement() local
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaRoute2ProviderServiceProxy.java261 Connection connection = new Connection(serviceBinder); in onServiceConnected() local
294 private void onConnectionReady(Connection connection) { in onConnectionReady()
303 private void onConnectionDied(Connection connection) { in onConnectionDied()
312 private void onProviderStateUpdated(Connection connection, in onProviderStateUpdated()
323 private void onSessionCreated(Connection connection, long requestId, in onSessionCreated()
351 private void onSessionUpdated(Connection connection, RoutingSessionInfo updatedSession) { in onSessionUpdated()
387 private void onSessionReleased(Connection connection, RoutingSessionInfo releaedSession) { in onSessionReleased()
432 private void onRequestFailed(Connection connection, long requestId, int reason) { in onRequestFailed()
587 ServiceCallbackStub(Connection connection) { in ServiceCallbackStub()
597 Connection connection = mConnectionRef.get(); in updateState() local
[all …]
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/base/services/core/java/com/android/server/storage/
DStorageSessionController.java93 StorageUserConnection connection = null; in onVolumeMount() local
125 StorageUserConnection connection = null; in notifyVolumeStateChanged() local
157 StorageUserConnection connection = mConnections.get(userId); in onVolumeRemove() local
180 StorageUserConnection connection = onVolumeRemove(vol); in onVolumeUnmount() local
221 StorageUserConnection connection = null; in onUserStopping() local
255 StorageUserConnection connection = connections.valueAt(i); in onReset() local
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java401 public void releaseConnection(SQLiteConnection connection) { in releaseConnection()
434 private boolean recycleConnectionLocked(SQLiteConnection connection, in recycleConnectionLocked()
463 public boolean shouldYieldConnection(SQLiteConnection connection, int connectionFlags) { in shouldYieldConnection()
600 SQLiteConnection connection = in closeExcessConnectionsAndLogExceptionsLocked() local
608 private void closeConnectionAndLogExceptionsLocked(SQLiteConnection connection) { in closeConnectionAndLogExceptionsLocked()
641 final SQLiteConnection connection = mAvailableNonPrimaryConnections.get(i); in reconfigureAllConnectionsLocked() local
693 SQLiteConnection connection = null; in waitForConnection() local
765 final SQLiteConnection connection = waiter.mAssignedConnection; in waitForConnection() local
882 SQLiteConnection connection = null; in wakeConnectionWaitersLocked() local
933 SQLiteConnection connection = mAvailablePrimaryConnection; in tryAcquirePrimaryConnectionLocked() local
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java917 final IAccessibilityServiceConnection connection = in disableSelf() local
938 final IAccessibilityServiceConnection connection = in setDefaultTokenInternal() local
1042 final IAccessibilityServiceConnection connection = in dispatchGesture() local
1230 final IAccessibilityServiceConnection connection = in setMagnificationCallbackEnabled() local
1291 final IAccessibilityServiceConnection connection = in getScale() local
1320 final IAccessibilityServiceConnection connection = in getCenterX() local
1349 final IAccessibilityServiceConnection connection = in getCenterY() local
1383 final IAccessibilityServiceConnection connection = in getMagnificationRegion() local
1412 final IAccessibilityServiceConnection connection = in reset() local
1440 final IAccessibilityServiceConnection connection = in setScale() local
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp69 std::string toString(const EventThreadConnection& connection) { in toString()
220 status_t EventThread::registerDisplayEventConnection(const sp<EventThreadConnection>& connection) { in registerDisplayEventConnection()
237 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThreadConnection>& connection) { in removeDisplayEventConnectionLocked()
245 void EventThread::setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) { in setVsyncRate()
259 void EventThread::requestNextVsync(const sp<EventThreadConnection>& connection) { in requestNextVsync()
272 void EventThread::requestLatestConfig(const sp<EventThreadConnection>& connection) { in requestLatestConfig()
380 if (const auto connection = it->promote()) { in threadMain() local
525 if (const auto connection = ptr.promote()) { in dump() local
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvUinputBridge.cpp368 NativeConnection* connection = NativeConnection::open(name.c_str(), uniqueId.c_str(), in nativeOpen() local
377 NativeConnection* connection = NativeConnection::openGamepad(name.c_str(), uniqueId.c_str()); in nativeGamepadOpen() local
382 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeClose() local
388 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendKey() local
404 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendGamepadKey() local
421 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendGamepadAxisValue() local
451 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendPointerDown() local
472 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendPointerUp() local
488 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeSendPointerSync() local
493 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); in nativeClear() local
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java172 public static void addConnection(int connectionId, IAccessibilityServiceConnection connection) { in addConnection()
254 IAccessibilityServiceConnection connection = getConnection(connectionId); in getWindow() local
316 IAccessibilityServiceConnection connection = getConnection(connectionId); in getWindowsOnAllDisplays() local
376 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfoByAccessibilityId() local
418 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfoByAccessibilityId() local
501 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfosByViewId() local
555 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfosByText() local
608 IAccessibilityServiceConnection connection = getConnection(connectionId); in findFocus() local
657 IAccessibilityServiceConnection connection = getConnection(connectionId); in focusSearch() local
705 IAccessibilityServiceConnection connection = getConnection(connectionId); in performAccessibilityAction() local
DIAccessibilityManager.aidl51 in IAccessibilityInteractionConnection connection, in addAccessibilityInteractionConnection()
57 in IAccessibilityInteractionConnection connection); in setPictureInPictureActionReplacingConnection()
90 oneway void setWindowMagnificationConnection(in IWindowMagnificationConnection connection); in setWindowMagnificationConnection()
/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/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp114 sp<IDisplayEventConnection> connection; in TEST_F() local
142 sp<IDisplayEventConnection> connection; in TEST_F() local
/frameworks/base/services/core/java/com/android/server/tv/
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
377 Connection connection = mConnections.get(deviceId); in acquireHardware() local
412 Connection connection = mConnections.get(deviceId); in releaseHardware() local
441 Connection connection = mConnections.get(i); in findDeviceIdForInputIdLocked() local
[all …]
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp425 sp<Connection> connection = mConnectionsByFd.begin()->second; in ~InputDispatcher() local
513 sp<Connection> connection = getConnectionLocked(mAnrTracker.firstToken()); in processAnrsLocked() local
718 sp<Connection> connection = in shouldPruneInboundQueueLocked() local
1350 sp<Connection> connection = in dispatchEventLocked() local
1364 void InputDispatcher::cancelEventsForAnrLocked(const sp<Connection>& connection) { in cancelEventsForAnrLocked()
1684 sp<Connection> connection = getConnectionLocked(newTouchedWindowHandle->getToken()); in findTouchedWindowTargetsLocked() local
2210 const sp<Connection>& connection, in prepareDispatchCycleLocked()
2266 const sp<Connection>& connection, in enqueueDispatchEntriesLocked()
2298 void InputDispatcher::enqueueDispatchEntryLocked(const sp<Connection>& connection, in enqueueDispatchEntryLocked()
2457 const sp<Connection>& connection) { in startDispatchCycleLocked()
[all …]
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTrackerTest.java156 Connection connection = mCTUT.mForegroundCall.getConnections().get(0); in testMOCallDialPickUpHangup() local
279 Connection connection = mCTUT.mRingingCall.getConnections().get(0); in testMTCallReject() local
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java881 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService in testServiceConnection_bind_notBound() local
895 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService in testServiceConnection_bind_alreadyBound() local
919 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService in testServiceConnection_bindFails() local
936 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService in testServiceConnection_unbind_notBound() local
946 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService in testServiceConnection_unbind_alreadyBound() local
964 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService in testServiceConnection_dump_doesNotCrash() local

123456