/system/core/include/cutils/ |
H A D | partition_utils.h | 22 int partition_wiped(char *source);
|
/system/vold/fs/ |
H A 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);
|
H A 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);
|
H A 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);
|
H A D | F2fs.cpp | 43 status_t Check(const std::string& source) { argument 47 cmd.push_back(source); 53 status_t Mount(const std::string& source, const std::string& target) { argument 54 const char* c_source = source.c_str(); 60 PLOG(ERROR) << "Failed to mount " << source; 64 PLOG(ERROR) << "Failed to mount read-only " << source; 72 status_t Format(const std::string& source) { argument 75 cmd.push_back(source);
|
H A D | Ext4.cpp | 67 status_t Check(const std::string& source, const std::string& target) { argument 71 const char* c_source = source.c_str(); 129 status_t Mount(const std::string& source, const std::string& target, bool ro, argument 134 const char* c_source = source.c_str(); 154 status_t Resize(const std::string& source, unsigned long numSectors) { argument 158 cmd.push_back(source); 164 status_t Format(const std::string& source, unsigned long numSectors, argument 180 cmd.push_back(source);
|
H A D | Vfat.cpp | 67 status_t Check(const std::string& source) { argument 80 cmd.push_back(source); 126 status_t Mount(const std::string& source, const std::string& target, bool ro, argument 133 const char* c_source = source.c_str(); 172 status_t Format(const std::string& source, unsigned long numSectors) { argument 188 cmd.push_back(source);
|
/system/weaved/buffet/ |
H A D | weave_error_conversion.h | 26 inline void ConvertError(const weave::Error& source, argument 28 const weave::Error* inner_error = source.GetInnerError(); 32 const auto& location = source.GetLocation(); 38 "weave", source.GetCode(), source.GetMessage()); 41 inline void ConvertError(const brillo::Error& source, argument 43 const brillo::Error* inner_error = source.GetInnerError(); 47 const auto& location = source.GetLocation(); 53 source.GetCode(), source [all...] |
/system/tools/aidl/tests/java_app/src/android/aidl/tests/ |
H A D | SimpleParcelable.java | 39 public void readFromParcel(Parcel source) { argument 40 mName = source.readString(); 41 mNumber = source.readInt(); 65 public SimpleParcelable createFromParcel(Parcel source) { 66 String name = source.readString(); 67 int number = source.readInt();
|
/system/update_engine/update_manager/ |
H A D | generic_variables_unittest.cc | 40 int source = 5; local 41 PollCopyVariable<int> var("var", source); 49 // Assign a different value to the source variable. 50 source = 42; 61 int source = 5; local 63 PollCopyVariable<int> var("var", source, &is_set); 90 const CopyConstructorTestClass source; local 91 ASSERT_FALSE(source.copied_); 93 PollCopyVariable<CopyConstructorTestClass> var("var", source); 104 int source local [all...] |
/system/core/libcutils/ |
H A D | partition_utils.c | 40 int partition_wiped(char *source) argument 45 if ((fd = open(source, O_RDONLY)) < 0) {
|
/system/update_engine/ |
H A D | payload_state.h | 105 inline uint64_t GetCurrentBytesDownloaded(DownloadSource source) override { 106 return source < kNumDownloadSources ? current_bytes_downloaded_[source] : 0; 109 inline uint64_t GetTotalBytesDownloaded(DownloadSource source) override { 110 return source < kNumDownloadSources ? total_bytes_downloaded_[source] : 0; 194 // Updates the value of current download source based on the current URL 195 // index. If the download source is not one of the known sources, it's set 333 // Returns the full key for a download source given the prefix. 334 std::string GetPrefsKey(const std::string& prefix, DownloadSource source); [all...] |
H A D | payload_state.cc | 87 DownloadSource source = static_cast<DownloadSource>(i); local 88 LoadCurrentBytesDownloaded(source); 89 LoadTotalBytesDownloaded(source); 135 // Update the current download source which depends on the latest value of 142 // Update the current download source which depends on whether we are 531 LOG(INFO) << "Current download source: " 676 DownloadSource source = static_cast<DownloadSource>(i); local 679 // Only consider this download source (and send byte counts) as 685 bytes = GetCurrentBytesDownloaded(source); 688 SetCurrentBytesDownloaded(source, 777 DownloadSource source = static_cast<DownloadSource>(i); local 1096 GetPrefsKey(const string& prefix, DownloadSource source) argument 1100 LoadCurrentBytesDownloaded(DownloadSource source) argument 1105 SetCurrentBytesDownloaded( DownloadSource source, uint64_t current_bytes_downloaded, bool log) argument 1124 LoadTotalBytesDownloaded(DownloadSource source) argument 1129 SetTotalBytesDownloaded( DownloadSource source, uint64_t total_bytes_downloaded, bool log) argument [all...] |
H A D | mock_payload_state.h | 67 MOCK_METHOD1(GetCurrentBytesDownloaded, uint64_t(DownloadSource source)); 68 MOCK_METHOD1(GetTotalBytesDownloaded, uint64_t(DownloadSource source));
|
H A D | payload_state_interface.h | 141 // Returns the number of bytes that have been downloaded for each source for 145 virtual uint64_t GetCurrentBytesDownloaded(DownloadSource source) = 0; 148 // source since the the last successful update. This is used to compute the 150 virtual uint64_t GetTotalBytesDownloaded(DownloadSource source) = 0;
|
H A D | image_properties_chromeos.cc | 67 // |source|. The loaded values are added to the store, possibly overriding 69 void LoadLsbRelease(LsbReleaseSource source, brillo::KeyValueStore* store) { argument 73 if (source == LsbReleaseSource::kStateful)
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
H A D | packet_stream.h | 60 // Attempts to send |num_octets_to_send| from |source| to |fd|, returning 62 bool SendAll(const std::vector<uint8_t>& source, size_t num_octets_to_send,
|
/system/extras/perfprofd/quipper/base/ |
H A D | macros.h | 2 // Use of this source code is governed by a BSD-style license that can be 6 // are commonly used throughout Chromium source. (It may also contain things 159 // equivalent of "*reinterpret_cast<Dest*>(&source)". We need this in 213 inline Dest bit_cast(const Source& source) { argument 217 memcpy(&dest, &source, sizeof(dest));
|
/system/extras/systrace_analysis/ |
H A D | analyze_trace.py | 35 sys.exit('Can\'t find chromium-trace in your source tree') 39 sys.exit('Can\'t find vinn in your source tree') 44 # Find source paths and construct vinn launch arguments
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | packet_stream.cc | 120 bool PacketStream::SendAll(const std::vector<uint8_t>& source, argument 122 CHECK(source.size() >= num_octets_to_send); 126 fd, &source[num_octets_to_send - octets_remaining], octets_remaining);
|
H A D | event_packet.cc | 19 #define VECTOR_COPY_TO_END(source, destination) \ 20 std::copy(source.begin(), source.end(), std::back_inserter(destination));
|
/system/tpm/trunks/ |
H A D | background_command_transceiver.cc | 32 const std::string& source) { 33 *destination = source; 30 AssignAndSignal(std::string* destination, base::WaitableEvent* event, const std::string& source) argument
|
/system/update_engine/payload_generator/ |
H A D | payload_generation_config.cc | 182 for (const PartitionConfig& part : source.partitions) { 192 TEST_AND_RETURN_FALSE(source.ImageInfoIsEmpty() == 195 // All the "source" image fields must be empty for full payloads. 196 TEST_AND_RETURN_FALSE(source.ValidateIsEmpty());
|
H A D | delta_diff_generator.cc | 81 TEST_AND_RETURN_FALSE(config.source.partitions.size() == 87 config.is_delta ? config.source.partitions[i] : empty_part;
|
/system/extras/perfprofd/quipper/ |
H A D | address_mapper.h | 2 // Use of this source code is governed by a BSD-style license that can be 18 // Copy constructor: copies mappings from |source| to this AddressMapper. This 21 AddressMapper(const AddressMapper& source);
|