| /external/webrtc/third_party/gflags/gen/posix/include/gflags/ |
| gflags.h | 82 #include <string> 125 extern void SetVersionString(const std::string& version); 166 bool RegisterFlagValidator(const std::string* flag, 167 bool (*validate_fn)(const char*, const std::string&)); 182 std::string name; // the name of the flag 183 std::string type; // the type of the flag: int32, etc 184 std::string description; // the "help text" associated with the flag 185 std::string current_value; // the current value, as a string 186 std::string default_value; // the default value, as a strin [all...] |
| /external/webrtc/webrtc/base/ |
| fileutils_mock.h | 14 #include <string> 27 explicit FakeFileStream(const std::string & contents) : 49 typedef std::pair<std::string, std::string> File; 77 return FakeDirectoryIterator::Search(std::string("")); 81 std::string current_name = Name(); 86 bool Search(const std::string& current_name) { 98 std::string sub_path = path_iterator_->first; 100 return std::string::npos != 104 virtual std::string Name() const [all...] |
| /frameworks/av/drm/mediacas/plugins/clearkey/ |
| JsonAssetLoader.cpp | 46 * Extract a clear key asset from a JSON string. 49 * or ERROR_CAS_NO_LICENSE if the string doesn't contain a valid 83 return decodeBase64(AString(paddedText.string())); 94 ALOGV("found %s=%s", kIdTag.string(), value.string()); 95 asset->set_id(atoi(value.string())); 101 ALOGV("found %s=%s", kNameTag.string(), value.string()); 102 asset->set_name(value.string()); 108 ALOGV("found %s=%s", kLowerCaseOgranizationNameTag.string(), value.string()) [all...] |
| /frameworks/base/cmds/incident_helper/tests/ |
| ih_util_test.cpp | 23 #include <string> 80 std::string extraColumn1 = "abc \t23456789 bob"; 81 std::string emptyMidColm = "abc \t bob"; 82 std::string longFirstClm = "abcdefgt\t6789 bob"; 83 std::string lngFrstEmpty = "abcdefgt\t bob"; 104 string data1 = "Swap: abc "; 108 string data2 = "Swap: abc "; 112 string data3 = "Swap: abc "; 116 string data4 = "Swap: abc "; 122 string data1 = " 243%abc" [all...] |
| /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
| InputTypeActivity.java | 56 R.string.normal_edit_text_label)); 60 R.string.cap_chars_edit_text_label)); 64 R.string.cap_words_edit_text_label)); 68 R.string.multiline_edit_text_label)); 72 R.string.cap_sentences_edit_text_label)); 76 R.string.auto_complete_edit_text_label)); 80 R.string.auto_correct_edit_text_label)); 84 R.string.uri_edit_text_label)); 88 R.string.email_address_edit_text_label)); 92 R.string.email_subject_edit_text_label)) [all...] |
| /hardware/interfaces/radio/1.0/ |
| IRadio.hal | 54 * @param aid AID value, See ETSI 102.221 8.1 and 101.220 4, empty string if no value. 59 oneway supplyIccPinForApp(int32_t serial, string pin, string aid); 67 * @param aid AID value, See ETSI 102.221 8.1 and 101.220 4, empty string if no value. 72 oneway supplyIccPukForApp(int32_t serial, string puk, string pin, string aid); 80 * @param aid AID value, See ETSI 102.221 8.1 and 101.220 4, empty string if no value. 85 oneway supplyIccPin2ForApp(int32_t serial, string pin2, string aid) [all...] |
| /packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
| DebugView.java | 49 private Lookup<String, Executor> mExecutors = new DummyLookup<>(); 65 void init(Lookup<String, Executor> executors) { 73 setTitle(R.string.inspector_debug_section, false); 75 put(R.string.debug_content_uri, info.derivedUri.toString()); 76 put(R.string.debug_document_id, info.documentId); 77 put(R.string.debug_raw_mimetype, info.mimeType); 78 put(R.string.debug_stream_types, "-"); 79 put(R.string.debug_raw_size, NumberFormat.getInstance().format(info.size)); 80 put(R.string.debug_is_archive, info.isArchive()); 81 put(R.string.debug_is_container, info.isContainer()) [all...] |
| /packages/apps/Email/src/com/android/email/activity/setup/ |
| CheckSettingsErrorDialogFragment.java | 32 public final static String TAG = "CheckSettingsErrorDialog"; 39 private final static String ARGS_MESSAGE = "CheckSettingsErrorDialog.Message"; 40 private final static String ARGS_REASON = "CheckSettingsErrorDialog.ExceptionId"; 61 public static CheckSettingsErrorDialogFragment newInstance(int reason, String message) { 74 final String message = arguments.getString(ARGS_MESSAGE); 85 builder.setTitle(R.string.account_setup_autodiscover_dlg_authfail_title); 88 .setTitle(context.getString(R.string.account_setup_failed_dlg_title)); 95 context.getString(android.R.string.ok), 105 context.getString(android.R.string.cancel), 116 context.getString(R.string.account_setup_failed_dlg_edit_details_action) [all...] |
| /prebuilts/ndk/r16/sources/third_party/shaderc/libshaderc_util/include/libshaderc_util/ |
| compiler.h | 22 #include <string> 93 using MacroDictionary = std::unordered_map<std::string, std::string>; 257 void SetHlslRegisterSetAndBinding(const std::string& reg, 258 const std::string& set, 259 const std::string& binding) { 269 // (Glslang wants this data as strings, not ints or enums.) The string data is 271 void SetHlslRegisterSetAndBindingForStage(Stage stage, const std::string& reg, 272 const std::string& set, 273 const std::string& binding) [all...] |
| /system/core/fastboot/ |
| fs.cpp | 9 #include <string.h> 32 std::string cmd; 48 std::string env_str; 51 env_str += std::string(*envp) + std::string("\0", 1); 115 const std::string& initial_dir, unsigned eraseBlkSize, 118 const std::string exec_dir = android::base::GetExecutableDirectory(); 120 const std::string mke2fs_path = exec_dir + "/mke2fs"; 123 std::string block_size_str = std::to_string(block_size); 126 std::string ext_attr = "android_sparse" [all...] |
| /system/tools/hidl/ |
| AST.h | 27 #include <string> 63 const std::string& getFilename() const; 71 EnumValue* lookupEnumValue(const FQName& fqName, std::string* errorMsg, Scope* scope); 136 void generateJava(Formatter& out, const std::string& limitToType) const; 137 void generateJavaTypes(Formatter& out, const std::string& limitToType) const; 179 std::string getBaseName() const; 184 const std::string& klass); 238 void getPackageComponents(std::vector<std::string> *components) const; 241 std::vector<std::string> *components, bool cpp_compatible) const; 243 std::string makeHeaderGuard(const std::string &baseName [all...] |
| /system/update_engine/client_library/ |
| client_binder.cc | 35 using std::string; 48 bool BinderUpdateEngineClient::AttemptUpdate(const string& in_app_version, 49 const string& in_omaha_url, 64 string* out_new_version, 73 StringToUpdateStatus(String8{status.current_operation_}.string(), 75 *out_new_version = String8{status.new_version_}.string(); 80 bool BinderUpdateEngineClient::SetCohortHint(const string& in_cohort_hint) { 84 bool BinderUpdateEngineClient::GetCohortHint(string* out_cohort_hint) const { 90 *out_cohort_hint = String8{out_as_string16}.string(); 116 string* rollback_partition) const [all...] |
| /test/vts-testcase/hal/treble/vintf/ |
| VtsTrebleVintfTestBase.cpp | 28 #include <string> 78 using std::string; 94 const std::string instance_name = manifest_instance.instance(); 101 cout << "Timed out on: " << fq_name.string() << " " << instance_name 109 const string &instance_name, 111 return GetHalService(fq_name.string(), instance_name, transport, log); 114 sp<IBase> VtsTrebleVintfTestBase::GetHalService(const string &fq_name, 115 const string &instance_name, 149 vector<string> VtsTrebleVintfTestBase::GetInstanceNames( 151 vector<string> ret [all...] |
| /external/swiftshader/third_party/LLVM/tools/bugpoint/ |
| ExecutionDriver.cpp | 74 cl::opt<std::string>
84 cl::opt<std::string>
88 cl::list<std::string>
93 cl::list<std::string>
97 cl::opt<std::string>
102 cl::opt<std::string>
111 cl::list<std::string>
115 cl::opt<std::string>
121 cl::list<std::string>
125 cl::list<std::string>
[all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
| KeyCodeDescriptionMapper.java | 36 private static final String TAG = KeyCodeDescriptionMapper.class.getSimpleName(); 37 private static final String SPOKEN_LETTER_RESOURCE_NAME_FORMAT = "spoken_accented_letter_%04X"; 38 private static final String SPOKEN_SYMBOL_RESOURCE_NAME_FORMAT = "spoken_symbol_%04X"; 39 private static final String SPOKEN_EMOJI_RESOURCE_NAME_FORMAT = "spoken_emoji_%04X"; 40 private static final String SPOKEN_EMOTICON_RESOURCE_NAME_PREFIX = "spoken_emoticon"; 41 private static final String SPOKEN_EMOTICON_CODE_POINT_FORMAT = "_%02X"; 43 // The resource ID of the string spoken for obscured keys 44 private static final int OBSCURED_KEY_RES_ID = R.string.spoken_description_dot; 57 mKeyCodeMap.put(Constants.CODE_SPACE, R.string.spoken_description_space); 58 mKeyCodeMap.put(Constants.CODE_DELETE, R.string.spoken_description_delete) [all...] |
| /system/core/adb/ |
| adb_auth_host.cpp | 22 #include <string.h> 30 #include <string> 51 static std::map<std::string, std::shared_ptr<RSA>>& g_keys = 52 *new std::map<std::string, std::shared_ptr<RSA>>; 53 static std::map<int, std::string>& g_monitored_paths = *new std::map<int, std::string>; 55 static std::string get_user_info() { 58 std::string hostname; 66 std::string username; 76 static bool write_public_keyfile(RSA* private_key, const std::string& private_key_path) [all...] |
| /frameworks/base/core/java/android/print/ |
| PrintAttributes.java | 415 public String toString() { 460 private static final String LOG_TAG = "MediaSize"; 462 private static final Map<String, MediaSize> sIdToMediaSizeMap = 474 R.string.mediasize_unknown_portrait, 1, Integer.MAX_VALUE); 485 R.string.mediasize_unknown_landscape, Integer.MAX_VALUE, 1); 491 new MediaSize("ISO_A0", "android", R.string.mediasize_iso_a0, 33110, 46810); 494 new MediaSize("ISO_A1", "android", R.string.mediasize_iso_a1, 23390, 33110); 497 new MediaSize("ISO_A2", "android", R.string.mediasize_iso_a2, 16540, 23390); 500 new MediaSize("ISO_A3", "android", R.string.mediasize_iso_a3, 11690, 16540); 503 new MediaSize("ISO_A4", "android", R.string.mediasize_iso_a4, 8270, 11690) [all...] |
| /system/core/libnativeloader/ |
| native_loader.cpp | 34 #include <string> 124 return std::string(debuggable) == "1"; 127 static std::string vndk_version_str() { 129 std::string version = android::base::GetProperty("ro.vndk.version", ""); 137 static void insert_vndk_version_str(std::string* file_name) { 140 if (insert_pos == std::string::npos) { 146 static const std::function<bool(const std::string&, std::string*)> always_true = 147 [](const std::string&, std::string*) { return true; } [all...] |
| /art/runtime/ |
| oat_file.h | 21 #include <string> 80 const std::string& location, 82 std::string* error_msg); 88 const std::string& filename, 89 const std::string& location, 95 std::string* error_msg); 97 // Similar to OatFile::Open(const std::string...), but accepts input vdex and 103 const std::string& oat_location, 109 std::string* error_msg); 118 const std::string& location [all...] |
| /external/adhd/cras/src/tests/ |
| alsa_ucm_unittest.cc | 29 static std::vector<std::string> snd_use_case_get_id; 31 static std::map<std::string, std::string> snd_use_case_get_value; 33 static std::vector<std::pair<std::string, std::string> > snd_use_case_set_param; 34 static std::map<std::string, const char **> fake_list; 35 static std::map<std::string, unsigned> fake_list_size; 37 static std::vector<std::string> list_devices_callback_names; 64 list_devices_callback_names.push_back(std::string(section_name)); 76 std::string id_1 = "=PlaybackPCM/Speaker/HiFi" [all...] |
| /external/deqp/framework/delibs/decpp/ |
| deFilePath.cpp | 39 using std::string; 45 const std::string FilePath::separator = "\\"; 47 const std::string FilePath::separator = "/"; 50 FilePath::FilePath (const std::vector<std::string>& components) 60 void FilePath::split (std::vector<std::string>& components) const 89 FilePath FilePath::join (const std::vector<std::string>& components) 96 std::vector<std::string> components; 97 std::vector<std::string> reverseNormalizedComponents; 108 const std::string& comp = components[ndx]; 129 *this = join(std::vector<std::string>(reverseNormalizedComponents.rbegin(), reverseNormalizedComponents.rend())) [all...] |
| /external/libchrome/base/strings/ |
| string_util.h | 16 #include <string> 34 // string, even when truncation occurs. 57 // BSD-style safe and consistent string copy functions. 66 // Scan a wprintf format string to determine whether it's portable across a 68 // specifiers used by the format string are supported and have the same meaning 70 // within a format string. 107 // Converts the given string to it's ASCII-lowercase equivalent. 108 BASE_EXPORT std::string ToLowerASCII(StringPiece str); 111 // Converts the given string to it's ASCII-uppercase equivalent. 112 BASE_EXPORT std::string ToUpperASCII(StringPiece str) [all...] |
| /external/libtextclassifier/ |
| text-classifier.h | 24 #include <string> 42 std::string locales; 54 std::string reference_timezone; 58 std::string locales; 70 std::string reference_timezone; 74 std::string locales; 121 const std::string& path, const UniLib* unilib = nullptr); 135 const std::string& context, CodepointSpan click_indices, 138 // Classifies the selected text given the context string. 141 const std::string& context, CodepointSpan selection_indices [all...] |
| /external/tensorflow/tensorflow/core/lib/io/ |
| zlib_buffers_test.cc | 34 static string GetRecord() { 35 static const string lorem_ipsum = 51 static string GenTestString(int copies = 1) { 52 string result = ""; 64 string fname = testing::TmpDir() + "/zlib_buffers_test"; 67 string data = GenTestString(file_size); 72 string result; 115 string fname = testing::TmpDir() + "/zlib_buffers_test"; 116 string data = GenTestString(); 118 string actual_result [all...] |
| /frameworks/base/tools/aapt2/util/ |
| Files.cpp | 25 #include <string> 50 FileType GetFileType(const std::string& path) { 69 FileType GetFileType(const std::string& path) { 104 bool mkdirs(const std::string& path) { 109 while ((current_pos = path.find(sDirSep, current_pos)) != std::string::npos) { 110 std::string parent_path = path.substr(0, current_pos); 152 void AppendPath(std::string* base, StringPiece part) { 166 std::string PackageToPath(const StringPiece& package) { 167 std::string out_path; 174 Maybe<FileMap> MmapPath(const std::string& path, std::string* out_error) [all...] |