Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 25 of 34) sorted by relevance

12

/device/google/cuttlefish_common/guest/hals/gps/
Dgps_vsoc.cpp57 static int gce_gps_init(GpsCallbacks* callbacks) { in gce_gps_init() argument
63 LOG_ALWAYS_FATAL_IF(!callbacks->location_cb); in gce_gps_init()
64 LOG_ALWAYS_FATAL_IF(!callbacks->status_cb); in gce_gps_init()
65 LOG_ALWAYS_FATAL_IF(!callbacks->sv_status_cb); in gce_gps_init()
66 LOG_ALWAYS_FATAL_IF(!callbacks->nmea_cb); in gce_gps_init()
67 LOG_ALWAYS_FATAL_IF(!callbacks->set_capabilities_cb); in gce_gps_init()
68 LOG_ALWAYS_FATAL_IF(!callbacks->acquire_wakelock_cb); in gce_gps_init()
69 LOG_ALWAYS_FATAL_IF(!callbacks->release_wakelock_cb); in gce_gps_init()
70 LOG_ALWAYS_FATAL_IF(!callbacks->create_thread_cb); in gce_gps_init()
71 LOG_ALWAYS_FATAL_IF(!callbacks->request_utc_time_cb); in gce_gps_init()
[all …]
Dgps_thread.h47 GpsCallbacks callbacks; member
Dgps_thread.cpp167 reader.callback = state->callbacks.location_cb; in gps_state_thread()
/device/generic/goldfish/gps/
Dgps_qemu.c77 GpsCallbacks callbacks; member
804 if (state->callbacks.sv_status_cb) { in gps_state_thread()
805 state->callbacks.sv_status_cb(&gps_sv_status); in gps_state_thread()
837 D("gps thread starting location_cb=%p", state->callbacks.location_cb); in gps_state_thread()
840 nmea_reader_set_callback( reader, state->callbacks.location_cb ); in gps_state_thread()
842 if (state->callbacks.status_cb) { in gps_state_thread()
843 state->callbacks.status_cb(&gps_status); in gps_state_thread()
853 if (state->callbacks.status_cb) { in gps_state_thread()
854 state->callbacks.status_cb(&gps_status); in gps_state_thread()
903 gps_state_init( GpsState* state, GpsCallbacks* callbacks ) in gps_state_init() argument
[all …]
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedCameraFactory.cpp179 const camera_module_callbacks_t* callbacks) { in setCallbacks() argument
180 ALOGV("%s: callbacks = %p", __FUNCTION__, callbacks); in setCallbacks()
182 mCallbacks = callbacks; in setCallbacks()
238 const camera_module_callbacks_t* callbacks) { in set_callbacks() argument
239 return EmulatedCameraFactory::Instance().setCallbacks(callbacks); in set_callbacks()
DEmulatedCameraFactory.h92 int setCallbacks(const camera_module_callbacks_t* callbacks);
116 static int set_callbacks(const camera_module_callbacks_t* callbacks);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dgc_weakref.txt4 The basic rule for dealing with weakref callbacks (and __del__ methods too,
63 callbacks, then we need to save the callbacks and call them *after* all
69 all callbacks encountered can be run later. That's explained in horrid
127 callbacks in cyclic trash. Since the weakrefs *are* trash, and there's no
129 cyclic trash, it's defensible to first clear weakrefs with callbacks. It's
134 those weakrefs are themselves CT, and whether or not they have callbacks.
135 The callbacks (if any) on non-CT weakrefs (if any) are invoked later,
136 after all weakrefs-to-CT have been cleared. The callbacks (if any) on CT
141 *almost* all the weakref callbacks that could get triggered by gc. The
145 weakrefs can trigger callbacks attached to other weakrefs, and those
[all …]
/device/google/marlin/camera/QCamera2/
DQCamera2Factory.cpp273 int QCamera2Factory::set_callbacks(const camera_module_callbacks_t *callbacks) in set_callbacks() argument
277 rc = gQCameraMuxer->set_callbacks(callbacks); in set_callbacks()
279 rc = gQCamera2Factory->setCallbacks(callbacks); in set_callbacks()
407 int QCamera2Factory::setCallbacks(const camera_module_callbacks_t *callbacks) in setCallbacks() argument
410 mCallbacks = callbacks; in setCallbacks()
412 rc = QCameraFlash::getInstance().registerCallbacks(callbacks); in setCallbacks()
DQCamera2Factory.h51 static int set_callbacks(const camera_module_callbacks_t *callbacks);
66 int setCallbacks(const camera_module_callbacks_t *callbacks);
/device/generic/goldfish/camera/
DEmulatedCameraFactory.h97 int setCallbacks(const camera_module_callbacks_t *callbacks);
125 static int set_callbacks(const camera_module_callbacks_t *callbacks);
DEmulatedCameraFactory.cpp180 const camera_module_callbacks_t *callbacks) { in setCallbacks() argument
181 ALOGV("%s: callbacks = %p", __FUNCTION__, callbacks); in setCallbacks()
183 mCallbacks = callbacks; in setCallbacks()
227 const camera_module_callbacks_t *callbacks) { in set_callbacks() argument
228 return gEmulatedCameraFactory.setCallbacks(callbacks); in set_callbacks()
/device/google/cuttlefish_common/guest/hals/ril/libril/
Dril.cpp419 extern "C" void RIL_setcallbacks (const RIL_RadioFunctions *callbacks) { in RIL_setcallbacks() argument
420 memcpy(&s_callbacks, callbacks, sizeof (RIL_RadioFunctions)); in RIL_setcallbacks()
424 RIL_register (const RIL_RadioFunctions *callbacks) { in RIL_register() argument
427 if (callbacks == NULL) { in RIL_register()
431 if (callbacks->version < RIL_VERSION_MIN) { in RIL_register()
433 callbacks->version, RIL_VERSION_MIN); in RIL_register()
437 RLOGD("RIL_register: Vsoc RIL version %d", callbacks->version); in RIL_register()
445 memcpy(&s_callbacks, callbacks, sizeof (RIL_RadioFunctions)); in RIL_register()
Dsap_service.cpp926 void sap::registerService(const RIL_RadioFunctions *callbacks) { in registerService() argument
/device/google/marlin/camera/QCamera2/util/
DQCameraFlash.h48 int32_t registerCallbacks(const camera_module_callbacks_t* callbacks);
DQCameraFlash.cpp113 const camera_module_callbacks_t* callbacks) in registerCallbacks() argument
116 m_callbacks = callbacks; in registerCallbacks()
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/
DIgdOSBCB.ASL36 //<TODO> An OEM may support the driver->SBIOS status callbacks, but
37 // the supported callbacks value must be modified. The code that is
38 // executed upon reception of the callbacks must be also be updated
41 Store(0x00000000, PARM) // No callbacks supported
276 // A call to a reserved "System BIOS callbacks" function was received
DIgdOGBDA.ASL44 // Requested callbacks: Sub-function 1
/device/google/marlin/camera/QCamera2/HAL/
DQCameraMuxer.h145 static int set_callbacks(const camera_module_callbacks_t *callbacks);
259 int32_t setCallbacks(const camera_module_callbacks_t *callbacks);
DQCameraMuxer.cpp248 int QCameraMuxer::set_callbacks(__unused const camera_module_callbacks_t *callbacks) in set_callbacks() argument
1949 int32_t QCameraMuxer::setCallbacks(const camera_module_callbacks_t *callbacks) in setCallbacks() argument
1951 if(callbacks) { in setCallbacks()
1952 m_pCallbacks = callbacks; in setCallbacks()
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspNotifyDxe/
DFspNotifyDxe.inf4 # This driver will register two callbacks to call fsp's notifies.
/device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/
DFspWrapperNotifyDxe.inf4 # This driver will register two callbacks to call fsp's notifies.
/device/linaro/bootloader/arm-trusted-firmware/docs/
Dpsci-lib-integration-guide.rst38 #. Optionally call ``psci_register_spd_pm_hook()`` to register callbacks to
241 (first argument) callbacks with the PSCI library which will be called
292 callbacks.
456 ``plat_psci_ops_t`` callbacks registered by the platform when
458 the callbacks in ``plat_psci_ops_t`` can be found in PSCI section of the
459 `Porting Guide`_. If any these callbacks are not registered, then the
468 ``spd_pm_ops_t`` callbacks for this purpose. These hooks must be
498 The ``svc_on``, ``svc_off`` callbacks are called during PSCI\_CPU\_ON,
514 These callbacks are called during PSCI\_SYSTEM\_OFF and PSCI\_SYSTEM\_RESET
/device/google/cuttlefish_common/guest/hals/rild/
Drild_cuttlefish.c51 extern void RIL_register (const RIL_RadioFunctions *callbacks);
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3HWI.h146 const camera_module_callbacks_t *callbacks);
/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/
DTechNotes.txt152 events / callbacks (see "6.1 Event, Timer, and Task Priority Services" for
153 details). Such callbacks work like software interrupts, and some notion of

12