HomeSort by relevance Sort by last modified time
    Searched refs:mConnections (Results 1 - 25 of 37) sorted by null

1 2

  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
GsmCdmaCall.java 40 return mConnections;
50 return mConnections.size() > 1;
70 mConnections.add(conn);
76 mConnections.add(conn);
90 for (int i = 0, s = mConnections.size(); i < s; i ++) {
91 if (mConnections.get(i).getState() != State.DISCONNECTED) {
107 mConnections.remove(conn);
109 if (mConnections.size() == 0) {
133 return mConnections.size() == mOwner.getMaxConnectionsPerCall();
145 for (int i = 0, s = mConnections.size(); i < s; i++)
    [all...]
GsmCdmaCallTracker.java 73 public GsmCdmaConnection[] mConnections;
119 // Although mConnections seems to be the place to look, it is not guaranteed
171 mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_GSM];
179 mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_CDMA];
192 for (GsmCdmaConnection gsmCdmaConnection : mConnections) {
203 mConnections = null;
256 connCopy = (List<Connection>) mForegroundCall.mConnections.clone();
775 ; i < mConnections.length; i++) {
776 GsmCdmaConnection conn = mConnections[i];
805 mConnections[i] = mPendingMO
    [all...]
Call.java 71 public ArrayList<Connection> mConnections = new ArrayList<Connection>();
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/native/services/sensorservice/
SensorRecord.h 31 size_t getNumConnections() const { return mConnections.size(); }
38 SortedVector< wp<const SensorEventConnection> > mConnections;
SensorRecord.cpp 26 mConnections.add(connection);
32 if (mConnections.indexOf(connection) < 0) {
33 mConnections.add(connection);
42 ssize_t index = mConnections.indexOf(connection);
44 mConnections.removeItemsAt(index, 1);
55 return mConnections.size() ? false : true;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
SipCallBase.java 29 return mConnections;
34 return mConnections.size() > 1;
SipPhone.java 457 mConnections.clear();
473 mConnections = that.mConnections;
475 for (Connection c : mConnections) {
490 return mConnections;
509 mConnections.add(c);
525 for (Connection c : mConnections) {
543 mConnections.add(c);
563 if (mConnections.size() != 1) {
566 ((SipConnection) mConnections.get(0)).acceptCall()
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
ImsPhoneCall.java 81 for(int i = 0, s = mConnections.size(); i < s; i++) {
82 ImsPhoneConnection c = (ImsPhoneConnection) mConnections.get(i);
93 return mConnections;
130 if (mConnections.size() > 1) {
133 for (Connection conn : mConnections) {
158 mConnections.add(conn);
185 for (int i = 0, s = mConnections.size() ; i < s; i ++) {
186 if (mConnections.get(i).getState() != State.DISCONNECTED) {
209 mConnections.remove(conn);
221 return mConnections.size() == ImsPhoneCallTracker.MAX_CONNECTIONS_PER_CALL
    [all...]
ImsExternalCall.java 36 mConnections.add(connection);
41 return mConnections;
ImsPhoneCallTracker.java 257 private ArrayList<ImsPhoneConnection> mConnections = new ArrayList<ImsPhoneConnection>();
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
CtsConnectionService.java 43 mConnections.remove(connection);
51 private List<CtsConnection> mConnections = new ArrayList<>();
80 return new ArrayList<CtsConnection>(mConnections);
91 if (mConnections.size() > 0) {
92 return mConnections.get(0);
152 mConnections.add(connection);
  /cts/tests/tests/telecom/src/android/telecom/cts/
CtsSelfManagedConnectionService.java 55 mConnections.remove(connection);
62 private List<SelfManagedConnection> mConnections = new ArrayList<>();
111 if (mConnections != null && mConnections.size() > 0) {
112 mConnections.forEach(connection -> {
117 mConnections.clear();
137 mConnections.add(connection);
145 return new ArrayList<>(mConnections);
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
HfpClientDeviceBlock.java 61 private final Map<UUID, HfpClientConnection> mConnections = new HashMap<>();
109 HfpClientConnection connection = connection = mConnections.get(call.getUUID());
130 HfpClientConnection connection = connection = mConnections.get(call.getUUID());
178 mConnections.remove(call.getUUID());
212 mConnections.remove(call.getUUID());
221 Log.d(TAG, "findConnectionKey local key set " + mConnections.toString());
223 return mConnections.get(call.getUUID());
228 for (HfpClientConnection connection : mConnections.values()) {
232 mConnections.clear();
276 mConnections.put(connection.getUUID(), connection)
    [all...]
  /cts/tests/app/src/android/app/cts/android/app/cts/tools/
ServiceProcessController.java 48 final ServiceConnectionHandler[] mConnections;
73 mConnections = new ServiceConnectionHandler[serviceIntents.length];
75 mConnections[i] = new ServiceConnectionHandler(mContext, serviceIntents[i]);
136 return mConnections[index];
156 for (int i=0; i<mConnections.length; i++) {
157 mConnections[i].bind(timeout);
160 for (int i=0; i<mConnections.length; i++) {
161 IBinder serviceBinder = mConnections[i].getServiceIBinder();
162 mConnections[i].unbind(timeout);
  /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DeviceAdminServiceController.java 86 private final SparseArray<DevicePolicyServiceConnection> mConnections = new SparseArray<>();
157 mConnections.get(userId);
174 mConnections.put(userId, conn);
197 final DevicePolicyServiceConnection conn = mConnections.get(userId);
202 mConnections.remove(userId);
208 if (mConnections.size() == 0) {
213 for (int i = 0; i < mConnections.size(); i++) {
214 final int userId = mConnections.keyAt(i);
217 final DevicePolicyServiceConnection con = mConnections.valueAt(i);
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
GsmCdmaCallTest.java 51 //verify mConnections has 0 connections and is in IDLE state
52 assertEquals(0, mCallUnderTest.mConnections.size());
59 //verify mConnections has 1 connection and is not in idle
60 assertEquals(1, mCallUnderTest.mConnections.size());
66 //verify mConnections has 0 connections and is in IDLE state
67 assertEquals(0, mCallUnderTest.mConnections.size());
73 //verify mConnections has 0 connections and is in IDLE state
74 assertEquals(0, mCallUnderTest.mConnections.size());
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
ContextMap.java 155 Set<Connection> mConnections = new HashSet<Connection>();
233 synchronized (mConnections) {
236 mConnections.add(new Connection(connId, address, id));
245 synchronized (mConnections) {
246 Iterator<Connection> i = mConnections.iterator();
261 Iterator<Connection> i = mConnections.iterator();
355 Iterator<Connection> i = mConnections.iterator();
367 Iterator<Connection> ii = mConnections.iterator();
384 Iterator<Connection> i = mConnections.iterator();
397 Iterator<Connection> i = mConnections.iterator()
    [all...]
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
SelfManagedCallList.java 69 private List<SelfManagedConnection> mConnections = new ArrayList<>();
141 mConnections.add(connection);
150 mConnections.remove(connection);
158 return mConnections;
162 Optional<SelfManagedConnection> foundOptional = mConnections.stream()
SelfManagedCallListAdapter.java 97 private List<SelfManagedConnection> mConnections;
103 mConnections = connections;
108 return mConnections.size();
113 return mConnections.get(position);
126 SelfManagedConnection connection = mConnections.get(position);
174 Log.i(TAG, "updateConnections "+ mConnections.size());
  /cts/tests/tests/externalservice/service/src/android/externalservice/service/
ServiceCreator.java 39 private final ArrayList<CreatorConnection> mConnections = new ArrayList<>();
55 mConnections.add(conn);
80 for (final CreatorConnection conn : mConnections) {
  /frameworks/base/media/java/android/service/media/
MediaBrowserService.java 104 private final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>();
125 mConnections.remove(callbacks.asBinder());
214 mConnections.remove(b);
234 mConnections.put(b, connection);
243 mConnections.remove(b);
258 final ConnectionRecord old = mConnections.remove(b);
281 final ConnectionRecord connection = mConnections.get(b);
306 ConnectionRecord connection = mConnections.get(b);
327 ConnectionRecord connection = mConnections.get(b);
479 Iterator<ConnectionRecord> iter = mConnections.values().iterator()
    [all...]
  /frameworks/base/services/core/java/com/android/server/tv/
TvInputHardwareManager.java 90 private final SparseArray<Connection> mConnections = new SparseArray<>();
159 mConnections.put(info.getDeviceId(), connection);
171 for (int i = 0; i < mConnections.size(); ++i) {
172 mHardwareList.add(mConnections.valueAt(i).getHardwareInfoLocked());
179 Connection connection = mConnections.get(deviceId);
185 mConnections.remove(deviceId);
207 Connection connection = mConnections.get(deviceId);
235 Connection connection = mConnections.get(deviceId);
303 Connection connection = mConnections.get(deviceId);
374 Connection connection = mConnections.get(deviceId)
    [all...]
  /frameworks/support/media-compat/java/android/support/v4/media/
MediaBrowserServiceCompat.java 159 final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>();
193 Iterator<ConnectionRecord> iter = mConnections.values().iterator();
213 for (IBinder binder : mConnections.keySet()) {
214 ConnectionRecord connection = mConnections.get(binder);
287 for (IBinder binder : mConnections.keySet()) {
288 ConnectionRecord connection = mConnections.get(binder);
568 mConnections.remove(callbacks.asBinder());
737 mConnections.remove(b);
759 mConnections.put(b, connection);
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
ImsPhoneCallTest.java 69 //verify mConnections has 0 connections and is in IDLE state
70 assertEquals(0, mImsCallUT.mConnections.size());
76 //verify mConnections has 1 connection and is not in idle
77 assertEquals(1, mImsCallUT.mConnections.size());
83 //verify mConnections has 0 connections and is in IDLE state
84 assertEquals(0, mImsCallUT.mConnections.size());
  /frameworks/base/services/core/jni/
com_android_server_tv_TvInputHal.cpp 307 KeyedVector<int, KeyedVector<int, Connection> > mConnections;
341 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);
411 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);
457 mConnections.add(info.deviceId, KeyedVector<int, Connection>());
501 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);
506 mConnections.removeItem(deviceId);
518 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);
535 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);

Completed in 973 milliseconds

1 2