Home
last modified time | relevance | path

Searched refs:mRegistrations (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/managers/
DListenerMultiplexer.java57 final ArrayMap<IBinder, TRegistration> mRegistrations = new ArrayMap<>(); field in ListenerMultiplexer
95 boolean wasEmpty = mRegistrations.isEmpty(); in putRegistration()
97 int index = mRegistrations.indexOfKey(key); in putRegistration()
99 BinderListenerRegistration<TListener> oldRegistration = mRegistrations.valueAt( in putRegistration()
102 mRegistrations.setValueAt(index, registration); in putRegistration()
104 mRegistrations.put(key, registration); in putRegistration()
120 int index = mRegistrations.indexOfKey(key); in removeRegistration()
131 TRegistration registration = mRegistrations.valueAt(index); in removeRegistration()
134 mRegistrations.removeAt(index); in removeRegistration()
138 if (mRegistrations.isEmpty()) { in removeRegistration()
[all …]
/packages/modules/NeuralNetworks/common/
DOperationResolver.cpp76 return mRegistrations[index]; in findOperation()
108 CHECK(mRegistrations[index] == nullptr); in registerOperation()
109 mRegistrations[index] = operationRegistration; in registerOperation()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsAdvertiser.java86 private final SparseArray<Registration> mRegistrations = new SparseArray<>(); field in MdnsAdvertiser
152 final Registration registration = mRegistrations.get(serviceId);
193 final Registration registration = mRegistrations.get(serviceId);
874 final Registration existingRegistration = mRegistrations.get(id); in addOrUpdateService()
927 mRegistrations.put(id, registration); in addOrUpdateService()
936 if (!mRegistrations.contains(id)) return; in removeService()
942 mRegistrations.remove(id); in removeService()
944 if (mRegistrations.size() == 0) { in removeService()
958 final Registration registration = mRegistrations.get(id); in getAdvertiserMetrics()
/packages/modules/NeuralNetworks/common/include/
DOperationResolver.h115 const OperationRegistration* mRegistrations[kNumberOfOperationTypes] = {}; variable