Home
last modified time | relevance | path

Searched refs:Connection (Results 1 – 25 of 135) sorted by relevance

123456

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java90 public ArrayList<Connection> mConnections = new ArrayList<>();
101 public ArrayList<Connection> getConnections() { in getConnections()
103 return (ArrayList<Connection>) mConnections.clone(); in getConnections()
152 public boolean hasConnection(Connection c) { in hasConnection()
161 List<Connection> connections = getConnections(); in hasConnections()
175 public void removeConnection(Connection conn) { in removeConnection()
186 public void addConnection(Connection conn) { in addConnection()
234 public Connection
236 List<Connection> l; in getEarliestConnection()
238 Connection c; in getEarliestConnection()
[all …]
DConnection.java46 public abstract class Connection { class
111 android.telecom.Connection.VideoProvider videoProvider); in onVideoProviderChanged()
120 public void onCallPullFailed(Connection externalConnection); in onCallPullFailed()
128 public void onOriginalConnectionReplaced(Connection newConnection); in onOriginalConnectionReplaced()
156 android.telecom.Connection.VideoProvider videoProvider) {} in onVideoProviderChanged()
174 public void onCallPullFailed(Connection externalConnection) {} in onCallPullFailed()
190 public void onOriginalConnectionReplaced(Connection newConnection) {} in onOriginalConnectionReplaced()
218 protected @android.telecom.Connection.VerificationStatus int mNumberVerificationStatus =
219 android.telecom.Connection.VERIFICATION_STATUS_NOT_VERIFIED;
245 protected Connection mOrigConnection;
[all …]
DCallTracker.java51 protected ArrayList<Connection> mHandoverConnections = new ArrayList<Connection>();
111 protected Connection getHoConnection(DriverCall dc) { in getHoConnection()
112 for (Connection hoConn : mHandoverConnections) { in getHoConnection()
119 for (Connection hoConn : mHandoverConnections) { in getHoConnection()
129 protected void notifySrvccState(Call.SrvccState state, ArrayList<Connection> c) { in notifySrvccState()
286 public Connection getRingingHandoverConnection() { in getRingingHandoverConnection()
287 for (Connection hoConn : mHandoverConnections) { in getRingingHandoverConnection()
DGsmCdmaCall.java76 public void attach(Connection conn, DriverCall dc) { in attach()
83 public void attachFake(Connection conn, State state) { in attachFake()
98 for (Connection c : getConnections()) { in connectionDisconnected()
157 for (Connection conn : getConnections()) { in onHangupLocal()
/frameworks/base/telecomm/java/android/telecom/
DConference.java30 import android.telecom.Connection.VideoProvider;
57 public void onConnectionAdded(Conference conference, Connection connection) {} in onConnectionAdded()
58 public void onConnectionRemoved(Conference conference, Connection connection) {} in onConnectionRemoved()
60 Conference conference, List<Connection> conferenceableConnections) {} in onConferenceableConnectionsChanged()
67 public void onVideoProviderChanged(Conference c, Connection.VideoProvider videoProvider) {} in onVideoProviderChanged()
81 private final List<Connection> mChildConnections = new CopyOnWriteArrayList<>();
82 private final List<Connection> mUnmodifiableChildConnections =
84 private final List<Connection> mConferenceableConnections = new ArrayList<>();
85 private final List<Connection> mUnmodifiableConferenceableConnections =
91 private int mState = Connection.STATE_NEW;
[all …]
DConnectionService.java212 private static Connection sNullConnection;
214 private final Map<String, Connection> mConnectionById = new ConcurrentHashMap<>();
215 private final Map<Connection, String> mIdByConnection = new ConcurrentHashMap<>();
764 Connection.CallFilteringCompletionInfo completionInfo,
799 args.arg2 = new Connection.RttTextStream(toInCall, fromInCall);
830 args.arg2 = new Connection.RttTextStream(toInCall, fromInCall);
1445 Connection.CallFilteringCompletionInfo completionInfo =
1446 (Connection.CallFilteringCompletionInfo) args.arg2;
1487 Connection.RttTextStream rttTextStream =
1488 (Connection.RttTextStream) args.arg2;
[all …]
DConnection.java116 public abstract class Connection extends Conferenceable { class
1250 public void onStateChanged(Connection c, int state) {} in onStateChanged()
1251 public void onAddressChanged(Connection c, Uri newAddress, int presentation) {} in onAddressChanged()
1253 Connection c, String callerDisplayName, int presentation) {} in onCallerDisplayNameChanged()
1254 public void onVideoStateChanged(Connection c, int videoState) {} in onVideoStateChanged()
1255 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {} in onDisconnected()
1256 public void onPostDialWait(Connection c, String remaining) {} in onPostDialWait()
1257 public void onPostDialChar(Connection c, char nextChar) {} in onPostDialChar()
1258 public void onRingbackRequested(Connection c, boolean ringback) {} in onRingbackRequested()
1259 public void onDestroyed(Connection c) {} in onDestroyed()
[all …]
/frameworks/av/media/bufferpool/2.0/
DConnection.cpp27 Return<void> Connection::fetch(uint64_t transactionId, uint32_t bufferId, fetch_cb _hidl_cb) { in fetch()
54 Connection::Connection() : mInitialized(false), mConnectionId(-1LL) {} in Connection() function in android::hardware::media::bufferpool::V2_0::implementation::Connection
56 Connection::~Connection() { in ~Connection()
62 void Connection::initialize( in initialize()
71 ResultStatus Connection::flush() { in flush()
78 ResultStatus Connection::allocate( in allocate()
87 void Connection::cleanUp(bool clearCache) { in cleanUp()
/frameworks/av/media/bufferpool/1.0/
DConnection.cpp27 Return<void> Connection::fetch(uint64_t transactionId, uint32_t bufferId, fetch_cb _hidl_cb) { in fetch()
54 Connection::Connection() : mInitialized(false), mConnectionId(-1LL) {} in Connection() function in android::hardware::media::bufferpool::V1_0::implementation::Connection
56 Connection::~Connection() { in ~Connection()
62 void Connection::initialize( in initialize()
71 ResultStatus Connection::allocate( in allocate()
80 void Connection::cleanUp(bool clearCache) { in cleanUp()
/frameworks/native/services/inputflinger/dispatcher/
DConnection.cpp23 Connection::Connection(const std::shared_ptr<InputChannel>& inputChannel, bool monitor, in Connection() function in android::inputdispatcher::Connection
31 Connection::~Connection() {} in ~Connection()
33 const std::string Connection::getWindowName() const { in getWindowName()
43 std::deque<DispatchEntry*>::iterator Connection::findWaitQueueEntry(uint32_t seq) { in findWaitQueueEntry()
DConnection.h31 class Connection : public RefBase {
33 virtual ~Connection();
66 Connection(const std::shared_ptr<InputChannel>& inputChannel, bool monitor,
/frameworks/base/services/core/java/com/android/server/media/
DMediaRoute2ProviderServiceProxy.java69 private Connection mActiveConnection;
277 Connection connection = new Connection(serviceBinder); in onServiceConnected()
310 private void onConnectionReady(Connection connection) { in onConnectionReady()
319 private void onConnectionDied(Connection connection) { in onConnectionDied()
328 private void onProviderUpdated(Connection connection, MediaRoute2ProviderInfo providerInfo) { in onProviderUpdated()
338 private void onSessionCreated(Connection connection, long requestId, in onSessionCreated()
376 private void onSessionsUpdated(Connection connection, List<RoutingSessionInfo> sessions) { in onSessionsUpdated()
406 private void onSessionReleased(Connection connection, RoutingSessionInfo releaedSession) { in onSessionReleased()
466 private void onRequestFailed(Connection connection, long requestId, int reason) { in onRequestFailed()
500 private final class Connection implements DeathRecipient { class in MediaRoute2ProviderServiceProxy
[all …]
DRemoteDisplayProviderProxy.java55 private Connection mActiveConnection;
230 Connection connection = new Connection(provider); in onServiceConnected()
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()
325 private final class Connection implements DeathRecipient { class in RemoteDisplayProviderProxy
329 public Connection(IRemoteDisplayProvider provider) { in Connection() method in RemoteDisplayProviderProxy.Connection
341 onConnectionReady(Connection.this); in register()
401 onConnectionDied(Connection.this); in binderDied()
410 onDisplayStateChanged(Connection.this, state); in postStateChanged()
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DIdmapDaemon.java70 private class Connection implements AutoCloseable { class in IdmapDaemon
75 private Connection(IIdmap2 idmap2) { in Connection() method in IdmapDaemon.Connection
126 try (Connection c = connect()) { in createIdmap()
141 try (Connection c = connect()) { in removeIdmap()
156 try (Connection c = connect()) { in verifyIdmap()
171 try (Connection c = connect()) { in idmapExists()
187 try (Connection c = connect()) { in createFabricatedOverlay()
202 try (Connection c = connect()) { in deleteFabricatedOverlay()
219 Connection c = null; in getFabricatedOverlayInfos()
251 try (Connection c = connect()) { in dumpIdmap()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java31 import com.android.internal.telephony.Connection;
84 List<Connection> connections = getConnections(); in dispose()
85 for (Connection conn : connections) { in dispose()
95 public ArrayList<Connection> getConnections() { in getConnections()
135 List<Connection> connections = getConnections(); in toString()
144 for (Connection conn : connections) { in toString()
167 public void attach(Connection conn) { in attach()
178 public void attach(Connection conn, State state) { in attach()
188 public void attachFake(Connection conn, State state) { in attachFake()
201 ArrayList<Connection> connections = getConnections(); in connectionDisconnected()
[all …]
DImsRttTextHandler.java22 import android.telecom.Connection;
66 private Connection.RttTextStream mRttTextStream;
71 private final Connection.RttTextStream mReaderThreadRttTextStream;
73 public InCallReaderThread(Connection.RttTextStream textStream) { in InCallReaderThread()
126 mRttTextStream = (Connection.RttTextStream) msg.obj; in handleMessage()
214 public void initialize(Connection.RttTextStream rttTextStream) { in initialize()
234 public void setRttTextStream(Connection.RttTextStream rttTextStream) { in setRttTextStream()
DImsPhoneConnection.java54 import com.android.internal.telephony.Connection;
71 public class ImsPhoneConnection extends Connection implements
132 private android.telecom.Connection.RttTextStream mRttTextStream;
298 mDialString = mAddress = Connection.ADHOC_CONFERENCE_ADDRESS; in ImsPhoneConnection()
338 Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL); in applyLocalCallCapabilities()
349 Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL); in applyLocalCallCapabilities()
358 Connection.Capability.SUPPORTS_VT_REMOTE_BIDIRECTIONAL); in applyRemoteCallCapabilities()
360 Connection.Capability.SUPPORTS_RTT_REMOTE); in applyRemoteCallCapabilities()
367 Connection.Capability.SUPPORTS_VT_REMOTE_BIDIRECTIONAL); in applyRemoteCallCapabilities()
372 capabilities = addCapability(capabilities, Connection.Capability.SUPPORTS_RTT_REMOTE); in applyRemoteCallCapabilities()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_HotplugTest.cpp48 mFlinger.onComposerHalHotplug(hwcDisplayId1, Connection::CONNECTED); in TEST_F()
49 mFlinger.onComposerHalHotplug(hwcDisplayId2, Connection::DISCONNECTED); in TEST_F()
61 EXPECT_EQ(Connection::CONNECTED, pendingEvents[0].connection); in TEST_F()
63 EXPECT_EQ(Connection::DISCONNECTED, pendingEvents[1].connection); in TEST_F()
97 mFlinger.onComposerHalHotplug(displayId1, Connection::DISCONNECTED); in TEST_F()
/frameworks/base/telephony/java/android/telephony/ims/
DImsConferenceState.java25 import android.telecom.Connection;
162 return Connection.STATE_INITIALIZING; in getConnectionStateForStatus()
164 return Connection.STATE_RINGING; in getConnectionStateForStatus()
167 return Connection.STATE_DIALING; in getConnectionStateForStatus()
170 return Connection.STATE_HOLDING; in getConnectionStateForStatus()
175 return Connection.STATE_ACTIVE; in getConnectionStateForStatus()
177 return Connection.STATE_DISCONNECTED; in getConnectionStateForStatus()
/frameworks/base/telephony/java/android/telephony/
DAnnotation.java6 import android.telecom.Connection;
597 Connection.AUDIO_CODEC_NONE,
598 Connection.AUDIO_CODEC_AMR,
599 Connection.AUDIO_CODEC_AMR_WB,
600 Connection.AUDIO_CODEC_QCELP13K,
601 Connection.AUDIO_CODEC_EVRC,
602 Connection.AUDIO_CODEC_EVRC_B,
603 Connection.AUDIO_CODEC_EVRC_WB,
604 Connection.AUDIO_CODEC_EVRC_NW,
605 Connection.AUDIO_CODEC_GSM_EFR,
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DConnectionTest.java43 private class TestConnection extends Connection {
77 public void consultativeTransfer(Connection other) throws CallStateException {} in consultativeTransfer()
130 Connection connection1 = new TestConnection(TEST_PHONE_TYPE); in testMigrateFrom()
131 Connection connection2 = new TestConnection(TEST_PHONE_TYPE); in testMigrateFrom()
151 Connection connection = new TestConnection(TEST_PHONE_TYPE); in testEmergencyCallParameters()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/d2d/
DMessageTypeAndValueHelper.java19 import android.telecom.Connection;
83 CODEC_TO_DC_CODEC.put(Communicator.AUDIO_CODEC_EVS, Connection.AUDIO_CODEC_EVS_WB); in CODEC_TO_DC_CODEC.put()
84 CODEC_TO_DC_CODEC.put(Communicator.AUDIO_CODEC_AMR_WB, Connection.AUDIO_CODEC_AMR_WB); in CODEC_TO_DC_CODEC.put()
85 CODEC_TO_DC_CODEC.put(Communicator.AUDIO_CODEC_AMR_NB, Connection.AUDIO_CODEC_AMR); in CODEC_TO_DC_CODEC.put()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneConnectionTest.java57 import com.android.internal.telephony.Connection;
134 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); in testImsIncomingConnectionCorrectness()
140 assertEquals(android.telecom.Connection.VERIFICATION_STATUS_PASSED, in testImsIncomingConnectionCorrectness()
142 verify(mForeGroundCall, times(1)).attach((Connection) any(), in testImsIncomingConnectionCorrectness()
151 verify(mForeGroundCall, times(1)).attachFake((Connection) any(), in testImsIncomingConnectionCorrectness()
165 assertEquals(Connection.PostDialState.COMPLETE, mConnectionUT.getPostDialState()); in testImsUpdateStateForeGround()
191 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); in testImsUpdateStateBackGround()
203 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); in testImsUpdateStatePendingHold()
256 assertEquals(Connection.PostDialState.WAIT, mConnectionUT.getPostDialState()); in testPostDialWait()
259 assertEquals(Connection.PostDialState.COMPLETE, mConnectionUT.getPostDialState()); in testPostDialWait()
[all …]
/frameworks/proto_logging/stats/enums/bluetooth/le/
Denums.proto24 // LE ACL Connection State. This as per - go/bluetooth-le-connection-metrics
32 // Connection Origin type.
39 // LE Connection Type
51 // LE Connection State
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationProxyTest.kt140 val proxyV1 = DomainVerificationProxy.makeProxy<Connection>( in <lambda>()
158 val proxyV2 = DomainVerificationProxy.makeProxy<Connection>( in <lambda>()
176 val proxyBoth = DomainVerificationProxy.makeProxy<Connection>( in <lambda>()
200 assertThat(DomainVerificationProxy.makeProxy<Connection>( in <lambda>()
214 val proxy = DomainVerificationProxy.makeProxy<Connection>( in <lambda>()
436 val proxy = DomainVerificationProxy.makeProxy<Connection>( in <lambda>()
472 DomainVerificationProxy.makeProxy<Connection>( in <lambda>()
483 DomainVerificationProxy.makeProxy<Connection>( in <lambda>()
494 DomainVerificationProxy.makeProxy<Connection>( in <lambda>()
507 private fun mockConnection(block: Connection.() -> Unit = {}) = in <lambda>()
[all …]

123456