Searched defs:mConnections (Results 1 - 12 of 12) sorted by relevance

/frameworks/native/services/sensorservice/
H A DSensorRecord.h31 size_t getNumConnections() const { return mConnections.size(); }
38 SortedVector< wp<const SensorEventConnection> > mConnections; member in class:android::SensorService::SensorRecord
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDeviceAdminServiceController.java86 private final SparseArray<DevicePolicyServiceConnection> mConnections = new SparseArray<>(); field in class:DeviceAdminServiceController
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/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DActivityTestMain.java72 ArrayList<ServiceConnection> mConnections = new ArrayList<ServiceConnection>(); field in class:ActivityTestMain
178 mConnections.add(conn);
280 mConnections.add(conn);
304 mConnections.add(conn);
472 for (ServiceConnection conn : mConnections) {
475 mConnections.clear();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCall.java71 public ArrayList<Connection> mConnections = new ArrayList<Connection>(); field in class: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) {
H A DGsmCdmaCallTracker.java73 public GsmCdmaConnection[] mConnections; field in class:GsmCdmaCallTracker
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[
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbHostManager.java86 private final LinkedList<ConnectionRecord> mConnections = new LinkedList<ConnectionRecord>(); field in class:UsbHostManager
293 while (mConnections.size() >= MAX_CONNECT_RECORDS) {
294 mConnections.removeFirst();
298 mConnections.add(rec);
484 for (ConnectionRecord rec : mConnections) {
/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java106 private final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>(); field in class:MediaBrowserService
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
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvInputHal.cpp307 KeyedVector<int, KeyedVector<int, Connection> > mConnections; member in class:android::JTvInputHal
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);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
H A DTelephonyMetrics.java1177 private RilCall[] convertConnectionsToRilCalls(ArrayList<GsmCdmaConnection> mConnections) { argument
1178 RilCall[] calls = new RilCall[mConnections.size()];
1179 for (int i = 0; i < mConnections.size(); i++) {
1182 convertConnectionToRilCall(mConnections.get(i), calls[i]);
/frameworks/support/media/src/main/java/androidx/media/
H A DMediaBrowserServiceCompat.java179 final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>(); field in class:MediaBrowserServiceCompat
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
[all...]
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHardwareManager.java90 private final SparseArray<Connection> mConnections = new SparseArray<>(); field in class:TvInputHardwareManager
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
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTracker.java286 private ArrayList<ImsPhoneConnection> mConnections = new ArrayList<ImsPhoneConnection>(); field in class:ImsPhoneCallTracker
1710 if (mHandoverCall.mConnections.size() > 0) {
1711 if (DBG) log("callEndCleanupHandOverCallIfAny, mHandoverCall.mConnections="
1712 + mHandoverCall.mConnections);
1713 mHandoverCall.mConnections.clear();
1714 mConnections.clear();
1800 for (ImsPhoneConnection conn : mConnections) {
1809 mConnections.remove(conn);
1814 for (ImsPhoneConnection imsPhoneConnection : mConnections) {
1829 mConnections
[all...]

Completed in 103 milliseconds