Home
last modified time | relevance | path

Searched refs:mConnections (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCall.java40 return mConnections; in getConnections()
50 return mConnections.size() > 1; in isMultiparty()
70 mConnections.add(conn); in attach()
76 mConnections.add(conn); in attachFake()
90 for (int i = 0, s = mConnections.size(); i < s; i ++) { in connectionDisconnected()
91 if (mConnections.get(i).getState() != State.DISCONNECTED) { in connectionDisconnected()
107 mConnections.remove(conn); in detach()
109 if (mConnections.size() == 0) { in detach()
133 return mConnections.size() == mOwner.getMaxConnectionsPerCall(); in isFull()
145 for (int i = 0, s = mConnections.size(); i < s; i++) { in onHangupLocal()
[all …]
DGsmCdmaCallTracker.java69 private GsmCdmaConnection mConnections[]; field in GsmCdmaCallTracker
169 mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_GSM]; in updatePhoneType()
172 mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_CDMA]; in updatePhoneType()
187 for (GsmCdmaConnection gsmCdmaConnection : mConnections) { in reset()
242 connCopy = (List<Connection>) mForegroundCall.mConnections.clone(); in fakeHoldForegroundBeforeDial()
749 ; i < mConnections.length; i++) { in handlePollCalls()
750 GsmCdmaConnection conn = mConnections[i]; in handlePollCalls()
779 mConnections[i] = mPendingMO; in handlePollCalls()
796 hangup(mConnections[i]); in handlePollCalls()
810 mConnections[i] = new GsmCdmaConnection(mPhone, dc, this, i); in handlePollCalls()
[all …]
DCall.java71 public ArrayList<Connection> mConnections = new ArrayList<Connection>(); field in Call
265 for (int i = mConnections.size() - 1 ; i >= 0 ; i--) {
266 Connection c = mConnections.get(i);
268 mConnections.remove(i);
272 if (mConnections.size() == 0) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java81 for(int i = 0, s = mConnections.size(); i < s; i++) { in dispose()
82 ImsPhoneConnection c = (ImsPhoneConnection) mConnections.get(i); in dispose()
93 return mConnections; in getConnections()
130 if (mConnections.size() > 1) { in toString()
133 for (Connection conn : mConnections) { in toString()
158 mConnections.add(conn); in attach()
185 for (int i = 0, s = mConnections.size() ; i < s; i ++) { in connectionDisconnected()
186 if (mConnections.get(i).getState() != State.DISCONNECTED) { in connectionDisconnected()
205 mConnections.remove(conn); in detach()
217 return mConnections.size() == ImsPhoneCallTracker.MAX_CONNECTIONS_PER_CALL; in isFull()
[all …]
DImsExternalCall.java36 mConnections.add(connection); in ImsExternalCall()
41 return mConnections; in getConnections()
DImsPhoneCallTracker.java182 private ArrayList<ImsPhoneConnection> mConnections = new ArrayList<ImsPhoneConnection>(); field in ImsPhoneCallTracker
929 if (mHandoverCall.mConnections.size() > 0) { in callEndCleanupHandOverCallIfAny()
931 + mHandoverCall.mConnections); in callEndCleanupHandOverCallIfAny()
932 mHandoverCall.mConnections.clear(); in callEndCleanupHandOverCallIfAny()
1010 for (ImsPhoneConnection conn : mConnections) { in findConnection()
1019 mConnections.remove(conn); in removeConnection()
1024 for (ImsPhoneConnection imsPhoneConnection : mConnections) { in removeConnection()
1039 mConnections.add(conn); in addConnection()
1814 for (ImsPhoneConnection connection : mConnections) {
1858 if (call.mConnections != null) { in transferHandoverConnections()
[all …]
DImsPhone.java1023 connList.addAll(getForegroundCall().mConnections); in getHandoverConnection()
1025 connList.addAll(getBackgroundCall().mConnections); in getHandoverConnection()
1027 connList.addAll(getRingingCall().mConnections); in getHandoverConnection()
/frameworks/native/services/sensorservice/
DSensorRecord.cpp26 mConnections.add(connection); in SensorRecord()
32 if (mConnections.indexOf(connection) < 0) { in addConnection()
33 mConnections.add(connection); in addConnection()
42 ssize_t index = mConnections.indexOf(connection); in removeConnection()
44 mConnections.removeItemsAt(index, 1); in removeConnection()
55 return mConnections.size() ? false : true; in removeConnection()
DSensorRecord.h31 size_t getNumConnections() const { return mConnections.size(); } in getNumConnections()
38 SortedVector< wp<SensorEventConnection> > mConnections;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java457 mConnections.clear(); in reset()
473 mConnections = that.mConnections; in takeOver()
475 for (Connection c : mConnections) { in takeOver()
490 return mConnections; in getConnections()
509 mConnections.add(c); in dial()
525 for (Connection c : mConnections) { in hangup()
543 mConnections.add(c); in initIncomingCall()
563 if (mConnections.size() != 1) { in acceptCall()
566 ((SipConnection) mConnections.get(0)).acceptCall(); in acceptCall()
600 for (Connection c : mConnections) ((SipConnection) c).hold(); in hold()
[all …]
DSipCallBase.java29 return mConnections; in getConnections()
34 return mConnections.size() > 1; in isMultiparty()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java99 private final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>(); field in MediaBrowserService
199 mConnections.remove(b); in connect()
220 mConnections.put(b, connection); in connect()
228 mConnections.remove(b); in connect()
243 final ConnectionRecord old = mConnections.remove(b); in disconnect()
265 final ConnectionRecord connection = mConnections.get(b); in addSubscription()
290 ConnectionRecord connection = mConnections.get(b); in removeSubscription()
315 ConnectionRecord connection = mConnections.get(b); in getMediaItem()
468 for (IBinder key : mConnections.keySet()) { in setSessionToken()
469 ConnectionRecord connection = mConnections.get(key); in setSessionToken()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java88 private final SparseArray<Connection> mConnections = new SparseArray<>(); field in TvInputHardwareManager
158 mConnections.put(info.getDeviceId(), connection); in onDeviceAvailable()
170 for (int i = 0; i < mConnections.size(); ++i) { in buildHardwareListLocked()
171 mHardwareList.add(mConnections.valueAt(i).getHardwareInfoLocked()); in buildHardwareListLocked()
178 Connection connection = mConnections.get(deviceId); in onDeviceUnavailable()
184 mConnections.remove(deviceId); in onDeviceUnavailable()
206 Connection connection = mConnections.get(deviceId); in onStreamConfigurationChanged()
232 Connection connection = mConnections.get(deviceId); in onFirstFrameCaptured()
303 Connection connection = mConnections.get(deviceId); in addHardwareInput()
375 Connection connection = mConnections.get(deviceId); in acquireHardware()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTest.java52 assertEquals(0, mCallUnderTest.mConnections.size()); in testAttachDetach()
60 assertEquals(1, mCallUnderTest.mConnections.size()); in testAttachDetach()
67 assertEquals(0, mCallUnderTest.mConnections.size()); in testAttachDetach()
74 assertEquals(0, mCallUnderTest.mConnections.size()); in testMultiparty()
/frameworks/support/v4/java/android/support/v4/media/
DMediaBrowserServiceCompat.java122 private final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>(); field in MediaBrowserServiceCompat
156 for (IBinder key : mConnections.keySet()) { in setSessionToken()
157 ConnectionRecord connection = mConnections.get(key); in setSessionToken()
163 mConnections.remove(key); in setSessionToken()
175 for (IBinder binder : mConnections.keySet()) { in notifyChildrenChanged()
176 ConnectionRecord connection = mConnections.get(binder); in notifyChildrenChanged()
232 for (IBinder binder : mConnections.keySet()) { in notifyChildrenChanged()
233 ConnectionRecord connection = mConnections.get(binder); in notifyChildrenChanged()
554 mConnections.remove(b); in connect()
576 mConnections.put(b, connection); in connect()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTest.java66 assertEquals(0, mImsCallUT.mConnections.size()); in testAttachDetach()
73 assertEquals(1, mImsCallUT.mConnections.size()); in testAttachDetach()
80 assertEquals(0, mImsCallUT.mConnections.size()); in testAttachDetach()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp290 KeyedVector<int, KeyedVector<int, Connection> > mConnections; member in android::JTvInputHal
336 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in addOrUpdateStream()
407 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in removeStream()
468 mConnections.add(info.device_id, KeyedVector<int, Connection>()); in onDeviceAvailable()
506 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in onDeviceUnavailable()
511 mConnections.removeItem(deviceId); in onDeviceUnavailable()
523 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in onStreamConfigurationsChanged()
540 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in onCaptured()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java72 ArrayList<ServiceConnection> mConnections = new ArrayList<ServiceConnection>(); field in ActivityTestMain
218 mConnections.add(conn); in onCreateOptionsMenu()
320 mConnections.add(conn); in onCreateOptionsMenu()
344 mConnections.add(conn); in onCreateOptionsMenu()
512 for (ServiceConnection conn : mConnections) { in onStop()
515 mConnections.clear(); in onStop()
/frameworks/base/docs/html/topic/libraries/support-library/
Drevisions.jd276 <code>MediaBrowserServiceCompat.mConnections</code>. (<a class=