| /system/tools/hidl/ |
| Hash.cpp | 33 Hash& Hash::getMutableHash(const std::string& path) { 34 static std::map<std::string, Hash> hashes; 45 const Hash& Hash::getHash(const std::string& path) { 49 void Hash::clearHash(const std::string& path) { 53 static std::vector<uint8_t> sha256File(const std::string &path) { 57 std::string fileContent = fileStream.str(); 67 Hash::Hash(const std::string &path) 71 std::string Hash::hexString(const std::vector<uint8_t> &hash) { 80 std::string Hash::hexString() const { 88 const std::string &Hash::getPath() const [all...] |
| /system/update_engine/ |
| boot_control_recovery.h | 20 #include <string> 45 bool GetPartitionDevice(const std::string& partition_name, 47 std::string* device) const override;
|
| /system/update_engine/common/ |
| boot_control_stub.cc | 21 using std::string; 34 bool BootControlStub::GetPartitionDevice(const string& partition_name, 36 string* device) const {
|
| boot_control_stub.h | 20 #include <string> 41 bool GetPartitionDevice(const std::string& partition_name, 43 std::string* device) const override;
|
| /system/update_engine/payload_generator/ |
| ext2_filesystem.h | 23 #include <string> 43 const std::string& filename); 72 std::string filename_;
|
| raw_filesystem.h | 25 #include <string> 33 const std::string& filename, uint64_t block_size, uint64_t block_count); 51 std::string filename_;
|
| /test/vts/utils/native/trace_processor/ |
| TraceProcessorMain.cpp | 43 mode_code getModeCode(const std::string& str) { 102 string mode = kDefaultMode; 103 string output = kDefaultOutputFile; 129 mode = string(optarg); 133 output = string(optarg); 147 string trace_path = argv[optind]; 180 string coverage_dir = argv[optind]; 181 string trace_dir = argv[optind + 1]; 186 string ref_coverage_path = argv[optind]; 187 string coverage_path = argv[optind + 1] [all...] |
| /test/vts-testcase/hal/treble/vintf/ |
| SingleManifestTest.cpp | 40 cout << "[ WARNING ] " << fq_name.string() 45 ADD_FAILURE() << fq_name.string() << " not available."; 51 cout << "[ WARNING ] " << fq_name.string() 58 << fq_name.string() 69 const string & /* instance_name */, 71 cout << "Verifying transport method of: " << fq_name.string() << endl; 72 string hal_name = fq_name.package(); 75 string iface_name = fq_name.name(); 97 const string &instance_name, 127 canCastInterface(hal_service.get(), fq_name.string().c_str()) [all...] |
| /external/webrtc/webrtc/libjingle/xmpp/ |
| hangoutpubsubclient_unittest.cc | 11 #include <string> 36 const std::string& nick, bool was_presenting, bool is_presenting) { 43 const std::string& nick, bool was_muted, bool is_muted) { 50 const std::string& nick, bool was_muted, bool is_muted) { 57 const std::string& nick, bool was_paused, bool is_paused) { 64 const std::string& nick, bool was_recording, bool is_recording) { 71 const std::string& mutee_nick, 72 const std::string& muter_nick, 80 const std::string& blockee_nick, 81 const std::string& blocker_nick) [all...] |
| /external/perfetto/tools/trace_to_text/ |
| ftrace_event_formatter.cc | 21 #include <string> 420 std::string FormatSchedSwitch(const SchedSwitchFtraceEvent& sched_switch) { 431 return std::string(line); 434 std::string FormatSchedWakeup(const SchedWakeupFtraceEvent& sched_wakeup) { 441 return std::string(line); 444 std::string FormatSchedBlockedReason( 449 return std::string(line); 452 std::string FormatPrint(const PrintFtraceEvent& print) { 453 std::string line = "tracing_mark_write: "; 456 const std::string& msg = print.buf() [all...] |
| /prebuilts/ndk/r16/sources/third_party/vulkan/src/build-android/generated/include/ |
| vk_struct_string_helper_cpp.h | 33 #include <string> 57 std::string dynamic_display(const void* pStruct, const std::string prefix); 59 std::string vk_print_vkallocationcallbacks(const VkAllocationCallbacks* pStruct, const std::string prefix); 61 std::string vk_print_vkandroidsurfacecreateinfokhr(const VkAndroidSurfaceCreateInfoKHR* pStruct, const std::string prefix); 63 std::string vk_print_vkapplicationinfo(const VkApplicationInfo* pStruct, const std::string prefix); 64 std::string vk_print_vkattachmentdescription(const VkAttachmentDescription* pStruct, const std::string prefix) [all...] |
| vk_struct_string_helper_no_addr_cpp.h | 33 #include <string> 57 std::string dynamic_display(const void* pStruct, const std::string prefix); 59 std::string vk_print_vkallocationcallbacks(const VkAllocationCallbacks* pStruct, const std::string prefix); 61 std::string vk_print_vkandroidsurfacecreateinfokhr(const VkAndroidSurfaceCreateInfoKHR* pStruct, const std::string prefix); 63 std::string vk_print_vkapplicationinfo(const VkApplicationInfo* pStruct, const std::string prefix); 64 std::string vk_print_vkattachmentdescription(const VkAttachmentDescription* pStruct, const std::string prefix) [all...] |
| /art/dex2oat/ |
| dex2oat_options.cc | 28 Result Parse(const std::string& option) { 31 return Result::Failure(std::string("Not a valid instruction set: '") + option + "'"); 59 .WithType<std::vector<std::string>>().AppendValues() 62 .WithType<std::vector<std::string>>().AppendValues() 68 .WithType<std::string>() 71 .WithType<std::string>() 81 .WithType<std::string>() 87 .WithType<std::string>() 93 .WithType<std::string>() 96 .WithType<std::vector<std::string>>().AppendValues( [all...] |
| /system/bt/service/ipc/ |
| linux_ipc_host.cc | 69 bool TokenBool(const std::string& text) { return text == "true"; } 101 bool LinuxIPCHost::OnSetAdapterName(const std::string& name) { 102 std::string decoded_data; 107 bool LinuxIPCHost::OnCreateService(const std::string& service_uuid) { 122 bool LinuxIPCHost::OnDestroyService(const std::string& service_uuid) { 129 bool LinuxIPCHost::OnAddCharacteristic(const std::string& service_uuid, 130 const std::string& characteristic_uuid, 131 const std::string& control_uuid, 132 const std::string& options) { 133 std::vector<std::string> option_tokens = base::SplitString [all...] |
| /system/tpm/trunks/ |
| hmac_authorization_delegate.cc | 54 const std::string& command_hash, 57 std::string* authorization) { 80 std::string attributes_bytes; 85 std::string hmac_data; 86 std::string hmac_key; 98 std::string digest = HmacSha256(hmac_key, hmac_data); 110 const std::string& response_hash, 111 const std::string& authorization) { 116 std::string mutable_auth_string(authorization); 134 std::string attributes_bytes [all...] |
| /build/kati/ |
| var.h | 19 #include <string> 58 virtual StringPiece String() const = 0; 60 virtual string DebugString() const = 0; 67 message_.reset(new string(msg.as_string())); 72 message_.reset(new string(msg.as_string())); 76 const string& DeprecatedMessage() const { return *message_; } 98 unique_ptr<string> message_; 105 SimpleVar(const string& v, VarOrigin origin); 110 virtual void Eval(Evaluator* ev, string* s) const override; 114 virtual StringPiece String() const override [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
| ManagedUserPositiveTestActivity.java | 40 private static final String TAG = "ManagedUserPositiveTestActivity"; 42 private static final String ACTION_CHECK_AFFILIATED_PROFILE_OWNER = 44 static final String EXTRA_TEST_ID = "extra-test-id"; 46 private static final String CHECK_AFFILIATED_PROFILE_OWNER_TEST_ID = 48 private static final String DEVICE_ADMIN_SETTINGS_ID = "DEVICE_ADMIN_SETTINGS"; 49 private static final String DISABLE_STATUS_BAR_TEST_ID = "DISABLE_STATUS_BAR"; 50 private static final String DISABLE_KEYGUARD_TEST_ID = "DISABLE_KEYGUARD"; 51 private static final String POLICY_TRANSPARENCY_TEST_ID = "POLICY_TRANSPARENCY"; 64 getString(R.string.managed_user_incorrect_managed_user), null); 71 setInfoResources(R.string.managed_user_positive_tests [all...] |
| /dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
| CstUtf8.java | 28 * empty string 32 /** {@code non-null;} the UTF-8 value as a string */ 33 private final String string; field in class:CstUtf8 39 * Converts a string into its Java-style UTF-8 form. Java-style UTF-8 43 * @param string {@code non-null;} the string to convert 46 public static byte[] stringToUtf8Bytes(String string) { 47 int len = string.length() 317 String string = toHuman(); local [all...] |
| /dalvik/dx/src/com/android/dx/rop/cst/ |
| CstString.java | 29 * empty string 33 /** {@code non-null;} the UTF-8 value as a string */ 34 private final String string; field in class:CstString 40 * Converts a string into its MUTF-8 form. MUTF-8 differs from normal UTF-8 43 * @param string {@code non-null;} the string to convert 46 public static byte[] stringToUtf8Bytes(String string) { 47 int len = string.length() 318 String string = toHuman(); local [all...] |
| /external/google-breakpad/src/processor/ |
| stackwalker_unittest_utils.h | 41 #include <string> 59 void Init(uint64_t base_address, const string &contents) { 101 string contents_; 107 const string &code_file, const string &version) 112 string code_file() const { return code_file_; } 113 string code_identifier() const { return code_file_; } 114 string debug_file() const { return code_file_; } 115 string debug_identifier() const { return code_file_; } 116 string version() const { return version_; [all...] |
| /external/libbrillo/brillo/ |
| cryptohome.cc | 31 static std::string* salt = nullptr; 56 salt = new std::string(); 61 std::string SanitizeUserName(const std::string& username) { 63 return std::string(); 66 std::string lowercase(username); 74 std::string final = base::HexEncode(binmd, sizeof(binmd)); 88 FilePath GetHashedUserPath(const std::string& hashed_username) { 93 FilePath GetUserPath(const std::string& username) { 99 FilePath GetRootPath(const std::string& username) [all...] |
| /external/libbrillo/brillo/dbus/ |
| exported_property_set.h | 11 #include <string> 32 // STRING interface_name, 33 // DICT<STRING,VARIANT> changed_properties, 34 // ARRAY<STRING> invalidated_properties); 39 // org.freedesktop.DBus.Properties.Get(in STRING interface_name, 40 // in STRING property_name, 42 // org.freedesktop.DBus.Properties.Set(in STRING interface_name, 43 // in STRING property_name, 45 // org.freedesktop.DBus.Properties.GetAll(in STRING interface_name, 46 // out DICT<STRING,VARIANT> props) [all...] |
| /external/pdfium/core/fxcrt/ |
| shared_copy_on_write_unittest.cpp | 8 #include <string> 18 void OnConstruct(const std::string& name) { construction_counts_[name]++; } 19 void OnDestruct(const std::string& name) { destruction_counts_[name]++; } 20 int GetConstructionCount(const std::string& name) { 23 int GetDestructionCount(const std::string& name) { 28 std::map<std::string, int> construction_counts_; 29 std::map<std::string, int> destruction_counts_; 34 Object(Observer* observer, const std::string& name) 44 std::string name_; 62 ptr1.Emplace(&observer, std::string("one")) [all...] |
| /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/ |
| ResourceRemapperTest.java | 27 assertThat(ApplicationRClass.string.string_one).isEqualTo(SecondClass.string.string_one); 28 assertThat(ApplicationRClass.string.string_one).isEqualTo(ThirdClass.string.string_one); 47 assertThat(allIds.add(ApplicationRClass.string.string_one)).isTrue(); 48 assertThat(allIds.add(ApplicationRClass.string.string_two)).isTrue(); 51 assertThat(allIds.add(SecondClass.string.string_one)).isFalse(); 52 assertThat(allIds.add(SecondClass.string.string_three)).isTrue(); 56 assertThat(ResourceIds.getTypeIdentifier(ApplicationRClass.string.string_one)).isEqualTo(ResourceIds.getTypeIdentifier(ApplicationRClass.string.string_two)) 64 public static final class string { class in class:ResourceRemapperTest.FinalRClass 71 public static final class string { class in class:ResourceRemapperTest.ApplicationRClass 98 public static final class string { class in class:ResourceRemapperTest.SecondClass 125 public static final class string { class in class:ResourceRemapperTest.ThirdClass [all...] |
| /external/swiftshader/src/OpenGL/compiler/ |
| DirectiveHandler.cpp | 22 static TBehavior getBehavior(const std::string& str) 24 static const std::string kRequire("require"); 25 static const std::string kEnable("enable"); 26 static const std::string kDisable("disable"); 27 static const std::string kWarn("warn"); 50 const std::string& msg) 56 const std::string& name, 57 const std::string& value, 60 static const std::string kSTDGL("STDGL"); 61 static const std::string kOptimize("optimize") [all...] |