Home
last modified time | relevance | path

Searched refs:Connection (Results 1 – 25 of 143) 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.java49 public abstract class Connection { class
114 android.telecom.Connection.VideoProvider videoProvider); in onVideoProviderChanged()
123 public void onCallPullFailed(Connection externalConnection); in onCallPullFailed()
131 public void onOriginalConnectionReplaced(Connection newConnection); in onOriginalConnectionReplaced()
166 android.telecom.Connection.VideoProvider videoProvider) {} in onVideoProviderChanged()
184 public void onCallPullFailed(Connection externalConnection) {} in onCallPullFailed()
200 public void onOriginalConnectionReplaced(Connection newConnection) {} in onOriginalConnectionReplaced()
230 protected @android.telecom.Connection.VerificationStatus int mNumberVerificationStatus =
231 android.telecom.Connection.VERIFICATION_STATUS_NOT_VERIFIED;
257 protected Connection mOrigConnection;
[all …]
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()
DCallTracker.java55 protected ArrayList<Connection> mHandoverConnections = new ArrayList<Connection>();
127 protected Connection getHoConnection(DriverCall dc) { in getHoConnection()
128 for (Connection hoConn : mHandoverConnections) { in getHoConnection()
135 for (Connection hoConn : mHandoverConnections) { in getHoConnection()
145 protected void notifySrvccState(Call.SrvccState state, ArrayList<Connection> c) { in notifySrvccState()
302 public Connection getRingingHandoverConnection() { in getRingingHandoverConnection()
303 for (Connection hoConn : mHandoverConnections) { in getRingingHandoverConnection()
DGsmCdmaCallTracker.java136 List<Connection> toNotify = new ArrayList<Connection>();
145 for (Connection connection : toNotify) {
276 ArrayList<Connection> connCopy = mForegroundCall.getConnections(); in fakeHoldForegroundBeforeDial()
278 for (Connection conn : connCopy) { in fakeHoldForegroundBeforeDial()
288 public synchronized Connection dialGsm(String dialString, DialArgs dialArgs) in dialGsm()
418 private Connection dialCdma(String dialString, DialArgs dialArgs) in dialCdma()
533 private Connection dialThreeWay(String dialString, DialArgs dialArgs) { in dialThreeWay()
571 public Connection dial(String dialString, DialArgs dialArgs) throws CallStateException { in dial()
580 public Connection dialGsm(String dialString, UUSInfo uusInfo, Bundle intentExtras) in dialGsm()
590 private Connection dialGsm(String dialString, int clirMode, Bundle intentExtras) in dialGsm()
[all …]
/frameworks/av/media/module/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()
DConnection.h42 struct Connection : public IConnection { struct
77 ~Connection();
80 Connection();
/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 =
92 private int mState = Connection.STATE_NEW;
[all …]
DConnectionService.java445 private static Connection sNullConnection;
447 private final Map<String, Connection> mConnectionById = new ConcurrentHashMap<>();
448 private final Map<Connection, String> mIdByConnection = new ConcurrentHashMap<>();
1042 Connection.CallFilteringCompletionInfo completionInfo,
1077 args.arg2 = new Connection.RttTextStream(toInCall, fromInCall);
1108 args.arg2 = new Connection.RttTextStream(toInCall, fromInCall);
1723 Connection.CallFilteringCompletionInfo completionInfo =
1724 (Connection.CallFilteringCompletionInfo) args.arg2;
1765 Connection.RttTextStream rttTextStream =
1766 (Connection.RttTextStream) args.arg2;
[all …]
DConnection.java123 public abstract class Connection extends Conferenceable { class
1246 public void onStateChanged(Connection c, int state) {} in onStateChanged()
1247 public void onAddressChanged(Connection c, Uri newAddress, int presentation) {} in onAddressChanged()
1249 Connection c, String callerDisplayName, int presentation) {} in onCallerDisplayNameChanged()
1250 public void onVideoStateChanged(Connection c, int videoState) {} in onVideoStateChanged()
1251 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {} in onDisconnected()
1252 public void onPostDialWait(Connection c, String remaining) {} in onPostDialWait()
1253 public void onPostDialChar(Connection c, char nextChar) {} in onPostDialChar()
1254 public void onRingbackRequested(Connection c, boolean ringback) {} in onRingbackRequested()
1255 public void onDestroyed(Connection c) {} in onDestroyed()
[all …]
/frameworks/av/media/module/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()
DConnection.h42 struct Connection : public IConnection { struct
72 ~Connection();
75 Connection();
/frameworks/base/services/core/java/com/android/server/media/
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 …]
DMediaRoute2ProviderServiceProxy.java74 private Connection mActiveConnection;
343 Connection connection = new Connection(serviceBinder); in onServiceConnectedInternal()
382 private void onConnectionReady(Connection connection) { in onConnectionReady()
395 private void onConnectionDied(Connection connection) { in onConnectionDied()
404 private void onProviderUpdated(Connection connection, MediaRoute2ProviderInfo providerInfo) { in onProviderUpdated()
414 private void onSessionCreated(Connection connection, long requestId, in onSessionCreated()
458 private void onSessionsUpdated(Connection connection, List<RoutingSessionInfo> sessions) { in onSessionsUpdated()
547 private void onSessionReleased(Connection connection, RoutingSessionInfo releasedSession) { in onSessionReleased()
608 private void onRequestFailed(Connection connection, long requestId, int reason) { in onRequestFailed()
694 private final class Connection implements DeathRecipient { class in MediaRoute2ProviderServiceProxy
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_HotplugTest.cpp44 EXPECT_EQ(Connection::CONNECTED, pendingEvents[0].connection); in TEST_F()
46 EXPECT_EQ(Connection::DISCONNECTED, pendingEvents[1].connection); in TEST_F()
78 ExternalDisplay::injectPendingHotplugEvent(this, Connection::CONNECTED); in TEST_F()
84 ExternalDisplay::injectPendingHotplugEvent(this, Connection::DISCONNECTED); in TEST_F()
85 ExternalDisplay::injectPendingHotplugEvent(this, Connection::DISCONNECTED); in TEST_F()
86 ExternalDisplay::injectPendingHotplugEvent(this, Connection::DISCONNECTED); in TEST_F()
121 ExternalDisplay::injectPendingHotplugEvent(this, Connection::CONNECTED); in TEST_F()
128 ExternalDisplay::injectPendingHotplugEvent(this, Connection::DISCONNECTED); in TEST_F()
/frameworks/base/services/core/java/com/android/server/om/
DIdmapDaemon.java77 private class Connection implements AutoCloseable { class in IdmapDaemon
82 private Connection(IIdmap2 idmap2) { in Connection() method in IdmapDaemon.Connection
133 try (Connection c = connect()) { in createIdmap()
148 try (Connection c = connect()) { in removeIdmap()
163 try (Connection c = connect()) { in verifyIdmap()
178 try (Connection c = connect()) { in idmapExists()
194 try (Connection c = connect()) { in createFabricatedOverlay()
209 try (Connection c = connect()) { in deleteFabricatedOverlay()
226 Connection c = null; in getFabricatedOverlayInfos()
258 try (Connection c = connect()) { in dumpIdmap()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java33 import com.android.internal.telephony.Connection;
86 List<Connection> connections = getConnections(); in dispose()
87 for (Connection conn : connections) { in dispose()
97 public ArrayList<Connection> getConnections() { in getConnections()
137 List<Connection> connections = getConnections(); in toString()
146 for (Connection conn : connections) { in toString()
169 public void attach(Connection conn) { in attach()
180 public void attach(Connection conn, State state) { in attach()
190 public void attachFake(Connection conn, State state) { in attachFake()
203 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()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DConnectionTest.java53 protected Connection.PhoneFactoryProxy mPhoneFactoryProxy;
54 protected Connection mTestConnection;
56 private class TestConnection extends Connection {
90 public void consultativeTransfer(Connection other) throws CallStateException {} in consultativeTransfer()
140 mPhoneFactoryProxy = mock(Connection.PhoneFactoryProxy.class); in setUp()
151 Connection connection1 = new TestConnection(TEST_PHONE_TYPE); in testMigrateFrom()
152 Connection connection2 = new TestConnection(TEST_PHONE_TYPE); in testMigrateFrom()
172 Connection connection = new TestConnection(TEST_PHONE_TYPE); in testEmergencyCallParameters()
202 Connection connection = new TestConnection(TEST_PHONE_TYPE); in testUpdateEmergencyRouting()
/frameworks/native/services/inputflinger/dispatcher/
DConnection.cpp23 Connection::Connection(std::unique_ptr<InputChannel> inputChannel, bool monitor, in Connection() function in android::inputdispatcher::Connection
30 sp<IBinder> Connection::getToken() const { in getToken()
/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;
598 Connection.AUDIO_CODEC_NONE,
599 Connection.AUDIO_CODEC_AMR,
600 Connection.AUDIO_CODEC_AMR_WB,
601 Connection.AUDIO_CODEC_QCELP13K,
602 Connection.AUDIO_CODEC_EVRC,
603 Connection.AUDIO_CODEC_EVRC_B,
604 Connection.AUDIO_CODEC_EVRC_WB,
605 Connection.AUDIO_CODEC_EVRC_NW,
606 Connection.AUDIO_CODEC_GSM_EFR,
[all …]
/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/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 …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsExternalCallTrackerTest.java31 import com.android.internal.telephony.Connection;
86 ArgumentCaptor<Connection> connectionArgumentCaptor = ArgumentCaptor.forClass( in testAddExternalCall()
87 Connection.class); in testAddExternalCall()
91 Connection connection = connectionArgumentCaptor.getValue(); in testAddExternalCall()

123456