Home
last modified time | relevance | path

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

123456

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java89 public ArrayList<Connection> mConnections = new ArrayList<>();
100 public ArrayList<Connection> getConnections() { in getConnections()
102 return (ArrayList<Connection>) mConnections.clone(); in getConnections()
140 public boolean hasConnection(Connection c) { in hasConnection()
149 List<Connection> connections = getConnections(); in hasConnections()
163 public void removeConnection(Connection conn) { in removeConnection()
174 public void addConnection(Connection conn) { in addConnection()
222 public Connection
224 List<Connection> l; in getEarliestConnection()
226 Connection c; in getEarliestConnection()
[all …]
DConnection.java46 public abstract class Connection { class
106 android.telecom.Connection.VideoProvider videoProvider); in onVideoProviderChanged()
115 public void onCallPullFailed(Connection externalConnection); in onCallPullFailed()
123 public void onOriginalConnectionReplaced(Connection newConnection); in onOriginalConnectionReplaced()
151 android.telecom.Connection.VideoProvider videoProvider) {} in onVideoProviderChanged()
169 public void onCallPullFailed(Connection externalConnection) {} in onCallPullFailed()
185 public void onOriginalConnectionReplaced(Connection newConnection) {} in onOriginalConnectionReplaced()
213 protected @android.telecom.Connection.VerificationStatus int mNumberVerificationStatus =
214 android.telecom.Connection.VERIFICATION_STATUS_NOT_VERIFIED;
240 protected Connection mOrigConnection;
[all …]
DCallTracker.java50 protected ArrayList<Connection> mHandoverConnections = new ArrayList<Connection>();
110 protected Connection getHoConnection(DriverCall dc) { in getHoConnection()
111 for (Connection hoConn : mHandoverConnections) { in getHoConnection()
118 for (Connection hoConn : mHandoverConnections) { in getHoConnection()
128 protected void notifySrvccState(Call.SrvccState state, ArrayList<Connection> c) { in notifySrvccState()
258 public Connection getRingingHandoverConnection() { in getRingingHandoverConnection()
259 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.java211 private static Connection sNullConnection;
213 private final Map<String, Connection> mConnectionById = new ConcurrentHashMap<>();
214 private final Map<Connection, String> mIdByConnection = new ConcurrentHashMap<>();
763 Connection.CallFilteringCompletionInfo completionInfo,
798 args.arg2 = new Connection.RttTextStream(toInCall, fromInCall);
829 args.arg2 = new Connection.RttTextStream(toInCall, fromInCall);
1444 Connection.CallFilteringCompletionInfo completionInfo =
1445 (Connection.CallFilteringCompletionInfo) args.arg2;
1486 Connection.RttTextStream rttTextStream =
1487 (Connection.RttTextStream) args.arg2;
[all …]
DConnection.java115 public abstract class Connection extends Conferenceable { class
1213 public void onStateChanged(Connection c, int state) {} in onStateChanged()
1214 public void onAddressChanged(Connection c, Uri newAddress, int presentation) {} in onAddressChanged()
1216 Connection c, String callerDisplayName, int presentation) {} in onCallerDisplayNameChanged()
1217 public void onVideoStateChanged(Connection c, int videoState) {} in onVideoStateChanged()
1218 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {} in onDisconnected()
1219 public void onPostDialWait(Connection c, String remaining) {} in onPostDialWait()
1220 public void onPostDialChar(Connection c, char nextChar) {} in onPostDialChar()
1221 public void onRingbackRequested(Connection c, boolean ringback) {} in onRingbackRequested()
1222 public void onDestroyed(Connection c) {} in onDestroyed()
[all …]
DRemoteConnectionService.java68 || parcel.getState() != Connection.STATE_DISCONNECTED) {
72 || parcel.getState() != Connection.STATE_DISCONNECTED) {
78 if (parcel.getState() == Connection.STATE_DISCONNECTED) {
91 if (connection.getState() == Connection.STATE_DISCONNECTED) {
115 .setState(Connection.STATE_ACTIVE);
118 .setState(Connection.STATE_ACTIVE);
125 .setState(Connection.STATE_RINGING);
131 .setState(Connection.STATE_DIALING);
137 .setState(Connection.STATE_PULLING_CALL);
156 .setState(Connection.STATE_HOLDING);
[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/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 const char* Connection::getStatusLabel() const { in getStatusLabel()
56 std::deque<DispatchEntry*>::iterator Connection::findWaitQueueEntry(uint32_t seq) { in findWaitQueueEntry()
DConnection.h30 class Connection : public RefBase {
32 virtual ~Connection();
62 Connection(const std::shared_ptr<InputChannel>& inputChannel, bool monitor,
DInputDispatcher.h64 class Connection; variable
217 sp<Connection> getConnectionLocked(const sp<IBinder>& inputConnectionToken) const
222 void removeConnectionLocked(const sp<Connection>& connection) REQUIRES(mLock);
230 std::unordered_map<sp<IBinder>, sp<Connection>, StrongPointerHash<IBinder>> mConnectionsByToken
440 void processConnectionUnresponsiveLocked(const Connection& connection, std::string reason)
445 void processConnectionResponsiveLocked(const Connection& connection) REQUIRES(mLock);
476 void cancelEventsForAnrLocked(const sp<Connection>& connection) REQUIRES(mLock);
535 void prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
538 void enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection,
541 void enqueueDispatchEntryLocked(const sp<Connection>& connection, std::shared_ptr<EventEntry>,
[all …]
/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/base/services/core/java/com/android/server/om/
DIdmapDaemon.java69 private class Connection implements AutoCloseable { class in IdmapDaemon
72 private Connection() { in Connection() method in IdmapDaemon.Connection
117 try (Connection c = connect()) { in createIdmap()
124 try (Connection c = connect()) { in removeIdmap()
132 try (Connection c = connect()) { in verifyIdmap()
139 try (Connection c = connect()) { in idmapExists()
148 try (Connection c = connect()) { in createFabricatedOverlay()
157 try (Connection c = connect()) { in deleteFabricatedOverlay()
167 try (Connection c = connect()) { in getFabricatedOverlayInfos()
187 try (Connection c = connect()) { in dumpIdmap()
[all …]
/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/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()
205 public void initialize(Connection.RttTextStream rttTextStream) { in initialize()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_HotplugTest.cpp49 mFlinger.onComposerHalHotplug(hwcDisplayId1, Connection::CONNECTED); in TEST_F()
50 mFlinger.onComposerHalHotplug(hwcDisplayId2, Connection::DISCONNECTED); in TEST_F()
62 EXPECT_EQ(Connection::CONNECTED, pendingEvents[0].connection); in TEST_F()
64 EXPECT_EQ(Connection::DISCONNECTED, pendingEvents[1].connection); in TEST_F()
99 mFlinger.onComposerHalHotplug(displayId1, Connection::DISCONNECTED); in TEST_F()
/frameworks/base/telephony/java/android/telephony/
DAnnotation.java4 import android.telecom.Connection;
593 Connection.AUDIO_CODEC_NONE,
594 Connection.AUDIO_CODEC_AMR,
595 Connection.AUDIO_CODEC_AMR_WB,
596 Connection.AUDIO_CODEC_QCELP13K,
597 Connection.AUDIO_CODEC_EVRC,
598 Connection.AUDIO_CODEC_EVRC_B,
599 Connection.AUDIO_CODEC_EVRC_WB,
600 Connection.AUDIO_CODEC_EVRC_NW,
601 Connection.AUDIO_CODEC_GSM_EFR,
[all …]
/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/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()
129 Connection connection1 = new TestConnection(TEST_PHONE_TYPE); in testMigrateFrom()
130 Connection connection2 = new TestConnection(TEST_PHONE_TYPE); in testMigrateFrom()
150 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;
131 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); in testImsIncomingConnectionCorrectness()
137 assertEquals(android.telecom.Connection.VERIFICATION_STATUS_PASSED, in testImsIncomingConnectionCorrectness()
139 verify(mForeGroundCall, times(1)).attach((Connection) any(), in testImsIncomingConnectionCorrectness()
148 verify(mForeGroundCall, times(1)).attachFake((Connection) any(), in testImsIncomingConnectionCorrectness()
162 assertEquals(Connection.PostDialState.COMPLETE, mConnectionUT.getPostDialState()); in testImsUpdateStateForeGround()
188 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); in testImsUpdateStateBackGround()
200 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); in testImsUpdateStatePendingHold()
253 assertEquals(Connection.PostDialState.WAIT, mConnectionUT.getPostDialState()); in testPostDialWait()
256 assertEquals(Connection.PostDialState.COMPLETE, mConnectionUT.getPostDialState()); in testPostDialWait()
[all …]
/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