Home
last modified time | relevance | path

Searched refs:mServiceCallbacks (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DPerUserCarServiceHelper.java52 private List<ServiceCallback> mServiceCallbacks; field in PerUserCarServiceHelper
59 mServiceCallbacks = new ArrayList<>(); in PerUserCarServiceHelper()
95 callbacks = new ArrayList<>(mServiceCallbacks);
123 callbacks = new ArrayList<>(mServiceCallbacks);
140 callbacks = new ArrayList<>(mServiceCallbacks);
197 mServiceCallbacks.add(listener); in registerServiceCallback()
212 mServiceCallbacks.remove(listener); in unregisterServiceCallback()
245 if (mServiceCallbacks == null) { in dump()
248 int size = mServiceCallbacks.size(); in dump()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_target.cpp35 static MediaCallbacks* mServiceCallbacks; variable
117 mServiceCallbacks = callback; in RegisterUpdateCallback()
121 mServiceCallbacks = nullptr; in UnregisterUpdateCallback()
254 if (mServiceCallbacks == nullptr) { in sendMediaUpdateNative()
259 mServiceCallbacks->SendMediaUpdate(metadata == JNI_TRUE, state == JNI_TRUE, in sendMediaUpdateNative()
268 if (mServiceCallbacks == nullptr) { in sendFolderUpdateNative()
273 mServiceCallbacks->SendFolderUpdate(available_players == JNI_TRUE, in sendFolderUpdateNative()
288 mServiceCallbacks = nullptr; in cleanupNative()
295 if (mServiceCallbacks == nullptr) { in connectDeviceNative()
314 if (mServiceCallbacks == nullptr) { in disconnectDeviceNative()
[all …]