/frameworks/av/services/mediametrics/ |
D | StringUtils.cpp | 25 std::string tokenizer(std::string::const_iterator& it, in tokenizer() function 45 auto flag = tokenizer(it, flags.end(), delim); in split() 50 auto token = tokenizer(it, flags.end(), delim); in split() 64 auto token = tokenizer(it, devices.end(), delim); in getDeviceAddressPairs() 67 auto device = tokenizer(it, devices.end(), delim); in getDeviceAddressPairs() 70 token = tokenizer(it, devices.end(), delim); in getDeviceAddressPairs() 74 auto address = tokenizer(it, devices.end(), delim); in getDeviceAddressPairs() 79 token = tokenizer(it, devices.end(), delim); in getDeviceAddressPairs() 85 token = tokenizer(it, devices.end(), delim); in getDeviceAddressPairs()
|
D | StringUtils.h | 53 std::string tokenizer(std::string::const_iterator& it,
|
/frameworks/base/tools/aapt2/util/ |
D | Util_test.cpp | 56 auto tokenizer = util::Tokenize(StringPiece("this| is|the|end"), '|'); in TEST() local 57 auto iter = tokenizer.begin(); in TEST() 66 ASSERT_THAT(iter, Eq(tokenizer.end())); in TEST() 70 auto tokenizer = util::Tokenize(StringPiece(""), '|'); in TEST() local 71 auto iter = tokenizer.begin(); in TEST() 72 ASSERT_THAT(iter, Ne(tokenizer.end())); in TEST() 75 ASSERT_THAT(iter, Eq(tokenizer.end())); in TEST() 79 auto tokenizer = util::Tokenize(StringPiece("one."), '.'); in TEST() local 80 auto iter = tokenizer.begin(); in TEST() 83 ASSERT_THAT(iter, Ne(tokenizer.end())); in TEST()
|
/frameworks/native/libs/input/ |
D | PropertyMap.cpp | 118 std::unique_ptr<Tokenizer> tokenizer(rawTokenizer); in load() local 125 Parser parser(outMap.get(), tokenizer.get()); in load() 130 tokenizer->getFilename().string(), tokenizer->getLineNumber(), in load() 142 PropertyMap::Parser::Parser(PropertyMap* map, Tokenizer* tokenizer) in Parser() argument 143 : mMap(map), mTokenizer(tokenizer) {} in Parser()
|
D | VirtualKeyMap.cpp | 52 std::unique_ptr<Tokenizer> tokenizer(t); in load() local 60 Parser parser(map.get(), tokenizer.get()); in load() 72 VirtualKeyMap::Parser::Parser(VirtualKeyMap* map, Tokenizer* tokenizer) : in Parser() argument 73 mMap(map), mTokenizer(tokenizer) { in Parser()
|
D | KeyLayoutMap.cpp | 75 Tokenizer* tokenizer; in loadContents() local 76 status_t status = Tokenizer::fromContents(String8(filename.c_str()), contents, &tokenizer); in loadContents() 81 std::unique_ptr<Tokenizer> t(tokenizer); in loadContents() 90 Tokenizer* tokenizer; in load() local 91 status_t status = Tokenizer::open(String8(filename.c_str()), &tokenizer); in load() 96 std::unique_ptr<Tokenizer> t(tokenizer); in load() 104 base::Result<std::shared_ptr<KeyLayoutMap>> KeyLayoutMap::load(Tokenizer* tokenizer) { in load() argument 114 Parser parser(map.get(), tokenizer); in load() 119 tokenizer->getFilename().string(), tokenizer->getLineNumber(), in load() 254 KeyLayoutMap::Parser::Parser(KeyLayoutMap* map, Tokenizer* tokenizer) : in Parser() argument [all …]
|
D | KeyCharacterMap.cpp | 150 Tokenizer* tokenizer; in load() local 151 status_t status = Tokenizer::open(String8(filename.c_str()), &tokenizer); in load() 155 std::unique_ptr<Tokenizer> t(tokenizer); in load() 165 Tokenizer* tokenizer; in loadContents() local 166 status_t status = Tokenizer::fromContents(String8(filename.c_str()), contents, &tokenizer); in loadContents() 171 std::unique_ptr<Tokenizer> t(tokenizer); in loadContents() 179 base::Result<std::shared_ptr<KeyCharacterMap>> KeyCharacterMap::load(Tokenizer* tokenizer, in load() argument 190 Parser parser(map.get(), tokenizer, format); in load() 195 tokenizer->getFilename().string(), tokenizer->getLineNumber(), elapsedTime / 1000000.0); in load() 757 KeyCharacterMap::Parser::Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format) : in Parser() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | GeolocationTimeZoneSuggestion.java | 157 StringTokenizer tokenizer = new StringTokenizer(zoneIdsString, ","); in parseZoneIdsArg() local 158 while (tokenizer.hasMoreTokens()) { in parseZoneIdsArg() 159 zoneIds.add(tokenizer.nextToken()); in parseZoneIdsArg()
|
/frameworks/native/include/input/ |
D | KeyLayoutMap.h | 69 static base::Result<std::shared_ptr<KeyLayoutMap>> load(Tokenizer* tokenizer); 118 Parser(KeyLayoutMap* map, Tokenizer* tokenizer);
|
D | VirtualKeyMap.h | 65 Parser(VirtualKeyMap* map, Tokenizer* tokenizer);
|
D | KeyCharacterMap.h | 215 Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format); 246 static base::Result<std::shared_ptr<KeyCharacterMap>> load(Tokenizer* tokenizer, Format format);
|
D | PropertyMap.h | 90 Parser(PropertyMap* map, Tokenizer* tokenizer);
|
/frameworks/base/core/java/android/net/ |
D | UrlQuerySanitizer.java | 622 StringTokenizer tokenizer = new StringTokenizer(query, "&"); in parseQuery() local 623 while(tokenizer.hasMoreElements()) { in parseQuery() 624 String attributeValuePair = tokenizer.nextToken(); in parseQuery()
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDex.java | 336 StringTokenizer tokenizer = new StringTokenizer(versionString, "."); in isVMMultidexCapable() local 337 String majorToken = tokenizer.hasMoreTokens() ? tokenizer.nextToken() : null; in isVMMultidexCapable() 338 String minorToken = tokenizer.hasMoreTokens() ? tokenizer.nextToken() : null; in isVMMultidexCapable()
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 761 Tokenizer* tokenizer = nullptr; in setCategoriesEnableFromFile() local 762 if (Tokenizer::open(String8(categories_file), &tokenizer) != NO_ERROR) { in setCategoriesEnableFromFile() 766 while (!tokenizer->isEol()) { in setCategoriesEnableFromFile() 767 String8 token = tokenizer->nextToken(" "); in setCategoriesEnableFromFile() 769 tokenizer->skipDelimiters(" "); in setCategoriesEnableFromFile() 774 delete tokenizer; in setCategoriesEnableFromFile()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarVerifier.java | 399 StringTokenizer tokenizer = new StringTokenizer(apkSignatureSchemeIdList, ","); in verifyCertificate() local 400 while (tokenizer.hasMoreTokens()) { in verifyCertificate() 401 String idText = tokenizer.nextToken().trim(); in verifyCertificate()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 272 Rfc822Tokenizer tokenizer = new Rfc822Tokenizer(); in testRfc822FindToken() local 276 assertEquals(0, tokenizer.findTokenStart(address, 21)); in testRfc822FindToken() 277 assertEquals(22, tokenizer.findTokenEnd(address, 21)); in testRfc822FindToken() 278 assertEquals(24, tokenizer.findTokenStart(address, 25)); in testRfc822FindToken() 279 assertEquals(46, tokenizer.findTokenEnd(address, 25)); in testRfc822FindToken()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCameraAgentImpl.java | 1039 StringTokenizer tokenizer = new StringTokenizer(flattened, ";"); in dumpDeviceSettings() local 1041 while (tokenizer.hasMoreElements()) { in dumpDeviceSettings() 1042 dumpedSettings += tokenizer.nextToken() + '\n'; in dumpDeviceSettings()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 1560 public void setTokenizer(Tokenizer tokenizer) { in setTokenizer() argument 1561 mTokenizer = tokenizer; in setTokenizer()
|