/frameworks/rs/script_api/ |
D | GenerateStubsWhiteList.cpp | 99 list<string> tokens{istream_iterator<string>{stream}, istream_iterator<string>{}}; in expandTypedefs() local 101 for (auto i = tokens.begin(); i != tokens.end();) { in expandTypedefs() 134 tokens.insert(i, newTokens.begin(), newTokens.end()); in expandTypedefs() 135 tokens.erase(i); in expandTypedefs() 139 return tokens; in expandTypedefs() 143 static bool eatFront(list<string>* tokens, const char* prefix) { in eatFront() argument 144 if (tokens->front() == prefix) { in eatFront() 145 tokens->pop_front(); in eatFront() 155 static const char* findManglingOfBuiltInType(list<string>* tokens) { in findManglingOfBuiltInType() argument 157 auto t = tokens->begin(); in findManglingOfBuiltInType() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pProvDiscEvent.java | 58 String[] tokens = string.split(" "); in WifiP2pProvDiscEvent() local 60 if (tokens.length < 2) { in WifiP2pProvDiscEvent() 64 if (tokens[0].endsWith("PBC-REQ")) event = PBC_REQ; in WifiP2pProvDiscEvent() 65 else if (tokens[0].endsWith("PBC-RESP")) event = PBC_RSP; in WifiP2pProvDiscEvent() 66 else if (tokens[0].endsWith("ENTER-PIN")) event = ENTER_PIN; in WifiP2pProvDiscEvent() 67 else if (tokens[0].endsWith("SHOW-PIN")) event = SHOW_PIN; in WifiP2pProvDiscEvent() 72 device.deviceAddress = tokens[1]; in WifiP2pProvDiscEvent() 75 pin = tokens[2]; in WifiP2pProvDiscEvent()
|
D | WifiP2pConfig.java | 70 String[] tokens = supplicantEvent.split(" "); in WifiP2pConfig() local 72 if (tokens.length < 2 || !tokens[0].equals("P2P-GO-NEG-REQUEST")) { in WifiP2pConfig() 76 deviceAddress = tokens[1]; in WifiP2pConfig() 79 if (tokens.length > 2) { in WifiP2pConfig() 80 String[] nameVal = tokens[2].split("="); in WifiP2pConfig()
|
D | WifiP2pGroup.java | 100 String[] tokens = supplicantEvent.split(" "); in WifiP2pGroup() local 102 if (tokens.length < 3) { in WifiP2pGroup() 106 if (tokens[0].startsWith("P2P-GROUP")) { in WifiP2pGroup() 107 mInterface = tokens[1]; in WifiP2pGroup() 108 mIsGroupOwner = tokens[2].equals("GO"); in WifiP2pGroup() 126 } else if (tokens[0].equals("P2P-INVITATION-RECEIVED")) { in WifiP2pGroup() 129 for (String token : tokens) { in WifiP2pGroup()
|
D | WifiP2pDevice.java | 181 String[] tokens = string.split("[ \n]"); in WifiP2pDevice() local 184 if (tokens.length < 1) { in WifiP2pDevice() 188 switch (tokens.length) { in WifiP2pDevice() 228 if (tokens[0].startsWith("P2P-DEVICE-FOUND")) { in WifiP2pDevice()
|
/frameworks/ex/common/java/com/android/common/ |
D | Rfc822Validator.java | 97 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(text); in isValid() local 98 return tokens.length == 1 && in isValid() 100 matcher(tokens[0].getAddress()).matches(); in isValid() 154 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(cs); in fixText() 157 for (int i = 0; i < tokens.length; i++) { in fixText() 158 String text = tokens[i].getAddress(); in fixText() 167 tokens[i].setAddress(removeIllegalCharacters(text) + "@" + mDomain); in fixText() 180 tokens[i].setAddress(fix + "@" + (!emptyDomain ? domain : mDomain)); in fixText() 184 sb.append(tokens[i].toString()); in fixText() 185 if (i + 1 < tokens.length) { in fixText()
|
/frameworks/native/opengl/tools/glgen/src/ |
D | CFunc.java | 120 String[] tokens = s.split("\\s"); in parseCFunc() local 124 String ftypeName = tokens[i++]; in parseCFunc() 127 ftypeName = tokens[i++]; in parseCFunc() 131 String fname = tokens[i++]; in parseCFunc() 134 fname = tokens[i++]; in parseCFunc() 140 while (i < tokens.length) { in parseCFunc() 141 String tok = tokens[i++]; in parseCFunc() 144 tok = tokens[i++]; in parseCFunc() 160 argTypeName = tokens[i++]; in parseCFunc() 164 argName = tokens[i++]; in parseCFunc()
|
D | ParameterChecker.java | 40 String[] tokens = s.split("\\s"); in ParameterChecker() local 41 map.put(tokens[0], tokens); in ParameterChecker()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Watermark.java | 56 Watermark(Display display, DisplayMetrics dm, SurfaceSession session, String[] tokens) { in Watermark() argument 59 for (int i=0; i<tokens.length; i++) { in Watermark() 60 Log.i(TAG_WM, " TOKEN #" + i + ": " + tokens[i]); in Watermark() 65 mTokens = tokens; in Watermark() 86 int fontSize = WindowManagerService.getPropertyInt(tokens, 1, in Watermark() 97 mDeltaX = WindowManagerService.getPropertyInt(tokens, 2, in Watermark() 99 mDeltaY = WindowManagerService.getPropertyInt(tokens, 3, in Watermark() 101 int shadowColor = WindowManagerService.getPropertyInt(tokens, 4, in Watermark() 103 int color = WindowManagerService.getPropertyInt(tokens, 5, in Watermark() 105 int shadowRadius = WindowManagerService.getPropertyInt(tokens, 6, in Watermark() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TokenBucket.java | 53 public TokenBucket(int deltaMs, int capacity, int tokens) { in TokenBucket() argument 56 mAvailable = Math.min(checkArgumentNonnegative(tokens), mCapacity); in TokenBucket() 71 public void reset(int tokens) { in reset() argument 72 checkArgumentNonnegative(tokens); in reset() 73 mAvailable = Math.min(tokens, mCapacity); in reset()
|
/frameworks/native/opengl/libagl/ |
D | TokenManager.cpp | 35 status_t TokenManager::getToken(GLsizei n, GLuint *tokens) in getToken() argument 39 *tokens++ = mTokenizer.acquire(); in getToken() 43 void TokenManager::recycleTokens(GLsizei n, const GLuint *tokens) in recycleTokens() argument 47 const GLuint token = *tokens++; in recycleTokens()
|
D | TokenManager.h | 40 status_t getToken(GLsizei n, GLuint *tokens); 41 void recycleTokens(GLsizei n, const GLuint *tokens);
|
/frameworks/rs/tests/lldb/tests/harness/ |
D | RS_funs.py | 1386 tokens = re.findall(r"[^(),;]+", line) 1387 assert len(tokens) > 0 1388 ret_name = tokens[0].split() 1394 for tok in tokens[1:]:
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageUsage.java | 124 String[] tokens = line.split(" "); in readVersion0LP() local 125 if (tokens.length != 2) { in readVersion0LP() 130 String packageName = tokens[0]; in readVersion0LP() 136 long timestamp = parseAsLong(tokens[1]); in readVersion0LP() 151 String[] tokens = line.split(" "); in readVersion1LP() local 152 if (tokens.length != PackageManager.NOTIFY_PACKAGE_USE_REASONS_COUNT + 1) { in readVersion1LP() 156 String packageName = tokens[0]; in readVersion1LP() 165 pkg.mLastPackageUsageTimeInMills[reason] = parseAsLong(tokens[reason + 1]); in readVersion1LP()
|
/frameworks/base/core/java/android/content/ |
D | UriMatcher.java | 166 String[] tokens = null; in addURI() local 173 tokens = newPath.split("/"); in addURI() 176 int numTokens = tokens != null ? tokens.length : 0; in addURI() 179 String token = i < 0 ? authority : tokens[i]; in addURI()
|
/frameworks/base/core/java/com/google/android/util/ |
D | AbstractMessageParser.java | 73 private ArrayList<Token> tokens; field in AbstractMessageParser 105 this.tokens = new ArrayList<Token>(); in AbstractMessageParser() 165 for (int i = 0; i < tokens.size(); ++i) { in parse() 166 if (tokens.get(i).isMedia()) { in parse() 167 if ((i > 0) && (tokens.get(i - 1) instanceof Html)) { in parse() 168 ((Html)tokens.get(i - 1)).trimLeadingWhitespace(); in parse() 170 if ((i + 1 < tokens.size()) && (tokens.get(i + 1) instanceof Html)) { in parse() 171 ((Html)tokens.get(i + 1)).trimTrailingWhitespace(); in parse() 177 for (int i = 0; i < tokens.size(); ++i) { in parse() 178 if (tokens.get(i).isHtml() && in parse() [all …]
|
D | SmileyParser.java | 64 ArrayList<Token> tokens = part.getTokens(); in getSpannableString() local 65 int len = tokens.size(); in getSpannableString() 67 Token token = tokens.get(i); in getSpannableString()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 247 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize("Foo Bar (something) <foo@google.com>"); in testRfc822TokenizerFullAddress() local 248 assertNotNull(tokens); in testRfc822TokenizerFullAddress() 249 assertEquals(1, tokens.length); in testRfc822TokenizerFullAddress() 250 assertEquals("foo@google.com", tokens[0].getAddress()); in testRfc822TokenizerFullAddress() 251 assertEquals("Foo Bar", tokens[0].getName()); in testRfc822TokenizerFullAddress() 252 assertEquals("something",tokens[0].getComment()); in testRfc822TokenizerFullAddress() 257 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize("\"Foo Bar\\"); in testRfc822TokenizeItemWithError() local 258 assertNotNull(tokens); in testRfc822TokenizeItemWithError() 259 assertEquals(1, tokens.length); in testRfc822TokenizeItemWithError() 260 assertEquals("Foo Bar", tokens[0].getAddress()); in testRfc822TokenizeItemWithError()
|
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/view/inputmethod/ |
D | CommitContentSupport.java | 242 final ArrayList<String> tokens = new ArrayList<>(); in flagsToString() local 244 tokens.add("INPUT_CONTENT_GRANT_READ_URI_PERMISSION"); in flagsToString() 248 tokens.add("0x" + Integer.toHexString(flags)); in flagsToString() 250 return TextUtils.join(" | ", tokens); in flagsToString()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
D | HTTPRequest.java | 75 String[] tokens = authRequestLine.split("[ ,]+"); in generateAuthAnswer() local 77 if (tokens.length < 3 || !tokens[0].equalsIgnoreCase("digest")) { in generateAuthAnswer() 82 for (int n = 1; n < tokens.length; n++) { in generateAuthAnswer() 83 String s = tokens[n]; in generateAuthAnswer()
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | JsonAssetLoader.cpp | 146 Vector<String8>* tokens) { in parseJsonObject() argument 169 tokens->clear(); in parseJsonObject() 178 tokens->add(token); in parseJsonObject()
|
D | JsonAssetLoader.h | 51 const String8& jsonObject, Vector<String8>* tokens);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | JsonWebKey.cpp | 184 Vector<String8>* tokens) { in parseJsonObject() argument 207 tokens->clear(); in parseJsonObject() 215 tokens->add(token); in parseJsonObject()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | EditorState.java | 80 final String[] tokens = string.split(" +"); in setByString() local 81 for (String token : tokens) { in setByString()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEntry.java | 160 final Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(address); in constructFakeEntry() local 161 final String tokenizedAddress = tokens.length > 0 ? tokens[0].getAddress() : address; in constructFakeEntry()
|