Searched refs:string (Results 1 - 25 of 2405) sorted by relevance

1234567891011>>

/system/core/adb/
H A Ddiagnose_usb.h20 #include <string>
23 // Returns a string message to print, or an empty string if no problems could be found.
24 std::string UsbNoPermissionsShortHelpText();
25 std::string UsbNoPermissionsLongHelpText();
H A Dremount_service.h20 #include <string>
22 bool make_block_device_writable(const std::string&);
/system/core/debuggerd/test/
H A Dlog_fake.h20 #include <string>
23 std::string getFakeLogBuf();
24 std::string getFakeLogPrint();
H A Delf_fake.h20 #include <string>
22 void elf_set_fake_build_id(const std::string&);
/system/tpm/attestation/common/
H A Dmock_tpm_utility.h22 #include <string>
36 static std::string Transform(const std::string& method,
37 const std::string& input);
40 MOCK_METHOD6(ActivateIdentity, bool(const std::string&,
41 const std::string&,
42 const std::string&,
43 const std::string&,
44 const std::string&,
45 std::string*));
[all...]
H A Dcrypto_utility.h20 #include <string>
32 virtual bool GetRandom(size_t num_bytes, std::string* random_data) const = 0;
36 virtual bool CreateSealedKey(std::string* aes_key,
37 std::string* sealed_key) = 0;
43 virtual bool EncryptData(const std::string& data,
44 const std::string& aes_key,
45 const std::string& sealed_key,
46 std::string* encrypted_data) = 0;
52 virtual bool UnsealKey(const std::string& encrypted_data,
53 std::string* aes_ke
[all...]
H A Dmock_crypto_utility.h22 #include <string>
33 MOCK_CONST_METHOD2(GetRandom, bool(size_t, std::string*));
35 MOCK_METHOD2(CreateSealedKey, bool(std::string* aes_key,
36 std::string* sealed_key));
38 MOCK_METHOD4(EncryptData, bool(const std::string& data,
39 const std::string& aes_key,
40 const std::string& sealed_key,
41 std::string* encrypted_data));
43 MOCK_METHOD3(UnsealKey, bool(const std::string& encrypted_data,
44 std::string* aes_ke
[all...]
H A Dtpm_utility.h20 #include <string>
42 virtual bool ActivateIdentity(const std::string& delegate_blob,
43 const std::string& delegate_secret,
44 const std::string& identity_key_blob,
45 const std::string& asym_ca_contents,
46 const std::string& sym_ca_attestation,
47 std::string* credential) = 0;
59 const std::string& identity_key_blob,
60 const std::string& external_data,
61 std::string* key_blo
[all...]
H A Dcrypto_utility_impl.h22 #include <string>
38 bool GetRandom(size_t num_bytes, std::string* random_data) const override;
39 bool CreateSealedKey(std::string* aes_key, std::string* sealed_key) override;
40 bool EncryptData(const std::string& data,
41 const std::string& aes_key,
42 const std::string& sealed_key,
43 std::string* encrypted_data) override;
44 bool UnsealKey(const std::string& encrypted_data,
45 std::string* aes_ke
[all...]
H A Dprint_interface_proto.h22 #include <string>
28 std::string GetProtoDebugStringWithIndent(AttestationStatus value,
30 std::string GetProtoDebugString(AttestationStatus value);
31 std::string GetProtoDebugStringWithIndent(
34 std::string GetProtoDebugString(const CreateGoogleAttestedKeyRequest& value);
35 std::string GetProtoDebugStringWithIndent(
38 std::string GetProtoDebugString(const CreateGoogleAttestedKeyReply& value);
39 std::string GetProtoDebugStringWithIndent(const GetKeyInfoRequest& value,
41 std::string GetProtoDebugString(const GetKeyInfoRequest& value);
42 std::string GetProtoDebugStringWithInden
[all...]
/system/connectivity/shill/upstart/
H A Dupstart_proxy_stub.cc19 using std::string;
27 const string& /*name*/, const vector<string>& /*env*/, bool /*wait*/) {
/system/extras/simpleperf/
H A Dget_test_data.h20 #include <string>
24 std::string GetTestData(const std::string& filename);
25 const std::string& GetTestDataDir();
30 static const std::string ELF_FILE = "elf";
34 static const std::string PERF_DATA = "perf.data";
36 static const std::string CALLGRAPH_FP_PERF_DATA = "perf_g_fp.data";
38 static const std::string BRANCH_PERF_DATA = "perf_b.data";
55 static const std::string APK_FILE = "data/app/com.example.hellojni-1/base.apk";
56 static const std::string NATIVELIB_IN_AP
[all...]
/system/core/bootstat/
H A Dhistogram_logger.h18 #include <string>
24 void LogHistogram(const std::string& event, int32_t data);
/system/core/metricsd/uploader/
H A Dmetrics_hashes.h20 #include <string>
24 // Computes a uint64 hash of a given string based on its MD5 hash. Suitable for
26 uint64_t HashMetricName(const std::string& name);
/system/extras/perfprofd/tests/
H A Dperfprofdmockutils.h29 /// Return string containing things logged to logd, plus sleep instances
31 extern std::string mock_perfprofdutils_getlogged();
/system/tools/aidl/tests/
H A Dtest_util.h20 #include <string>
26 std::string CanonicalNameToPath(const char* package_class,
29 void SplitPackageClass(const std::string& package_class,
30 std::string* rel_path,
31 std::string* package,
32 std::string* class_name);
34 void PrintDiff(const std::string& a, const std::string& b);
H A Dfake_io_delegate.h25 #include <string>
40 std::unique_ptr<std::string> GetFileContents(
41 const std::string& filename,
42 const std::string& append_content_suffix = "") const override;
44 const std::string& file_path) const override;
45 bool FileIsReadable(const std::string& path) const override;
47 const std::string& base_dir,
48 const std::vector<std::string>& nested_subdirs) const override;
50 const std::string& file_path) const override;
51 void RemovePath(const std::string
[all...]
/system/bt/service/ipc/
H A Dlinux_ipc_host.h21 #include <string>
56 bool OnSetAdapterName(const std::string& name);
59 bool OnCreateService(const std::string& service_uuid);
62 bool OnDestroyService(const std::string& service_uuid);
65 bool OnAddCharacteristic(const std::string& service_uuid,
66 const std::string& characteristic_uuid,
67 const std::string& control_uuid,
68 const std::string& options);
71 bool OnSetCharacteristicValue(const std::string& service_uuid,
72 const std::string
[all...]
/system/connectivity/shill/
H A Dcrypto_interface.h20 #include <string>
30 virtual std::string GetID() = 0;
33 virtual bool Encrypt(const std::string& plaintext,
34 std::string* ciphertext) = 0;
37 virtual bool Decrypt(const std::string& ciphertext,
38 std::string* plaintext) = 0;
H A Dmock_store.h21 #include <string>
42 MOCK_CONST_METHOD0(GetGroups, std::set<std::string>());
44 std::set<std::string>(const std::string& key));
46 std::set<std::string>(const KeyValueStore& properties));
47 MOCK_CONST_METHOD1(ContainsGroup, bool(const std::string& group));
48 MOCK_METHOD2(DeleteKey, bool(const std::string& group,
49 const std::string& key));
50 MOCK_METHOD1(DeleteGroup, bool(const std::string& group));
51 MOCK_METHOD1(SetHeader, bool(const std::string
[all...]
H A Dstore_interface.h21 #include <string>
56 virtual std::set<std::string> GetGroups() const = 0;
59 virtual std::set<std::string> GetGroupsWithKey(
60 const std::string& key) const = 0;
64 virtual std::set<std::string> GetGroupsWithProperties(
68 virtual bool ContainsGroup(const std::string& group) const = 0;
74 virtual bool DeleteKey(const std::string& group, const std::string& key) = 0;
78 virtual bool DeleteGroup(const std::string& group) = 0;
81 virtual bool SetHeader(const std::string
[all...]
H A Dstub_storage.h21 #include <string>
38 std::set<std::string> GetGroups() const override { return {}; }
39 std::set<std::string> GetGroupsWithKey(
40 const std::string& key) const override {
43 std::set<std::string> GetGroupsWithProperties(
47 bool ContainsGroup(const std::string& group) const override {
50 bool DeleteKey(const std::string& group, const std::string& key)
52 bool DeleteGroup(const std::string& group) override { return false; }
53 bool SetHeader(const std::string
[all...]
/system/connectivity/shill/dhcp/
H A Dmock_dhcp_config.cc19 using std::string;
24 const string& device_name)
29 string(),
30 string()) {}
34 void MockDHCPConfig::ProcessEventSignal(const std::string& reason,
36 void MockDHCPConfig::ProcessStatusChangeSignal(const std::string& status) {}
/system/vold/
H A DKeyStorage.h20 #include <string>
31 KeyAuthentication(std::string t, std::string s) : token{t}, secret{s} {};
32 const std::string token;
33 const std::string secret;
42 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const std::string& key);
45 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, std::string* key);
48 bool destroyKey(const std::string
[all...]
/system/tpm/tpm_manager/common/
H A Dprint_tpm_nvram_interface_proto.h22 #include <string>
28 std::string GetProtoDebugStringWithIndent(const DefineNvramRequest& value,
30 std::string GetProtoDebugString(const DefineNvramRequest& value);
31 std::string GetProtoDebugStringWithIndent(const DefineNvramReply& value,
33 std::string GetProtoDebugString(const DefineNvramReply& value);
34 std::string GetProtoDebugStringWithIndent(const DestroyNvramRequest& value,
36 std::string GetProtoDebugString(const DestroyNvramRequest& value);
37 std::string GetProtoDebugStringWithIndent(const DestroyNvramReply& value,
39 std::string GetProtoDebugString(const DestroyNvramReply& value);
40 std::string GetProtoDebugStringWithInden
[all...]

Completed in 315 milliseconds

1234567891011>>