Home
last modified time | relevance | path

Searched defs:const (Results 1 – 25 of 92) sorted by relevance

1234

/device/google/cuttlefish/host/frontend/webrtc/libcommon/
Daudio_device.cpp53 int32_t CfAudioDeviceModule::ActiveAudioLayer(AudioLayer* audioLayer) const { in ActiveAudioLayer()
157 int32_t CfAudioDeviceModule::SpeakerVolume(uint32_t* volume) const { in SpeakerVolume()
160 int32_t CfAudioDeviceModule::MaxSpeakerVolume(uint32_t* maxVolume) const { in MaxSpeakerVolume()
163 int32_t CfAudioDeviceModule::MinSpeakerVolume(uint32_t* minVolume) const { in MinSpeakerVolume()
173 int32_t CfAudioDeviceModule::MicrophoneVolume(uint32_t* volume) const { in MicrophoneVolume()
176 int32_t CfAudioDeviceModule::MaxMicrophoneVolume(uint32_t* maxVolume) const { in MaxMicrophoneVolume()
179 int32_t CfAudioDeviceModule::MinMicrophoneVolume(uint32_t* minVolume) const { in MinMicrophoneVolume()
189 int32_t CfAudioDeviceModule::SpeakerMute(bool* enabled) const { return -1; } in SpeakerMute()
197 int32_t CfAudioDeviceModule::MicrophoneMute(bool* enabled) const { return -1; } in MicrophoneMute()
200 int32_t CfAudioDeviceModule::StereoPlayoutIsAvailable(bool* available) const { in StereoPlayoutIsAvailable()
[all …]
/device/google/cuttlefish/host/commands/secure_env/
Dtpm_remote_provisioning_context.cpp45 const std::string& context, size_t num_bytes) const { in DeriveBytesFromHbk()
69 uint32_t csrVersion) const { in CreateDeviceInfo()
114 TpmRemoteProvisioningContext::GenerateBcc(bool testMode) const { in GenerateBcc()
181 const std::vector<uint8_t>& aad) const { in BuildProtectedDataPayload() argument
203 const cppcose::bytevec& input) const { in GenerateHmacSha256() argument
225 keymaster::GetHwInfoResponse* hwInfo) const { in GetHwInfo()
234 const std::vector<uint8_t>& challenge, cppbor::Array keysToSign) const { in BuildCsr()
Dtpm_keymaster_context.cpp116 uint32_t* os_patchlevel) const { in GetSystemVersion()
122 keymaster_algorithm_t algorithm) const { in GetKeyFactory()
132 keymaster_algorithm_t algorithm, keymaster_purpose_t purpose) const { in GetOperationFactory()
148 size_t* algorithms_count) const { in GetSupportedAlgorithms()
185 KeymasterKeyBlob* upgraded_key) const { in UpgradeKeyBlob()
235 keymaster::UniquePtr<keymaster::Key>* key) const { in ParseKeyBlob()
270 size_t size) const { in AddRngEntropy()
285 keymaster_error_t* error) const { in GenerateAttestation()
334 bool fake_signature, keymaster_error_t* error) const { in GenerateSelfSignedCertificate()
363 KeymasterKeyBlob* wrapped_key_material) const { in UnwrapKey()
[all …]
Dtpm_attestation_record.cpp70 AuthorizationSet* attestation) const { in VerifyAndCopyDeviceIds()
136 bool reset_since_rotation, keymaster_error_t* error) const { in GenerateUniqueId()
145 keymaster_error_t* error) const { in GetVerifiedBootParams()
152 keymaster_error_t* error) const { in GetAttestationKey()
158 keymaster_error_t* error) const { in GetAttestationChain()
Dtpm_keymaster_enforcement.cpp60 const HmacSharingParameters& b) const { in operator ()() argument
103 uint64_t activation_date) const { in activation_date_valid()
108 uint64_t expiration_date) const { in expiration_date_passed()
113 uint32_t timeout) const { in auth_token_timed_out()
141 const hw_auth_token_t& token) const { in ValidateTokenSignature() argument
301 const std::vector<uint8_t>& data_to_mac) const { in ComputeHmac() argument
318 km_id_t* keyid) const { in CreateKeyId()
Dtpm_random_source.cpp29 uint8_t* random, size_t requested_length) const { in GenerateRandom()
68 const uint8_t* buffer, size_t size) const { in AddRngEntropy()
Dtpm_gatekeeper.cpp52 const uint8_t** auth_token_key, uint32_t* length) const { in GetAuthTokenKey()
73 gatekeeper::salt_t salt) const { in ComputePasswordSignature()
86 void TpmGatekeeper::GetRandom(void* random, uint32_t requested_size) const { in GetRandom()
98 uint32_t length) const { in ComputeSignature()
/device/google/contexthub/util/common/
DJSONObject.cpp392 bool JSONValue::getInt32(int32_t *value) const { in getInt32()
401 bool JSONValue::getFloat(float *value) const { in getFloat()
422 bool JSONValue::getString(AString *value) const { in getString()
431 bool JSONValue::getBoolean(bool *value) const { in getBoolean()
440 bool JSONValue::getObject(sp<JSONObject> *value) const { in getObject()
449 bool JSONValue::getArray(sp<JSONArray> *value) const { in getArray()
559 AString JSONValue::toString(size_t depth, bool indentFirstLine) const { in toString()
647 AString JSONCompound::toString(size_t depth, bool indentFirstLine) const { in toString()
667 bool JSONObject::getValue(const char *key, JSONValue *value) const { in getValue()
682 AString JSONObject::internalToString(size_t depth) const { in internalToString()
[all …]
/device/generic/goldfish/audio/
Dstream_common.cpp57 void StreamCommon::getSupportedProfiles(const IStream::getSupportedProfiles_cb &_hidl_cb) const { in getSupportedProfiles() argument
71 Result StreamCommon::setFormat(AudioFormat format) const { in setFormat()
76 void StreamCommon::getAudioProperties(const IStream::getAudioProperties_cb &_hidl_cb) const { in getAudioProperties() argument
80 void StreamCommon::getDevices(const IStream::getDevices_cb &_hidl_cb) const { in getDevices() argument
84 Result StreamCommon::setDevices(const hidl_vec<DeviceAddress>& devices) const { in setDevices() argument
/device/google/contexthub/util/nanotool/
Dsensorevent.cpp137 uint64_t TimestampedSensorEvent::GetSampleTime(uint8_t index) const { in GetSampleTime()
151 std::string TimestampedSensorEvent::GetSampleTimeStr(uint8_t index) const { in GetSampleTimeStr()
162 uint8_t index) const { in GetSampleAtIndex()
208 std::string SingleAxisSensorEvent::StringForSample(uint8_t index) const { in StringForSample()
225 std::string SingleAxisIntSensorEvent::StringForSample(uint8_t index) const { in StringForSample()
238 std::string TripleAxisSensorEvent::StringForSample(uint8_t index) const { in StringForSample()
264 uint8_t index) const { in StringForSample()
Dapptohostevent.cpp50 bool AppToHostEvent::CheckAppId(SensorType sensor_type) const { in CheckAppId()
94 bool AppToHostEvent::CheckEventHeader(SensorType sensor_type) const { in CheckEventHeader()
106 bool AppToHostEvent::IsCalibrationEventForSensor(SensorType sensor_type) const { in IsCalibrationEventForSensor()
117 bool AppToHostEvent::IsTestEventForSensor(SensorType sensor_type) const { in IsTestEventForSensor()
/device/google/barbet/vibrator/drv2624/bench/
Dbenchmark.cpp82 std::string getDynamicConfig(const ::benchmark::State &state) const { in getDynamicConfig()
86 auto getOtherArg(const ::benchmark::State &state, std::size_t index) const { in getOtherArg()
158 auto getEffect(const ::benchmark::State &state) const { in getEffect()
162 auto getStrength(const ::benchmark::State &state) const { in getStrength()
/device/google/redfin/vibrator/drv2624/bench/
Dbenchmark.cpp82 std::string getDynamicConfig(const ::benchmark::State &state) const { in getDynamicConfig()
86 auto getOtherArg(const ::benchmark::State &state, std::size_t index) const { in getOtherArg()
158 auto getEffect(const ::benchmark::State &state) const { in getEffect()
162 auto getStrength(const ::benchmark::State &state) const { in getStrength()
/device/google/cuttlefish/host/libs/config/
Dconfig_flag.cpp65 bool WriteGflagsCompatHelpXml(std::ostream&) const override { in WriteGflagsCompatHelpXml()
79 bool HasConfig(const std::string& name) const { in HasConfig() argument
85 Result<Json::Value> ReadConfig(const std::string& name) const { in ReadConfig() argument
110 bool WriteGflagsCompatHelpXml(std::ostream&) const override { return true; } in WriteGflagsCompatHelpXml()
166 bool WriteGflagsCompatHelpXml(std::ostream& out) const override { in WriteGflagsCompatHelpXml()
234 bool WriteGflagsCompatHelpXml(std::ostream&) const override { return true; } in WriteGflagsCompatHelpXml()
Dcuttlefish_config_environment.cpp46 const std::string& file_name) const { in PerEnvironmentUdsPath() argument
55 const std::string& file_name) const { in PerEnvironmentPath() argument
60 const std::string& file_name) const { in PerEnvironmentLogPath() argument
70 const std::string& file_name) const { in PerEnvironmentGrpcSocketPath() argument
Dcuttlefish_config.cpp83 bool CuttlefishConfig::LoadFragment(ConfigFragment& fragment) const { in LoadFragment()
386 bool CuttlefishConfig::netsim_radio_enabled(NetsimRadio flag) const { in netsim_radio_enabled()
651 bool CuttlefishConfig::SaveToFile(const std::string& file) const { in SaveToFile() argument
666 const std::string& file_name) const { in InstancesPath() argument
675 const std::string& file_name) const { in AssemblyPath() argument
694 const std::string& file_name) const { in InstancesUdsPath() argument
703 const std::string& file_name) const { in EnvironmentsPath() argument
722 const std::string& file_name) const { in EnvironmentsUdsPath() argument
730 CuttlefishConfig::InstanceSpecific CuttlefishConfig::ForInstance(int num) const { in ForInstance()
735 const std::string& name) const { in ForInstanceName() argument
[all …]
/device/google/sunfish/vibrator/drv2624/bench/
Dbenchmark.cpp88 std::string getDynamicConfig(const ::benchmark::State &state) const { in getDynamicConfig()
92 auto getOtherArg(const ::benchmark::State &state, std::size_t index) const { in getOtherArg()
168 auto getEffect(const ::benchmark::State &state) const { in getEffect()
172 auto getStrength(const ::benchmark::State &state) const { in getStrength()
/device/google/coral/pwrstats_util/
DCstateResidencyDataProvider.cpp30 int CstateResidencyDataProvider::getImpl(PowerStatistic* stat) const { in getImpl()
75 …CstateResidencyDataProvider::getImpl(const PowerStatistic& start, PowerStatistic* interval) const { in getImpl()
88 std::ostream* output) const { in dumpImpl()
/device/generic/goldfish/camera/
DQemuCamera.cpp121 const Dataspace dataspace) const { in overrideStreamParams() argument
259 std::vector<DelayedStreamBuffer>* delayedOutputBuffers) const { in captureFrame()
287 CachedStreamBuffer* csb) const { in captureFrameYUV()
313 CachedStreamBuffer* csb) const { in captureFrameRGBA()
338 CachedStreamBuffer* csb) const { in captureFrameRAW16()
372 CachedStreamBuffer* csb) const { in captureFrameJpeg()
410 const uint32_t qemuFormat) const { in captureFrameForCompressing() argument
441 const uint64_t dataOffset) const { in queryFrame() argument
676 std::pair<int32_t, int32_t> QemuCamera::getDefaultTargetFpsRange(const RequestTemplate tpl) const { in getDefaultTargetFpsRange() argument
DFakeRotatingCamera.cpp242 const Dataspace dataspace) const { in overrideStreamParams() argument
519std::vector<DelayedStreamBuffer>* delayedOutputBuffers) const { in captureFrame()
543 CachedStreamBuffer* csb) const { in captureFrameRGBA()
553 CachedStreamBuffer* csb) const { in captureFrameYUV()
590 CachedStreamBuffer* csb) const { in captureFrameJpeg()
614 const RenderParams& renderParams) const { in captureFrameForCompressing() argument
645 const bool isHardwareBuffer) const { in drawScene() argument
691 bool FakeRotatingCamera::drawSceneImpl(const float pvMatrix44[]) const { in drawSceneImpl() argument
733 const native_handle_t* rgbaBuffer) const { in renderIntoRGBA() argument
974 …r<int32_t, int32_t> FakeRotatingCamera::getDefaultTargetFpsRange(const RequestTemplate tpl) const { in getDefaultTargetFpsRange() argument
/device/google/cuttlefish/host/libs/avb/
Davb.cpp56 const off_t partition_size_bytes) const { in GenerateAddHashFooter() argument
78 const off_t partition_size_bytes) const { in AddHashFooter() argument
88 const SharedFD& output_file) const { in GenerateInfoImage() argument
98 const std::string& output_path) const { in WriteInfoImage() argument
/device/generic/goldfish/gnss/
DGnssConfiguration.cpp66 const int svid) const { in isBlocklisted() argument
82 const BlocklistedSource& x) const noexcept { in operator ()() argument
87 const BlocklistedSource& lhs, const BlocklistedSource& rhs) const noexcept { in operator ()() argument
/device/google/cuttlefish/host/commands/modem_simulator/
Dchannel_monitor.cpp39 bool ClientId::operator==(const ClientId& other) const { in operator ==() argument
56 bool Client::operator==(const Client& other) const { in operator ==() argument
61 void Client::SendCommandResponse(std::string response) const { in SendCommandResponse()
77 const std::vector<std::string>& responses) const { in SendCommandResponse() argument
/device/google/cuttlefish/host/commands/secure_env/storage/
Dtpm_storage.cpp53 Result<bool> TpmStorage::HasKey(const std::string& key) const { in HasKey() argument
57 Result<ManagedStorageData> TpmStorage::Read(const std::string& key) const { in Read() argument
164 Result<std::optional<TPM2_HANDLE>> TpmStorage::GetHandle(const std::string& key) const { in GetHandle() argument
/device/generic/goldfish-opengl/system/codecs/omx/common/
Dgoldfish_media_utils.cpp177 uint8_t* GoldfishMediaTransportImpl::getInputAddr(unsigned int offSet) const { in getInputAddr()
189 uint8_t* GoldfishMediaTransportImpl::getReturnAddr(unsigned int offSet) const { in getReturnAddr()
193 __u64 GoldfishMediaTransportImpl::offsetOf(uint64_t addr) const { in offsetOf()

1234