/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | KeymasterHidlTest.h | 38 using ::std::string; 49 explicit HidlBuf(const std::string& other) : HidlBuf() { *this = other; } in HidlBuf() 73 HidlBuf& operator=(const string& other) { 79 string to_string() const { return string(reinterpret_cast<const char*>(data()), size()); } in to_string() 84 class KeymasterHidlTest : public ::testing::TestWithParam<std::string> { 104 const string& key_material, HidlBuf* key_blob, 107 const string& key_material); 109 ErrorCode ImportWrappedKey(string wrapped_key, string wrapping_key, 110 const AuthorizationSet& wrapping_key_desc, string masking_key, 140 const string& input, AuthorizationSet* out_params, string* output, [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/inc/ |
D | PrefixParser.h | 44 using ::std::string; 51 bool add(vector<string> /* in */); 52 bool add(string /* in */); 53 bool addV4(vector<string> /* in */); 54 bool addV4(string /* in */); 55 bool addV6(vector<string> /* in */); 56 bool addV6(string /* in */); 60 string getLastErrAsStr(); 62 bool add(string /* in */, IP_FAM /* famHint */); 63 bool add(vector<string> /* in */, IP_FAM /* famHint */); [all …]
|
D | LocalLogBuffer.h | 40 using ::std::string; 49 FunctionLog(string /* funcName */); 51 void addArg(string /* kw */, string /* arg */); 52 void addArg(string /* kw */, vector<string> /* args */); 53 void addArg(string /* kw */, uint64_t /* arg */); 54 void setResult(bool /* success */, string /* msg */); 57 string toString(); 60 const string mName; 65 LocalLogBuffer(string /* name */, int /* maxLogs */); 71 const string mName;
|
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/inc/ |
D | PrefixParser.h | 44 using ::std::string; 51 bool add(vector<string> /* in */); 52 bool add(string /* in */); 53 bool addV4(vector<string> /* in */); 54 bool addV4(string /* in */); 55 bool addV6(vector<string> /* in */); 56 bool addV6(string /* in */); 61 string getLastErrAsStr(); 63 bool add(string /* in */, IP_FAM /* famHint */); 64 bool add(vector<string> /* in */, IP_FAM /* famHint */); [all …]
|
D | LocalLogBuffer.h | 40 using ::std::string; 49 FunctionLog(string /* funcName */); 51 void addArg(string /* kw */, string /* arg */); 52 void addArg(string /* kw */, vector<string> /* args */); 53 void addArg(string /* kw */, uint64_t /* arg */); 54 void setResult(bool /* success */, string /* msg */); 57 string toString(); 60 const string mName; 65 LocalLogBuffer(string /* name */, int /* maxLogs */); 70 const string mName;
|
/hardware/qcom/sdm845/data/ipacfg-mgr/hal/inc/ |
D | PrefixParser.h | 44 using ::std::string; 51 bool add(vector<string> /* in */); 52 bool add(string /* in */); 53 bool addV4(vector<string> /* in */); 54 bool addV4(string /* in */); 55 bool addV6(vector<string> /* in */); 56 bool addV6(string /* in */); 61 string getLastErrAsStr(); 63 bool add(string /* in */, IP_FAM /* famHint */); 64 bool add(vector<string> /* in */, IP_FAM /* famHint */); [all …]
|
D | LocalLogBuffer.h | 40 using ::std::string; 49 FunctionLog(string /* funcName */); 51 void addArg(string /* kw */, string /* arg */); 52 void addArg(string /* kw */, vector<string> /* args */); 53 void addArg(string /* kw */, uint64_t /* arg */); 54 void setResult(bool /* success */, string /* msg */); 57 string toString(); 60 const string mName; 65 LocalLogBuffer(string /* name */, int /* maxLogs */); 70 const string mName;
|
/hardware/interfaces/wifi/1.3/default/ |
D | wifi_legacy_hal.h | 138 std::function<void(const std::string&, const std::vector<uint8_t>&, 148 std::string name; 187 virtual std::pair<wifi_error, std::string> getDriverVersion( 188 const std::string& iface_name); 189 virtual std::pair<wifi_error, std::string> getFirmwareVersion( 190 const std::string& iface_name); 192 const std::string& iface_name); 194 const std::string& iface_name); 196 const std::string& iface_name); 199 const std::string& iface_name); [all …]
|
/hardware/ti/am57x/bootctrl/ |
D | bootloader_message.h | 190 std::string get_bootloader_message_blk_device(std::string* err); 193 bool read_bootloader_message(bootloader_message* boot, std::string* err); 196 bool read_bootloader_message_from(bootloader_message* boot, const std::string& misc_blk_device, 197 std::string* err); 200 bool read_bootloader_control_from(bootloader_control* boot_ctrl, const std::string& misc_blk_device, 201 std::string* err); 204 bool write_bootloader_message(const bootloader_message& boot, std::string* err); 208 const std::string& misc_blk_device, std::string* err); 212 bool write_bootloader_message(const std::vector<std::string>& options, std::string* err); 215 bool write_bootloader_control_to(const bootloader_control* boot_ctrl, const std::string& misc_blk_d… [all …]
|
D | bootloader_message.cpp | 38 static std::string get_misc_blk_device(std::string* err) { in get_misc_blk_device() 54 static bool wait_for_device(const std::string& blk_device, std::string* err) { in wait_for_device() 75 static bool read_misc_partition(void* p, size_t size, const std::string& misc_blk_device, in read_misc_partition() 76 size_t offset, std::string* err) { in read_misc_partition() 99 static bool write_misc_partition(const void* p, size_t size, const std::string& misc_blk_device, in write_misc_partition() 100 size_t offset, std::string* err) { in write_misc_partition() 125 std::string get_bootloader_message_blk_device(std::string* err) { in get_bootloader_message_blk_device() 126 std::string misc_blk_device = get_misc_blk_device(err); in get_bootloader_message_blk_device() 132 bool read_bootloader_message_from(bootloader_message* boot, const std::string& misc_blk_device, in read_bootloader_message_from() 133 std::string* err) { in read_bootloader_message_from() [all …]
|
/hardware/google/av/media/eco/include/eco/ |
D | ECOData.h | 77 std::variant<int32_t, int64_t, size_t, float, double, std::string, int8_t>; 78 using ECODataKeyValuePair = std::pair<std::string, ECODataValueType>; 98 ECODataStatus set(const std::string& key, const ECODataValueType& value); 99 ECODataStatus find(const std::string& key, ECODataValueType* out) const; 102 ECODataStatus setString(const std::string& key, const std::string& value); 103 ECODataStatus findString(const std::string& key, std::string* out) const; 106 ECODataStatus setInt32(const std::string& key, int32_t value); 107 ECODataStatus findInt32(const std::string& key, int32_t* out) const; 110 ECODataStatus setInt64(const std::string& key, int64_t value); 111 ECODataStatus findInt64(const std::string& key, int64_t* out) const; [all …]
|
/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | config.h | 27 std::string getString() const; 31 bool parseFromString(std::string in); 35 std::string value_string_; 42 void parseFromFile(const std::string& file_name); 43 void parseFromString(const std::string& config); 45 bool hasKey(const std::string& key); 46 std::string getString(const std::string& key); 47 unsigned getUnsigned(const std::string& key); 48 std::vector<uint8_t> getBytes(const std::string& key); 53 ConfigValue& getValue(const std::string& key); [all …]
|
D | ese_config.cc | 35 std::string findConfigPath() { in findConfigPath() 36 const vector<string> search_path = {"/odm/etc/", "/vendor/etc/", "/etc/"}; in findConfigPath() 37 const string file_name = "libese-hal-st.conf"; in findConfigPath() 39 for (string path : search_path) { in findConfigPath() 51 string config_path = findConfigPath(); in EseConfig() 61 bool EseConfig::hasKey(const std::string& key) { in hasKey() 65 std::string EseConfig::getString(const std::string& key) { in getString() 69 std::string EseConfig::getString(const std::string& key, in getString() 70 std::string default_value) { in getString() 75 unsigned EseConfig::getUnsigned(const std::string& key) { in getUnsigned() [all …]
|
D | config.cc | 28 bool parseBytesString(std::string in, std::vector<uint8_t>& out) { in parseBytesString() 29 vector<string> values = Split(in, ":"); in parseBytesString() 31 for (string value : values) { in parseBytesString() 34 string hexified = "0x"; in parseBytesString() 46 std::string ConfigValue::getString() const { in getString() 61 bool ConfigValue::parseFromString(std::string in) { in parseFromString() 85 void ConfigFile::parseFromFile(const std::string& file_name) { in parseFromFile() 86 string config; in parseFromFile() 93 void ConfigFile::parseFromString(const std::string& config) { in parseFromString() 95 string line; in parseFromString() [all …]
|
D | ese_config.h | 34 static bool hasKey(const std::string& key); 35 static std::string getString(const std::string& key); 36 static std::string getString(const std::string& key, 37 std::string default_value); 38 static unsigned getUnsigned(const std::string& key); 39 static unsigned getUnsigned(const std::string& key, unsigned default_value); 40 static std::vector<uint8_t> getBytes(const std::string& key);
|
/hardware/nxp/secure_element/libese-spi/p73/utils/ |
D | config.h | 28 std::string getString() const; 32 bool parseFromString(std::string in); 36 std::string value_string_; 43 void parseFromFile(const std::string& file_name); 44 void parseFromString(const std::string& config); 46 bool hasKey(const std::string& key); 47 std::string getString(const std::string& key); 48 unsigned getUnsigned(const std::string& key); 49 std::vector<uint8_t> getBytes(const std::string& key); 54 ConfigValue& getValue(const std::string& key); [all …]
|
D | ese_config.cpp | 33 std::string findConfigPath() { in findConfigPath() 34 const vector<string> search_path = {"/odm/etc/", "/vendor/etc/", "/etc/"}; in findConfigPath() 35 const string file_name = "libese-nxp.conf"; in findConfigPath() 37 for (string path : search_path) { in findConfigPath() 49 string config_path = findConfigPath(); in EseConfig() 59 bool EseConfig::hasKey(const std::string& key) { in hasKey() 63 std::string EseConfig::getString(const std::string& key) { in getString() 67 std::string EseConfig::getString(const std::string& key, in getString() 68 std::string default_value) { in getString() 73 unsigned EseConfig::getUnsigned(const std::string& key) { in getUnsigned() [all …]
|
D | config.cpp | 28 bool parseBytesString(std::string in, std::vector<uint8_t>& out) { in parseBytesString() 29 vector<string> values = Split(in, ":"); in parseBytesString() 31 for (const string& value : values) { in parseBytesString() 34 string hexified = "0x"; in parseBytesString() 51 std::string ConfigValue::getString() const { in getString() 66 bool ConfigValue::parseFromString(std::string in) { in parseFromString() 90 void ConfigFile::parseFromFile(const std::string& file_name) { in parseFromFile() 91 string config; in parseFromFile() 98 void ConfigFile::parseFromString(const std::string& config) { in parseFromString() 100 string line; in parseFromString() [all …]
|
D | ese_config.h | 41 static bool hasKey(const std::string& key); 42 static std::string getString(const std::string& key); 43 static std::string getString(const std::string& key, 44 std::string default_value); 45 static unsigned getUnsigned(const std::string& key); 46 static unsigned getUnsigned(const std::string& key, unsigned default_value); 47 static std::vector<uint8_t> getBytes(const std::string& key);
|
/hardware/interfaces/wifi/1.3/default/tests/ |
D | mock_wifi_legacy_hal.h | 39 MOCK_METHOD2(setDfsFlag, wifi_error(const std::string&, bool)); 41 wifi_error(const std::string&, 43 MOCK_METHOD1(getFirmwareVersion, std::pair<wifi_error, std::string>( 44 const std::string& iface_name)); 45 MOCK_METHOD1(getDriverVersion, std::pair<wifi_error, std::string>( 46 const std::string& iface_name)); 49 wifi_error(const std::string& iface_name, 52 wifi_error(const std::string& iface_name)); 54 wifi_error(const std::string&, const NanCallbackHandlers&)); 56 wifi_error(const std::string&, transaction_id)); [all …]
|
/hardware/interfaces/identity/aidl/vts/ |
D | VtsIdentityTestUtils.h | 29 using ::std::string; 36 AttestationData(sp<IWritableIdentityCredential>& writableCredential, string challenge, in AttestationData() 58 TestEntryData(string nameSpace, string name, vector<int32_t> profileIds) in TestEntryData() 61 TestEntryData(string nameSpace, string name, const string& value, vector<int32_t> profileIds) in TestEntryData() 65 TestEntryData(string nameSpace, string name, const vector<uint8_t>& value, in TestEntryData() 70 TestEntryData(string nameSpace, string name, bool value, vector<int32_t> profileIds) in TestEntryData() 74 TestEntryData(string nameSpace, string name, int64_t value, vector<int32_t> profileIds) in TestEntryData() 83 string nameSpace; 84 string name; 99 optional<vector<uint8_t>> generateReaderCertificate(string serialDecimal); [all …]
|
/hardware/google/av/media/eco/ |
D | ECOData.cpp | 67 setInt32(std::string(name), value32); in readFromParcel() 73 setInt64(std::string(name), value64); in readFromParcel() 79 setInt32(std::string(name), valueSize); in readFromParcel() 85 setFloat(std::string(name), valueFloat); in readFromParcel() 91 setDouble(std::string(name), valueDouble); in readFromParcel() 100 setString(std::string(name), valueStr); in readFromParcel() 106 setInt8(std::string(name), value8); in readFromParcel() 161 RETURN_STATUS_IF_ERROR(parcel->writeCString(std::get<std::string>(it.second).c_str())); in writeToParcel() 186 ECODataStatus ECOData::setString(const std::string& key, const std::string& value) { in setString() 197 ECODataStatus ECOData::findString(const std::string& key, std::string* value) const { in findString() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_swvdec_utils.h | 62 #define OMX_SWVDEC_LOG_LOW(string, ...) \ argument 65 ALOGD("--- %s(): " string, __FUNCTION__, ##__VA_ARGS__); \ 69 #define OMX_SWVDEC_LOG_HIGH(string, ...) \ argument 72 ALOGI("--- %s(): " string, __FUNCTION__, ##__VA_ARGS__); \ 76 #define OMX_SWVDEC_LOG_ERROR(string, ...) \ argument 79 ALOGE("!!! %s(): " string, __FUNCTION__, ##__VA_ARGS__); \ 83 #define OMX_SWVDEC_LOG_API(string, ...) \ argument 86 ALOGI(">>> %s(): " string, __FUNCTION__, ##__VA_ARGS__); \ 90 #define OMX_SWVDEC_LOG_CALLBACK(string, ...) \ argument 93 ALOGI("<<< %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_swvdec_utils.h | 62 #define OMX_SWVDEC_LOG_LOW(string, ...) \ argument 65 ALOGD("--- %s(): " string, __FUNCTION__, ##__VA_ARGS__); \ 69 #define OMX_SWVDEC_LOG_HIGH(string, ...) \ argument 72 ALOGI("--- %s(): " string, __FUNCTION__, ##__VA_ARGS__); \ 76 #define OMX_SWVDEC_LOG_ERROR(string, ...) \ argument 79 ALOGE("!!! %s(): " string, __FUNCTION__, ##__VA_ARGS__); \ 83 #define OMX_SWVDEC_LOG_API(string, ...) \ argument 86 ALOGI(">>> %s(): " string, __FUNCTION__, ##__VA_ARGS__); \ 90 #define OMX_SWVDEC_LOG_CALLBACK(string, ...) \ argument 93 ALOGI("<<< %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_swvdec_utils.h | 62 #define OMX_SWVDEC_LOG_LOW(string, ...) \ argument 65 ALOGD("--- %s(): " string, __FUNCTION__, ##__VA_ARGS__); \ 69 #define OMX_SWVDEC_LOG_HIGH(string, ...) \ argument 72 ALOGI("--- %s(): " string, __FUNCTION__, ##__VA_ARGS__); \ 76 #define OMX_SWVDEC_LOG_ERROR(string, ...) \ argument 79 ALOGE("!!! %s(): " string, __FUNCTION__, ##__VA_ARGS__); \ 83 #define OMX_SWVDEC_LOG_API(string, ...) \ argument 86 ALOGI(">>> %s(): " string, __FUNCTION__, ##__VA_ARGS__); \ 90 #define OMX_SWVDEC_LOG_CALLBACK(string, ...) \ argument 93 ALOGI("<<< %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
|