/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...] |
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) {
|
GsmCdmaCallTracker.java | 69 private GsmCdmaConnection mConnections[]; 113 // Although mConnections seems to be the place to look, it is not guaranteed 165 mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_GSM]; 168 mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_CDMA]; 183 for (GsmCdmaConnection gsmCdmaConnection : mConnections) { 193 mConnections = null; 246 connCopy = (List<Connection>) mForegroundCall.mConnections.clone(); 756 ; i < mConnections.length; i++) { 757 GsmCdmaConnection conn = mConnections[i]; 786 mConnections[i] = mPendingMO [all...] |
/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 | 225 private ArrayList<ImsPhoneConnection> mConnections = new ArrayList<ImsPhoneConnection>(); [all...] |
ImsPhone.java | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
ContextMap.java | 143 Set<Connection> mConnections = new HashSet<Connection>(); 207 synchronized (mConnections) { 210 mConnections.add(new Connection(connId, address, id)); 219 synchronized (mConnections) { 220 Iterator<Connection> i = mConnections.iterator(); 235 Iterator<Connection> i = mConnections.iterator(); 306 Iterator<Connection> i = mConnections.iterator(); 318 Iterator<Connection> ii = mConnections.iterator(); 335 Iterator<Connection> i = mConnections.iterator(); 348 Iterator<Connection> i = mConnections.iterator() [all...] |
/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());
|
/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 | 99 private final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>(); 199 mConnections.remove(b); 220 mConnections.put(b, connection); 228 mConnections.remove(b); 243 final ConnectionRecord old = mConnections.remove(b); 265 final ConnectionRecord connection = mConnections.get(b); 290 ConnectionRecord connection = mConnections.get(b); 315 ConnectionRecord connection = mConnections.get(b); 468 for (IBinder key : mConnections.keySet()) { 469 ConnectionRecord connection = mConnections.get(key) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
ImsPhoneCallTest.java | 65 //verify mConnections has 0 connections and is in IDLE state 66 assertEquals(0, mImsCallUT.mConnections.size()); 72 //verify mConnections has 1 connection and is not in idle 73 assertEquals(1, mImsCallUT.mConnections.size()); 79 //verify mConnections has 0 connections and is in IDLE state 80 assertEquals(0, mImsCallUT.mConnections.size());
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
MediaBrowserServiceCompat.java | 129 final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>(); 163 Iterator<ConnectionRecord> iter = mConnections.values().iterator(); 183 for (IBinder binder : mConnections.keySet()) { 184 ConnectionRecord connection = mConnections.get(binder); 240 for (IBinder binder : mConnections.keySet()) { 241 ConnectionRecord connection = mConnections.get(binder); 575 mConnections.remove(b); 597 mConnections.put(b, connection); 605 mConnections.remove(b); 619 final ConnectionRecord old = mConnections.remove(b) [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
TvInputHardwareManager.java | 88 private final SparseArray<Connection> mConnections = new SparseArray<>(); 158 mConnections.put(info.getDeviceId(), connection); 170 for (int i = 0; i < mConnections.size(); ++i) { 171 mHardwareList.add(mConnections.valueAt(i).getHardwareInfoLocked()); 178 Connection connection = mConnections.get(deviceId); 184 mConnections.remove(deviceId); 206 Connection connection = mConnections.get(deviceId); 232 Connection connection = mConnections.get(deviceId); 303 Connection connection = mConnections.get(deviceId); 375 Connection connection = mConnections.get(deviceId) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
HfpClientConnectionService.java | 62 private Map<Uri, HfpClientConnection> mConnections = new HashMap<>(); 131 Log.d(TAG, mConnections.size() + " remaining"); 194 HfpClientConnection connection = mConnections.get(number); 225 mConnections.remove(number); 247 HfpClientConnection connection = mConnections.get(number); 297 HfpClientConnection connection = mConnections.get(number); 328 Collection<HfpClientConnection> all = mConnections.values(); 399 for (HfpClientConnection connection : mConnections.values()) { 419 mConnections.put(number, connection); 445 for (HfpClientConnection connection : mConnections.values()) [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_tv_TvInputHal.cpp | 290 KeyedVector<int, KeyedVector<int, Connection> > mConnections; 336 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); 407 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); 468 mConnections.add(info.device_id, KeyedVector<int, Connection>()); 506 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); 511 mConnections.removeItem(deviceId); 523 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); 540 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
ActivityTestMain.java | 72 ArrayList<ServiceConnection> mConnections = new ArrayList<ServiceConnection>(); 218 mConnections.add(conn); 320 mConnections.add(conn); 344 mConnections.add(conn); 512 for (ServiceConnection conn : mConnections) { 515 mConnections.clear();
|
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |
/prebuilts/sdk/current/support/v13/ |
android-support-v13.jar | |