/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityServiceConnectionsHolder.java | 47 private HashSet<T> mConnections; field in ActivityServiceConnectionsHolder 57 if (mConnections == null) { in addConnection() 58 mConnections = new HashSet<>(); in addConnection() 60 mConnections.add(c); in addConnection() 67 if (mConnections == null) { in removeConnection() 70 mConnections.remove(c); in removeConnection() 88 if (mConnections == null || mConnections.isEmpty()) { in forEachConnection() 91 final Iterator<T> it = mConnections.iterator(); in forEachConnection() 101 if (mConnections == null || mConnections.isEmpty()) { in disconnectActivityFromServices() 108 final Object disc = mConnections; in disconnectActivityFromServices() [all …]
|
/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 | 88 private final SparseArray<DevicePolicyServiceConnection> mConnections = new SparseArray<>(); field in DeviceAdminServiceController 133 mConnections.get(userId); in startServiceForOwner() 150 mConnections.put(userId, conn); in startServiceForOwner() 174 final DevicePolicyServiceConnection conn = mConnections.get(userId); in disconnectServiceOnUserLocked() 179 mConnections.remove(userId); in disconnectServiceOnUserLocked() 185 if (mConnections.size() == 0) { in dump() 190 for (int i = 0; i < mConnections.size(); i++) { in dump() 191 final int userId = mConnections.keyAt(i); in dump() 194 final DevicePolicyServiceConnection con = mConnections.valueAt(i); in dump()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Call.java | 96 public ArrayList<Connection> mConnections = new ArrayList<>(); field in Call 109 return (ArrayList<Connection>) mConnections.clone(); in getConnections() 118 mConnections = other.getConnections(); in copyConnectionFrom() 127 return mConnections.size(); in getConnectionsCount() 172 mConnections.remove(conn); in removeConnection() 183 mConnections.add(conn); in addConnection() 192 mConnections.clear(); in clearConnections()
|
D | GsmCdmaCallTracker.java | 75 public GsmCdmaConnection[] mConnections; field in GsmCdmaCallTracker 179 mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_GSM]; in updatePhoneType() 187 mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_CDMA]; in updatePhoneType() 200 for (GsmCdmaConnection gsmCdmaConnection : mConnections) { in reset() 213 mConnections = null; in reset() 817 ; i < mConnections.length; i++) { in handlePollCalls() 818 GsmCdmaConnection conn = mConnections[i]; in handlePollCalls() 847 mConnections[i] = mPendingMO; in handlePollCalls() 865 hangup(mConnections[i]); in handlePollCalls() 879 mConnections[i] = new GsmCdmaConnection(mPhone, dc, this, i); in handlePollCalls() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.cpp | 54 if (handle == nullptr || mConnections.count(handle->id) == 0) return value 56 if (handle == nullptr || mConnections.count(handle->id) == 0) return 146 mConnections.emplace(id, in createConnection() 150 return mConnections[id]->handle; in createConnection() 173 return createConnectionInternal(mConnections[handle->id]->thread.get(), configChanged); in createDisplayEventConnection() 178 return mConnections[handle->id]->thread.get(); in getEventThread() 183 return mConnections[handle->id]->eventConnection; in getEventConnection() 189 mConnections[handle->id]->thread->onHotplugReceived(displayId, connected); in hotplugReceived() 194 mConnections[handle->id]->thread->onScreenAcquired(); in onScreenAcquired() 199 mConnections[handle->id]->thread->onScreenReleased(); in onScreenReleased() [all …]
|
D | Scheduler.h | 242 std::unordered_map<int64_t, std::unique_ptr<Connection>> mConnections; variable
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableScheduler.h | 41 mConnections.emplace(id, in addConnection() 45 return mConnections[id]->handle; in addConnection() 64 mConnections.clear(); in ~TestableScheduler()
|
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 105 private final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>(); field in MediaBrowserService 128 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() 317 ConnectionRecord connection = mConnections.get(b); in removeSubscription() 338 ConnectionRecord connection = mConnections.get(b); in getMediaItem() 490 Iterator<ConnectionRecord> iter = mConnections.values().iterator(); in setSessionToken() [all …]
|
/frameworks/base/services/core/java/com/android/server/appbinding/ |
D | AppBindingService.java | 90 private final ArrayList<AppServiceConnection> mConnections = new ArrayList<>(); field in AppBindingService 343 for (int i = 0; i < mConnections.size(); i++) { in findConnectionLock() 344 final AppServiceConnection conn = mConnections.get(i); in findConnectionLock() 402 mConnections.add(conn); in bindServicesLocked() 409 for (int i = mConnections.size() - 1; i >= 0; i--) { in unbindServicesLocked() 410 final AppServiceConnection conn = mConnections.get(i); in unbindServicesLocked() 420 mConnections.remove(i); in unbindServicesLocked() 479 for (int i = 0; i < mConnections.size(); i++) { in dump() 480 final AppServiceConnection conn = mConnections.get(i); in dump() 487 if (mConnections.size() == 0) { in dump() [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 | 415 mCTUT.mConnections[0] = mConnection; in testUpdatePhoneTypeWithActiveCall() 429 mCTUT.mConnections[0] = mConnection; in testDispatchCsCallRadioTech()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 87 private final SparseArray<Connection> mConnections = new SparseArray<>(); field in TvInputHardwareManager 156 mConnections.put(info.getDeviceId(), connection); in onDeviceAvailable() 168 for (int i = 0; i < mConnections.size(); ++i) { in buildHardwareListLocked() 169 mHardwareList.add(mConnections.valueAt(i).getHardwareInfoLocked()); in buildHardwareListLocked() 176 Connection connection = mConnections.get(deviceId); in onDeviceUnavailable() 182 mConnections.remove(deviceId); in onDeviceUnavailable() 204 Connection connection = mConnections.get(deviceId); in onStreamConfigurationChanged() 232 Connection connection = mConnections.get(deviceId); in onFirstFrameCaptured() 300 Connection connection = mConnections.get(deviceId); in addHardwareInput() 371 Connection connection = mConnections.get(deviceId); in acquireHardware() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTest.java | 74 assertEquals(0, mImsCallUT.mConnections.size()); in testAttachDetach() 81 assertEquals(1, mImsCallUT.mConnections.size()); in testAttachDetach() 88 assertEquals(0, mImsCallUT.mConnections.size()); in testAttachDetach()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvInputHal.cpp | 308 KeyedVector<int, KeyedVector<int, Connection> > mConnections; member in android::JTvInputHal 343 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in addOrUpdateStream() 418 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in removeStream() 464 mConnections.add(info.deviceId, KeyedVector<int, Connection>()); in onDeviceAvailable() 508 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in onDeviceUnavailable() 513 mConnections.removeItem(deviceId); in onDeviceUnavailable() 525 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in onStreamConfigurationsChanged() 542 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in onCaptured()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbHostManager.java | 89 private final LinkedList<ConnectionRecord> mConnections = new LinkedList<ConnectionRecord>(); field in UsbHostManager 297 while (mConnections.size() >= MAX_CONNECT_RECORDS) { in addConnectionRecord() 298 mConnections.removeFirst(); in addConnectionRecord() 302 mConnections.add(rec); in addConnectionRecord() 526 for (ConnectionRecord rec : mConnections) { in dump()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 69 ArrayList<ServiceConnection> mConnections = new ArrayList<ServiceConnection>(); field in ActivityTestMain 242 mConnections.add(conn); in onCreateOptionsMenu() 344 mConnections.add(conn); in onCreateOptionsMenu() 368 mConnections.add(conn); in onCreateOptionsMenu() 563 for (ServiceConnection conn : mConnections) { in onStop() 566 mConnections.clear(); in onStop()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 278 for (ImsPhoneConnection conn : mConnections) { in onRequestStatsUpdate() 398 private ArrayList<ImsPhoneConnection> mConnections = new ArrayList<ImsPhoneConnection>(); field in ImsPhoneCallTracker 2260 mConnections.clear(); in callEndCleanupHandOverCallIfAny() 2313 for (ImsPhoneConnection conn : mConnections) { in findConnection() 2323 mConnections.remove(conn); in removeConnection() 2328 for (ImsPhoneConnection imsPhoneConnection : mConnections) { in removeConnection() 2347 mConnections.add(conn); in addConnection() 3748 mHandoverCall.mConnections = call.mConnections; in transferHandoverConnections() 3750 mHandoverCall.mConnections.addAll(call.mConnections); in transferHandoverConnections() 4176 if (mConnections != null && mConnections.size() > 0) { in dump() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 1513 private RilCall[] convertConnectionsToRilCalls(ArrayList<GsmCdmaConnection> mConnections, in convertConnectionsToRilCalls() argument 1515 RilCall[] calls = new RilCall[mConnections.size()]; in convertConnectionsToRilCalls() 1516 for (int i = 0; i < mConnections.size(); i++) { in convertConnectionsToRilCalls() 1519 convertConnectionToRilCall(mConnections.get(i), calls[i], countryIso); in convertConnectionsToRilCalls()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 63432 Landroid/service/media/MediaBrowserService;->mConnections:Landroid/util/ArrayMap;
|