Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/
DChronicle.kt42 fun <T : Connection> getConnection(request: ConnectionRequest<T>): ConnectionResult<T> in getAvailableConnectionTypes() method
53 return when (val result = getConnection(request)) { in result()
76 return when (val result = getConnection(request)) { in getConnectionOrThrow()
102 inline fun <reified T : Connection> Chronicle.getConnection( in getConnection() method
105 ) = getConnection(ConnectionRequest(T::class.java, requester, policy)) in getConnection()
DConnectionProvider.kt30 fun getConnection(connectionRequest: ConnectionRequest<out Connection>): Connection in getConnection() method
34 return requireNotNull(getConnection(connectionRequest) as? T) { in getConnection()
/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/
DRemoteAuthConnectionCacheTest.java90 assertEquals(mConnection, mConnectionCache.getConnection(CONNECTION_ID)); in testGetConnection_connectionAlreadyExists()
95 assertNull(mConnectionCache.getConnection(CONNECTION_ID)); in testGetConnection_connectionInfoDoesntExists()
103 assertNull(mConnectionCache.getConnection(CONNECTION_ID)); in testGetConnection_failedToConnect()
113 assertNull(mConnectionCache.getConnection(CONNECTION_ID)); in testGetConnection_failedToConnectException()
121 assertEquals(mConnection, mConnectionCache.getConnection(CONNECTION_ID)); in testGetConnection_connectionSucceed()
DRemoteAuthPlatformTest.java57 doReturn(null).when(mConnectionCache).getConnection(anyInt()); in testSendRequest_connectionIsNull()
73 doReturn(mConnection).when(mConnectionCache).getConnection(anyInt()); in testSendRequest_connectionExists()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/policyengine/
DUserDataReaderTest.kt108 val result: ConnectionResult<UserDataReader>? = chronicleManager.chronicle.getConnection( in testUserDataConnection()
141 val result: ConnectionResult<UserDataReader>? = chronicleManager.chronicle.getConnection( in testFailedConnectionContext()
151 val result: ConnectionResult<UserDataReader>? = chronicleManager.chronicle.getConnection( in testFailNewConnection()
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java157 return imapStore.getConnection(); in connect()
388 ImapConnection connection = imapStore.getConnection(); in changePin()
403 ImapConnection connection = imapStore.getConnection(); in changeVoicemailTuiLanguage()
416 ImapConnection connection = imapStore.getConnection(); in closeNewUserTutorial()
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/
DRemoteAuthPlatform.java45 Connection connection = mConnectionCache.getConnection(connectionId); in sendRequest()
DRemoteAuthConnectionCache.java88 public Connection getConnection(int connectionId) { in getConnection() method in RemoteAuthConnectionCache
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/integration/
DNoOpChronicle.kt38 override fun <T : Connection> getConnection(request: ConnectionRequest<T>): ConnectionResult<T> { in getAvailableConnectionTypes() method in com.android.libraries.pcc.chronicle.api.integration.NoOpChronicle
DDefaultChronicle.kt102 override fun <T : Connection> getConnection(request: ConnectionRequest<T>): ConnectionResult<T> = in <lambda>() method
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/policyengine/data/impl/
DUserDataConnectionProvider.kt43 override fun getConnection(connectionRequest: ConnectionRequest<out Connection>): Connection { in getConnection() method in com.android.ondevicepersonalization.services.policyengine.data.impl.UserDataConnectionProvider
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pMonitor.java174 P2pConnectionProcedure getConnection() { in getConnection() method in P2pMonitor
DP2pPrinterConnection.java75 WifiP2pDevice peer = service.getP2pMonitor().getConnection().getPeer(); in P2pPrinterConnection()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapStore.java176 public ImapConnection getConnection() { in getConnection() method in ImapStore
DImapFolder.java96 connection = store.getConnection(); in open()
/packages/services/Car/service/src/com/android/car/audio/hal/
DHalAudioDeviceInfo.java93 public String getConnection() { in getConnection() method in HalAudioDeviceInfo
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/pairing/
DPairingTest.java434 .setConnection(advertiseResponse.getConnection()) in helper_OutgoingGattServiceDiscoveryWithIncomingLePairing()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioDeviceInfoTest.java98 .that(deviceInfo.getConnection()) in constructor_succeeds()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
Dhttpcore-4.4.13.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...