Searched refs:callback (Results 1 - 25 of 240) sorted by relevance

12345678910

/hardware/interfaces/usb/gadget/1.0/
H A DIUsbGadget.hal29 * @param callback IUsbGadgetCallback::setCurrentUsbFunctionsCb used to
35 IUsbGadgetCallback callback,
42 * @param callback IUsbGadgetCallback::getCurrentUsbFunctionsCb used to
45 oneway getCurrentUsbFunctions(IUsbGadgetCallback callback);
/hardware/interfaces/gnss/1.0/
H A DIGnssNi.hal28 * @param callback handle to IGnssNiCallback interface.
30 setCallback(IGnssNiCallback callback);
H A DIGnssMeasurement.hal33 * Initializes the interface and registers the callback routines with the HAL.
39 * @param callback Handle to GnssMeasurement callback interface.
42 * Returns ERROR_ALREADY_INIT if a callback has already been
47 setCallback(IGnssMeasurementCallback callback) generates (GnssMeasurementStatus initRet);
50 * Stops updates from the HAL, and unregisters the callback routines.
H A DIGnssNavigationMessage.hal33 * Initializes the interface and registers the callback routines with the HAL.
36 * @param callback handle to IGnssNavigationMessageCallack interface.
40 * Returns ERROR_ALREADY_INIT if a callback has
46 setCallback(IGnssNavigationMessageCallback callback) generates (GnssNavigationMessageStatus initRet);
49 * Stops updates from the HAL, and unregisters the callback routines.
H A DIGnssGeofencing.hal24 * Opens the geofence interface and provides the callback routines
27 * @param callback Handle to the IGnssGeofenceCallback interface.
29 setCallback(IGnssGeofenceCallback callback);
45 * of how soon must the callback be called when the transition associated
47 * with ENTERED, the callback must be called 1000 milliseconds within entering
/hardware/interfaces/gnss/1.1/
H A DIGnssMeasurement.hal28 * Initializes the interface and registers the callback routines with the HAL. After a
33 * @param callback Handle to GnssMeasurement callback interface.
42 * @return initRet Returns SUCCESS if successful. Returns ERROR_ALREADY_INIT if a callback has
47 setCallback_1_1(IGnssMeasurementCallback callback, bool enableFullTracking)
/hardware/interfaces/neuralnetworks/1.0/
H A DIPreparedModel.hal31 * an error, execute must immediately invoke the callback with the
36 * fails to launch, execute must immediately invoke the callback with
41 * immediately invoke the callback object provided as an input to the
42 * execute function. This callback must be provided with the ErrorStatus of
50 * @param callback A callback object used to return the error status of
51 * the execution. The callback object's notify function must
63 execute(Request request, IExecutionCallback callback)
H A DIDevice.hal72 * the callback with the appropriate ErrorStatus value and nullptr for the
78 * the callback with ErrorStatus::GENERAL_FAILURE and nullptr for the
82 * immediately invoke the callback function provided as an input to
83 * prepareModel. If the model was prepared successfully, the callback object
86 * the callback object must be invoked with the appropriate ErrorStatus
100 * @param callback A callback object used to return the error status of
102 * if successful, nullptr otherwise. The callback object's
113 prepareModel(Model model, IPreparedModelCallback callback)
/hardware/interfaces/thermal/1.1/
H A DIThermal.hal27 * @param callback the IThermalCallback to use for sending
28 * thermal events, or nullptr to set no callback
30 registerThermalCallback(IThermalCallback callback);
/hardware/interfaces/wifi/supplicant/1.1/
H A DISupplicantStaIface.hal33 * Registration of multiple callback objects is supported. These objects must
37 * @param callback An instance of the |ISupplicantStaIfaceCallback| HIDL
45 registerCallback_1_1(ISupplicantStaIfaceCallback callback)
/hardware/qcom/neuralnetworks/hvxservice/1.0/
H A DPreparedModel.cpp38 const sp<IExecutionCallback>& callback) {
41 Return<void> ret = callback->notify(status);
43 LOG(ERROR) << "Error in callback's return type: " << ret.description();
48 const sp<IExecutionCallback>& callback) {
49 if (callback.get() == nullptr) {
50 LOG(ERROR) << "invalid callback passed to execute";
55 Return<void> ret = callback->notify(ErrorStatus::INVALID_ARGUMENT);
57 LOG(ERROR) << "Error in callback's return type: " << ret.description();
62 Return<void> ret = callback->notify(ErrorStatus::DEVICE_UNAVAILABLE);
64 LOG(ERROR) << "Error in callback'
37 asyncExecute(const std::shared_ptr<hexagon::Model>& model, const Request& request, const sp<IExecutionCallback>& callback) argument
47 execute(const Request& request, const sp<IExecutionCallback>& callback) argument
[all...]
H A DDevice.cpp90 static void asyncPrepare(const Model& model, const sp<IPreparedModelCallback>& callback) { argument
95 ret = callback->notify(ErrorStatus::NONE, new PreparedModel(model, hexagonModel));
97 ret = callback->notify(ErrorStatus::GENERAL_FAILURE, nullptr);
100 LOG(ERROR) << "Error in callback's return type: " << ret.description();
105 const sp<IPreparedModelCallback>& callback) {
108 if (callback.get() == nullptr) {
109 LOG(ERROR) << "invalid callback passed to prepareModel";
113 callback->notify(ErrorStatus::INVALID_ARGUMENT, nullptr);
117 callback->notify(ErrorStatus::DEVICE_UNAVAILABLE, nullptr);
123 asyncPrepare(model, callback);
104 prepareModel(const Model& model, const sp<IPreparedModelCallback>& callback) argument
[all...]
/hardware/interfaces/usb/1.0/
H A DIUsb.hal35 * This function is used to register a callback function which is
39 * Also the same callback object would be called to inform the caller
42 * @param callback IUsbCallback object used to convey status to the
45 oneway setCallback(IUsbCallback callback);
/hardware/libhardware/modules/sensors/dynamic_sensor/
H A DBaseSensorObject.cpp29 bool BaseSensorObject::setEventCallback(SensorEventCallback* callback) { argument
33 mCallback = callback;
/hardware/interfaces/soundtrigger/2.1/default/
H A DSoundTriggerHw.h44 const sp<V2_1::ISoundTriggerHwCallback>& callback,
49 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_t cookie,
63 const sp<V2_0::ISoundTriggerHwCallback>& callback,
65 return mImpl->loadSoundModel(soundModel, callback, cookie, _hidl_cb);
68 const sp<V2_0::ISoundTriggerHwCallback>& callback,
71 return mImpl->loadPhraseSoundModel(soundModel, callback, cookie, _hidl_cb);
78 const sp<V2_0::ISoundTriggerHwCallback>& /*callback*/,
89 const sp<V2_1::ISoundTriggerHwCallback>& callback,
91 return mImpl->loadSoundModel_2_1(soundModel, callback, cookie, _hidl_cb);
95 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_
112 SoundModelClient_2_1(uint32_t id, V2_1::ISoundTriggerHwCallback::CallbackCookie cookie, sp<V2_1::ISoundTriggerHwCallback> callback) argument
[all...]
/hardware/interfaces/soundtrigger/2.1/
H A DISoundTriggerHw.hal81 * @param callback The callback interface on which the soundmodelCallback*()
84 * callback. This unique context information is assigned and
97 ISoundTriggerHwCallback callback,
115 * @param callback The callback interface on which the soundmodelCallback*()
118 * callback. This unique context information is assigned and
131 ISoundTriggerHwCallback callback,
137 * at a time per model. Once recognition succeeds of fails, the callback
147 * @param callback Th
[all...]
/hardware/interfaces/bluetooth/1.0/
H A DIBluetoothHci.hal38 * The |oninitializationComplete| callback must be invoked in response
43 * @param callback implements IBluetoothHciCallbacks which will
49 initialize(IBluetoothHciCallbacks callback);
/hardware/interfaces/broadcastradio/1.0/
H A DIBroadcastRadio.hal40 * @param callback the callback interface
49 openTuner(BandConfig config, bool audio, ITunerCallback callback)
/hardware/interfaces/automotive/vehicle/2.0/
H A DIVehicle.hal78 subscribe(IVehicleCallback callback, vec<SubscribeOptions> options)
87 unsubscribe(IVehicleCallback callback, int32_t propId)
/hardware/qcom/gps/msm8909w_3100/android/
H A DGnssMeasurement.cpp56 const sp<IGnssMeasurementCallback>& callback) {
65 if (callback == nullptr) {
66 LOC_LOGE("%s]: callback is nullptr", __FUNCTION__);
74 mGnssMeasurementCbIface = callback;
77 return mApi->measurementSetCallback(callback);
55 setCallback( const sp<IGnssMeasurementCallback>& callback) argument
/hardware/qcom/gps/msm8998/android/
H A DGnssMeasurement.cpp56 const sp<IGnssMeasurementCallback>& callback) {
65 if (callback == nullptr) {
66 LOC_LOGE("%s]: callback is nullptr", __FUNCTION__);
74 mGnssMeasurementCbIface = callback;
77 return mApi->gnssMeasurementSetCallback(callback);
55 setCallback( const sp<IGnssMeasurementCallback>& callback) argument
/hardware/intel/common/libmix/mix_video/src/
H A Dmixbuffer.c46 self->callback = NULL;
128 this_target->callback = this_src->callback;
162 && this_first->callback == this_second->callback) {
181 gulong token, MixBufferCallback callback) {
187 obj->callback = callback;
214 if (obj->callback) {
215 obj->callback(ob
180 mix_buffer_set_data(MixBuffer * obj, guchar *data, guint size, gulong token, MixBufferCallback callback) argument
[all...]
/hardware/interfaces/wifi/1.2/default/
H A Dwifi_nan_iface.cpp60 for (const auto& callback :
62 if (!callback->notifyEnableResponse(id, wifiNanStatus)
64 LOG(ERROR) << "Failed to invoke the callback";
70 for (const auto& callback :
72 if (!callback->notifyDisableResponse(id, wifiNanStatus)
74 LOG(ERROR) << "Failed to invoke the callback";
80 for (const auto& callback :
82 if (!callback
87 LOG(ERROR) << "Failed to invoke the callback";
93 for (const auto& callback
539 registerEventCallback( const sp<V1_0::IWifiNanIfaceEventCallback>& callback, registerEventCallback_cb hidl_status_cb) argument
657 registerEventCallback_1_2( const sp<IWifiNanIfaceEventCallback>& callback, registerEventCallback_1_2_cb hidl_status_cb) argument
691 registerEventCallbackInternal( const sp<V1_0::IWifiNanIfaceEventCallback>& callback) argument
821 registerEventCallback_1_2Internal( const sp<V1_2::IWifiNanIfaceEventCallback>& callback) argument
[all...]
/hardware/libhardware/modules/tv_input/
H A Dtv_input.cpp32 const tv_input_callback_ops_t* callback; member in struct:tv_input_private
58 const tv_input_callback_ops_t* callback, void* data)
60 if (dev == NULL || callback == NULL) {
64 if (priv->callback != NULL) {
68 priv->callback = callback;
57 tv_input_initialize(struct tv_input_device* dev, const tv_input_callback_ops_t* callback, void* data) argument
/hardware/interfaces/neuralnetworks/1.1/
H A DIDevice.hal77 * the callback with the appropriate ErrorStatus value and nullptr for the
83 * the callback with ErrorStatus::GENERAL_FAILURE and nullptr for the
87 * immediately invoke the callback function provided as an input to
88 * prepareModel. If the model was prepared successfully, the callback object
91 * the callback object must be invoked with the appropriate ErrorStatus
107 * @param callback A callback object used to return the error status of
109 * if successful, nullptr otherwise. The callback object's
121 IPreparedModelCallback callback)

Completed in 519 milliseconds

12345678910