Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 173) sorted by relevance

1234567

/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Xml.cpp86 str_len = strlen((char*)child_ptr->content); in IPACM_read_content_element()
89 return (char*)child_ptr->content; in IPACM_read_content_element()
165 char* content; in ipacm_cfg_xml_parse_tree() local
212 content = IPACM_read_content_element(xml_node); in ipacm_cfg_xml_parse_tree()
213 if (content) in ipacm_cfg_xml_parse_tree()
215 str_size = strlen(content); in ipacm_cfg_xml_parse_tree()
217 memcpy(content_buf, (void *)content, str_size); in ipacm_cfg_xml_parse_tree()
233 content = IPACM_read_content_element(xml_node); in ipacm_cfg_xml_parse_tree()
234 if (content) in ipacm_cfg_xml_parse_tree()
236 str_size = strlen(content); in ipacm_cfg_xml_parse_tree()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Xml.cpp85 return (char*)child_ptr->content; in IPACM_read_content_element()
156 char* content; in ipacm_cfg_xml_parse_tree() local
203 content = IPACM_read_content_element(xml_node); in ipacm_cfg_xml_parse_tree()
204 if (content) in ipacm_cfg_xml_parse_tree()
206 str_size = strlen(content); in ipacm_cfg_xml_parse_tree()
208 memcpy(content_buf, (void *)content, str_size); in ipacm_cfg_xml_parse_tree()
224 content = IPACM_read_content_element(xml_node); in ipacm_cfg_xml_parse_tree()
225 if (content) in ipacm_cfg_xml_parse_tree()
227 str_size = strlen(content); in ipacm_cfg_xml_parse_tree()
229 memcpy(content_buf, (void *)content, str_size); in ipacm_cfg_xml_parse_tree()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Xml.cpp85 return (char*)child_ptr->content; in IPACM_read_content_element()
156 char* content; in ipacm_cfg_xml_parse_tree() local
203 content = IPACM_read_content_element(xml_node); in ipacm_cfg_xml_parse_tree()
204 if (content) in ipacm_cfg_xml_parse_tree()
206 str_size = strlen(content); in ipacm_cfg_xml_parse_tree()
208 memcpy(content_buf, (void *)content, str_size); in ipacm_cfg_xml_parse_tree()
224 content = IPACM_read_content_element(xml_node); in ipacm_cfg_xml_parse_tree()
225 if (content) in ipacm_cfg_xml_parse_tree()
227 str_size = strlen(content); in ipacm_cfg_xml_parse_tree()
229 memcpy(content_buf, (void *)content, str_size); in ipacm_cfg_xml_parse_tree()
[all …]
/hardware/google/pixel/misc_writer/
Dmisc_writer.cpp52 std::string content; in PerformAction() local
57 content = (action_ == MiscWriterActions::kSetDarkThemeFlag) in PerformAction()
64 content = (action_ == MiscWriterActions::kSetSotaFlag) ? kSotaFlag in PerformAction()
73 !WriteMiscPartitionVendorSpace(content.data(), content.size(), offset, &err)) { in PerformAction()
74 LOG(ERROR) << "Failed to write " << content << " at offset " << offset << " : " << err; in PerformAction()
Dmisc_writer_test.cpp59 std::string content(expected.size(), 0); in CheckMiscPartitionVendorSpaceContent() local
60 ASSERT_TRUE(android::base::ReadFullyAtOffset(fd, content.data(), content.size(), in CheckMiscPartitionVendorSpaceContent()
62 ASSERT_EQ(expected, content); in CheckMiscPartitionVendorSpaceContent()
/hardware/interfaces/identity/aidl/default/
DEicTests.cpp52 vector<uint8_t> content = {0x63, 0x46, 0x6f, 0x6f}; // "Foo" tstr in TEST() local
53 ASSERT_TRUE(provisioningProxy.beginAddEntry(acpIds, nameSpace, name, content.size())); in TEST()
55 provisioningProxy.addEntryValue(acpIds, nameSpace, name, content); in TEST()
57 ASSERT_EQ(encContent->size(), content.size() + 28); in TEST()
71 presentationProxy.startRetrieveEntryValue(nameSpace, name, 1, content.size(), acpIds); in TEST()
DFakeSecureHardwareProxy.cpp128 const vector<uint8_t>& content) { in addEntryValue() argument
131 eicEncryptedContent.resize(content.size() + 28); in addEntryValue()
134 nameSpace.c_str(), name.c_str(), content.data(), content.size(), in addEntryValue()
302 vector<uint8_t> content; in retrieveEntryValue() local
303 content.resize(encryptedContent.size() - 28); in retrieveEntryValue()
305 &ctx_, encryptedContent.data(), encryptedContent.size(), content.data(), in retrieveEntryValue()
310 return content; in retrieveEntryValue()
/hardware/google/pixel/perfstatsd/include/
Dstatstype.h47 void append(std::chrono::system_clock::time_point &time, std::string &content) { in append() argument
50 data.setData(content); in append()
53 void append(std::string &content) { in append() argument
55 append(now, content); in append()
/hardware/ti/am57x/libhwcomposer/
Dhwc.cpp420 …nt hwc_prepare_for_display(omap_hwc_device_t* hwc_dev, int disp, hwc_display_contents_1_t* content) in hwc_prepare_for_display() argument
428 for (size_t i = 0; i < content->numHwLayers - 1; i++) { in hwc_prepare_for_display()
429 hwc_layer_1_t* layer = &content->hwLayers[i]; in hwc_prepare_for_display()
436 …adjust_drm_plane_to_layer(&content->hwLayers[content->numHwLayers - 1], &display->planeProps[disp]… in hwc_prepare_for_display()
472 …ic int hwc_set_for_display(omap_hwc_device_t* hwc_dev, int disp, hwc_display_contents_1_t* content) in hwc_set_for_display() argument
486 for (size_t i = 0; i < content->numHwLayers; i++) { in hwc_set_for_display()
487 hwc_layer_1_t* layer = &content->hwLayers[i]; in hwc_set_for_display()
490 content->retireFenceFd = -1; in hwc_set_for_display()
499 for (size_t i = 0; i < content->numHwLayers; i++) { in hwc_set_for_display()
500 hwc_layer_1_t* layer = &content->hwLayers[i]; in hwc_set_for_display()
/hardware/google/pixel/vibrator/cs40l25/bench/
Dbenchmark.cpp54 const std::map<const std::string, const std::string> content{ in SetUp() local
65 const auto it = content.find(n); in SetUp()
71 if (it != content.end()) { in SetUp()
/hardware/google/pixel/perfstatsd/
Dperfstatsd.cpp54 std::string content = data.getData(); in getHistory() local
62 ret->append(content + "\n"); in getHistory()
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
DAudioPrimaryHidlHalTest.cpp252 for (auto content : contentRange) { local
254 const SourceMetadata metadata = {{{usage, content, volume}}};
256 << "usage=" << toString(usage) << ", content=" << toString(content)
279 for (auto content : contentRange) { local
283 toString(content),
288 << "usage=" << toString(usage) << ", content=" << toString(content)
/hardware/interfaces/identity/aidl/default/common/
DWritableIdentityCredential.cpp281 ndk::ScopedAStatus WritableIdentityCredential::addEntryValue(const vector<uint8_t>& content, in addEntryValue() argument
283 size_t contentSize = content.size(); in addEntryValue()
296 entryBytes_.insert(entryBytes_.end(), content.begin(), content.end()); in addEntryValue()
307 entryAccessControlProfileIds_, entryNameSpace_, entryName_, content); in addEntryValue()
/hardware/interfaces/drm/1.4/
DIDrmPlugin.hal29 * content.
37 * @param mime The content mime-type
48 * @param mime The content mime-type
/hardware/interfaces/radio/1.0/vts/functional/
Dradio_hidl_hal_stk.cpp30 std::string content = ""; in TEST_P() local
32 radio->sendEnvelope(serial, content); in TEST_P()
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/1/android/hardware/identity/
DIWritableIdentityCredential.aidl25 byte[] addEntryValue(in byte[] content); in addEntryValue() argument
/hardware/interfaces/identity/aidl/android/hardware/identity/
DIWritableIdentityCredential.aidl242 byte[] addEntryValue(in byte[] content); in addEntryValue() argument
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/2/android/hardware/identity/
DIWritableIdentityCredential.aidl25 byte[] addEntryValue(in byte[] content); in addEntryValue() argument
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/current/android/hardware/identity/
DIWritableIdentityCredential.aidl40 byte[] addEntryValue(in byte[] content); in addEntryValue() argument
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/3/android/hardware/identity/
DIWritableIdentityCredential.aidl41 byte[] addEntryValue(in byte[] content); in addEntryValue() argument
/hardware/google/pixel/health/test/
DTestBatteryDefender.cpp32 virtual bool ReadFileToString(const std::string &path, std::string *content,
37 virtual bool WriteStringToFile(const std::string &content, const std::string &path,
46 bool(const std::string &path, std::string *content, bool follow_symlinks));
51 bool(const std::string &content, const std::string &path, bool follow_symlinks));
59 bool ReadFileToString(const std::string &path, std::string *content, bool follow_symlinks) { in ReadFileToString() argument
60 return mock->ReadFileToString(path, content, follow_symlinks); in ReadFileToString()
63 bool WriteStringToFile(const std::string &content, const std::string &path, bool follow_symlinks) { in WriteStringToFile() argument
64 return mock->WriteStringToFile(content, path, follow_symlinks); in WriteStringToFile()
/hardware/interfaces/dumpstate/1.1/
Dtypes.hal20 * Constants that define the type of bug report being taken to restrict content appropriately.
61 * The content, if implemented, must be a binary protobuf message written to the first file
/hardware/interfaces/neuralnetworks/1.3/
DIBuffer.hal26 * Retrieves the content of this buffer to a shared memory region.
42 * Sets the content of this buffer from a shared memory region.
/hardware/interfaces/identity/aidl/default/libeic/
DEicProvisioning.c275 const char* name, const uint8_t* content, size_t contentSize, in eicProvisioningAddEntryValue() argument
294 eicCborAppend(&ctx->cbor, content, contentSize); in eicProvisioningAddEntryValue()
300 if (!eicOpsEncryptAes128Gcm(ctx->storageKey, nonce, content, contentSize, additionalDataCbor, in eicProvisioningAddEntryValue()
/hardware/interfaces/neuralnetworks/1.2/
DIPreparedModel.hal50 * If the launch is successful, the caller must not change the content of
54 * must not change the content of any of the data objects corresponding to
103 * The caller must not change the content of any data object referenced by
106 * returns. executeSynchronously must not change the content of any of the
163 * change the content of any data object referenced by
168 * change the content of any of the data objects

1234567