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.java48 private List<ServiceCallback> mServiceCallbacks; field in PerUserCarServiceHelper
58 mServiceCallbacks = new ArrayList<>(); in PerUserCarServiceHelper()
108 callbacks = new ArrayList<>(mServiceCallbacks); in onReceive()
136 callbacks = new ArrayList<>(mServiceCallbacks);
153 callbacks = new ArrayList<>(mServiceCallbacks);
211 mServiceCallbacks.add(listener); in registerServiceCallback()
226 mServiceCallbacks.remove(listener); in unregisterServiceCallback()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_target.cpp36 static MediaCallbacks* mServiceCallbacks; variable
118 mServiceCallbacks = callback; in RegisterUpdateCallback()
122 mServiceCallbacks = nullptr; in UnregisterUpdateCallback()
234 if (mServiceCallbacks == nullptr) { in sendMediaUpdateNative()
239 mServiceCallbacks->SendMediaUpdate(metadata == JNI_TRUE, state == JNI_TRUE, in sendMediaUpdateNative()
248 if (mServiceCallbacks == nullptr) { in sendFolderUpdateNative()
253 mServiceCallbacks->SendFolderUpdate(available_players == JNI_TRUE, in sendFolderUpdateNative()
268 mServiceCallbacks = nullptr; in cleanupNative()
275 if (mServiceCallbacks == nullptr) { in connectDeviceNative()
294 if (mServiceCallbacks == nullptr) { in disconnectDeviceNative()