Searched refs:string (Results 151 - 175 of 2375) sorted by relevance

1234567891011>>

/system/core/init/
H A Dinit_parser.h21 #include <string>
28 virtual bool ParseSection(const std::vector<std::string>& args,
29 std::string* err) = 0;
30 virtual bool ParseLineSection(const std::vector<std::string>& args,
31 const std::string& filename, int line,
32 std::string* err) const = 0;
34 virtual void EndFile(const std::string& filename) = 0;
41 bool ParseConfig(const std::string& path);
42 void AddSectionParser(const std::string& name,
48 void ParseData(const std::string
[all...]
/system/update_engine/
H A Domaha_request_params.h22 #include <string>
58 const std::string& in_os_platform,
59 const std::string& in_os_version,
60 const std::string& in_os_sp,
61 const std::string& in_os_board,
62 const std::string& in_app_id,
63 const std::string& in_app_version,
64 const std::string& in_app_lang,
65 const std::string& in_target_channel,
66 const std::string
[all...]
H A Dchrome_browser_proxy_resolver.h22 #include <string>
46 bool GetProxiesForUrl(const std::string& url,
53 typedef std::multimap<std::string, std::pair<ProxiesResolvedFn, void*>>
55 typedef std::multimap<std::string, brillo::MessageLoop::TaskId> TimeoutsMap;
59 void OnSignalConnected(const std::string& interface_name,
60 const std::string& signal_name,
64 void OnProxyResolvedSignal(const std::string& source_url,
65 const std::string& proxy_info,
66 const std::string& error_message);
69 void HandleTimeout(std::string source_ur
[all...]
/system/connectivity/shill/
H A Dcrypto_rot47.cc19 using std::string;
27 string CryptoROT47::GetID() {
31 bool CryptoROT47::Encrypt(const string& plaintext, string* ciphertext) {
48 bool CryptoROT47::Decrypt(const string& ciphertext, string* plaintext) {
H A Dhttp_url.h22 #include <string>
42 bool ParseFromString(const std::string& url_string);
44 const std::string& host() const { return host_; }
45 const std::string& path() const { return path_; }
55 std::string host_;
56 std::string path_;
H A Dmock_dns_server_tester.cc19 #include <string>
29 std::vector<std::string>(),
/system/connectivity/shill/dbus/
H A Dchromeos_dhcpcd_proxy.h20 #include <string>
33 const std::string& service_name);
37 void Rebind(const std::string& interface) override;
38 void Release(const std::string& interface) override;
42 const std::string& method,
43 const std::string& interface);
H A Dchromeos_device_dbus_adaptor.h20 #include <string>
50 const std::string& GetRpcIdentifier() override;
51 void EmitBoolChanged(const std::string& name, bool value) override;
52 void EmitUintChanged(const std::string& name, uint32_t value) override;
53 void EmitUint16Changed(const std::string& name, uint16_t value) override;
54 void EmitIntChanged(const std::string& name, int value) override;
55 void EmitStringChanged(const std::string& name,
56 const std::string& value) override;
57 void EmitStringmapChanged(const std::string& name,
59 void EmitStringmapsChanged(const std::string
[all...]
/system/connectivity/shill/supplicant/
H A Dsupplicant_event_delegate_interface.h20 #include <string>
32 virtual void BSSAdded(const std::string& BSS,
36 virtual void BSSRemoved(const std::string& BSS) = 0;
43 virtual void EAPEvent(const std::string& status,
44 const std::string& parameter) = 0;
54 virtual void TDLSDiscoverResponse(const std::string& peer_address) = 0;
/system/core/adb/
H A Dadb_io.h22 #include <string>
28 bool SendFail(int fd, const std::string& reason);
30 // Writes a protocol-format string; a four hex digit length followed by the string data.
31 bool SendProtocolString(int fd, const std::string& s);
33 // Reads a protocol-format string; a four hex digit length followed by the string data.
34 bool ReadProtocolString(int fd, std::string* s, std::string* error);
71 bool WriteFdExactly(int fd, const std::string
[all...]
H A Dadb_utils.h20 #include <string>
27 bool getcwd(std::string* cwd);
28 bool directory_exists(const std::string& path);
32 std::string adb_basename(const std::string& path);
33 std::string adb_dirname(const std::string& path);
39 std::string adb_get_homedir_path(bool check_env_first);
41 bool mkdirs(const std::string& path);
43 std::string escape_ar
[all...]
/system/extras/tests/kernel.config/
H A Dscrape_mmap_addr.cpp5 #include <string>
6 #include <string.h>
13 std::regex reg(std::string("^([a-f0-9]+)\\-[0-9a-f]+\\s+.+\\s+(\\d+)\\s+.+\\s+\\d+\\s+") + std::string(argv[1]) + std::string("\\s*$"));
16 std::string ln;
/system/connectivity/shill/vpn/
H A Dopenvpn_management_server.h21 #include <string>
48 std::vector<std::vector<std::string>>* options);
66 const std::string& state() const { return state_; }
69 virtual std::string GetServiceRpcIdentifier();
104 void OnInputError(const std::string& error_msg);
106 void Send(const std::string& data);
107 void SendState(const std::string& state);
108 void SendUsername(const std::string& tag, const std::string& username);
109 void SendPassword(const std::string
[all...]
/system/tools/aidl/tests/
H A Dfake_io_delegate.cpp27 using std::string;
42 unique_ptr<string> FakeIoDelegate::GetFileContents(
43 const string& relative_filename,
44 const string& content_suffix) const {
45 string filename = CleanPath(relative_filename);
46 unique_ptr<string> contents;
51 contents.reset(new string);
59 const string& file_path) const {
68 bool FakeIoDelegate::FileIsReadable(const string& path) const {
73 const std::string
[all...]
H A Daidl_test_sentinel_searcher.cpp19 #include <string>
31 using std::string;
36 bool ReadLines(const string& input_file_path, vector<string>* lines) {
43 string line;
51 bool HasSentinel(const vector<string>& lines, const string& sentinel) {
53 if (line.find(sentinel) != string::npos) {
72 const string timeout_as_str = argv[1];
73 const string input_file_pat
[all...]
/system/tools/aidl/
H A Dtype_cpp.h21 #include <string>
36 const std::string& package,
37 const std::string& aidl_type,
38 const std::vector<std::string>& header,
39 const std::string& cpp_type,
40 const std::string& read_method,
41 const std::string& write_method,
44 const std::string& src_file_name = "",
54 std::string CppType() const { return cpp_type_; }
55 const std::string
[all...]
/system/vold/
H A DDisk.h40 Disk(const std::string& eventPath, dev_t device, const std::string& nickname, int flags);
57 const std::string& getId() { return mId; }
58 const std::string& getEventPath() { return mEventPath; }
59 const std::string& getSysPath() { return mSysPath; }
60 const std::string& getDevPath() { return mDevPath; }
63 const std::string& getLabel() { return mLabel; }
66 std::shared_ptr<VolumeBase> findVolume(const std::string& id);
68 void listVolumes(VolumeBase::Type type, std::list<std::string>& list);
83 void notifyEvent(int msg, const std::string
[all...]
/system/extras/simpleperf/
H A Dread_elf.h21 #include <string>
24 bool GetBuildIdFromNoteFile(const std::string& filename, BuildId* build_id);
25 bool GetBuildIdFromElfFile(const std::string& filename, BuildId* build_id);
26 bool GetBuildIdFromEmbeddedElfFile(const std::string& filename, uint64_t file_offset,
30 static const std::string linker_prefix = "__dl_";
38 std::string name;
44 bool ParseSymbolsFromElfFile(const std::string& filename, const BuildId& expected_build_id,
46 bool ParseSymbolsFromEmbeddedElfFile(const std::string& filename, uint64_t file_offset,
50 bool ReadMinExecutableVirtualAddressFromElfFile(const std::string& filename,
54 bool ReadSectionFromElfFile(const std::string
[all...]
/system/update_engine/include/debugd/
H A Ddbus-proxy-mocks.h5 #include <string>
28 const std::string& /*in_destination*/,
30 std::string* /*out_handle*/,
35 const std::string& /*in_destination*/,
37 const base::Callback<void(const std::string& /*handle*/)>& /*success_callback*/,
41 bool(const std::string& /*in_handle*/,
45 void(const std::string& /*in_handle*/,
50 bool(const std::string& /*in_categories*/,
54 void(const std::string& /*in_categories*/,
68 bool(std::string* /*out_statu
[all...]
/system/tpm/attestation/common/
H A Dcrypto_utility_impl_test.cc18 #include <string>
48 std::string HexDecode(const std::string hex) {
51 return std::string(reinterpret_cast<char*>(output.data()), output.size());
71 std::string random1;
73 std::string random2;
80 std::string buffer;
85 std::string key;
86 std::string sealed_key;
88 std::string dat
[all...]
/system/bt/service/common/bluetooth/
H A Dadapter_state.h19 #include <string>
40 // Returns a string for the given Adapter state |state|.
41 std::string AdapterStateToString(AdapterState state);
/system/connectivity/apmanager/
H A Dmock_manager.h20 #include <string>
39 scoped_refptr<Device>(const std::string& interface_name));
40 MOCK_METHOD1(ClaimInterface, void(const std::string& interface_name));
41 MOCK_METHOD1(ReleaseInterface, void(const std::string& interface_name));
42 MOCK_METHOD1(RequestDHCPPortAccess, void(const std::string& interface));
43 MOCK_METHOD1(ReleaseDHCPPortAccess, void(const std::string& interface));
45 MOCK_METHOD1(SetupApModeInterface, bool(std::string* interface_name));
46 MOCK_METHOD1(SetupStationModeInterface, bool(std::string* interface_name));
/system/connectivity/shill/cellular/
H A Dmock_cellular.h20 #include <string>
32 const std::string& link_name,
33 const std::string& address,
36 const std::string& service,
37 const std::string& path);
43 const std::string& interface,
45 const std::vector<std::string>& invalidated_properties));
48 MOCK_METHOD1(StartPPP, void(const std::string& serial_device));
H A Dmock_modem.cc21 MockModem::MockModem(const std::string& service,
22 const std::string& path,
H A Dmodem_manager_proxy_interface.h20 #include <string>
31 virtual std::vector<std::string> EnumerateDevices() = 0;

Completed in 660 milliseconds

1234567891011>>