Home
last modified time | relevance | path

Searched refs:writeData (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/native/include/binder/
DParcel.h233 return writeData(val); in writeStrongBinderVector()
238 return writeData(val); in writeStrongBinderVector()
243 return writeData(val); in writeFixedArray()
247 return writeData(val); in writeFixedArray()
254 { return writeData(val); } in writeEnumVector()
257 { return writeData(val); } in writeEnumVector()
260 { return writeData(val); } in writeEnumVector()
264 { return writeData(val); } in writeEnumVector()
267 { return writeData(val); } in writeEnumVector()
270 { return writeData(val); } in writeEnumVector()
[all …]
/frameworks/native/libs/binder/include/binder/
DParcel.h233 return writeData(val); in writeStrongBinderVector()
238 return writeData(val); in writeStrongBinderVector()
243 return writeData(val); in writeFixedArray()
247 return writeData(val); in writeFixedArray()
254 { return writeData(val); } in writeEnumVector()
257 { return writeData(val); } in writeEnumVector()
260 { return writeData(val); } in writeEnumVector()
264 { return writeData(val); } in writeEnumVector()
267 { return writeData(val); } in writeEnumVector()
270 { return writeData(val); } in writeEnumVector()
[all …]
/frameworks/native/libs/binder/tests/rpc_fuzzer/
Dmain.cpp149 std::string writeData = provider.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() local
150 ssize_t size = TEMP_FAILURE_RETRY(send(connections.at(idx).get(), writeData.data(), in LLVMFuzzerTestOneInput()
151 writeData.size(), MSG_NOSIGNAL)); in LLVMFuzzerTestOneInput()
152 CHECK(errno == EPIPE || size == writeData.size()) in LLVMFuzzerTestOneInput()
153 << size << " " << writeData.size() << " " << strerror(errno); in LLVMFuzzerTestOneInput()
/frameworks/native/libs/binder/
DParcel.cpp942 status_t Parcel::writeUtf8AsUtf16(const std::optional<std::string>& str) { return writeData(str); } in writeUtf8AsUtf16()
943 status_t Parcel::writeUtf8AsUtf16(const std::unique_ptr<std::string>& str) { return writeData(str);… in writeUtf8AsUtf16()
945 status_t Parcel::writeString16(const std::optional<String16>& str) { return writeData(str); } in writeString16()
946 status_t Parcel::writeString16(const std::unique_ptr<String16>& str) { return writeData(str); } in writeString16()
948 status_t Parcel::writeByteVector(const std::vector<int8_t>& val) { return writeData(val); } in writeByteVector()
949 status_t Parcel::writeByteVector(const std::optional<std::vector<int8_t>>& val) { return writeData(… in writeByteVector()
950 …Parcel::writeByteVector(const std::unique_ptr<std::vector<int8_t>>& val) { return writeData(val); } in writeByteVector()
951 status_t Parcel::writeByteVector(const std::vector<uint8_t>& val) { return writeData(val); } in writeByteVector()
952 status_t Parcel::writeByteVector(const std::optional<std::vector<uint8_t>>& val) { return writeData in writeByteVector()
953 …Parcel::writeByteVector(const std::unique_ptr<std::vector<uint8_t>>& val){ return writeData(val); } in writeByteVector()
[all …]
/frameworks/av/media/img_utils/include/img_utils/
DTiffEntryImpl.h41 status_t writeData(uint32_t offset, /*out*/EndianOutput* out) const;
150 status_t TiffEntryImpl<T>::writeData(uint32_t /*offset*/, EndianOutput* out) const { in writeData() function
204 inline status_t TiffEntryImpl<sp<TiffIfd> >::writeData(uint32_t offset, EndianOutput* out) const { in writeData() function
207 BAIL_ON_FAIL(mData[i]->writeData(offset, out), ret); in writeData()
DTiffWritable.h48 virtual status_t writeData(uint32_t offset, /*out*/EndianOutput* out) const = 0;
DTiffIfd.h77 virtual status_t writeData(uint32_t offset, /*out*/EndianOutput* out) const;
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp145 status_t writeData(int fd);
225 status_t FieldStripper::writeData(int fd) { in writeData() function in android::os::incidentd::FieldStripper
265 status_t PrivacyFilter::writeData(const FdBuffer& buffer, uint8_t bufferLevel, in writeData() function in android::os::incidentd::PrivacyFilter
303 err = fieldStripper.writeData(output->getFd()); in writeData()
368 err = filter.writeData(sectionData, bufferLevel, nullptr); in filter_and_write_report()
DPrivacyFilter.h86 status_t writeData(const FdBuffer& buffer, uint8_t bufferLevel, size_t* maxSize);
/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/
DBlobStorePerfTests.java130 writeData(outputStream, sizeBytes); in testDirectReads()
176 writeData(outputStream, sizeBytes); in testDirectWrites()
195 writeData(outputStream, sizeBytes); in testBlobStoreWrites()
211 private void writeData(FileOutputStream outputStream, long sizeBytes) throws Exception { in writeData() method in BlobStorePerfTests
/frameworks/base/core/java/android/content/pm/
DIPackageInstallerSessionFileSystemConnector.aidl23 void writeData(String name, long offsetBytes, long lengthBytes, in ParcelFileDescriptor fd); in writeData() method
/frameworks/av/cmds/stagefright/
Dstream.cpp156 ssize_t writeData(const void *data, size_t size);
214 return static_cast<MyConvertingStreamSource *>(me)->writeData(data, size); in WriteDataWrapper()
217 ssize_t MyConvertingStreamSource::writeData(const void *data, size_t size) { in writeData() function in MyConvertingStreamSource
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java767 writeData(dataOutput, "key", "data".getBytes()); in testRunTask_whenSecondAgentUnavailable_commitsFirstAgentState()
1081 writeData(dataOutput, prohibitedChar + "key", "data".getBytes()); in testRunTask_whenAgentUsesProhibitedKey_failsAgent()
1100 writeData(dataOutput, prohibitedChar + "key", "data".getBytes()); in testRunTask_whenAgentUsesProhibitedKey_updatesFilesAndCleansUp()
1121 writeData(dataOutput, prohibitedChar + "key", "data".getBytes()); in testRunTask_whenAgentUsesProhibitedKey_doesNotCallTransport()
1141 writeData(dataOutput, prohibitedChar + "key", "data".getBytes()); in testRunTask_whenAgentUsesProhibitedKey_notifiesCorrectly()
1162 writeData(dataOutput, prohibitedChar + "key", "data".getBytes()); in testRunTask_whenAgentUsesProhibitedKey_logsAgentFailureEvent()
1184 writeData(dataOutput, prohibitedChar + "key", "data".getBytes()); in testRunTask_whenFirstAgentUsesProhibitedKeyButLastAgentUsesPermittedKey()
1190 writeData(dataOutput, "key", "data".getBytes()); in testRunTask_whenFirstAgentUsesProhibitedKeyButLastAgentUsesPermittedKey()
1300 writeData(dataOutput, "key1", "data1".getBytes()); in testRunTask_whenAgentWritesData_callsTransportPerformBackupWithAgentData()
1301 writeData(dataOutput, "key2", "data2".getBytes()); in testRunTask_whenAgentWritesData_callsTransportPerformBackupWithAgentData()
[all …]
/frameworks/base/tools/aapt/
DXMLNode.cpp1112 dest->writeData(&header, sizeof(header)); in flatten()
1113 dest->writeData(stringPool->getData(), stringPool->getSize()); in flatten()
1559 dest->writeData(&node, sizeof(node)); in flatten_node()
1561 dest->writeData(extData, extSize); in flatten_node()
1591 dest->writeData(&attr, sizeof(attr)); in flatten_node()
1611 dest->writeData(&node, sizeof(node)); in flatten_node()
1612 dest->writeData(&endElementExt, sizeof(endElementExt)); in flatten_node()
1619 dest->writeData(&node, sizeof(node)); in flatten_node()
1620 dest->writeData(extData, extSize); in flatten_node()
DAaptAssets.h176 status_t writeData(const void* data, size_t size);
DResourceTable.cpp3037 ssize_t amt = data->writeData(strFile->getData(), strFile->getSize()); in flatten()
3047 amt = data->writeData(strFile->getData(), strFile->getSize()); in flatten()
3305 status_t err = dest->writeData(&header, sizeof(header)); in flatten()
3326 err = dest->writeData(flatPackages[pi]->getData(), in flatten()
3764 status_t err = data->writeData(&header, sizeof(header)); in flatten()
3782 err = data->writeData(&par, it.parsedValue.size); in flatten()
3804 status_t err = data->writeData(&mapHeader, sizeof(mapHeader)); in flatten()
3818 err = data->writeData(&map, sizeof(map)); in flatten()
DStringPool.cpp398 ssize_t res = pool->writeData(block->getData(), block->getSize()); in writeStringBlock()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommandDataLoader.java275 mConnector.writeData(file.getName(), 0, file.getLengthBytes(), inFd); in onPrepareImage()
282 mConnector.writeData(file.getName(), 0, incomingFd.getStatSize(), in onPrepareImage()
/frameworks/av/media/mtp/
DMtpDataPacket.h103 int writeData(IMtpHandle *h, void* data, uint32_t length);
DMtpDataPacket.cpp460 int MtpDataPacket::writeData(IMtpHandle *h, void* data, uint32_t length) { in writeData() function in android::MtpDataPacket
/frameworks/av/media/img_utils/src/
DTiffIfd.cpp101 status_t TiffIfd::writeData(uint32_t offset, /*out*/EndianOutput* out) const { in writeData() function in android::img_utils::TiffIfd
137 BAIL_ON_FAIL(mEntries[i]->writeData(out->getCurrentOffset(), out), ret); in writeData()
DTiffWriter.cpp98 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret); in write()
145 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret); in write()
/frameworks/base/core/java/android/service/dataloader/
DDataLoaderService.java218 public void writeData(@NonNull String name, long offsetBytes, long lengthBytes, in writeData() method in DataLoaderService.FileSystemConnector
/frameworks/base/libs/hwui/jni/
DBitmap.cpp643 void writeData(const std::optional<sk_sp<SkData>>& optData) { in writeData() function in ScopedParcel
902 p.writeData(colorSpace->serialize()); in Bitmap_writeToParcel()
904 p.writeData(std::nullopt); in Bitmap_writeToParcel()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java2404 boolean writeData = false; in dump()
2424 writeData = true; in dump()
2624 if (writeData) { in dump()
2665 if (writeData) { in dump()
2675 if (writeData) { in dump()

12