HomeSort by relevance Sort by last modified time
    Searched refs:mConnections (Results 1 - 25 of 42) 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 38 mConnections.add(connection);
43 return mConnections;
  /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);
CtsSelfManagedConnectionService.java 23 mConnections.remove(connection);
31 List<CtsConnection> mConnections = new ArrayList<>();
60 return new ArrayList<CtsConnection>(mConnections);
71 if (mConnections.size() > 0) {
72 return mConnections.get(0);
108 mConnections.add(connection);
  /cts/tests/tests/telecom/src/android/telecom/cts/
CtsSelfManagedConnectionService.java 60 mConnections.remove(connection);
67 private List<SelfManagedConnection> mConnections = new ArrayList<>();
151 if (mConnections != null && mConnections.size() > 0) {
152 mConnections.forEach(connection -> {
157 mConnections.clear();
182 mConnections.add(connection);
190 return new ArrayList<>(mConnections);
  /packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
ImsTestServiceApp.java 31 private LinearLayout mConnections;
49 mConnections = findViewById(R.id.connections_list);
50 mConnections.addView(getLayoutInflater().inflate(R.layout.ims_connection, null, false));
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
HfpClientDeviceBlock.java 46 private final Map<UUID, HfpClientConnection> mConnections = new HashMap<>();
91 HfpClientConnection connection = mConnections.get(call.getUUID());
111 HfpClientConnection connection = mConnections.get(call.getUUID());
158 mConnections.remove(call.getUUID());
194 mConnections.remove(call.getUUID());
203 Log.d(mTAG, "findConnectionKey local key set " + mConnections.toString());
205 return mConnections.get(call.getUUID());
210 for (HfpClientConnection connection : mConnections.values()) {
214 mConnections.clear();
259 mConnections.put(connection.getUUID(), connection)
    [all...]
  /cts/tests/app/src/android/app/cts/android/app/cts/tools/
ServiceProcessController.java 50 final ServiceConnectionHandler[] mConnections;
83 mConnections = new ServiceConnectionHandler[serviceIntents.length];
85 mConnections[i] = new ServiceConnectionHandler(mContext, serviceIntents[i],
161 return mConnections[index];
185 for (int i=0; i<mConnections.length; i++) {
186 mConnections[i].bind(timeout);
189 for (int i=0; i<mConnections.length; i++) {
190 IBinder serviceBinder = mConnections[i].getServiceIBinder();
191 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);
198 final DevicePolicyServiceConnection conn = mConnections.get(userId);
203 mConnections.remove(userId);
209 if (mConnections.size() == 0) {
214 for (int i = 0; i < mConnections.size(); i++) {
215 final int userId = mConnections.keyAt(i);
218 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 158 Set<Connection> mConnections = new HashSet<Connection>();
236 synchronized (mConnections) {
239 mConnections.add(new Connection(connId, address, id));
248 synchronized (mConnections) {
249 Iterator<Connection> i = mConnections.iterator();
264 Iterator<Connection> i = mConnections.iterator();
364 Iterator<Connection> i = mConnections.iterator();
376 Iterator<Connection> ii = mConnections.iterator();
395 Iterator<Connection> i = mConnections.iterator();
409 Iterator<Connection> i = mConnections.iterator()
    [all...]
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
SelfManagedCallList.java 72 private List<SelfManagedConnection> mConnections = new ArrayList<>();
157 mConnections.add(connection);
166 mConnections.remove(connection);
174 return mConnections;
178 Optional<SelfManagedConnection> foundOptional = mConnections.stream()
SelfManagedCallListAdapter.java 125 private List<SelfManagedConnection> mConnections;
131 mConnections = connections;
136 return mConnections.size();
141 return mConnections.get(position);
154 SelfManagedConnection connection = mConnections.get(position);
203 Log.i(TAG, "updateConnections "+ mConnections.size());
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothSocketConnFacade.java 50 private Map<String, BluetoothConnection> mConnections =
79 conn = mConnections.get(connID);
80 } else if (mConnections.size() == 1) {
81 conn = (BluetoothConnection) mConnections.values().toArray()[0];
83 Log.e("More than one available connections. Num=" + mConnections.size());
84 throw new IOException("More than 1 available connections. Num=" + mConnections.size());
94 mConnections.put(uuid, conn);
222 * Returns active Bluetooth mConnections
226 @Rpc(description = "Returns active Bluetooth mConnections.")
229 for (Map.Entry<String, BluetoothConnection> entry : mConnections.entrySet())
    [all...]
  /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 106 private final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>();
129 mConnections.remove(callbacks.asBinder());
219 mConnections.remove(b);
244 mConnections.put(b, connection);
253 mConnections.remove(b);
268 final ConnectionRecord old = mConnections.remove(b);
291 final ConnectionRecord connection = mConnections.get(b);
316 ConnectionRecord connection = mConnections.get(b);
337 ConnectionRecord connection = mConnections.get(b);
489 Iterator<ConnectionRecord> iter = mConnections.values().iterator()
    [all...]
  /frameworks/support/media/src/main/java/androidx/media/
MediaBrowserServiceCompat.java 179 final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>();
215 Iterator<ConnectionRecord> iter = mConnections.values().iterator();
235 for (IBinder binder : mConnections.keySet()) {
236 ConnectionRecord connection = mConnections.get(binder);
274 for (IBinder binder : mConnections.keySet()) {
275 ConnectionRecord connection = mConnections.get(binder);
398 for (IBinder binder : mConnections.keySet()) {
399 ConnectionRecord connection = mConnections.get(binder);
417 for (IBinder binder : mConnections.keySet()) {
418 ConnectionRecord connection = mConnections.get(binder)
    [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...]

Completed in 307 milliseconds

1 2