/system/chre/util/include/chre/util/ |
D | memory_impl.h | 38 inline void moveOrCopyAssign(ElementType& dest, ElementType& source, in moveOrCopyAssign() argument 40 dest = std::move(source); in moveOrCopyAssign() 45 inline void moveOrCopyAssign(ElementType& dest, ElementType& source, in moveOrCopyAssign() argument 47 dest = source; in moveOrCopyAssign() 51 inline void moveOrCopyAssign(ElementType& dest, ElementType& source) { in moveOrCopyAssign() argument 52 moveOrCopyAssign(dest, source, in moveOrCopyAssign() 58 inline void uninitializedMoveOrCopy(ElementType *source, size_t count, in uninitializedMoveOrCopy() argument 60 std::memcpy(dest, source, count * sizeof(ElementType)); in uninitializedMoveOrCopy() 66 inline void uninitializedMoveOrCopy(ElementType *source, size_t count, in uninitializedMoveOrCopy() argument 70 new (&dest[i]) ElementType(std::move(source[i])); in uninitializedMoveOrCopy() [all …]
|
D | memory.h | 37 void moveOrCopyAssign(ElementType& dest, ElementType& source); 50 void uninitializedMoveOrCopy(ElementType *source, size_t count,
|
/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.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 | Ext4.cpp | 69 status_t Check(const std::string& source, const std::string& target) { in Check() argument 73 const char* c_source = source.c_str(); in Check() 131 status_t Mount(const std::string& source, const std::string& target, bool ro, in Mount() argument 136 const char* c_source = source.c_str(); in Mount() 156 status_t Resize(const std::string& source, unsigned long numSectors) { in Resize() argument 160 cmd.push_back(source); in Resize() 166 status_t Format(const std::string& source, unsigned long numSectors, in Format() argument 191 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.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 | 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/hwservicemanager/ |
D | AccessControl.cpp | 77 bool AccessControl::checkPermission(const CallingContext& source, const char *targetContext, const … in checkPermission() argument 78 if (!source.sidPresent) { in checkPermission() 85 ad.pid = source.pid; in checkPermission() 86 ad.sid = source.sid.c_str(); in checkPermission() 89 allowed = (selinux_check_access(source.sid.c_str(), targetContext, "hwservice_manager", in checkPermission() 95 bool AccessControl::checkPermission(const CallingContext& source, const char *perm, const char *int… in checkPermission() argument 105 allowed = checkPermission(source, targetContext, perm, interface); in checkPermission()
|
D | AccessControl.h | 25 …bool checkPermission(const CallingContext& source, const char *targetContext, const char *perm, co… 26 bool checkPermission(const CallingContext& source, const char *perm, const char *interface);
|
/system/libufdt/tests/ |
D | README | 13 - Base device tree source. 23 - Additional device tree source. 30 - Additional device tree fragment source. 46 Suppose you are at the root directory of your Android source. 48 1. `source build/envsetup.sh`
|
/system/extras/simpleperf/scripts/ |
D | annotate.py | 191 for source in item: 192 source_lines.append(SourceLine(self.file_list[source.file], 193 source.function, source.line)) 427 for source in sources: 428 if source.file: 429 self._add_file_period(source, period, used_file_dict) 431 if source.line: 432 self._add_line_period(source, period, used_line_dict) 435 for source in sources: 436 if source.file: [all …]
|
D | pprof_proto_generator.py | 478 for source in sources: 479 if source.file and source.function and source.line: 480 function_id = self.get_function_id(source.function, dso_name, 0) 486 location.lines.append(self.add_line(source, dso_name, function_id)) 493 source = sources[0] if sources else None 494 if source and source.file: 495 function.source_filename_id = self.get_string_id(source.file) 496 if source.line: 497 function.start_line = source.line 499 def add_line(self, source, dso_name, function_id): argument [all …]
|
/system/update_engine/ |
D | payload_state.h | 107 inline uint64_t GetCurrentBytesDownloaded(DownloadSource source) override { in GetCurrentBytesDownloaded() argument 108 return source < kNumDownloadSources ? current_bytes_downloaded_[source] : 0; in GetCurrentBytesDownloaded() 111 inline uint64_t GetTotalBytesDownloaded(DownloadSource source) override { in GetTotalBytesDownloaded() argument 112 return source < kNumDownloadSources ? total_bytes_downloaded_[source] : 0; in GetTotalBytesDownloaded() 343 std::string GetPrefsKey(const std::string& prefix, DownloadSource source); 349 void LoadCurrentBytesDownloaded(DownloadSource source); 353 void SetCurrentBytesDownloaded(DownloadSource source, 361 void LoadTotalBytesDownloaded(DownloadSource source); 365 void SetTotalBytesDownloaded(DownloadSource source,
|
D | payload_state.cc | 88 DownloadSource source = static_cast<DownloadSource>(i); in Initialize() local 89 LoadCurrentBytesDownloaded(source); in Initialize() 90 LoadTotalBytesDownloaded(source); in Initialize() 692 DownloadSource source = static_cast<DownloadSource>(i); in CollectAndReportSuccessfulUpdateMetrics() local 701 bytes = GetCurrentBytesDownloaded(source); in CollectAndReportSuccessfulUpdateMetrics() 704 SetCurrentBytesDownloaded(source, 0, true); in CollectAndReportSuccessfulUpdateMetrics() 706 bytes = GetTotalBytesDownloaded(source); in CollectAndReportSuccessfulUpdateMetrics() 710 SetTotalBytesDownloaded(source, 0, true); in CollectAndReportSuccessfulUpdateMetrics() 794 DownloadSource source = static_cast<DownloadSource>(i); in ResetDownloadSourcesOnNewUpdate() local 795 SetCurrentBytesDownloaded(source, 0, true); in ResetDownloadSourcesOnNewUpdate() [all …]
|
/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/core/adb/daemon/ |
D | usb.cpp | 73 struct usb_endpoint_descriptor_no_audio source; member 79 struct usb_endpoint_descriptor_no_audio source; member 119 .source = { 120 .bLength = sizeof(fs_descriptors.source), 146 .source = { 147 .bLength = sizeof(hs_descriptors.source), 173 .source = { 174 .bLength = sizeof(ss_descriptors.source),
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | packet_stream.cc | 116 bool PacketStream::SendAll(const vector<uint8_t>& source, in SendAll() argument 118 CHECK(source.size() >= num_octets_to_send); in SendAll() 122 fd, &source[num_octets_to_send - octets_remaining], octets_remaining); in SendAll()
|
/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/bt/build/toolchain/clang/ |
D | BUILD.gn | 41 …-MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}" 51 …MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} -c {{source}} -o {{output}}" 113 command = "cp -af {{source}} {{output}}" 114 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 | adb_listeners_test.cpp | 30 static bool listener_is_installed(const std::string& serial, const std::string& source, in listener_is_installed() argument 37 (source.empty() || info[1] == source) && in listener_is_installed()
|
/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()
|