/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | GeneratorHub.cpp | 49 void GeneratorHub::registerGenerator(int32_t cookie, FakeValueGeneratorPtr generator) { in registerGenerator() argument 55 if (mGenerators.find(cookie) == mGenerators.end()) { in registerGenerator() 56 ALOGI("%s: Registering new generator, cookie: %d", __func__, cookie); in registerGenerator() 57 mEventQueue.push({cookie, generator->nextEvent()}); in registerGenerator() 59 mGenerators[cookie] = std::move(generator); in registerGenerator() 60 ALOGI("%s: Registered generator, cookie: %d", __func__, cookie); in registerGenerator() 66 void GeneratorHub::unregisterGenerator(int32_t cookie) { in unregisterGenerator() argument 69 mGenerators.erase(cookie); in unregisterGenerator() 72 ALOGI("%s: Unregistered generator, cookie: %d", __func__, cookie); in unregisterGenerator() 80 && mGenerators.find(mEventQueue.top().cookie) == mGenerators.end()) { in run() [all …]
|
D | GeneratorHub.h | 47 int32_t cookie; // Cookie is used to find the associated generator. member 67 void registerGenerator(int32_t cookie, FakeValueGeneratorPtr generator); 69 void unregisterGenerator(int32_t cookie); 77 bool hasNext(int32_t cookie);
|
/hardware/interfaces/soundtrigger/2.1/default/ |
D | SoundTriggerHw.h | 45 int32_t cookie, 49 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_t cookie, 64 int32_t cookie, loadSoundModel_cb _hidl_cb) override { in loadSoundModel() 65 return mImpl->loadSoundModel(soundModel, callback, cookie, _hidl_cb); in loadSoundModel() 69 int32_t cookie, in loadPhraseSoundModel() 71 return mImpl->loadPhraseSoundModel(soundModel, callback, cookie, _hidl_cb); in loadPhraseSoundModel() 90 int32_t cookie, loadSoundModel_2_1_cb _hidl_cb) override { in loadSoundModel_2_1() 91 return mImpl->loadSoundModel_2_1(soundModel, callback, cookie, _hidl_cb); in loadSoundModel_2_1() 95 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_t cookie, in loadPhraseSoundModel_2_1() 97 return mImpl->loadPhraseSoundModel_2_1(soundModel, callback, cookie, _hidl_cb); in loadPhraseSoundModel_2_1() [all …]
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.h | 58 const sp<V2_0::ISoundTriggerHwCallback>& callback, int32_t cookie, 62 int32_t cookie, loadPhraseSoundModel_cb _hidl_cb) override; 67 int32_t cookie) override; 74 int32_t cookie, loadSoundModel_2_1_cb _hidl_cb) override; 77 int32_t cookie, 82 int32_t cookie) override; 92 SoundModelClient(uint32_t id, V2_0::ISoundTriggerHwCallback::CallbackCookie cookie) in SoundModelClient() 93 : mId(id), mCookie(cookie) {} in SoundModelClient() 131 SoundModelClient_2_0(uint32_t id, V2_0::ISoundTriggerHwCallback::CallbackCookie cookie, in SoundModelClient_2_0() 133 : SoundModelClient(id, cookie), mCallback(callback) {} in SoundModelClient_2_0() [all …]
|
/hardware/google/gfxstream/guest/mesa/include/android_stub/cutils/ |
D | trace.h | 186 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument 187 atrace_async_begin(ATRACE_TAG, name, cookie) 189 int32_t cookie) in atrace_async_begin() argument 193 atrace_async_begin_body(name, cookie); in atrace_async_begin() 201 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument 202 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument 206 atrace_async_end_body(name, cookie); in atrace_async_end()
|
/hardware/interfaces/soundtrigger/2.0/default/ |
D | SoundTriggerHalImpl.h | 46 SoundModelClient(uint32_t id, ISoundTriggerHwCallback::CallbackCookie cookie) in SoundModelClient() argument 47 : mId(id), mCookie(cookie) {} in SoundModelClient() 77 ISoundTriggerHwCallback::CallbackCookie cookie, 81 ISoundTriggerHwCallback::CallbackCookie cookie, 106 ISoundTriggerHwCallback::CallbackCookie cookie, in loadSoundModel() 108 return mImpl->loadSoundModel(soundModel, callback, cookie, _hidl_cb); in loadSoundModel() 112 ISoundTriggerHwCallback::CallbackCookie cookie, in loadPhraseSoundModel() 114 return mImpl->loadPhraseSoundModel(soundModel, callback, cookie, _hidl_cb); in loadPhraseSoundModel() 136 SoundModelClient_2_0(uint32_t id, ISoundTriggerHwCallback::CallbackCookie cookie, in SoundModelClient_2_0() argument 138 : SoundModelClient(id, cookie), mCallback(callback) {} in SoundModelClient_2_0() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_dbg.h | 48 #define KPI_ATRACE_ASYNC_BEGIN(name, cookie) ({\ argument 50 ATRACE_ASYNC_BEGIN(name, cookie); \ 54 #define KPI_ATRACE_ASYNC_END(name, cookie) ({\ argument 56 ATRACE_ASYNC_END(name, cookie); \
|
/hardware/interfaces/soundtrigger/2.3/default/ |
D | SoundTriggerHw.h | 58 const sp<V2_0::ISoundTriggerHwCallback>& callback, int32_t cookie, 62 int32_t cookie, loadPhraseSoundModel_cb _hidl_cb) override; 67 int32_t cookie) override; 74 int32_t cookie, loadSoundModel_2_1_cb _hidl_cb) override; 77 int32_t cookie, 82 int32_t cookie) override; 109 SoundModelClient(uint32_t id, V2_0::ISoundTriggerHwCallback::CallbackCookie cookie) in SoundModelClient() 110 : mId(id), mCookie(cookie) {} in SoundModelClient() 147 SoundModelClient_2_0(uint32_t id, V2_0::ISoundTriggerHwCallback::CallbackCookie cookie, in SoundModelClient_2_0() 149 : SoundModelClient(id, cookie), mCallback(callback) {} in SoundModelClient_2_0() [all …]
|
/hardware/qcom/display/msm8909/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 28 void free_ion_cookie(int ion_fd, int cookie) in free_ion_cookie() argument 31 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &cookie)) { in free_ion_cookie() 33 ALOGE("ION_IOC_FREE failed: ion_fd = %d, cookie = %d", ion_fd, cookie); in free_ion_cookie() 41 int cookie = fd; in get_ion_cookie() local 48 cookie = fdData.handle; in get_ion_cookie() 53 return cookie; in get_ion_cookie()
|
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 28 void free_ion_cookie(int ion_fd, int cookie) in free_ion_cookie() argument 31 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &cookie)) { in free_ion_cookie() 33 ALOGE("ION_IOC_FREE failed: ion_fd = %d, cookie = %d", ion_fd, cookie); in free_ion_cookie() 41 int cookie = fd; in get_ion_cookie() local 48 cookie = fdData.handle; in get_ion_cookie() 53 return cookie; in get_ion_cookie()
|
/hardware/qcom/display/msm8998/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 28 void free_ion_cookie(int ion_fd, int cookie) in free_ion_cookie() argument 31 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &cookie)) { in free_ion_cookie() 33 ALOGE("ION_IOC_FREE failed: ion_fd = %d, cookie = %d", ion_fd, cookie); in free_ion_cookie() 41 int cookie = fd; in get_ion_cookie() local 48 cookie = fdData.handle; in get_ion_cookie() 53 return cookie; in get_ion_cookie()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | RecurrentTimer.h | 56 void registerRecurrentEvent(std::chrono::nanoseconds interval, int32_t cookie) { in registerRecurrentEvent() argument 64 mCookieToEventsMap[cookie] = { interval, cookie, absoluteTime }; in registerRecurrentEvent() 69 void unregisterRecurrentEvent(int32_t cookie) { in unregisterRecurrentEvent() argument 72 mCookieToEventsMap.erase(cookie); in unregisterRecurrentEvent() 82 int32_t cookie; member 111 cookies.push_back(event.cookie); in loop()
|
/hardware/interfaces/soundtrigger/2.1/ |
D | ISoundTriggerHwCallback.hal | 64 * @param cookie The cookie passed by the framework when recognition was 67 recognitionCallback_2_1(RecognitionEvent event, CallbackCookie cookie); 75 * @param cookie The cookie passed by the framework when recognition was 79 CallbackCookie cookie); 86 * @param cookie The cookie passed by the framework when loading was 89 soundModelCallback_2_1(ModelEvent event, CallbackCookie cookie);
|
/hardware/libhardware/include_all/hardware/ |
D | sound_trigger.h | 66 typedef void (*recognition_callback_t)(struct sound_trigger_recognition_event *event, void *cookie); 67 typedef void (*sound_model_callback_t)(struct sound_trigger_model_event *event, void *cookie); 88 void *cookie, 106 void *cookie); 180 void *cookie);
|
/hardware/libhardware/include/hardware/ |
D | sound_trigger.h | 66 typedef void (*recognition_callback_t)(struct sound_trigger_recognition_event *event, void *cookie); 67 typedef void (*sound_model_callback_t)(struct sound_trigger_model_event *event, void *cookie); 88 void *cookie, 106 void *cookie); 180 void *cookie);
|
/hardware/interfaces/bluetooth/audio/utils/aidl_session/ |
D | BluetoothAudioSession.h | 58 inline SessionType ObserversCookieGetSessionType(uint16_t cookie) { in ObserversCookieGetSessionType() argument 59 return static_cast<SessionType>(cookie >> 8 & 0x00ff); in ObserversCookieGetSessionType() 82 std::function<void(uint16_t cookie, bool start_resp, 91 std::function<void(uint16_t cookie)> session_changed_cb_; 98 std::function<void(uint16_t cookie)> audio_configuration_changed_cb_; 106 std::function<void(uint16_t cookie, bool allowed)> 156 void UnregisterStatusCback(uint16_t cookie);
|
D | BluetoothAudioSession.cpp | 169 uint16_t cookie = observer.first; in ReportAudioConfigChanged() local 173 << ::android::base::StringPrintf("%04x", cookie); in ReportAudioConfigChanged() 175 cb->audio_configuration_changed_cb_(cookie); in ReportAudioConfigChanged() 206 uint16_t cookie = ObserversCookieGetInitValue(session_type_); in RegisterStatusCback() local 209 while (cookie < cookie_upper_bound) { in RegisterStatusCback() 210 if (observers_.find(cookie) == observers_.end()) { in RegisterStatusCback() 213 ++cookie; in RegisterStatusCback() 215 if (cookie >= cookie_upper_bound) { in RegisterStatusCback() 224 observers_[cookie] = cb; in RegisterStatusCback() 225 return cookie; in RegisterStatusCback() [all …]
|
/hardware/interfaces/bluetooth/audio/utils/session/ |
D | BluetoothAudioSession.cpp | 120 uint16_t cookie = observer.first; in ReportSessionStatus() local 124 << android::base::StringPrintf("%04x", cookie); in ReportSessionStatus() 125 cb->session_changed_cb_(cookie); in ReportSessionStatus() 141 uint16_t cookie = observer.first; in ReportControlStatus() local 146 << android::base::StringPrintf("%04x", cookie) in ReportControlStatus() 148 cb->control_result_cb_(cookie, start_resp, status); in ReportControlStatus() 212 uint16_t cookie = ObserversCookieGetInitValue(session_type_); in RegisterStatusCback() local 215 while (cookie < cookie_upper_bound) { in RegisterStatusCback() 216 if (observers_.find(cookie) == observers_.end()) { in RegisterStatusCback() 219 ++cookie; in RegisterStatusCback() [all …]
|
D | BluetoothAudioSession.h | 51 inline SessionType ObserversCookieGetSessionType(uint16_t cookie) { in ObserversCookieGetSessionType() argument 52 return static_cast<SessionType>(cookie >> 8 & 0x00ff); in ObserversCookieGetSessionType() 71 std::function<void(uint16_t cookie, bool start_resp, 78 std::function<void(uint16_t cookie)> session_changed_cb_; 141 void UnregisterStatusCback(uint16_t cookie);
|
/hardware/qcom/sm8150/display/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 37 static void free_ion_cookie(int ion_fd, int cookie) in free_ion_cookie() argument 40 if (ion_fd && !ioctl(ion_fd, ION_IOC_FREE, &cookie)) { in free_ion_cookie() 42 ALOGE("ION_IOC_FREE failed: ion_fd = %d, cookie = %d", ion_fd, cookie); in free_ion_cookie() 50 int cookie = fd; in get_ion_cookie() local 57 cookie = fdData.handle; in get_ion_cookie() 62 return cookie; in get_ion_cookie()
|
/hardware/google/gfxstream/host/ |
D | gfxstream_unittest.cpp | 30 static void sWriteFence(void* cookie, struct stream_renderer_fence* fence) { in sWriteFence() argument 31 uint32_t current = *(uint32_t*)cookie; in sWriteFence() 32 if (current < fence->fence_id) *(uint64_t*)(cookie) = fence->fence_id; in sWriteFence() 36 uint32_t cookie; member in GfxStreamBackendTest 47 : cookie(0), in GfxStreamBackendTest() 49 static_cast<uint64_t>(reinterpret_cast<uintptr_t>(&cookie))}, in GfxStreamBackendTest() 56 static_cast<uint64_t>(reinterpret_cast<uintptr_t>(&cookie))},
|
/hardware/interfaces/soundtrigger/2.0/ |
D | ISoundTriggerHwCallback.hal | 94 * @param cookie The cookie passed by the framework when recognition was 97 recognitionCallback(RecognitionEvent event, CallbackCookie cookie); 104 * @param cookie The cookie passed by the framework when recognition was 108 CallbackCookie cookie); 113 * @param cookie The cookie passed by the framework when loading was 116 soundModelCallback(ModelEvent event, CallbackCookie cookie);
|
/hardware/interfaces/wifi/aidl/default/ |
D | aidl_callback_util.h | 77 void* cookie = reinterpret_cast<void*>(cb->asBinder().get()); in invalidate() local 78 if (AIBinder_unlinkToDeath(cb->asBinder().get(), death_handler_, cookie) != STATUS_OK) { in invalidate() 81 if (!removeCbFromHandlerMap(cookie)) { in invalidate() 92 static void onCallbackDeath(void* cookie) { in onCallbackDeath() argument 94 auto cbQuery = callback_handler_map_.find(cookie); in onCallbackDeath()
|
/hardware/nxp/keymint/transport/ |
D | OmapiTransport.cpp | 85 void OmapiTransport::BinderDiedCallback(void *cookie) { in BinderDiedCallback() argument 89 if (auto it = sCookies.find(reinterpret_cast<uintptr_t>(cookie)); in BinderDiedCallback() 92 << "Received binder died with cookie: " << cookie in BinderDiedCallback() 97 << "Received binder died with cookie: " << cookie in BinderDiedCallback() 111 for (auto cookie : mCookieKeys) { in ~OmapiTransport() local 113 << cookie << ") as we no longer need to listen for service death."; in ~OmapiTransport() 114 sCookies.erase(cookie); in ~OmapiTransport() 333 for (auto cookie : mCookieKeys) { in closeConnection() local 334 LOG(INFO) << "unlinkToDeath on OMAPI service with cookie: " << cookie; in closeConnection() 337 reinterpret_cast<void *>(cookie)); in closeConnection() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | RecurrentTimer_test.cpp | 55 for (int32_t cookie : cookies) { in TEST() local 56 if (cookie == 0xdead) { in TEST() 58 } else if (cookie == 0xbeef) { in TEST()
|