Home
last modified time | relevance | path

Searched refs:mConnections (Results 1 – 22 of 22) 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.java73 public GsmCdmaConnection[] mConnections; field in GsmCdmaCallTracker
171 mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_GSM]; in updatePhoneType()
179 mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_CDMA]; in updatePhoneType()
192 for (GsmCdmaConnection gsmCdmaConnection : mConnections) { in reset()
203 mConnections = null; in reset()
256 connCopy = (List<Connection>) mForegroundCall.mConnections.clone(); in fakeHoldForegroundBeforeDial()
775 ; i < mConnections.length; i++) { in handlePollCalls()
776 GsmCdmaConnection conn = mConnections[i]; in handlePollCalls()
805 mConnections[i] = mPendingMO; in handlePollCalls()
822 hangup(mConnections[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()
209 mConnections.remove(conn); in detach()
221 return mConnections.size() == ImsPhoneCallTracker.MAX_CONNECTIONS_PER_CALL; in isFull()
[all …]
DImsExternalCall.java38 mConnections.add(connection); in ImsExternalCall()
43 return mConnections; in getConnections()
DImsPhoneCallTracker.java286 private ArrayList<ImsPhoneConnection> mConnections = new ArrayList<ImsPhoneConnection>(); field in ImsPhoneCallTracker
1710 if (mHandoverCall.mConnections.size() > 0) { in callEndCleanupHandOverCallIfAny()
1712 + mHandoverCall.mConnections); in callEndCleanupHandOverCallIfAny()
1713 mHandoverCall.mConnections.clear(); in callEndCleanupHandOverCallIfAny()
1714 mConnections.clear(); in callEndCleanupHandOverCallIfAny()
1800 for (ImsPhoneConnection conn : mConnections) { in findConnection()
1809 mConnections.remove(conn); in removeConnection()
1814 for (ImsPhoneConnection imsPhoneConnection : mConnections) { in removeConnection()
1829 mConnections.add(conn); in addConnection()
2966 if (call.mConnections != null) { in transferHandoverConnections()
[all …]
DImsPhone.java1225 connList.addAll(getForegroundCall().mConnections); in getHandoverConnection()
1227 connList.addAll(getBackgroundCall().mConnections); in getHandoverConnection()
1229 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<const SensorEventConnection> > mConnections;
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceAdminServiceController.java86 private final SparseArray<DevicePolicyServiceConnection> mConnections = new SparseArray<>(); field in DeviceAdminServiceController
157 mConnections.get(userId); in startServiceForOwner()
174 mConnections.put(userId, conn); in startServiceForOwner()
198 final DevicePolicyServiceConnection conn = mConnections.get(userId); in disconnectServiceOnUserLocked()
203 mConnections.remove(userId); in disconnectServiceOnUserLocked()
209 if (mConnections.size() == 0) { in dump()
214 for (int i = 0; i < mConnections.size(); i++) { in dump()
215 final int userId = mConnections.keyAt(i); in dump()
218 final DevicePolicyServiceConnection con = mConnections.valueAt(i); in dump()
/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.java106 private final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>(); field in MediaBrowserService
129 mConnections.remove(callbacks.asBinder()); in binderDied()
219 mConnections.remove(b); in connect()
244 mConnections.put(b, connection); in connect()
253 mConnections.remove(b); in connect()
268 final ConnectionRecord old = mConnections.remove(b); in disconnect()
291 final ConnectionRecord connection = mConnections.get(b); in addSubscription()
316 ConnectionRecord connection = mConnections.get(b); in removeSubscription()
337 ConnectionRecord connection = mConnections.get(b); in getMediaItem()
489 Iterator<ConnectionRecord> iter = mConnections.values().iterator(); in setSessionToken()
[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()
DGsmCdmaCallTrackerTest.java422 mCTUT.mConnections[0] = mConnection; in testUpdatePhoneTypeWithActiveCall()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java90 private final SparseArray<Connection> mConnections = new SparseArray<>(); field in TvInputHardwareManager
159 mConnections.put(info.getDeviceId(), connection); in onDeviceAvailable()
171 for (int i = 0; i < mConnections.size(); ++i) { in buildHardwareListLocked()
172 mHardwareList.add(mConnections.valueAt(i).getHardwareInfoLocked()); in buildHardwareListLocked()
179 Connection connection = mConnections.get(deviceId); in onDeviceUnavailable()
185 mConnections.remove(deviceId); in onDeviceUnavailable()
207 Connection connection = mConnections.get(deviceId); in onStreamConfigurationChanged()
235 Connection connection = mConnections.get(deviceId); in onFirstFrameCaptured()
303 Connection connection = mConnections.get(deviceId); in addHardwareInput()
374 Connection connection = mConnections.get(deviceId); in acquireHardware()
[all …]
/frameworks/support/media/src/main/java/androidx/media/
DMediaBrowserServiceCompat.java179 final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>(); field in MediaBrowserServiceCompat
215 Iterator<ConnectionRecord> iter = mConnections.values().iterator(); in setSessionToken()
235 for (IBinder binder : mConnections.keySet()) { in notifyChildrenChanged()
236 ConnectionRecord connection = mConnections.get(binder); in notifyChildrenChanged()
274 for (IBinder binder : mConnections.keySet()) { in getSubscribingBrowsers()
275 ConnectionRecord connection = mConnections.get(binder); in getSubscribingBrowsers()
398 for (IBinder binder : mConnections.keySet()) { in getSubscribingBrowsers()
399 ConnectionRecord connection = mConnections.get(binder); in getSubscribingBrowsers()
417 for (IBinder binder : mConnections.keySet()) { in notifyChildrenChangedForCompat()
418 ConnectionRecord connection = mConnections.get(binder); in notifyChildrenChangedForCompat()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTest.java71 assertEquals(0, mImsCallUT.mConnections.size()); in testAttachDetach()
78 assertEquals(1, mImsCallUT.mConnections.size()); in testAttachDetach()
85 assertEquals(0, mImsCallUT.mConnections.size()); in testAttachDetach()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp307 KeyedVector<int, KeyedVector<int, Connection> > mConnections; member in android::JTvInputHal
341 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in addOrUpdateStream()
411 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in removeStream()
457 mConnections.add(info.deviceId, KeyedVector<int, Connection>()); in onDeviceAvailable()
501 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in onDeviceUnavailable()
506 mConnections.removeItem(deviceId); in onDeviceUnavailable()
518 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in onStreamConfigurationsChanged()
535 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in onCaptured()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java86 private final LinkedList<ConnectionRecord> mConnections = new LinkedList<ConnectionRecord>(); field in UsbHostManager
293 while (mConnections.size() >= MAX_CONNECT_RECORDS) { in addConnectionRecord()
294 mConnections.removeFirst(); in addConnectionRecord()
298 mConnections.add(rec); in addConnectionRecord()
484 for (ConnectionRecord rec : mConnections) { in dump()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java72 ArrayList<ServiceConnection> mConnections = new ArrayList<ServiceConnection>(); field in ActivityTestMain
178 mConnections.add(conn); in onCreateOptionsMenu()
280 mConnections.add(conn); in onCreateOptionsMenu()
304 mConnections.add(conn); in onCreateOptionsMenu()
472 for (ServiceConnection conn : mConnections) { in onStop()
475 mConnections.clear(); in onStop()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java1177 private RilCall[] convertConnectionsToRilCalls(ArrayList<GsmCdmaConnection> mConnections) { in convertConnectionsToRilCalls() argument
1178 RilCall[] calls = new RilCall[mConnections.size()]; in convertConnectionsToRilCalls()
1179 for (int i = 0; i < mConnections.size(); i++) { in convertConnectionsToRilCalls()
1182 convertConnectionToRilCall(mConnections.get(i), calls[i]); in convertConnectionsToRilCalls()