/hardware/interfaces/wifi/1.3/default/ |
D | wifi_nan_iface.cpp | 64 for (const auto& callback : in WifiNanIface() local 66 if (!callback->notifyEnableResponse(id, wifiNanStatus) in WifiNanIface() 74 for (const auto& callback : in WifiNanIface() local 76 if (!callback->notifyDisableResponse(id, wifiNanStatus) in WifiNanIface() 84 for (const auto& callback : in WifiNanIface() local 86 if (!callback in WifiNanIface() 97 for (const auto& callback : in WifiNanIface() local 99 if (!callback->notifyStopPublishResponse(id, wifiNanStatus) in WifiNanIface() 107 for (const auto& callback : in WifiNanIface() local 109 if (!callback in WifiNanIface() [all …]
|
/hardware/qcom/sm8150/gps/android/2.0/ |
D | GnssMeasurement.cpp | 56 const sp<V1_0::IGnssMeasurementCallback>& callback) { in setCallback() argument 65 if (callback == nullptr) { in setCallback() 74 mGnssMeasurementCbIface = callback; in setCallback() 77 return mApi->measurementSetCallback(callback); in setCallback() 105 const sp<V1_1::IGnssMeasurementCallback>& callback, bool enableFullTracking) { in setCallback_1_1() argument 114 if (callback == nullptr) { in setCallback_1_1() 123 mGnssMeasurementCbIface_1_1 = callback; in setCallback_1_1() 129 return mApi->measurementSetCallback_1_1(callback, powerMode); in setCallback_1_1() 133 const sp<V2_0::IGnssMeasurementCallback>& callback, in setCallback_2_0() argument 143 if (callback == nullptr) { in setCallback_2_0() [all …]
|
D | GnssBatching.cpp | 56 Return<bool> GnssBatching::init(const sp<V1_0::IGnssBatchingCallback>& callback) { in init() argument 63 mApi = new BatchingAPIClient(callback); in init() 72 mGnssBatchingCbIface = callback; in init() 135 Return<bool> GnssBatching::init_2_0(const sp<V2_0::IGnssBatchingCallback>& callback) { in init_2_0() argument 142 mApi = new BatchingAPIClient(callback); in init_2_0() 151 mGnssBatchingCbIface_2_0 = callback; in init_2_0()
|
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/ |
D | Sensor.h | 48 Sensor(int32_t sensorHandle, ISensorsEventCallback* callback); 84 OnChangeSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 98 ContinuousSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 103 AccelSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 111 GyroSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 119 DeviceTempSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 124 PressureSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 129 MagnetometerSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 134 AmbientTempSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 139 LightSensor(int32_t sensorHandle, ISensorsEventCallback* callback); [all …]
|
D | Sensor.cpp | 35 Sensor::Sensor(int32_t sensorHandle, ISensorsEventCallback* callback) in Sensor() argument 39 mCallback(callback), in Sensor() 182 OnChangeSensor::OnChangeSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in OnChangeSensor() argument 183 : Sensor(sensorHandle, callback), mPreviousEventSet(false) { in OnChangeSensor() 209 ContinuousSensor::ContinuousSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in ContinuousSensor() argument 210 : Sensor(sensorHandle, callback) { in ContinuousSensor() 214 AccelSensor::AccelSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in AccelSensor() argument 215 : ContinuousSensor(sensorHandle, callback) { in AccelSensor() 240 PressureSensor::PressureSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in PressureSensor() argument 241 : ContinuousSensor(sensorHandle, callback) { in PressureSensor() [all …]
|
/hardware/interfaces/sensors/2.0/default/ |
D | Sensor.h | 48 Sensor(ISensorsEventCallback* callback); 84 OnChangeSensor(ISensorsEventCallback* callback); 98 AccelSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 103 GyroSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 108 AmbientTempSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 113 DeviceTempSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 118 PressureSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 123 MagnetometerSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 128 LightSensor(int32_t sensorHandle, ISensorsEventCallback* callback); 133 ProximitySensor(int32_t sensorHandle, ISensorsEventCallback* callback); [all …]
|
D | Sensor.cpp | 35 Sensor::Sensor(ISensorsEventCallback* callback) in Sensor() argument 39 mCallback(callback), in Sensor() 173 OnChangeSensor::OnChangeSensor(ISensorsEventCallback* callback) in OnChangeSensor() argument 174 : Sensor(callback), mPreviousEventSet(false) {} in OnChangeSensor() 198 AccelSensor::AccelSensor(int32_t sensorHandle, ISensorsEventCallback* callback) : Sensor(callback) { in AccelSensor() argument 216 PressureSensor::PressureSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in PressureSensor() argument 217 : Sensor(callback) { in PressureSensor() 235 MagnetometerSensor::MagnetometerSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in MagnetometerSensor() argument 236 : Sensor(callback) { in MagnetometerSensor() 254 LightSensor::LightSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in LightSensor() argument [all …]
|
/hardware/qcom/neuralnetworks/hvxservice/1.0/ |
D | PreparedModel.cpp | 38 const sp<IExecutionCallback>& callback) { in asyncExecute() argument 41 Return<void> ret = callback->notify(status); in asyncExecute() 48 const sp<IExecutionCallback>& callback) { in execute() argument 49 if (callback.get() == nullptr) { in execute() 55 Return<void> ret = callback->notify(ErrorStatus::INVALID_ARGUMENT); in execute() 62 Return<void> ret = callback->notify(ErrorStatus::DEVICE_UNAVAILABLE); in execute() 71 asyncExecute(mHexagonModel, request, callback); in execute()
|
D | Device.cpp | 90 static void asyncPrepare(const Model& model, const sp<IPreparedModelCallback>& callback) { in asyncPrepare() argument 95 ret = callback->notify(ErrorStatus::NONE, new PreparedModel(model, hexagonModel)); in asyncPrepare() 97 ret = callback->notify(ErrorStatus::GENERAL_FAILURE, nullptr); in asyncPrepare() 105 const sp<IPreparedModelCallback>& callback) { in prepareModel() argument 108 if (callback.get() == nullptr) { in prepareModel() 113 callback->notify(ErrorStatus::INVALID_ARGUMENT, nullptr); in prepareModel() 117 callback->notify(ErrorStatus::DEVICE_UNAVAILABLE, nullptr); in prepareModel() 123 asyncPrepare(model, callback); in prepareModel()
|
/hardware/interfaces/soundtrigger/2.1/default/ |
D | SoundTriggerHw.h | 44 const sp<V2_1::ISoundTriggerHwCallback>& callback, 49 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_t cookie, 63 const sp<V2_0::ISoundTriggerHwCallback>& callback, in loadSoundModel() 65 return mImpl->loadSoundModel(soundModel, callback, cookie, _hidl_cb); in loadSoundModel() 68 const sp<V2_0::ISoundTriggerHwCallback>& callback, in loadPhraseSoundModel() 71 return mImpl->loadPhraseSoundModel(soundModel, callback, cookie, _hidl_cb); in loadPhraseSoundModel() 89 const sp<V2_1::ISoundTriggerHwCallback>& callback, 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/qcom/sdm845/gps/sdm845/android/ |
D | GnssMeasurement.cpp | 57 const sp<V1_0::IGnssMeasurementCallback>& callback) { in setCallback() argument 66 if (callback == nullptr) { in setCallback() 75 mGnssMeasurementCbIface = callback; in setCallback() 78 return mApi->measurementSetCallback(callback); in setCallback() 103 const sp<IGnssMeasurementCallback>& callback, bool enableFullTracking) { in setCallback_1_1() argument 112 if (callback == nullptr) { in setCallback_1_1() 121 mGnssMeasurementCbIface_1_1 = callback; in setCallback_1_1() 127 return mApi->measurementSetCallback_1_1(callback, powerMode); in setCallback_1_1()
|
/hardware/qcom/sm8150/gps/android/1.1/ |
D | GnssMeasurement.cpp | 57 const sp<V1_0::IGnssMeasurementCallback>& callback) { in setCallback() argument 66 if (callback == nullptr) { in setCallback() 75 mGnssMeasurementCbIface = callback; in setCallback() 78 return mApi->measurementSetCallback(callback); in setCallback() 103 const sp<IGnssMeasurementCallback>& callback, bool enableFullTracking) { in setCallback_1_1() argument 112 if (callback == nullptr) { in setCallback_1_1() 121 mGnssMeasurementCbIface_1_1 = callback; in setCallback_1_1() 127 return mApi->measurementSetCallback_1_1(callback, powerMode); in setCallback_1_1()
|
/hardware/interfaces/health/utils/libhealth2impl/ |
D | BinderHealth.cpp | 55 Return<Result> BinderHealth::registerCallback(const sp<V2_0::IHealthInfoCallback>& callback) { in registerCallback() argument 56 if (callback == nullptr) { in registerCallback() 63 wrapped = callbacks_.emplace_back(Wrap(callback)).get(); in registerCallback() 67 auto linkRet = callback->linkToDeath(this, 0u /* cookie */); in registerCallback() 95 bool BinderHealth::unregisterCallbackInternal(const sp<IBase>& callback) { in unregisterCallbackInternal() argument 96 if (callback == nullptr) { in unregisterCallbackInternal() 103 if (interfacesEqual((*it)->Get(), callback)) { in unregisterCallbackInternal() 110 (void)callback->unlinkToDeath(this).isOk(); // ignore errors in unregisterCallbackInternal() 127 Return<Result> BinderHealth::unregisterCallback(const sp<V2_0::IHealthInfoCallback>& callback) { in unregisterCallback() argument 128 return unregisterCallbackInternal(callback) ? Result::SUCCESS : Result::NOT_FOUND; in unregisterCallback()
|
/hardware/interfaces/health/2.0/default/ |
D | Health.cpp | 47 Return<Result> Health::registerCallback(const sp<IHealthInfoCallback>& callback) { in registerCallback() argument 48 if (callback == nullptr) { in registerCallback() 54 callbacks_.push_back(callback); in registerCallback() 58 auto linkRet = callback->linkToDeath(this, 0u /* cookie */); in registerCallback() 65 return updateAndNotify(callback); in registerCallback() 68 bool Health::unregisterCallbackInternal(const sp<IBase>& callback) { in unregisterCallbackInternal() argument 69 if (callback == nullptr) return false; in unregisterCallbackInternal() 74 if (interfacesEqual(*it, callback)) { in unregisterCallbackInternal() 81 (void)callback->unlinkToDeath(this).isOk(); // ignore errors in unregisterCallbackInternal() 85 Return<Result> Health::unregisterCallback(const sp<IHealthInfoCallback>& callback) { in unregisterCallback() argument [all …]
|
/hardware/google/pixel/thermal/ |
D | Thermal.h | 41 CallbackSetting(sp<IThermalChangedCallback> callback, bool is_filter_type, in CallbackSetting() 43 : callback(callback), is_filter_type(is_filter_type), type(type) {} in CallbackSetting() 44 sp<IThermalChangedCallback> callback; member 68 Return<void> registerThermalChangedCallback(const sp<IThermalChangedCallback> &callback, 72 const sp<IThermalChangedCallback> &callback,
|
/hardware/qcom/sm8150/display/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 112 callback = new DeleteEGLImageCallback(&buffStrbuffIntMap); in EGLImageWrapper() 113 eglImageBufferCache->setOnEntryRemovedListener(callback); in EGLImageWrapper() 117 callback->ion_fd = ion_fd; in EGLImageWrapper() 126 if (callback != 0) { in ~EGLImageWrapper() 127 callback->mapClearPending = true; in ~EGLImageWrapper() 135 if (callback != 0) { in ~EGLImageWrapper() 136 delete callback; in ~EGLImageWrapper() 137 callback = 0; in ~EGLImageWrapper()
|
/hardware/libhardware/modules/tv_input/ |
D | tv_input.cpp | 32 const tv_input_callback_ops_t* callback; member 58 const tv_input_callback_ops_t* callback, void* data) in tv_input_initialize() argument 60 if (dev == NULL || callback == NULL) { in tv_input_initialize() 64 if (priv->callback != NULL) { in tv_input_initialize() 68 priv->callback = callback; in tv_input_initialize()
|
/hardware/interfaces/wifi/1.0/ |
D | IWifiNanIfaceEventCallback.hal | 28 * Each method will receive a notify callback to return results (on success) or failure status. 32 * Asynchronous callback invoked in response to a capability request 44 * Asynchronous callback invoked in response to an enable request |IWifiNanIface.enableRequest|. 58 * Asynchronous callback invoked in response to a config request |IWifiNanIface.configRequest|. 70 * Asynchronous callback invoked in response to a disable request |IWifiNanIface.disableRequest|. 80 * Asynchronous callback invoked to notify the status of the start publish request 95 * Asynchronous callback invoked in response to a stop publish request 107 * Asynchronous callback invoked to notify the status of the start subscribe request 122 * Asynchronous callback invoked in response to a stop subscribe request 134 * Asynchronous callback invoked in response to a transmit followup request [all …]
|
/hardware/interfaces/sensors/2.0/multihal/tests/ |
D | HalProxy_test.cpp | 287 ::android::sp<ISensorsCallback> callback = new SensorsCallback(); in TEST() 288 proxy.initialize(*eventQueue->getDesc(), *wakeLockQueue->getDesc(), callback); in TEST() 304 ::android::sp<ISensorsCallback> callback = new SensorsCallback(); in TEST() 305 proxy.initialize(*eventQueue->getDesc(), *wakeLockQueue->getDesc(), callback); in TEST() 320 ::android::sp<ISensorsCallback> callback = new SensorsCallback(); in TEST() 321 proxy.initialize(*eventQueue->getDesc(), *wakeLockQueue->getDesc(), callback); in TEST() 346 ::android::sp<ISensorsCallback> callback = new SensorsCallback(); in TEST() 347 proxy.initialize(*eventQueue->getDesc(), *wakeLockQueue->getDesc(), callback); in TEST() 372 ::android::sp<ISensorsCallback> callback = new SensorsCallback(); in TEST() 373 proxy.initialize(*eventQueue->getDesc(), *wakeLockQueue->getDesc(), callback); in TEST() [all …]
|
/hardware/qcom/sm8150/gps/android/2.0/location_api/ |
D | BatchingAPIClient.cpp | 55 BatchingAPIClient::BatchingAPIClient(const sp<V1_0::IGnssBatchingCallback>& callback) : in BatchingAPIClient() argument 62 LOC_LOGD("%s]: (%p)", __FUNCTION__, &callback); in BatchingAPIClient() 64 gnssUpdateCallbacks(callback); in BatchingAPIClient() 67 BatchingAPIClient::BatchingAPIClient(const sp<V2_0::IGnssBatchingCallback>& callback) : in BatchingAPIClient() argument 74 LOC_LOGD("%s]: (%p)", __FUNCTION__, &callback); in BatchingAPIClient() 76 gnssUpdateCallbacks_2_0(callback); in BatchingAPIClient() 113 void BatchingAPIClient::gnssUpdateCallbacks(const sp<V1_0::IGnssBatchingCallback>& callback) in gnssUpdateCallbacks() argument 116 mGnssBatchingCbIface = callback; in gnssUpdateCallbacks() 124 void BatchingAPIClient::gnssUpdateCallbacks_2_0(const sp<V2_0::IGnssBatchingCallback>& callback) in gnssUpdateCallbacks_2_0() argument 127 mGnssBatchingCbIface_2_0 = callback; in gnssUpdateCallbacks_2_0()
|
D | BatchingAPIClient.h | 49 BatchingAPIClient(const sp<V1_0::IGnssBatchingCallback>& callback); 50 BatchingAPIClient(const sp<V2_0::IGnssBatchingCallback>& callback); 51 void gnssUpdateCallbacks(const sp<V1_0::IGnssBatchingCallback>& callback); 52 void gnssUpdateCallbacks_2_0(const sp<V2_0::IGnssBatchingCallback>& callback);
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.h | 58 const sp<V2_0::ISoundTriggerHwCallback>& callback, int32_t cookie, 61 const sp<V2_0::ISoundTriggerHwCallback>& callback, 66 const sp<V2_0::ISoundTriggerHwCallback>& callback, 73 const sp<V2_1::ISoundTriggerHwCallback>& callback, 76 const sp<V2_1::ISoundTriggerHwCallback>& callback, 81 const sp<V2_1::ISoundTriggerHwCallback>& callback, 132 sp<V2_0::ISoundTriggerHwCallback> callback) in SoundModelClient_2_0() 133 : SoundModelClient(id, cookie), mCallback(callback) {} in SoundModelClient_2_0() 174 sp<V2_1::ISoundTriggerHwCallback> callback) in SoundModelClient_2_1() 175 : SoundModelClient(id, cookie), mCallback(callback) {} in SoundModelClient_2_1()
|
/hardware/interfaces/thermal/2.0/default/ |
D | Thermal.h | 49 CallbackSetting(sp<IThermalChangedCallback> callback, bool is_filter_type, TemperatureType type) in CallbackSetting() 50 : callback(callback), is_filter_type(is_filter_type), type(type) {} in CallbackSetting() 51 sp<IThermalChangedCallback> callback; member 69 const sp<IThermalChangedCallback>& callback, bool filterType, TemperatureType type, 72 const sp<IThermalChangedCallback>& callback,
|
/hardware/google/pixel/powerstats/ |
D | AidlStateResidencyDataProvider.cpp | 50 const sp<IBinder> &callback) { in unregisterCallbackInternal() argument 51 if (callback == nullptr) { in unregisterCallbackInternal() 61 if (asBinder(it->second) == callback) { in unregisterCallbackInternal() 69 (void)callback->unlinkToDeath(this); // ignore errors in unregisterCallbackInternal() 83 const sp<IPixelPowerStatsCallback> &callback) { in unregisterCallback() argument 84 return unregisterCallbackInternal(asBinder(callback)); in unregisterCallback() 88 const std::string &entityName, const sp<IPixelPowerStatsCallback> &callback) { in registerCallback() argument 90 if (callback == nullptr) { in registerCallback() 106 mCallbacks.emplace(entityName, callback); in registerCallback() 109 auto linkRet = asBinder(callback)->linkToDeath(this, 0u /* cookie */); in registerCallback()
|
/hardware/qcom/gps/msm8998/android/ |
D | GnssMeasurement.cpp | 56 const sp<IGnssMeasurementCallback>& callback) { in setCallback() argument 65 if (callback == nullptr) { in setCallback() 74 mGnssMeasurementCbIface = callback; in setCallback() 77 return mApi->gnssMeasurementSetCallback(callback); in setCallback()
|