| /test/vts/drivers/shell/ |
| ShellDriverTest.cpp | 25 #include <string.h> 49 static string vts_shell_driver_test_client_start(const string& command, 50 const string& socket_address) { 110 string out_str = out_msg.stdout(i); 125 static string test_shell_command_output(const string& command, 126 const string& socket_address) { 128 string res_client; 166 string expected = "Linux\n" [all...] |
| /packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
| FallbackSource.java | 62 this.titleRes = R.string.account_phone; 109 R.string.nameLabelsGroup, -1, -1, true)); 117 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix, 120 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, R.string.name_family, 122 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME, R.string.name_middle, 124 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, R.string.name_given, 126 kind.fieldList.add(new EditField(StructuredName.SUFFIX, R.string.name_suffix, 129 R.string.name_phonetic_family, FLAGS_PHONETIC).setOptional(true)); 131 R.string.name_phonetic_middle, FLAGS_PHONETIC).setOptional(true)); 133 R.string.name_phonetic_given, FLAGS_PHONETIC).setOptional(true)) [all...] |
| /art/cmdline/ |
| token_range.h | 23 #include <string> 38 // Short-hand for a vector of strings. A single string and a token is synonymous. 39 using TokenList = std::vector<std::string>; 113 // Create a token range by splitting a string. Each separator gets their own token. 116 static TokenRange Split(const std::string& string, std::initializer_list<char> separators) { 119 std::string tok; 120 for (auto&& c : string) { 130 new_token_list.push_back(std::string() + sep); 166 const std::string& GetToken(size_t offset) const [all...] |
| /external/libbrillo/brillo/http/ |
| http_transport_fake.cc | 36 const std::string& url, 37 const std::string& method, 39 const std::string& user_agent, 40 const std::string& referer, 107 static inline std::string GetHandlerMapKey(const std::string& url, 108 const std::string& method) { 112 void Transport::AddHandler(const std::string& url, 113 const std::string& method, 119 void Transport::AddSimpleReplyHandler(const std::string& url [all...] |
| http_request.h | 11 #include <string> 219 Request(const std::string& url, 220 const std::string& method, 225 void SetAccept(const std::string& accept_mime_types); 226 const std::string& GetAccept() const; 229 void SetContentType(const std::string& content_type); 230 const std::string& GetContentType() const; 233 void AddHeader(const std::string& header, const std::string& value); 237 void RemoveHeader(const std::string& header) [all...] |
| /frameworks/rs/script_api/ |
| GenerateStubsWhiteList.cpp | 60 * preprocessor. Returns empty string if there's no substitution. 62 static string findSubstitute(const string& typeName, unsigned int apiLevel, int intSize) { 96 list<string> expandTypedefs(const string type, unsigned int apiLevel, int intSize, string& vectorSize) { 97 // Split the string in tokens. 99 list<string> tokens{istream_iterator<string>{stream}, istream_iterator<string>{}}; [all...] |
| /prebuilts/go/darwin-x86/src/os/user/ |
| user.go | 21 // On Windows, this is a security identifier (SID) in a string format. 23 Uid string 26 // On Windows, this is a SID in a string format. 28 Gid string 30 Username string 37 Name string 39 HomeDir string 46 Gid string // group ID 47 Name string // group name 53 func (e UnknownUserIdError) Error() string { [all...] |
| /prebuilts/go/linux-x86/src/os/user/ |
| user.go | 21 // On Windows, this is a security identifier (SID) in a string format. 23 Uid string 26 // On Windows, this is a SID in a string format. 28 Gid string 30 Username string 37 Name string 39 HomeDir string 46 Gid string // group ID 47 Name string // group name 53 func (e UnknownUserIdError) Error() string { [all...] |
| /art/oatdump/ |
| oatdump_test.h | 21 #include <string> 56 std::string GetScratchDir() { 59 std::string dir = getenv("ANDROID_DATA"); 74 std::string GetExecutableFilePath(const char* name, bool is_debug, bool is_static) { 75 std::string root = GetTestAndroidRoot(); 87 std::string GetExecutableFilePath(Flavor flavor, const char* name) { 104 std::string GetAppBaseName() { 110 std::string GetAppOdexName() { 115 const std::vector<std::string>& args, 116 /*out*/ std::string* error_msg) [all...] |
| /external/eigen/scripts/ |
| eigen_gen_credits.cpp | 1 #include <string> 13 std::string contributor_name(const std::string& line) 15 string result; 19 if(line.find("markb@localhost.localdomain") != string::npos) 24 if(line.find("kayhman@contact.intra.cea.fr") != string::npos) 36 if(position_of_email_address != string::npos) 41 if(line.find("hauke.heibel") != string::npos) 53 if(line.find("convert-repo") != string::npos) 67 map<string,int> contributors_map_from_churn_output(const char *filename [all...] |
| /external/protobuf/src/google/protobuf/compiler/js/ |
| js_generator.h | 34 #include <string> 60 string output_dir; 62 string namespace_prefix; 65 string library; 89 const vector< pair< string, string > >& options, 90 string* error); 99 const string& parameter, 101 string* error) const { 109 const string& parameter [all...] |
| /external/protobuf/src/google/protobuf/ |
| descriptor.h | 62 #include <string> 144 string leading_comments; 145 string trailing_comments; 146 vector<string> leading_detached_comments; 157 // If true, elide the braced body in the debug string. 175 const string& name() const; 182 const string& full_name() const; 209 string DebugString() const; 213 string DebugStringWithOptions(const DebugStringOptions& options) const; 232 const FieldDescriptor* FindFieldByName(const string& name) const [all...] |
| /external/swiftshader/src/Common/ |
| Configurator.cpp | 32 Configurator::Configurator(string iniPath) 55 string line; 56 string keyName; 74 string::size_type pLeft = line.find_first_of(";#[="); 76 if(pLeft != string::npos) 82 string::size_type pRight = line.find_last_of("]"); 84 if(pRight != string::npos && pRight > pLeft) 93 string valueName = line.substr(0, pLeft); 94 string value = line.substr(pLeft + 1); 117 void Configurator::writeFile(std::string title [all...] |
| /frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
| JsonWebKey.cpp | 25 const std::string kKeysTag("keys"); 26 const std::string kKeyTypeTag("kty"); 27 const std::string kSymmetricKeyValue("oct"); 28 const std::string kKeyTag("k"); 29 const std::string kKeyIdTag("kid"); 30 const std::string kBase64Padding("="); 46 * Parses a JSON Web Key Set string, initializes a KeyMap with key id:key 52 bool JsonWebKey::extractKeysFromJsonWebKeySet(const std::string& jsonWebKeySet, 69 std::string encodedKey, encodedKeyId; 103 bool JsonWebKey::decodeBase64String(const std::string& encodedText [all...] |
| /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/compiler/js/ |
| js_generator.h | 34 #include <string> 60 string output_dir; 62 string namespace_prefix; 65 string library; 89 const vector< pair< string, string > >& options, 90 string* error); 99 const string& parameter, 101 string* error) const { 109 const string& parameter [all...] |
| /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
| descriptor.h | 62 #include <string> 144 string leading_comments; 145 string trailing_comments; 146 vector<string> leading_detached_comments; 157 // If true, elide the braced body in the debug string. 175 const string& name() const; 182 const string& full_name() const; 209 string DebugString() const; 213 string DebugStringWithOptions(const DebugStringOptions& options) const; 232 const FieldDescriptor* FindFieldByName(const string& name) const [all...] |
| /system/core/fastboot/ |
| tcp_test.cpp | 40 std::string error; 50 std::string error; 59 std::string error; 61 EXPECT_NE(std::string::npos, error.find("Failed to send initialization message")); 69 std::string error; 71 EXPECT_NE(std::string::npos, error.find("No initialization message received")); 79 std::string error; 81 EXPECT_NE(std::string::npos, error.find("Unrecognized initialization message")); 89 std::string error; 102 std::string error [all...] |
| /system/netd/server/ |
| InterfaceControllerTest.cpp | 60 MOCK_CONST_METHOD2(get, std::string(const std::string& key, const std::string& dflt)); 61 MOCK_CONST_METHOD2(set, Status(const std::string& key, const std::string& val)); 68 void expectOpenFile(const std::string& path, const Fd fd, int err) { 78 void expectReadFromDevRandom(const std::string& data) { 86 void expectGetPropertyDefault(const std::string& key) { 88 .WillOnce(Invoke([](const std::string&, const std::string& dflt) { return dflt; })) [all...] |
| /external/boringssl/src/fipstools/ |
| run_cavp.go | 21 oraclePath = flag.String("oracle-bin", "", "Path to the oracle binary") 22 suiteDir = flag.String("suite-dir", "", "Base directory containing the CAVP test suite") 38 inFile string 41 args []string 57 directory string 59 suite string 65 nextLineFunc func(*bufio.Scanner, *nextLineState) (line string, isWildcard, ok bool) 69 func (t *testSuite) getDirectory() string { 78 {"gcmDecrypt128", []string{"dec", "aes-128-gcm"}, false}, 79 {"gcmDecrypt256", []string{"dec", "aes-256-gcm"}, false} [all...] |
| /bionic/linker/ |
| linker_config.cpp | 44 #include <string> 60 explicit ConfigParser(std::string&& content) 71 int next_token(std::string* name, std::string* value, std::string* error_msg) { 72 std::string line; 88 if (found_assign != std::string::npos && found_append == std::string::npos) { 94 if (found_append != std::string::npos) { 100 *error_msg = std::string("invalid format: ") [all...] |
| /build/soong/cc/config/ |
| x86_linux_host.go | 24 linuxCflags = []string{ 41 linuxLdflags = []string{ 49 linuxX86Cflags = []string{ 58 linuxX8664Cflags = []string{ 62 linuxX86Ldflags = []string{ 66 linuxX8664Ldflags = []string{ 70 linuxClangCflags = append(ClangFilterUnknownCflags(linuxCflags), []string{ 76 linuxClangLdflags = append(ClangFilterUnknownCflags(linuxLdflags), []string{ 81 linuxX86ClangLdflags = append(ClangFilterUnknownCflags(linuxX86Ldflags), []string{ 87 linuxX8664ClangLdflags = append(ClangFilterUnknownCflags(linuxX8664Ldflags), []string{ [all...] |
| /frameworks/av/services/camera/libcameraservice/common/ |
| CameraProviderManager.h | 22 #include <string> 75 const std::string &serviceName, 79 const std::string &serviceName) = 0; 87 const std::string &serviceName, 94 const std::string &serviceName) override { 128 std::vector<std::string> getCameraDeviceIds() const; 136 std::vector<std::string> getAPI1CompatibleCameraDeviceIds() const; 141 bool isValidDevice(const std::string &id, uint16_t majorVersion) const; 147 bool hasFlashUnit(const std::string &id) const; 152 status_t getResourceCost(const std::string &id [all...] |
| /system/tpm/trunks/ |
| tpm_generated_test.cc | 54 std::string buffer; 60 std::string buffer_before = buffer; 61 std::string buffer_parsed; 74 std::string tmp; 81 std::string malformed1 = "\x10\x00"; 82 malformed1 += std::string(0x1000, 'A'); 87 std::string malformed2 = "\x00\x01"; 94 std::string expected_command( 100 std::string command_response( 117 std::string expected_command [all...] |
| /external/flatbuffers/src/ |
| idl_gen_go.cpp | 19 #include <string> 38 static std::string GeneratedFileName(const std::string &path, 39 const std::string &file_name) { 52 static std::string GenGetter(const Type &type); 53 static std::string GenMethod(const FieldDef &field); 55 std::string *code_ptr); 56 static void GenReceiver(const StructDef &struct_def, std::string *code_ptr); 57 static std::string GenTypeBasic(const Type &type); 58 static std::string GenTypeGet(const Type &type) [all...] |
| /art/runtime/base/ |
| file_utils.cc | 67 bool ReadFileToString(const std::string& file_name, std::string* result) { 86 bool PrintFileToLog(const std::string& file_name, android::base::LogSeverity level) { 139 std::string GetAndroidRootSafe(std::string* error_msg) { 161 std::string tmp = dir2; // Make a copy here so that fname can be released. 176 std::string GetAndroidRoot() { 177 std::string error_msg; 178 std::string ret = GetAndroidRootSafe(&error_msg); 189 std::string* error_msg) [all...] |