/device/generic/goldfish/audio/ |
D | primary_device.cpp | 52 Return<void> PrimaryDevice::getMasterVolume(getMasterVolume_cb _hidl_cb) { in getMasterVolume() argument 53 _hidl_cb(Result::OK, mMasterVolume); in getMasterVolume() 63 Return<void> PrimaryDevice::getMicMute(getMicMute_cb _hidl_cb) { in getMicMute() argument 64 _hidl_cb(Result::OK, mMicMute); in getMicMute() 74 Return<void> PrimaryDevice::getMasterMute(getMasterMute_cb _hidl_cb) { in getMasterMute() argument 75 _hidl_cb(Result::OK, mMasterMute); in getMasterMute() 80 getInputBufferSize_cb _hidl_cb) { in getInputBufferSize() argument 88 _hidl_cb(Result::OK, sz); in getInputBufferSize() 91 _hidl_cb(FAILURE(Result::INVALID_ARGUMENTS), 0); in getInputBufferSize() 102 openOutputStream_cb _hidl_cb) { in openOutputStream() argument [all …]
|
D | stream_common.cpp | 58 IStream::getSupportedSampleRates_cb _hidl_cb) const { in getSupportedSampleRates() 60 _hidl_cb(Result::OK, {m_config.sampleRateHz}); in getSupportedSampleRates() 62 _hidl_cb(Result::OK, {}); in getSupportedSampleRates() 76 IStream::getSupportedChannelMasks_cb _hidl_cb) const { in getSupportedChannelMasks() 78 _hidl_cb(Result::OK, {m_config.channelMask}); in getSupportedChannelMasks() 80 _hidl_cb(Result::OK, {}); in getSupportedChannelMasks() 93 void StreamCommon::getSupportedFormats(IStream::getSupportedFormats_cb _hidl_cb) const { in getSupportedFormats() 94 _hidl_cb(Result::OK, {m_config.format}); in getSupportedFormats() 102 void StreamCommon::getAudioProperties(IStream::getAudioProperties_cb _hidl_cb) const { in getAudioProperties() 103 _hidl_cb(m_config.sampleRateHz, m_config.channelMask, m_config.format); in getAudioProperties() [all …]
|
D | primary_device.h | 46 Return<void> getMasterVolume(getMasterVolume_cb _hidl_cb) override; 48 Return<void> getMicMute(getMicMute_cb _hidl_cb) override; 50 Return<void> getMasterMute(getMasterMute_cb _hidl_cb) override; 52 getInputBufferSize_cb _hidl_cb) override; 58 openOutputStream_cb _hidl_cb) override; 64 openInputStream_cb _hidl_cb) override; 68 createAudioPatch_cb _hidl_cb) override; 70 Return<void> getAudioPort(const AudioPort& port, getAudioPort_cb _hidl_cb) override; 73 Return<void> getHwAvSync(getHwAvSync_cb _hidl_cb) override; 76 getParameters_cb _hidl_cb) override; [all …]
|
D | stream_out.cpp | 258 getSupportedSampleRates_cb _hidl_cb) { in getSupportedSampleRates() argument 259 mCommon.getSupportedSampleRates(format, _hidl_cb); in getSupportedSampleRates() 272 IStream::getSupportedChannelMasks_cb _hidl_cb) { in getSupportedChannelMasks() argument 273 mCommon.getSupportedChannelMasks(format, _hidl_cb); in getSupportedChannelMasks() 285 Return<void> StreamOut::getSupportedFormats(getSupportedFormats_cb _hidl_cb) { in getSupportedFormats() argument 286 mCommon.getSupportedFormats(_hidl_cb); in getSupportedFormats() 294 Return<void> StreamOut::getAudioProperties(getAudioProperties_cb _hidl_cb) { in getAudioProperties() argument 295 mCommon.getAudioProperties(_hidl_cb); in getAudioProperties() 317 Return<void> StreamOut::getDevices(getDevices_cb _hidl_cb) { in getDevices() argument 318 mCommon.getDevices(_hidl_cb); in getDevices() [all …]
|
D | stream_in.cpp | 251 getSupportedSampleRates_cb _hidl_cb) { in getSupportedSampleRates() argument 252 mCommon.getSupportedSampleRates(format, _hidl_cb); in getSupportedSampleRates() 265 IStream::getSupportedChannelMasks_cb _hidl_cb) { in getSupportedChannelMasks() argument 266 mCommon.getSupportedChannelMasks(format, _hidl_cb); in getSupportedChannelMasks() 278 Return<void> StreamIn::getSupportedFormats(getSupportedFormats_cb _hidl_cb) { in getSupportedFormats() argument 279 mCommon.getSupportedFormats(_hidl_cb); in getSupportedFormats() 287 Return<void> StreamIn::getAudioProperties(getAudioProperties_cb _hidl_cb) { in getAudioProperties() argument 288 mCommon.getAudioProperties(_hidl_cb); in getAudioProperties() 310 Return<void> StreamIn::getDevices(getDevices_cb _hidl_cb) { in getDevices() argument 311 mCommon.getDevices(_hidl_cb); in getDevices() [all …]
|
D | stream_out.h | 53 …Return<void> getSupportedSampleRates(AudioFormat format, getSupportedSampleRates_cb _hidl_cb) over… 56 …Return<void> getSupportedChannelMasks(AudioFormat format, getSupportedChannelMasks_cb _hidl_cb) ov… 59 Return<void> getSupportedFormats(getSupportedFormats_cb _hidl_cb) override; 61 Return<void> getAudioProperties(getAudioProperties_cb _hidl_cb) override; 65 Return<void> getDevices(getDevices_cb _hidl_cb) override; 70 getParameters_cb _hidl_cb) override; 75 Return<void> createMmapBuffer(int32_t minSizeFrames, createMmapBuffer_cb _hidl_cb) override; 76 Return<void> getMmapPosition(getMmapPosition_cb _hidl_cb) override; 84 prepareForWriting_cb _hidl_cb) override; 85 Return<void> getRenderPosition(getRenderPosition_cb _hidl_cb) override; [all …]
|
D | stream_in.h | 52 …Return<void> getSupportedSampleRates(AudioFormat format, getSupportedSampleRates_cb _hidl_cb) over… 55 …Return<void> getSupportedChannelMasks(AudioFormat format, getSupportedChannelMasks_cb _hidl_cb) ov… 58 Return<void> getSupportedFormats(getSupportedFormats_cb _hidl_cb) override; 60 Return<void> getAudioProperties(getAudioProperties_cb _hidl_cb) override; 64 Return<void> getDevices(getDevices_cb _hidl_cb) override; 69 getParameters_cb _hidl_cb) override; 74 Return<void> createMmapBuffer(int32_t minSizeFrames, createMmapBuffer_cb _hidl_cb) override; 75 Return<void> getMmapPosition(getMmapPosition_cb _hidl_cb) override; 79 Return<void> getAudioSource(getAudioSource_cb _hidl_cb) override; 83 prepareForReading_cb _hidl_cb) override; [all …]
|
D | device_factory.cpp | 52 openDevice_cb _hidl_cb) { in openDevice() argument 54 _hidl_cb(Result::OK, new PrimaryDevice); in openDevice() 56 mLegacyFactory->openDevice(device, _hidl_cb); in openDevice() 62 Return<void> DevicesFactory::openPrimaryDevice(openPrimaryDevice_cb _hidl_cb) { in openPrimaryDevice() argument 63 _hidl_cb(Result::OK, new PrimaryDevice); in openPrimaryDevice()
|
D | stream_common.h | 45 IStream::getSupportedSampleRates_cb _hidl_cb) const; 49 IStream::getSupportedChannelMasks_cb _hidl_cb) const; 52 void getSupportedFormats(IStream::getSupportedFormats_cb _hidl_cb) const; 54 void getAudioProperties(IStream::getAudioProperties_cb _hidl_cb) const; 55 void getDevices(IStream::getDevices_cb _hidl_cb) const;
|
/device/google/cuttlefish/guest/hals/gatekeeper/remote/ |
D | remote_gatekeeper.cpp | 58 enroll_cb _hidl_cb) { in enroll() argument 61 _hidl_cb({GatekeeperStatusCode::ERROR_GENERAL_FAILURE, 0, {}}); in enroll() 67 _hidl_cb({GatekeeperStatusCode::ERROR_GENERAL_FAILURE, 0, {}}); in enroll() 78 _hidl_cb({GatekeeperStatusCode::ERROR_GENERAL_FAILURE, 0, {}}); in enroll() 81 _hidl_cb({GatekeeperStatusCode::ERROR_RETRY_TIMEOUT, response.retry_timeout, {}}); in enroll() 84 _hidl_cb({GatekeeperStatusCode::ERROR_GENERAL_FAILURE, 0, {}}); in enroll() 89 _hidl_cb({GatekeeperStatusCode::STATUS_OK, response.retry_timeout, new_handle}); in enroll() 97 const ::android::hardware::hidl_vec<uint8_t>& providedPassword, verify_cb _hidl_cb) { in verify() argument 100 _hidl_cb({GatekeeperStatusCode::ERROR_GENERAL_FAILURE, 0, {}}); in verify() 106 _hidl_cb({GatekeeperStatusCode::ERROR_GENERAL_FAILURE, 0, {}}); in verify() [all …]
|
D | remote_gatekeeper.h | 46 enroll_cb _hidl_cb) override; 65 verify_cb _hidl_cb) override; 67 ::android::hardware::Return<void> deleteUser(uint32_t uid, deleteUser_cb _hidl_cb) override; 69 ::android::hardware::Return<void> deleteAllUsers(deleteAllUsers_cb _hidl_cb) override;
|
/device/google/cuttlefish/guest/hals/health/ |
D | health.cpp | 49 Return<void> getChargeCounter(getChargeCounter_cb _hidl_cb) override; 50 Return<void> getCurrentNow(getCurrentNow_cb _hidl_cb) override; 51 Return<void> getCapacity(getCapacity_cb _hidl_cb) override; 52 Return<void> getChargeStatus(getChargeStatus_cb _hidl_cb) override; 77 Return<void> HealthImpl::getChargeCounter(getChargeCounter_cb _hidl_cb) { in getChargeCounter() argument 78 _hidl_cb(Result::SUCCESS, 1900000); in getChargeCounter() 82 Return<void> HealthImpl::getCurrentNow(getCurrentNow_cb _hidl_cb) { in getCurrentNow() argument 83 _hidl_cb(Result::SUCCESS, 400000); in getCurrentNow() 87 Return<void> HealthImpl::getCapacity(getCapacity_cb _hidl_cb) { in getCapacity() argument 88 _hidl_cb(Result::SUCCESS, 85); in getCapacity() [all …]
|
/device/google/cuttlefish/guest/hals/keymaster/remote/ |
D | remote_keymaster4_device.h | 53 Return<void> getHardwareInfo(getHardwareInfo_cb _hidl_cb) override; 54 Return<void> getHmacSharingParameters(getHmacSharingParameters_cb _hidl_cb) override; 60 verifyAuthorization_cb _hidl_cb) override; 63 generateKey_cb _hidl_cb) override; 67 getKeyCharacteristics_cb _hidl_cb) override; 69 const hidl_vec<uint8_t>& keyData, importKey_cb _hidl_cb) override; 75 importWrappedKey_cb _hidl_cb) override; 78 exportKey_cb _hidl_cb) override; 81 attestKey_cb _hidl_cb) override; 84 upgradeKey_cb _hidl_cb) override; [all …]
|
D | remote_keymaster4_device.cpp | 267 Return<void> RemoteKeymaster4Device::getHardwareInfo(getHardwareInfo_cb _hidl_cb) { in getHardwareInfo() argument 268 _hidl_cb(SecurityLevel::TRUSTED_ENVIRONMENT, "RemoteKeymaster", "Google"); in getHardwareInfo() 273 getHmacSharingParameters_cb _hidl_cb) { in getHmacSharingParameters() argument 281 _hidl_cb(legacy_enum_conversion(response.error), params); in getHmacSharingParameters() 286 const hidl_vec<HmacSharingParameters>& params, computeSharedHmac_cb _hidl_cb) { in computeSharedHmac() argument 305 _hidl_cb(legacy_enum_conversion(response.error), sharing_check); in computeSharedHmac() 311 const HardwareAuthToken& authToken, verifyAuthorization_cb _hidl_cb) { in verifyAuthorization() argument 332 _hidl_cb(legacy_enum_conversion(response.error), token); in verifyAuthorization() 349 generateKey_cb _hidl_cb) { in generateKey() argument 363 _hidl_cb(legacy_enum_conversion(response.error), resultKeyBlob, resultCharacteristics); in generateKey() [all …]
|
/device/generic/goldfish/soundtrigger/ |
D | main.cpp | 32 Return<void> getProperties(getProperties_cb _hidl_cb) override { in getProperties() 56 _hidl_cb(0, props); in getProperties() 63 loadSoundModel_cb _hidl_cb) override { in loadSoundModel() 67 _hidl_cb(0, genHandle()); in loadSoundModel() 74 loadPhraseSoundModel_cb _hidl_cb) override { in loadPhraseSoundModel() 78 _hidl_cb(0, genHandle()); in loadPhraseSoundModel() 111 loadSoundModel_2_1_cb _hidl_cb) override { in loadSoundModel_2_1() 115 _hidl_cb(0, genHandle()); in loadSoundModel_2_1() 122 loadPhraseSoundModel_2_1_cb _hidl_cb) override { in loadPhraseSoundModel_2_1() 126 _hidl_cb(0, genHandle()); in loadPhraseSoundModel_2_1()
|
/device/google/wahoo/vibrator/ |
D | Vibrator.cpp | 178 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() argument 179 return performWrapper(effect, strength, _hidl_cb); in perform() 183 perform_cb _hidl_cb) { in perform_1_1() argument 184 return performWrapper(effect, strength, _hidl_cb); in perform_1_1() 187 Return<void> Vibrator::perform_1_2(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform_1_2() argument 188 return performWrapper(effect, strength, _hidl_cb); in perform_1_2() 192 Return<void> Vibrator::performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb) { in performWrapper() argument 195 _hidl_cb(Status::UNSUPPORTED_OPERATION, 0); in performWrapper() 200 _hidl_cb(Status::UNSUPPORTED_OPERATION, 0); in performWrapper() 203 return performEffect(static_cast<Effect>(effect), strength, _hidl_cb); in performWrapper() [all …]
|
D | Vibrator.h | 45 Return<void> perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) 47 Return<void> perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, perform_cb _hidl_cb) 49 Return<void> perform_1_2(Effect effect, EffectStrength strength, perform_cb _hidl_cb) override; 54 Return<void> performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb); 55 Return<void> performEffect(Effect effect, EffectStrength strength, perform_cb _hidl_cb);
|
/device/google/crosshatch/vibrator/ |
D | Vibrator.cpp | 157 perform_cb _hidl_cb) { in perform() argument 158 return performWrapper(effect, strength, _hidl_cb); in perform() 162 perform_cb _hidl_cb) { in perform_1_1() argument 163 return performWrapper(effect, strength, _hidl_cb); in perform_1_1() 167 perform_cb _hidl_cb) { in perform_1_2() argument 168 return performWrapper(effect, strength, _hidl_cb); in perform_1_2() 172 Return<void> Vibrator::performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb) { in performWrapper() argument 175 _hidl_cb(Status::UNSUPPORTED_OPERATION, 0); in performWrapper() 178 return performEffect(static_cast<Effect>(effect), strength, _hidl_cb); in performWrapper() 182 perform_cb _hidl_cb) { in performEffect() argument [all …]
|
D | Vibrator.h | 43 Return<void> perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) 45 Return<void> perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, perform_cb _hidl_cb) 47 Return<void> perform_1_2(Effect effect, EffectStrength strength, perform_cb _hidl_cb) override; 52 Return<void> performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb); 53 Return<void> performEffect(Effect effect, EffectStrength strength, perform_cb _hidl_cb);
|
/device/google/bonito/vibrator/ |
D | Vibrator.cpp | 168 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() argument 169 return performWrapper(effect, strength, _hidl_cb); in perform() 173 perform_cb _hidl_cb) { in perform_1_1() argument 174 return performWrapper(effect, strength, _hidl_cb); in perform_1_1() 177 Return<void> Vibrator::perform_1_2(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform_1_2() argument 178 return performWrapper(effect, strength, _hidl_cb); in perform_1_2() 182 Return<void> Vibrator::performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb) { in performWrapper() argument 185 _hidl_cb(Status::UNSUPPORTED_OPERATION, 0); in performWrapper() 190 _hidl_cb(Status::UNSUPPORTED_OPERATION, 0); in performWrapper() 193 return performEffect(static_cast<Effect>(effect), strength, _hidl_cb); in performWrapper() [all …]
|
D | Vibrator.h | 59 perform_cb _hidl_cb) override; 61 perform_cb _hidl_cb) override; 62 Return<void> perform_1_2(Effect effect, EffectStrength strength, perform_cb _hidl_cb) override; 67 Return<void> performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb); 68 Return<void> performEffect(Effect effect, EffectStrength strength, perform_cb _hidl_cb);
|
/device/google/coral/vibrator/ |
D | Vibrator.cpp | 245 Return<void> Vibrator::performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb) { in performWrapper() argument 249 _hidl_cb(Status::UNSUPPORTED_OPERATION, 0); in performWrapper() 252 return performEffect(static_cast<Effect>(effect), strength, _hidl_cb); in performWrapper() 255 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() argument 256 return performWrapper(effect, strength, _hidl_cb); in perform() 260 perform_cb _hidl_cb) { in perform_1_1() argument 261 return performWrapper(effect, strength, _hidl_cb); in perform_1_1() 265 perform_cb _hidl_cb) { in perform_1_2() argument 266 return performWrapper(effect, strength, _hidl_cb); in perform_1_2() 269 Return<void> Vibrator::perform_1_3(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform_1_3() argument [all …]
|
/device/linaro/hikey/power/ |
D | Power.cpp | 67 Return<void> Power::getPlatformLowPowerStats(getPlatformLowPowerStats_cb _hidl_cb) { in getPlatformLowPowerStats() argument 71 _hidl_cb(states, Status::SUCCESS); in getPlatformLowPowerStats() 76 Return<void> Power::getSubsystemLowPowerStats(getSubsystemLowPowerStats_cb _hidl_cb) { in getSubsystemLowPowerStats() argument 83 _hidl_cb(subsystems, Status::SUCCESS); in getSubsystemLowPowerStats()
|
/device/google/coral/powerstats/ |
D | RailDataProvider.cpp | 201 Return<void> RailDataProvider::getRailInfo(IPowerStats::getRailInfo_cb _hidl_cb) { in getRailInfo() argument 208 _hidl_cb(rInfo, Status::NOT_SUPPORTED); in getRailInfo() 219 _hidl_cb(rInfo, ret); in getRailInfo() 223 …der::getEnergyData(const hidl_vec<uint32_t>& railIndices, IPowerStats::getEnergyData_cb _hidl_cb) { in getEnergyData() argument 230 _hidl_cb(eVal, ret); in getEnergyData() 250 _hidl_cb(eVal, ret); in getEnergyData() 255 IPowerStats::streamEnergyData_cb _hidl_cb) { in streamEnergyData() argument 258 _hidl_cb(MessageQueueSync::Descriptor(), in streamEnergyData() 267 _hidl_cb(MessageQueueSync::Descriptor(), in streamEnergyData() 296 _hidl_cb(*(mOdpm.fmqSynchronized)->getDesc(), numSamples, in streamEnergyData()
|
/device/google/coral/health/ |
D | Health.cpp | 164 Return<void> getStorageInfo(getStorageInfo_cb _hidl_cb) override; 165 Return<void> getDiskStats(getDiskStats_cb _hidl_cb) override; 179 Return<void> HealthImpl::getStorageInfo(getStorageInfo_cb _hidl_cb) in getStorageInfo() argument 185 _hidl_cb(Result::NOT_SUPPORTED, info_vec); in getStorageInfo() 187 _hidl_cb(Result::SUCCESS, info_vec); in getStorageInfo() 192 Return<void> HealthImpl::getDiskStats(getDiskStats_cb _hidl_cb) in getDiskStats() argument 198 _hidl_cb(Result::NOT_SUPPORTED, stats_vec); in getDiskStats() 200 _hidl_cb(Result::SUCCESS, stats_vec); in getDiskStats()
|