/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaCall.java | 40 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 …]
|
D | GsmCdmaCallTracker.java | 73 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 …]
|
D | Call.java | 71 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/ |
D | ImsPhoneCall.java | 81 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 …]
|
D | ImsExternalCall.java | 38 mConnections.add(connection); in ImsExternalCall() 43 return mConnections; in getConnections()
|
D | ImsPhoneCallTracker.java | 286 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 …]
|
D | ImsPhone.java | 1225 connList.addAll(getForegroundCall().mConnections); in getHandoverConnection() 1227 connList.addAll(getBackgroundCall().mConnections); in getHandoverConnection() 1229 connList.addAll(getRingingCall().mConnections); in getHandoverConnection()
|
/frameworks/native/services/sensorservice/ |
D | SensorRecord.cpp | 26 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()
|
D | SensorRecord.h | 31 size_t getNumConnections() const { return mConnections.size(); } in getNumConnections() 38 SortedVector< wp<const SensorEventConnection> > mConnections;
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DeviceAdminServiceController.java | 86 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/ |
D | SipPhone.java | 457 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 …]
|
D | SipCallBase.java | 29 return mConnections; in getConnections() 34 return mConnections.size() > 1; in isMultiparty()
|
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 106 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/ |
D | GsmCdmaCallTest.java | 52 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()
|
D | GsmCdmaCallTrackerTest.java | 422 mCTUT.mConnections[0] = mConnection; in testUpdatePhoneTypeWithActiveCall()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 90 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/ |
D | MediaBrowserServiceCompat.java | 179 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/ |
D | ImsPhoneCallTest.java | 71 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/ |
D | com_android_server_tv_TvInputHal.cpp | 307 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/ |
D | UsbHostManager.java | 86 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/ |
D | ActivityTestMain.java | 72 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/ |
D | TelephonyMetrics.java | 1177 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()
|