/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | BaseSensorObject.cpp | 26 BaseSensorObject::BaseSensorObject() : mCallback(nullptr) { in BaseSensorObject() 30 if (mCallback != nullptr) { in setEventCallback() 33 mCallback = callback; in setEventCallback() 52 if (mCallback) { in generateEvent() 53 mCallback->submitEvent(SP_THIS, e); in generateEvent()
|
D | DynamicSensorManager.cpp | 42 mCallback(callback), in DynamicSensorManager() 125 assert(mCallback == nullptr); in poll() 209 if (mCallback) { in submitEvent() 213 ret = mCallback->submitEvent(nullptr, event); in submitEvent()
|
/hardware/interfaces/broadcastradio/1.0/default/ |
D | Tuner.cpp | 39 if (mCallback != 0) { in onCallback() 43 mCallback->configChange(Utils::convertHalResult(halEvent->status), config); in onCallback() 46 mCallback->antennaStateChange(halEvent->on); in onCallback() 50 mCallback->tuneComplete(Utils::convertHalResult(halEvent->status), info); in onCallback() 57 mCallback->newMetadata(channel, sub_channel, metadata); in onCallback() 61 mCallback->trafficAnnouncement(halEvent->on); in onCallback() 65 mCallback->afSwitch(info); in onCallback() 68 mCallback->emergencyAnnouncement(halEvent->on); in onCallback() 72 mCallback->hardwareFailure(); in onCallback() 88 : mHalTuner(NULL), mCallback(callback), mParentDevice(parentDevice) in Tuner()
|
/hardware/interfaces/nfc/1.0/default/ |
D | Nfc.cpp | 15 sp<INfcClientCallback> Nfc::mCallback = nullptr; member in android::hardware::nfc::V1_0::implementation::Nfc 21 mCallback = clientCallback; in open() 23 if (mDevice == nullptr || mCallback == nullptr) { in open() 26 mCallback->linkToDeath(this, 0 /*cookie*/); in open() 56 if (mDevice == nullptr || mCallback == nullptr) { in close() 59 mCallback->unlinkToDeath(this); in close()
|
D | Nfc.h | 34 if (mCallback != nullptr) { in eventCallback() 35 auto ret = mCallback->sendEvent((::android::hardware::nfc::V1_0::NfcEvent)event, in eventCallback() 45 if (mCallback != nullptr) { in dataCallback() 46 auto ret = mCallback->sendData(data); in dataCallback() 59 static sp<INfcClientCallback> mCallback;
|
/hardware/interfaces/sensors/common/vts/utils/ |
D | SensorsHidlEnvironmentBase.cpp | 54 if (mCallback != nullptr) { in addEvent() 55 mCallback->onEvent(ev); in addEvent() 61 mCallback = callback; in registerCallback() 66 mCallback = nullptr; in unregisterCallback()
|
/hardware/libhardware/tests/input/evdev/ |
D | InputHub_test.cpp | 77 mCallback = std::make_shared<TestInputCallback>(); in SetUp() 78 mInputHub = std::make_shared<InputHub>(mCallback); in SetUp() 81 std::shared_ptr<TestInputCallback> mCallback; member in android::tests::InputHubTest 100 mCallback->setDeviceAddedCallback( in TEST_F() 135 mCallback->setDeviceAddedCallback( in TEST_F() 139 mCallback->setDeviceRemovedCallback( in TEST_F() 181 mCallback->setInputCallback( in TEST_F() 211 mCallback->setInputCallback( in TEST_F() 219 mCallback->setDeviceRemovedCallback( in TEST_F()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraThermalAdapter.cpp | 56 mCallback(NULL), in QCameraThermalAdapter() 96 mCallback = thermalCb; in init() 148 mCallback = NULL; in deinit() 160 QCameraThermalCallback *mcb = getInstance().mCallback; in thermalCallback()
|
/hardware/interfaces/soundtrigger/2.1/vts/functional/ |
D | VtsHalSoundtriggerV2_1TargetTest.cpp | 119 mCallback = new SoundTriggerHwCallback(*this); in SetUp() 120 ASSERT_NE(nullptr, mCallback.get()); in SetUp() 187 sp<SoundTriggerHwCallback> mCallback; member in SoundTriggerHidlTest 235 mSoundTriggerHal->loadPhraseSoundModel(model, mCallback, 0, [&](int32_t retval, auto res) { in TEST_F() 263 hidlReturn = mSoundTriggerHal->loadPhraseSoundModel_2_1(model, mCallback, 0, in TEST_F() 288 mSoundTriggerHal->loadSoundModel(model, mCallback, 0, [&](int32_t retval, auto res) { in TEST_F() 316 mSoundTriggerHal->loadSoundModel(model, mCallback, 0, [&](int32_t retval, auto res) { in TEST_F() 340 mSoundTriggerHal->loadSoundModel_2_1(model, mCallback, 0, [&](int32_t retval, auto res) { in TEST_F() 379 mSoundTriggerHal->loadSoundModel_2_1(model, mCallback, 0, [&](int32_t retval, auto res) { in TEST_F() 431 hidlReturn = mSoundTriggerHal->startRecognition(handle, config, mCallback, 0); in TEST_F() [all …]
|
/hardware/interfaces/usb/1.0/default/ |
D | Usb.cpp | 102 mCallback->notifyRoleSwitchStatus(portName, newRole, in switchRole() 111 Return<void> ret = mCallback->notifyRoleSwitchStatus(portName, newRole, Status::ERROR); in switchRole() 307 Return<void> ret = mCallback->notifyPortStatusChange(currentPortStatus, in queryPortStatus() 337 if (payload->usb->mCallback != NULL) { in uevent_event() 341 payload->usb->mCallback->notifyPortStatusChange(currentPortStatus, status); in uevent_event() 427 if ((mCallback == NULL && callback == NULL) || in setCallback() 428 (mCallback != NULL && callback != NULL)) { in setCallback() 429 mCallback = callback; in setCallback() 434 mCallback = callback; in setCallback() 437 if (mCallback == NULL) { in setCallback() [all …]
|
/hardware/interfaces/broadcastradio/1.1/vts/functional/ |
D | VtsHalBroadcastradioV1_1TargetTest.cpp | 113 sp<TunerCallbackMock> mCallback = new TunerCallbackMock(); member in android::hardware::broadcastradio::V1_1::vts::BroadcastRadioHalTest 168 clearAndWait(mCallback, 1s); in TearDown() 175 EXPECT_TIMEOUT_CALL(*mCallback, configChange, Result::OK, _); in openTuner() 185 auto hidlResult = mRadioModule->openTuner(getBand(0), true, mCallback, openCb); in openTuner() 191 EXPECT_TIMEOUT_CALL_WAIT(*mCallback, configChange, kConfigTimeout); in openTuner() 231 EXPECT_TIMEOUT_CALL(*mCallback, configChange, Result::OK, _) in nextBand() 235 EXPECT_TIMEOUT_CALL_WAIT(*mCallback, configChange, kConfigTimeout); in nextBand() 254 EXPECT_TIMEOUT_CALL(*mCallback, backgroundScanComplete, ProgramListResult::OK) in getProgramList() 266 EXPECT_TIMEOUT_CALL_WAIT(*mCallback, backgroundScanComplete, kFullScanTimeout); in getProgramList() 330 EXPECT_CALL(*mCallback, tuneComplete(_, _)).Times(0); in TEST_P() [all …]
|
/hardware/google/av/media/sfplugin/ |
D | CCodec.cpp | 492 if (!codec || !codec->mCallback) { in onDeath() 495 codec->mCallback->onError(DEAD_OBJECT, ACTION_CODE_FATAL); in onDeath() 524 mCodec->mCallback->onError(err, actionCode); in onError() 528 mCodec->mCallback->onOutputFramesRendered( in onOutputFramesRendered() 537 mCodec->mCallback->onOutputBuffersChanged(); in onOutputBuffersChanged() 561 mCallback->onError(err, ACTION_CODE_FATAL); in tryAndReportOnError() 590 mCallback->onError(UNKNOWN_ERROR, ACTION_CODE_FATAL); in allocate() 617 mCallback->onError(UNKNOWN_ERROR, ACTION_CODE_FATAL); in allocate() 647 mCallback->onComponentAllocated(componentName.c_str()); in allocate() 921 mCallback->onComponentConfigured(config->mInputFormat, config->mOutputFormat); in configure() [all …]
|
/hardware/interfaces/biometrics/face/1.0/vts/functional/ |
D | VtsHalBiometricsFaceV1_0TargetTest.cpp | 139 mCallback = new FaceCallback(); in SetUp() 140 mCallback->SetWaitTimeoutDefault(kTimeout); in SetUp() 141 Return<void> ret1 = mService->setCallback(mCallback, [](const OptionalUint64& res) { in SetUp() 155 sp<FaceCallback> mCallback; member in __anon7c7c64a20111::FaceHidlTest 186 auto res = mCallback->WaitForCallback(kCallbackNameOnError); in TEST_F() 206 auto res = mCallback->WaitForCallback(kCallbackNameOnError); in TEST_F() 273 auto res = mCallback->WaitForCallback(kCallbackNameOnEnumerate); in TEST_F() 330 auto res = mCallback->WaitForCallback(kCallbackNameOnError); in TEST_F() 342 auto res = mCallback->WaitForCallback(kCallbackNameOnLockoutChanged); in TEST_F()
|
/hardware/interfaces/broadcastradio/2.0/vts/functional/ |
D | VtsHalBroadcastradioV2_0TargetTest.cpp | 117 sp<TunerCallbackMock> mCallback = new TunerCallbackMock(); member in android::hardware::broadcastradio::V2_0::vts::BroadcastRadioHalTest 203 clearAndWait(mCallback, 1s); in TearDown() 215 auto hidlResult = mModule->openSession(mCallback, openCb); in openSession() 241 EXPECT_TIMEOUT_CALL(*mCallback, onProgramListReady).Times(AnyNumber()); in getProgramList() 251 EXPECT_TIMEOUT_CALL_WAIT(*mCallback, onProgramListReady, timeout::programListScan); in getProgramList() 256 return mCallback->mProgramList; in getProgramList() 431 EXPECT_TIMEOUT_CALL(*mCallback, onCurrentProgramInfoChanged_, in TEST_F() 445 EXPECT_TIMEOUT_CALL_WAIT(*mCallback, onCurrentProgramInfoChanged_, timeout::tune); in TEST_F() 515 EXPECT_TIMEOUT_CALL(*mCallback, onCurrentProgramInfoChanged_, _).Times(AnyNumber()); in TEST_F() 518 EXPECT_TIMEOUT_CALL_WAIT(*mCallback, onCurrentProgramInfoChanged_, timeout::tune); in TEST_F() [all …]
|
/hardware/interfaces/soundtrigger/2.0/vts/functional/ |
D | VtsHalSoundtriggerV2_0TargetTest.cpp | 111 mCallback = new SoundTriggerHwCallback(*this); in SetUp() 112 ASSERT_NE(nullptr, mCallback.get()); in SetUp() 158 sp<SoundTriggerHwCallback> mCallback; member in SoundTriggerHidlTest 207 mCallback, 0, [&](int32_t retval, auto res) { in TEST_F() 236 mCallback, 0, [&](int32_t retval, auto res) { in TEST_F() 288 hidlReturn = mSoundTriggerHal->startRecognition(handle, config, mCallback, 0); in TEST_F()
|
/hardware/interfaces/tv/cec/1.0/default/ |
D | HdmiCec.h | 67 if (mCallback != nullptr && event != nullptr) { in eventCallback() 79 mCallback->onCecMessage(cecMessage); in eventCallback() 85 mCallback->onHotplugEvent(hotplugEvent); in eventCallback() 96 static sp<IHdmiCecCallback> mCallback;
|
D | HdmiCec.cpp | 265 sp<IHdmiCecCallback> HdmiCec::mCallback = nullptr; member in android::hardware::tv::cec::V1_0::implementation::HdmiCec 321 if (mCallback != nullptr) { in setCallback() 322 mCallback->unlinkToDeath(this); in setCallback() 323 mCallback = nullptr; in setCallback() 327 mCallback = callback; in setCallback() 328 mCallback->linkToDeath(this, 0 /*cookie*/); in setCallback()
|
/hardware/interfaces/tv/cec/2.0/default/ |
D | HdmiCec.h | 74 if (mCallback != nullptr && event != nullptr) { in eventCallback() 86 mCallback->onCecMessage(cecMessage); in eventCallback() 91 mCallback->onHotplugEvent(hotplugEvent); in eventCallback() 102 static sp<IHdmiCecCallback> mCallback;
|
D | HdmiCec.cpp | 268 sp<IHdmiCecCallback> HdmiCec::mCallback = nullptr; member in android::hardware::tv::cec::V2_0::implementation::HdmiCec 336 if (mCallback != nullptr) { in setCallback() 337 mCallback->unlinkToDeath(this); in setCallback() 338 mCallback = nullptr; in setCallback() 342 mCallback = callback; in setCallback() 343 mCallback->linkToDeath(this, 0 /*cookie*/); in setCallback()
|
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorsHidlEnvironmentBase.h | 53 SensorsHidlEnvironmentBase() : mCollectionEnabled(false), mCallback(nullptr) {} in SensorsHidlEnvironmentBase() 66 IEventCallback* mCallback; variable
|
/hardware/interfaces/tv/input/1.0/default/ |
D | TvInput.cpp | 60 sp<ITvInputCallback> TvInput::mCallback = nullptr; member in android::hardware::tv::input::V1_0::implementation::TvInput 74 mCallback = callback; in setCallback() 75 if (mCallback != nullptr) { in setCallback() 146 if (mCallback != nullptr && event != nullptr) { in notify() 176 mCallback->notify(tvInputEvent); in notify()
|
/hardware/google/pixel/usb/ |
D | MonitorFfs.cpp | 37 mCallback(NULL), in MonitorFfs() 136 monitorFfs->mCallback(monitorFfs->mCurrentUsbFunctionsApplied, monitorFfs->mPayload); in startMonitorFd() 190 monitorFfs->mCallback(monitorFfs->mCurrentUsbFunctionsApplied, in startMonitorFd() 235 mCallback = NULL; in reset() 288 mCallback = callback; in registerFunctionsAppliedCallback()
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.h | 133 : SoundModelClient(id, cookie), mCallback(callback) {} in SoundModelClient_2_0() 139 sp<V2_0::ISoundTriggerHwCallback> mCallback; 175 : SoundModelClient(id, cookie), mCallback(callback) {} in SoundModelClient_2_1() 181 sp<V2_1::ISoundTriggerHwCallback> mCallback;
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | SubscriptionManager.h | 43 : mCallback(callback) {} in HalClient() 48 return mCallback; in getCallback() 56 const sp<IVehicleCallback> mCallback;
|
/hardware/nxp/secure_element/ls_client/src/ |
D | LsClient.cpp | 60 static LSC_onCompletedCallback mCallback = nullptr; variable 177 mCallback = callback; in LSC_doDownload() 408 if (mCallback != nullptr) { in performLSDownload_thread() 409 (mCallback)(false, printLSStatus(LS_DOWNLOAD_FAILED), mCallbackParams); in performLSDownload_thread() 427 if (mCallback != nullptr) { in performLSDownload_thread() 428 (mCallback)(true, printLSStatus(LS_DOWNLOAD_SUCCESS), mCallbackParams); in performLSDownload_thread()
|