Home
last modified time | relevance | path

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

12345

/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.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.java1920 Connection connection = null; in createConnection() local
1952 addConnection(request.getAccountHandle(), callId, connection); in createConnection() local
2235 Connection connection = findConnectionForAction(callId, "splitFromConference"); in splitFromConference() local
2283 Connection connection = findConnectionForAction(callId, "pullExternalCall"); in pullExternalCall() local
2300 Connection connection = findConnectionForAction(callId, "sendCallEvent"); in sendCallEvent() local
2313 Connection connection = findConnectionForAction(callId, "notifyHandoverComplete"); in notifyHandoverComplete() local
2534 Connection connection) { in addExistingConnection()
2568 @NonNull Connection connection, @NonNull Conference conference) { in addExistingConnection()
2667 public void onCreateConnectionComplete(Connection connection) { in onCreateConnectionComplete()
2972 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.cpp515 for (const sp<SensorDirectConnection>& connection : connLock->getDirectConnections()) { in disableAllSensorsLocked() local
543 for (const sp<SensorDirectConnection>& connection : connLock->getDirectConnections()) { in enableAllSensorsLocked() local
673 void SensorService::cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection, in cleanupAutoDisabledSensorLocked()
853 for (const sp<SensorEventConnection>& connection : activeConnections) { in threadLoop() local
863 for (const sp<SensorEventConnection>& connection : activeConnections) { in threadLoop() local
890 for (const sp<SensorEventConnection>& connection : connLock.getActiveConnections()) { in resetAllWakeLockRefCounts() local
1159 for (const sp<SensorDirectConnection>& connection : connLock.getDirectConnections()) { in createSensorDirectConnection() local
1327 const wp<SensorEventConnection> connection(c); in cleanupConnection() local
1389 status_t SensorService::enable(const sp<SensorEventConnection>& connection, in enable()
1534 status_t SensorService::disable(const sp<SensorEventConnection>& connection, int handle) { in disable()
[all …]
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java347 ImsPhoneConnection connection = in testImsMTCall() local
400 ImsPhoneConnection connection = mCTUT.getConnections().get(0); in injectConferenceState() local
756 ImsPhoneConnection connection = null; in testRewriteOutgoingNumber() local
782 ImsPhoneConnection connection = in testNotifyHandovers() local
856 ImsPhoneConnection connection = mCTUT.mForegroundCall.getFirstConnection(); in testNoRemoteHoldtone() local
882 ImsPhoneConnection connection = mCTUT.mForegroundCall.getFirstConnection(); in testRemoteToneInactive() local
906 ImsPhoneConnection connection = mCTUT.mForegroundCall.getFirstConnection(); in testRemoteHoldtone() local
1011 ImsPhoneConnection connection = placeCallAndMakeActive(); in testMergeComplete() local
1088 final ImsPhoneConnection connection = mCTUT.mForegroundCall.getFirstConnection(); in testVtDataUsageProvider() local
1172 ImsPhoneConnection connection = in testHangupHandoverCall() local
[all …]
DImsExternalCallTrackerTest.java84 Connection connection = connectionArgumentCaptor.getValue(); in testAddExternalCall() local
94 ImsExternalConnection connection = (ImsExternalConnection) in testRemoveExternalCall() local
/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.java154 Connection connection = new Connection(info); in onDeviceAvailable() local
156 mConnections.put(info.getDeviceId(), connection); in onDeviceAvailable() local
176 Connection connection = mConnections.get(deviceId); in onDeviceUnavailable() local
204 Connection connection = mConnections.get(deviceId); in onStreamConfigurationChanged() local
232 Connection connection = mConnections.get(deviceId); in onFirstFrameCaptured() local
259 Connection connection, int callingUid, int resolvedUserId) { in checkUidChangedLocked()
300 Connection connection = mConnections.get(deviceId); in addHardwareInput() local
371 Connection connection = mConnections.get(deviceId); in acquireHardware() local
397 Connection connection = mConnections.get(deviceId); in releaseHardware() local
426 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.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/services/core/java/com/android/server/om/
DIdmapDaemon.java108 try (Connection connection = connect()) { in createIdmap()
114 try (Connection connection = connect()) { in removeIdmap()
121 try (Connection connection = connect()) { in verifyIdmap()
127 try (Connection connection = connect()) { in getIdmapPath()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java636 final IAccessibilityServiceConnection connection = in disableSelf() local
735 final IAccessibilityServiceConnection connection = in dispatchGesture() local
922 final IAccessibilityServiceConnection connection = in setMagnificationCallbackEnabled() local
983 final IAccessibilityServiceConnection connection = in getScale() local
1012 final IAccessibilityServiceConnection connection = in getCenterX() local
1041 final IAccessibilityServiceConnection connection = in getCenterY() local
1075 final IAccessibilityServiceConnection connection = in getMagnificationRegion() local
1104 final IAccessibilityServiceConnection connection = in reset() local
1132 final IAccessibilityServiceConnection connection = in setScale() local
1164 final IAccessibilityServiceConnection connection = in setCenter() local
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java159 public static void addConnection(int connectionId, IAccessibilityServiceConnection connection) { in addConnection()
226 IAccessibilityServiceConnection connection = getConnection(connectionId); in getWindow() local
268 IAccessibilityServiceConnection connection = getConnection(connectionId); in getWindows() local
325 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfoByAccessibilityId() local
400 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfosByViewId() local
454 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfosByText() local
507 IAccessibilityServiceConnection connection = getConnection(connectionId); in findFocus() local
556 IAccessibilityServiceConnection connection = getConnection(connectionId); in focusSearch() local
604 IAccessibilityServiceConnection connection = getConnection(connectionId); in performAccessibilityAction() local
DIAccessibilityManager.aidl49 in IAccessibilityInteractionConnection connection, in addAccessibilityInteractionConnection()
55 in IAccessibilityInteractionConnection connection); in setPictureInPictureActionReplacingConnection()
/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/native/services/surfaceflinger/Scheduler/
DEventThread.cpp64 std::string toString(const EventThreadConnection& connection) { in toString()
218 status_t EventThread::registerDisplayEventConnection(const sp<EventThreadConnection>& connection) { in registerDisplayEventConnection()
235 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThreadConnection>& connection) { in removeDisplayEventConnectionLocked()
243 void EventThread::setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) { in setVsyncRate()
257 void EventThread::requestNextVsync(const sp<EventThreadConnection>& connection) { in requestNextVsync()
346 if (const auto connection = it->promote()) { in threadMain() local
471 if (const auto connection = ptr.promote()) { in dump() 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()
DImsExternalCall.java35 public ImsExternalCall(Phone phone, ImsExternalConnection connection) { in ImsExternalCall()
/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.java879 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService in testServiceConnection_bind_notBound() local
893 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService in testServiceConnection_bind_alreadyBound() local
917 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService in testServiceConnection_bindFails() local
934 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService in testServiceConnection_unbind_notBound() local
944 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService in testServiceConnection_unbind_alreadyBound() local
962 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService in testServiceConnection_dump_doesNotCrash() local
/frameworks/base/core/java/android/service/wallpaper/
DIWallpaperService.aidl26 void attach(IWallpaperConnection connection, in attach()

12345