Home
last modified time | relevance | path

Searched refs:mCallbacks (Results 1 – 25 of 30) sorted by relevance

12

/hardware/libhardware/modules/input/evdev/
DInputHost.cpp23 mCallbacks.input_report_set_usage_int(mHost, mReport, id, usage, value, arityIndex); in setIntUsage()
28 mCallbacks.input_report_set_usage_bool(mHost, mReport, id, usage, value, arityIndex); in setBoolUsage()
32 mCallbacks.report_event(mHost, d, mReport); in reportEvent()
36 mCallbacks.input_report_definition_add_collection(mHost, mReportDefinition, id, arity); in addCollection()
41 mCallbacks.input_report_definition_declare_usage_int(mHost, mReportDefinition, in declareUsage()
47 mCallbacks.input_report_definition_declare_usages_bool(mHost, mReportDefinition, in declareUsages()
52 return new InputReport(mHost, mCallbacks, in allocateReport()
53 mCallbacks.input_allocate_report(mHost, mReportDefinition)); in allocateReport()
57 mCallbacks.input_device_definition_add_report(mHost, mDeviceDefinition, *r); in addReport()
61 return mCallbacks.input_get_property_key(mHost, mProperty); in getKey()
[all …]
DInputHost.h43 InputHostBase(input_host_t* host, input_host_callbacks_t cb) : mHost(host), mCallbacks(cb) {} in InputHostBase()
50 input_host_callbacks_t mCallbacks; variable
/hardware/qcom/camera/msm8998/QCamera2/
DQCamera2Factory.cpp81 mCallbacks = NULL; in QCamera2Factory()
436 mCallbacks = callbacks; in QCamera2Factory()
477 mCallbacks); in QCamera2Factory()
636 if ((retVal == 0) && (mCallbacks != NULL)) { in QCamera2Factory()
637 mCallbacks->torch_mode_status_change(mCallbacks, in QCamera2Factory()
651 if ((retVal == 0) && (mCallbacks != NULL)) { in QCamera2Factory()
652 mCallbacks->torch_mode_status_change(mCallbacks, in QCamera2Factory()
DQCamera2Factory.h80 const camera_module_callbacks_t *mCallbacks; variable
/hardware/interfaces/camera/provider/2.4/default/
DExternalCameraProviderImpl_2_4.cpp95 mCallbacks = callback; in setCallback()
97 if (mCallbacks == nullptr) { in setCallback()
103 mCallbacks->cameraDeviceStatusChange(pair.first, pair.second); in setCallback()
211 if (mCallbacks != nullptr) { in addExternalCamera()
212 mCallbacks->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::PRESENT); in addExternalCamera()
259 if (mCallbacks != nullptr) { in deviceRemoved()
260 mCallbacks->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::NOT_PRESENT); in deviceRemoved()
DLegacyCameraProviderImpl_2_4.cpp85 mCallbacks->cameraDeviceStatusChange(deviceNamePair.second, status); in addDeviceNames()
99 mCallbacks->cameraDeviceStatusChange(deviceNamePair.second, status); in addDeviceNames()
120 mCallbacks->cameraDeviceStatusChange(deviceNamePair.second, CameraDeviceStatus::NOT_PRESENT); in removeDeviceNames()
127 mCallbacks->cameraDeviceStatusChange(deviceNamePair.second, in removeDeviceNames()
154 if (cp->mCallbacks == nullptr) { in sCameraDeviceStatusChange()
164 cp->mCallbacks->cameraDeviceStatusChange(deviceNamePair.second, status); in sCameraDeviceStatusChange()
196 if (cp->mCallbacks != nullptr) { in sTorchModeStatusChange()
201 cp->mCallbacks->torchModeStatusChange( in sTorchModeStatusChange()
452 mCallbacks = callback; in setCallback()
DExternalCameraProviderImpl_2_4.h102 sp<ICameraProviderCallback> mCallbacks = nullptr; member
DLegacyCameraProviderImpl_2_4.h80 sp<ICameraProviderCallback> mCallbacks = nullptr; member
/hardware/google/pixel/powerstats/
DAidlStateResidencyDataProvider.cpp60 for (auto it = mCallbacks.begin(); it != mCallbacks.end();) { in unregisterCallbackInternal()
63 it = mCallbacks.erase(it); in unregisterCallbackInternal()
106 mCallbacks.emplace(entityName, callback); in registerCallback()
175 for (auto cb : mCallbacks) { in getResults()
/hardware/libhardware/modules/usbcamera/
DCameraHAL.cpp42 : mCallbacks(NULL) { in CameraHAL()
89 mCallbacks = callbacks; in setCallbacks()
DCameraHAL.h50 const camera_module_callbacks_t *mCallbacks;
/hardware/libhardware/modules/camera/3_0/
DCameraHAL.h48 const camera_module_callbacks_t *mCallbacks; variable
DCameraHAL.cpp47 mCallbacks(NULL) in CameraHAL()
85 mCallbacks = callbacks; in setCallbacks()
/hardware/libhardware/modules/camera/3_4/
Dv4l2_camera_hal.h59 const camera_module_callbacks_t* mCallbacks; variable
Dv4l2_camera_hal.cpp54 V4L2CameraHAL::V4L2CameraHAL() : mCameras(), mCallbacks(NULL) { in V4L2CameraHAL()
133 mCallbacks = callbacks; in setCallbacks()
/hardware/qcom/sm8150/gps/core/
DLocAdapterBase.cpp337 const LocationCallbacks mCallbacks; in updateClientsEventMask() member
344 mCallbacks(callbacks) {} in updateClientsEventMask()
346 mAdapter.saveClient(mClient, mCallbacks); in updateClientsEventMask()
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DAidlStateResidencyDataProvider.h66 std::unordered_map<std::string, sp<IPixelPowerStatsCallback>> mCallbacks; variable
/hardware/interfaces/camera/device/3.5/default/
DExternalCameraDeviceSession.cpp86 mCallbacks(callbacks) {} in BufferRequestThread()
170 auto err = mCallbacks->requestStreamBuffers(mHalBufferReqs, in threadLoop()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp104 mCallbacks(), in HWC2On1Adapter()
430 mCallbacks[descriptor] = {callbackData, pointer}; in registerCallback()
433 mCallbacks.erase(descriptor); in registerCallback()
2536 if (mCallbacks.count(Callback::Refresh) == 0) { in hwc1Invalidate()
2541 const auto& callbackInfo = mCallbacks[Callback::Refresh]; in hwc1Invalidate()
2563 if (mCallbacks.count(Callback::Vsync) == 0) { in hwc1Vsync()
2573 const auto& callbackInfo = mCallbacks[Callback::Vsync]; in hwc1Vsync()
2623 if (mCallbacks.count(Callback::Hotplug) == 0) { in hwc1Hotplug()
2628 const auto& callbackInfo = mCallbacks[Callback::Hotplug]; in hwc1Hotplug()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp140 mCallbacks(), in HWC2On1Adapter()
476 mCallbacks[descriptor] = {callbackData, pointer}; in registerCallback()
2562 if (mCallbacks.count(Callback::Refresh) == 0) { in hwc1Invalidate()
2567 const auto& callbackInfo = mCallbacks[Callback::Refresh]; in hwc1Invalidate()
2590 if (mCallbacks.count(Callback::Vsync) == 0) { in hwc1Vsync()
2600 const auto& callbackInfo = mCallbacks[Callback::Vsync]; in hwc1Vsync()
2623 if (mCallbacks.count(Callback::Hotplug) == 0) { in hwc1Hotplug()
2656 const auto& callbackInfo = mCallbacks[Callback::Hotplug]; in hwc1Hotplug()
/hardware/interfaces/camera/device/3.5/default/include/ext_device_v3_5_impl/
DExternalCameraDeviceSession.h139 const sp<V3_5::ICameraDeviceCallback> mCallbacks; member
/hardware/qcom/gps/msm8998/gnss/
DGnssAdapter.cpp933 const LocationCallbacks mCallbacks; in addClientCommand() member
940 mCallbacks(callbacks) {} in addClientCommand()
942 mAdapter.saveClient(mClient, mCallbacks); in addClientCommand()
/hardware/qcom/sdm845/gps/msm8998/gnss/
DGnssAdapter.cpp929 const LocationCallbacks mCallbacks; in addClientCommand() member
936 mCallbacks(callbacks) {} in addClientCommand()
938 mAdapter.saveClient(mClient, mCallbacks); in addClientCommand()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h718 std::unordered_map<HWC2::Callback, CallbackInfo> mCallbacks; variable
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.h698 const camera_module_callbacks_t *mCallbacks; variable

12