/system/weaved/buffet/ |
D | weave_error_conversion.h | 26 inline void ConvertError(const weave::Error& source, in ConvertError() argument 28 const weave::Error* inner_error = source.GetInnerError(); in ConvertError() 32 const auto& location = source.GetLocation(); in ConvertError() 38 "weave", source.GetCode(), source.GetMessage()); in ConvertError() 41 inline void ConvertError(const brillo::Error& source, in ConvertError() argument 43 const brillo::Error* inner_error = source.GetInnerError(); in ConvertError() 47 const auto& location = source.GetLocation(); in ConvertError() 53 source.GetCode(), source.GetMessage()); in ConvertError()
|
/system/vold/fs/ |
D | F2fs.cpp | 43 status_t Check(const std::string& source) { in Check() argument 47 cmd.push_back(source); in Check() 53 status_t Mount(const std::string& source, const std::string& target) { in Mount() argument 54 const char* c_source = source.c_str(); in Mount() 60 PLOG(ERROR) << "Failed to mount " << source; in Mount() 64 PLOG(ERROR) << "Failed to mount read-only " << source; in Mount() 72 status_t Format(const std::string& source) { in Format() argument 75 cmd.push_back(source); in Format()
|
D | Ext4.cpp | 67 status_t Check(const std::string& source, const std::string& target) { in Check() argument 71 const char* c_source = source.c_str(); in Check() 129 status_t Mount(const std::string& source, const std::string& target, bool ro, in Mount() argument 134 const char* c_source = source.c_str(); in Mount() 154 status_t Resize(const std::string& source, unsigned long numSectors) { in Resize() argument 158 cmd.push_back(source); in Resize() 164 status_t Format(const std::string& source, unsigned long numSectors, in Format() argument 180 cmd.push_back(source); in Format()
|
D | Ext4.h | 30 status_t Check(const std::string& source, const std::string& target); 31 status_t Mount(const std::string& source, const std::string& target, bool ro, 33 status_t Format(const std::string& source, unsigned long numSectors, 35 status_t Resize(const std::string& source, unsigned long numSectors);
|
D | Vfat.cpp | 67 status_t Check(const std::string& source) { in Check() argument 80 cmd.push_back(source); in Check() 126 status_t Mount(const std::string& source, const std::string& target, bool ro, in Mount() argument 133 const char* c_source = source.c_str(); in Mount() 172 status_t Format(const std::string& source, unsigned long numSectors) { in Format() argument 188 cmd.push_back(source); in Format()
|
D | F2fs.h | 30 status_t Check(const std::string& source); 31 status_t Mount(const std::string& source, const std::string& target); 32 status_t Format(const std::string& source);
|
D | Vfat.h | 30 status_t Check(const std::string& source); 31 status_t Mount(const std::string& source, const std::string& target, bool ro, 34 status_t Format(const std::string& source, unsigned long numSectors);
|
/system/update_engine/update_manager/ |
D | generic_variables_unittest.cc | 40 int source = 5; in TEST_F() local 41 PollCopyVariable<int> var("var", source); in TEST_F() 50 source = 42; in TEST_F() 61 int source = 5; in TEST_F() local 63 PollCopyVariable<int> var("var", source, &is_set); in TEST_F() 90 const CopyConstructorTestClass source; in TEST_F() local 91 ASSERT_FALSE(source.copied_); in TEST_F() 93 PollCopyVariable<CopyConstructorTestClass> var("var", source); in TEST_F() 104 int source = 5; in TEST_F() local 105 ConstCopyVariable<int> var("var", source); in TEST_F() [all …]
|
/system/tools/aidl/tests/java_app/src/android/aidl/tests/ |
D | SimpleParcelable.java | 39 public void readFromParcel(Parcel source) { in readFromParcel() argument 40 mName = source.readString(); in readFromParcel() 41 mNumber = source.readInt(); in readFromParcel() 65 public SimpleParcelable createFromParcel(Parcel source) { 66 String name = source.readString(); 67 int number = source.readInt();
|
/system/update_engine/ |
D | payload_state.h | 105 inline uint64_t GetCurrentBytesDownloaded(DownloadSource source) override { in GetCurrentBytesDownloaded() argument 106 return source < kNumDownloadSources ? current_bytes_downloaded_[source] : 0; in GetCurrentBytesDownloaded() 109 inline uint64_t GetTotalBytesDownloaded(DownloadSource source) override { in GetTotalBytesDownloaded() argument 110 return source < kNumDownloadSources ? total_bytes_downloaded_[source] : 0; in GetTotalBytesDownloaded() 334 std::string GetPrefsKey(const std::string& prefix, DownloadSource source); 340 void LoadCurrentBytesDownloaded(DownloadSource source); 344 void SetCurrentBytesDownloaded(DownloadSource source, 352 void LoadTotalBytesDownloaded(DownloadSource source); 356 void SetTotalBytesDownloaded(DownloadSource source,
|
D | payload_state.cc | 87 DownloadSource source = static_cast<DownloadSource>(i); in Initialize() local 88 LoadCurrentBytesDownloaded(source); in Initialize() 89 LoadTotalBytesDownloaded(source); in Initialize() 676 DownloadSource source = static_cast<DownloadSource>(i); in CollectAndReportSuccessfulUpdateMetrics() local 685 bytes = GetCurrentBytesDownloaded(source); in CollectAndReportSuccessfulUpdateMetrics() 688 SetCurrentBytesDownloaded(source, 0, true); in CollectAndReportSuccessfulUpdateMetrics() 690 bytes = GetTotalBytesDownloaded(source); in CollectAndReportSuccessfulUpdateMetrics() 694 SetTotalBytesDownloaded(source, 0, true); in CollectAndReportSuccessfulUpdateMetrics() 777 DownloadSource source = static_cast<DownloadSource>(i); in ResetDownloadSourcesOnNewUpdate() local 778 SetCurrentBytesDownloaded(source, 0, true); in ResetDownloadSourcesOnNewUpdate() [all …]
|
D | payload_state_interface.h | 145 virtual uint64_t GetCurrentBytesDownloaded(DownloadSource source) = 0; 150 virtual uint64_t GetTotalBytesDownloaded(DownloadSource source) = 0;
|
D | mock_payload_state.h | 67 MOCK_METHOD1(GetCurrentBytesDownloaded, uint64_t(DownloadSource source)); 68 MOCK_METHOD1(GetTotalBytesDownloaded, uint64_t(DownloadSource source));
|
/system/core/libcutils/ |
D | partition_utils.c | 40 int partition_wiped(char *source) in partition_wiped() argument 45 if ((fd = open(source, O_RDONLY)) < 0) { in partition_wiped()
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | packet_stream.cc | 120 bool PacketStream::SendAll(const std::vector<uint8_t>& source, in SendAll() argument 122 CHECK(source.size() >= num_octets_to_send); in SendAll() 126 fd, &source[num_octets_to_send - octets_remaining], octets_remaining); in SendAll()
|
D | event_packet.cc | 19 #define VECTOR_COPY_TO_END(source, destination) \ argument 20 std::copy(source.begin(), source.end(), std::back_inserter(destination));
|
/system/bt/build/toolchain/gcc/ |
D | BUILD.gn | 22 …-MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}" 32 …MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} -c {{source}} -o {{output}}" 94 command = "cp -af {{source}} {{output}}" 95 description = "COPY {{source}} {{output}}"
|
/system/core/toolbox/ |
D | NOTICE | 20 Redistribution and use in source and binary forms, with or without 23 * Redistributions of source code must retain the above copyright 48 Redistribution and use in source and binary forms, with or without 51 1. Redistributions of source code must retain the above copyright 77 Redistribution and use in source and binary forms, with or without 80 1. Redistributions of source code must retain the above copyright 109 Redistribution and use in source and binary forms, with or without 112 1. Redistributions of source code must retain the above copyright 138 Redistribution and use in source and binary forms, with or without 141 1. Redistributions of source code must retain the above copyright [all …]
|
/system/core/adb/ |
D | usb_linux_client.cpp | 80 struct usb_endpoint_descriptor_no_audio source; member 86 struct usb_endpoint_descriptor_no_audio source; member 126 .source = { 127 .bLength = sizeof(fs_descriptors.source), 153 .source = { 154 .bLength = sizeof(hs_descriptors.source), 180 .source = { 181 .bLength = sizeof(ss_descriptors.source),
|
/system/extras/perfprofd/quipper/base/ |
D | macros.h | 213 inline Dest bit_cast(const Source& source) { in bit_cast() argument 217 memcpy(&dest, &source, sizeof(dest)); in bit_cast()
|
/system/bt/service/common/ |
D | README | 2 and our client library. All source files here are under the "bluetooth" 15 from source files as these are pre-compiled. For example,
|
/system/tpm/trunks/ |
D | background_command_transceiver.cc | 32 const std::string& source) { in AssignAndSignal() argument 33 *destination = source; in AssignAndSignal()
|
/system/update_engine/payload_generator/ |
D | payload_generation_config.cc | 182 for (const PartitionConfig& part : source.partitions) { in Validate() 192 TEST_AND_RETURN_FALSE(source.ImageInfoIsEmpty() == in Validate() 196 TEST_AND_RETURN_FALSE(source.ValidateIsEmpty()); in Validate()
|
/system/sepolicy/tools/ |
D | sepolicy-check.c | 235 char *policy = NULL, *source = NULL, *target = NULL, *class = NULL, *perm = NULL; in main() local 254 source = optarg; in main() 273 if (!source || !target || !class || !perm || !policy) in main() 282 match = check_rule(source, target, class, perm, &policydb); in main()
|
/system/core/include/cutils/ |
D | partition_utils.h | 22 int partition_wiped(char *source);
|