Home
last modified time | relevance | path

Searched refs:getConnection (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationConnectionManagerTest.java124 connect ? mMockConnection.getConnection() : null); in stubSetConnection()
128 connect ? mMockConnection.getConnection() : null); in stubSetConnection()
136 mMagnificationConnectionManager.setConnection(mMockConnection.getConnection()); in setConnection_connectionIsNull_wrapperIsNullAndLinkToDeath()
144 mMagnificationConnectionManager.setConnection(mMockConnection.getConnection()); in setConnection_connectionIsNull_setMirrorWindowCallbackAndHasWrapper()
148 verify(mMockConnection.getConnection()).setConnectionCallback( in setConnection_connectionIsNull_setMirrorWindowCallbackAndHasWrapper()
154 mMagnificationConnectionManager.setConnection(mMockConnection.getConnection()); in binderDied_hasConnection_wrapperIsNullAndUnlinkToDeath()
171 mMagnificationConnectionManager.setConnection(mMockConnection.getConnection()); in setSecondConnectionAndFormerConnectionBinderDead_hasWrapperAndNotCallUnlinkToDeath()
174 mMagnificationConnectionManager.setConnection(secondConnection.getConnection()); in setSecondConnectionAndFormerConnectionBinderDead_hasWrapperAndNotCallUnlinkToDeath()
185 mMagnificationConnectionManager.setConnection(mMockConnection.getConnection()); in setNullConnection_hasConnection_wrapperIsNull()
190 verify(mMockConnection.getConnection()).setConnectionCallback(null); in setNullConnection_hasConnection_wrapperIsNull()
[all …]
DMagnificationConnectionWrapperTest.java63 mConnection = mMockMagnificationConnection.getConnection(); in setUp()
DMockMagnificationConnection.java157 IMagnificationConnection getConnection() { in getConnection() method in MockMagnificationConnection
DMagnificationControllerTest.java231 mMagnificationConnectionManager.setConnection(mMockConnection.getConnection()); in setUp()
258 verify(mMockConnection.getConnection(), never()).enableWindowMagnification(anyInt(), in transitionToWindowMode_notMagnifying_doNothing()
452 verify(mMockConnection.getConnection(), never()).enableWindowMagnification(anyInt(), in configTransitionToWindowModeAndActivatedFalse_fullScreenMagnifying_doNotEnableWindow()
512 verify(mMockConnection.getConnection()).disableWindowMagnification(anyInt(), in configTransitionToActivatedFalse_windowMagnifying_disableWindow()
DWindowMagnificationGestureHandlerTest.java117 mMagnificationConnectionManager.setConnection(mMockConnection.getConnection()); in setUp()
/frameworks/base/telephony/java/android/telephony/
DBinderCacheManager.java107 public T getConnection() { in getConnection() method in BinderCacheManager.BinderDeathTracker
152 return addSucceeded ? tracker.getConnection() : null; in listenOnBinder()
161 return (tracker != null) ? tracker.getConnection() : null; in getBinder()
176 return tracker.getConnection(); in removeRunnable()
/frameworks/base/core/java/android/accessibilityservice/
DTouchInteractionController.java250 .getConnection(mService.getConnectionId()); in setServiceDetectsGestures()
271 .getConnection(mService.getConnectionId()); in requestTouchExploration()
300 .getConnection(mService.getConnectionId()); in requestDragging()
322 .getConnection(mService.getConnectionId()); in requestDelegating()
345 .getConnection(mService.getConnectionId()); in performClick()
367 .getConnection(mService.getConnectionId()); in performLongClickAndStartDrag()
DAccessibilityService.java1137 AccessibilityInteractionClient.getInstance(this).getConnection(mConnectionId); in disableSelf()
1231 AccessibilityInteractionClient.getInstance(this).getConnection(mConnectionId)); in getFingerprintGestureController()
1277 AccessibilityInteractionClient.getInstance(this).getConnection(mConnectionId); in dispatchGesture()
1495 AccessibilityInteractionClient.getInstance(mService).getConnection( in setMagnificationCallbackEnabled()
1554 AccessibilityInteractionClient.getInstance(mService).getConnection( in getMagnificationConfig()
1587 AccessibilityInteractionClient.getInstance(mService).getConnection( in getScale()
1624 AccessibilityInteractionClient.getInstance(mService).getConnection( in getCenterX()
1661 AccessibilityInteractionClient.getInstance(mService).getConnection( in getCenterY()
1703 AccessibilityInteractionClient.getInstance(mService).getConnection( in getMagnificationRegion()
1742 AccessibilityInteractionClient.getInstance(mService).getConnection( in getCurrentMagnificationRegion()
[all …]
DBrailleDisplayController.java282 AccessibilityInteractionClient.getConnection(service.getConnectionId()); in setTestBrailleDisplayData()
DBrailleDisplayControllerImpl.java150 AccessibilityInteractionClient.getConnection( in connect()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsDispatchersControllerTest.java472 assertNotNull(holder.getConnection()); in testSendTextForEmergencyWhenDomainPs()
484 assertNull(holder.getConnection()); in testSendTextForEmergencyWhenDomainPs()
522 assertNotNull(holder.getConnection()); in testSendMultipartTextForEmergencyWhenDomainPs()
534 assertNull(holder.getConnection()); in testSendMultipartTextForEmergencyWhenDomainPs()
561 assertNotNull(holder.getConnection()); in testSendRetrySmsForEmergencyWhenDomainPs()
571 assertNull(holder.getConnection()); in testSendRetrySmsForEmergencyWhenDomainPs()
716 assertNotNull(holder.getConnection()); in testNotifyDomainSelectionTerminatedWhenImsAvailableAndNormalSms()
726 assertNull(holder.getConnection()); in testNotifyDomainSelectionTerminatedWhenImsAvailableAndNormalSms()
756 assertNotNull(holder.getConnection()); in testNotifyDomainSelectionTerminatedWhenImsNotAvailableAndEmergencySms()
766 assertNull(holder.getConnection()); in testNotifyDomainSelectionTerminatedWhenImsNotAvailableAndEmergencySms()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsCallInfoTrackerTest.java69 ImsPhoneConnection c = getConnection(Call.State.DIALING, false); in testDialingNormalCall()
94 ImsPhoneConnection c = getConnection(Call.State.DIALING, true); in testDialingEmergencyCall()
119 ImsPhoneConnection c = getConnection(Call.State.INCOMING, false); in testIncomingCall()
212 ImsPhoneConnection c1 = getConnection(Call.State.INCOMING, false); in testMultiCalls()
235 ImsPhoneConnection c2 = getConnection(Call.State.WAITING, false); in testMultiCalls()
308 ImsPhoneConnection c = getConnection(Call.State.INCOMING, false); in testHeldByRemote()
370 ImsPhoneConnection c = getConnection(Call.State.DIALING, false); in testSrvccCompleted()
394 ImsPhoneConnection c = getConnection(Call.State.DIALING, false); in testClearAllOrphanedConnections()
420 private ImsPhoneConnection getConnection(Call.State state, boolean isEmergency) { in getConnection() method in ImsCallInfoTrackerTest
/frameworks/base/core/java/android/view/
DRemoteAccessibilityController.java100 IAccessibilityEmbeddedConnection getConnection() { in getConnection() method in RemoteAccessibilityController.RemoteAccessibilityEmbeddedConnection
135 mConnectionWrapper.getConnection() in setRemoteAccessibilityEmbeddedConnection()
167 wrapper.getConnection().setWindowMatrix(mMatrixValues); in setWindowMatrix()
DScrollCaptureResponse.java133 public @Nullable IScrollCaptureConnection getConnection() { in getConnection() method in ScrollCaptureResponse
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java238 public static IAccessibilityServiceConnection getConnection(int connectionId) { in getConnection() method in AccessibilityInteractionClient
258 IAccessibilityServiceConnection existingConnection = getConnection(connectionId); in addConnection()
288 if (getConnection(connectionId) != null) { in addDirectConnection()
324 if (getConnection(connectionId) instanceof DirectAccessibilityConnection) { in removeConnection()
405 IAccessibilityServiceConnection connection = getConnection(connectionId); in getWindow()
492 IAccessibilityServiceConnection connection = getConnection(connectionId); in getWindowsOnAllDisplays()
571 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfoByAccessibilityId()
608 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfoByAccessibilityId()
759 IAccessibilityServiceConnection connection = getConnection(connectionId); in findAccessibilityNodeInfosByViewId()
819 IAccessibilityServiceConnection connection = getConnection(connectionId); in takeScreenshotOfWindow()
[all …]
DAccessibilityDisplayProxy.java207 AccessibilityInteractionClient.getInstance().getConnection(mConnectionId); in sendServiceInfos()
231 AccessibilityInteractionClient.getInstance().getConnection(mConnectionId); in getInstalledAndEnabledServices()
252 AccessibilityInteractionClient.getInstance().getConnection(mConnectionId); in setAccessibilityFocusAppearance()
DAccessibilityNodeInfo.java4087 return AccessibilityInteractionClient.getConnection( in usingDirectConnection()
/frameworks/base/core/java/android/view/inputmethod/
DInputBinding.java92 public InputConnection getConnection() { in getConnection() method in InputBinding
/frameworks/base/core/java/android/app/
DUiAutomation.java751 .getConnection(mConnectionId); in performGlobalAction()
807 .getConnection(mConnectionId); in getServiceInfo()
836 .getConnection(mConnectionId); in setServiceInfo()
1033 AccessibilityInteractionClient.getInstance().getConnection(mConnectionId); in setAnimationScale()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsDispatchersController.java283 public DomainSelectionConnection getConnection() { in getConnection() method in SmsDispatchersController.DomainSelectionConnectionHolder
1039 (EmergencySmsDomainSelectionConnection) holder.getConnection(); in requestDomainSelection()
1052 (SmsDomainSelectionConnection) holder.getConnection(); in requestDomainSelection()
1081 if (holder.getConnection() == null) { in requestDomainSelection()
1258 DomainSelectionConnection connection = (holder != null) ? holder.getConnection() : null; in finishDomainSelection()
/frameworks/base/core/java/android/hardware/camera2/
DCameraExtensionCharacteristics.java293 if (mConnectionManager.getConnection(extension) != null) { in releaseProxyConnectionLocked()
294 ctx.unbindService(mConnectionManager.getConnection(extension)); in releaseProxyConnectionLocked()
302 if (mConnectionManager.getConnection(extension) == null) { in connectToProxyLocked()
644 public ServiceConnection getConnection(@Extension int extension) { in getConnection() method in CameraExtensionCharacteristics.CameraExtensionManagerGlobal.ExtensionConnectionManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DScrollCaptureClient.java224 IScrollCaptureConnection connection = response.getConnection();
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java823 mInputConnection = binding.getConnection(); in bindInput()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt35665 method public android.view.inputmethod.InputConnection getConnection();
46043 method public abstract java.sql.Connection getConnection() throws java.sql.SQLException;
46280 …method public static java.sql.Connection getConnection(java.lang.String) throws java.sql.SQLExcept…
46281 …method public static java.sql.Connection getConnection(java.lang.String, java.util.Properties) thr…
46282 …method public static java.sql.Connection getConnection(java.lang.String, java.lang.String, java.la…
46913 method public abstract java.sql.Connection getConnection() throws java.sql.SQLException;
53126 method public abstract java.sql.Connection getConnection() throws java.sql.SQLException;
53127 …method public abstract java.sql.Connection getConnection(java.lang.String, java.lang.String) throw…
53134 method public abstract java.sql.Connection getConnection() throws java.sql.SQLException;
53262 method public abstract java.sql.Connection getConnection() throws java.sql.SQLException;
[all …]

12