/system/core/init/ |
H A D | init_parser.h | 21 #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 D | omaha_request_params.h | 22 #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 D | chrome_browser_proxy_resolver.h | 22 #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 D | crypto_rot47.cc | 19 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 D | http_url.h | 22 #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 D | mock_dns_server_tester.cc | 19 #include <string> 29 std::vector<std::string>(),
|
/system/connectivity/shill/dbus/ |
H A D | chromeos_dhcpcd_proxy.h | 20 #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 D | chromeos_device_dbus_adaptor.h | 20 #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 D | supplicant_event_delegate_interface.h | 20 #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 D | adb_io.h | 22 #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 D | adb_utils.h | 20 #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 D | scrape_mmap_addr.cpp | 5 #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 D | openvpn_management_server.h | 21 #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 D | fake_io_delegate.cpp | 27 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 D | aidl_test_sentinel_searcher.cpp | 19 #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 D | type_cpp.h | 21 #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 D | Disk.h | 40 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 D | read_elf.h | 21 #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 D | dbus-proxy-mocks.h | 5 #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 D | crypto_utility_impl_test.cc | 18 #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 D | adapter_state.h | 19 #include <string> 40 // Returns a string for the given Adapter state |state|. 41 std::string AdapterStateToString(AdapterState state);
|
/system/connectivity/apmanager/ |
H A D | mock_manager.h | 20 #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 D | mock_cellular.h | 20 #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 D | mock_modem.cc | 21 MockModem::MockModem(const std::string& service, 22 const std::string& path,
|
H A D | modem_manager_proxy_interface.h | 20 #include <string> 31 virtual std::vector<std::string> EnumerateDevices() = 0;
|