/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pProvDiscEvent.java | 62 String[] tokens = string.split(" "); in WifiP2pProvDiscEvent() local 64 if (tokens.length < 2) { in WifiP2pProvDiscEvent() 68 if (tokens[0].endsWith("PBC-REQ")) event = PBC_REQ; in WifiP2pProvDiscEvent() 69 else if (tokens[0].endsWith("PBC-RESP")) event = PBC_RSP; in WifiP2pProvDiscEvent() 70 else if (tokens[0].endsWith("ENTER-PIN")) event = ENTER_PIN; in WifiP2pProvDiscEvent() 71 else if (tokens[0].endsWith("SHOW-PIN")) event = SHOW_PIN; in WifiP2pProvDiscEvent() 76 device.deviceAddress = tokens[1]; in WifiP2pProvDiscEvent() 79 pin = tokens[2]; in WifiP2pProvDiscEvent()
|
D | WifiP2pConfig.java | 69 String[] tokens = supplicantEvent.split(" "); in WifiP2pConfig() local 71 if (tokens.length < 2 || !tokens[0].equals("P2P-GO-NEG-REQUEST")) { in WifiP2pConfig() 75 deviceAddress = tokens[1]; in WifiP2pConfig() 78 if (tokens.length > 2) { in WifiP2pConfig() 79 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 | 172 String[] tokens = string.split("[ \n]"); in WifiP2pDevice() local 175 if (tokens.length < 1) { in WifiP2pDevice() 179 switch (tokens.length) { in WifiP2pDevice() 219 if (tokens[0].startsWith("P2P-DEVICE-FOUND")) { in WifiP2pDevice()
|
/frameworks/ex/common/java/com/android/common/ |
D | Rfc822Validator.java | 66 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(text); in isValid() local 68 return tokens.length == 1 && in isValid() 70 matcher(tokens[0].getAddress()).matches(); in isValid() 124 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(cs); in fixText() 127 for (int i = 0; i < tokens.length; i++) { in fixText() 128 String text = tokens[i].getAddress(); in fixText() 137 tokens[i].setAddress(removeIllegalCharacters(text) + "@" + mDomain); in fixText() 150 tokens[i].setAddress(fix + "@" + (!emptyDomain ? domain : mDomain)); in fixText() 154 sb.append(tokens[i].toString()); in fixText() 155 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() 157 argTypeName = tokens[i++]; in parseCFunc() 165 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/java/com/android/server/wm/ |
D | Watermark.java | 54 Watermark(Display display, DisplayMetrics dm, SurfaceSession session, String[] tokens) { in Watermark() argument 57 for (int i=0; i<tokens.length; i++) { in Watermark() 58 Log.i(WindowManagerService.TAG, " TOKEN #" + i + ": " + tokens[i]); in Watermark() 63 mTokens = tokens; in Watermark() 84 int fontSize = WindowManagerService.getPropertyInt(tokens, 1, in Watermark() 95 mDeltaX = WindowManagerService.getPropertyInt(tokens, 2, in Watermark() 97 mDeltaY = WindowManagerService.getPropertyInt(tokens, 3, in Watermark() 99 int shadowColor = WindowManagerService.getPropertyInt(tokens, 4, in Watermark() 101 int color = WindowManagerService.getPropertyInt(tokens, 5, in Watermark() 103 int shadowRadius = WindowManagerService.getPropertyInt(tokens, 6, in Watermark() [all …]
|
D | TaskGroup.java | 25 public ArrayList<IApplicationToken> tokens = new ArrayList<IApplicationToken>(); field in TaskGroup 29 return "id=" + taskId + " tokens=" + tokens; in toString()
|
D | WindowAnimator.java | 158 final AppTokenList tokens = tasks.get(taskNdx).mAppTokens; in updateAppWindowsLocked() local 159 final int numTokens = tokens.size(); in updateAppWindowsLocked() 161 final AppWindowAnimator appAnimator = tokens.get(tokenNdx).mAppAnimator; in updateAppWindowsLocked() 414 final AppTokenList tokens = tasks.get(taskNdx).mAppTokens; in testTokenMayBeDrawnLocked() local 415 final int numTokens = tokens.size(); in testTokenMayBeDrawnLocked() 417 final AppWindowToken wtoken = tokens.get(tokenNdx); in testTokenMayBeDrawnLocked()
|
/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);
|
D | TextureObjectManager.h | 99 void deleteTextures(GLsizei n, const GLuint *tokens);
|
D | TextureObjectManager.cpp | 303 void EGLSurfaceManager::deleteTextures(GLsizei n, const GLuint *tokens) in deleteTextures() argument 308 const GLuint t(*tokens++); in deleteTextures()
|
/frameworks/base/core/java/android/net/ |
D | SamplingDataTracker.java | 65 String[] tokens = line.split("[ ]+"); in getSamplingSnapshots() local 66 if (tokens.length < 17) { in getSamplingSnapshots() 75 String currentIface = tokens[0].split(":")[0]; in getSamplingSnapshots() 82 ss.mTxByteCount = Long.parseLong(tokens[1]); in getSamplingSnapshots() 83 ss.mTxPacketCount = Long.parseLong(tokens[2]); in getSamplingSnapshots() 84 ss.mTxPacketErrorCount = Long.parseLong(tokens[3]); in getSamplingSnapshots() 85 ss.mRxByteCount = Long.parseLong(tokens[9]); in getSamplingSnapshots() 86 ss.mRxPacketCount = Long.parseLong(tokens[10]); in getSamplingSnapshots() 87 ss.mRxPacketErrorCount = Long.parseLong(tokens[11]); in getSamplingSnapshots()
|
/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/java/android/content/ |
D | UriMatcher.java | 167 String[] tokens = null; in addURI() local 174 tokens = PATH_SPLIT_PATTERN.split(newPath); in addURI() 177 int numTokens = tokens != null ? tokens.length : 0; in addURI() 180 String token = i < 0 ? authority : tokens[i]; in addURI()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiNative.java | 258 String[] tokens = ret.split(" = "); in getMacAddress() local 259 if (tokens.length == 2) return tokens[1]; in getMacAddress() 400 String[] tokens = ret.split(" "); in getBand() local 402 if (tokens.length == 2) return Integer.parseInt(tokens[1]); in getBand() 833 String[] tokens = status.split("\n"); in p2pGetDeviceAddress() 834 for (String token : tokens) { in p2pGetDeviceAddress() 850 String[] tokens = peerInfo.split("\n"); in getGroupCapability() 851 for (String token : tokens) { in getGroupCapability() 874 String[] tokens= peerInfo.split("\n"); in p2pGetParam() 877 for (String token : tokens) { in p2pGetParam()
|
D | WifiMonitor.java | 754 String[] tokens = dataString.split(" "); in p2pError() local 755 if (tokens.length < 2) return err; in p2pError() 756 String[] nameValue = tokens[1].split("="); in p2pError() 829 String[] tokens = dataString.split(" "); in handleHostApEvents() local 831 if (tokens[0].equals(AP_STA_CONNECTED_STR)) { in handleHostApEvents() 834 } else if (tokens[0].equals(AP_STA_DISCONNECTED_STR)) { in handleHostApEvents()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 235 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize("Foo Bar (something) <foo@google.com>"); in testRfc822TokenizerFullAddress() local 236 assertNotNull(tokens); in testRfc822TokenizerFullAddress() 237 assertEquals(1, tokens.length); in testRfc822TokenizerFullAddress() 238 assertEquals("foo@google.com", tokens[0].getAddress()); in testRfc822TokenizerFullAddress() 239 assertEquals("Foo Bar", tokens[0].getName()); in testRfc822TokenizerFullAddress() 240 assertEquals("something",tokens[0].getComment()); in testRfc822TokenizerFullAddress() 245 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize("\"Foo Bar\\"); in testRfc822TokenizeItemWithError() local 246 assertNotNull(tokens); in testRfc822TokenizeItemWithError() 247 assertEquals(1, tokens.length); in testRfc822TokenizeItemWithError() 248 assertEquals("Foo Bar", tokens[0].getAddress()); in testRfc822TokenizeItemWithError()
|
/frameworks/volley/src/com/android/volley/toolbox/ |
D | HttpHeaderParser.java | 61 String[] tokens = headerValue.split(","); in parseCacheHeaders() local 62 for (int i = 0; i < tokens.length; i++) { in parseCacheHeaders() 63 String token = tokens[i].trim(); in parseCacheHeaders()
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | RecipientEntry.java | 115 final Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(address); in constructFakeEntry() local 116 final String tokenizedAddress = tokens.length > 0 ? tokens[0].getAddress() : address; in constructFakeEntry()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccProvider.java | 203 String[] tokens = where.split("AND"); in delete() local 204 int n = tokens.length; in delete() 207 String param = tokens[n]; in delete()
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | DataUsageStatUpdater.java | 86 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(text.toString().trim()); in updateWithRfc822Address() local 87 for (Rfc822Token token : tokens) { in updateWithRfc822Address()
|