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.cpp35 static MediaCallbacks* mServiceCallbacks; variable
117 mServiceCallbacks = callback; in RegisterUpdateCallback()
121 mServiceCallbacks = nullptr; in UnregisterUpdateCallback()
233 if (mServiceCallbacks == nullptr) { in sendMediaUpdateNative()
238 mServiceCallbacks->SendMediaUpdate(metadata == JNI_TRUE, state == JNI_TRUE, in sendMediaUpdateNative()
247 if (mServiceCallbacks == nullptr) { in sendFolderUpdateNative()
252 mServiceCallbacks->SendFolderUpdate(available_players == JNI_TRUE, in sendFolderUpdateNative()
267 mServiceCallbacks = nullptr; in cleanupNative()
274 if (mServiceCallbacks == nullptr) { in connectDeviceNative()
293 if (mServiceCallbacks == nullptr) { in disconnectDeviceNative()