/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() 135 tokens.splice(++i, std::move(newTokens)); in expandTypedefs() 137 i = tokens.erase(prev); in expandTypedefs() 140 return tokens; in expandTypedefs() 144 static bool eatFront(list<string>* tokens, const char* prefix) { in eatFront() argument 145 if (tokens->front() == prefix) { in eatFront() 146 tokens->pop_front(); in eatFront() 156 static const char* findManglingOfBuiltInType(list<string>* tokens) { in findManglingOfBuiltInType() argument 158 auto t = tokens->begin(); in findManglingOfBuiltInType() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pProvDiscEvent.java | 64 String[] tokens = string.split(" "); in WifiP2pProvDiscEvent() local 66 if (tokens.length < 2) { in WifiP2pProvDiscEvent() 70 if (tokens[0].endsWith("PBC-REQ")) event = PBC_REQ; in WifiP2pProvDiscEvent() 71 else if (tokens[0].endsWith("PBC-RESP")) event = PBC_RSP; in WifiP2pProvDiscEvent() 72 else if (tokens[0].endsWith("ENTER-PIN")) event = ENTER_PIN; in WifiP2pProvDiscEvent() 73 else if (tokens[0].endsWith("SHOW-PIN")) event = SHOW_PIN; in WifiP2pProvDiscEvent() 78 device.deviceAddress = tokens[1]; in WifiP2pProvDiscEvent() 81 pin = tokens[2]; in WifiP2pProvDiscEvent()
|
D | WifiP2pGroup.java | 106 String[] tokens = supplicantEvent.split(" "); in WifiP2pGroup() local 108 if (tokens.length < 3) { in WifiP2pGroup() 112 if (tokens[0].startsWith("P2P-GROUP")) { in WifiP2pGroup() 113 mInterface = tokens[1]; in WifiP2pGroup() 114 mIsGroupOwner = tokens[2].equals("GO"); in WifiP2pGroup() 133 } else if (tokens[0].equals("P2P-INVITATION-RECEIVED")) { in WifiP2pGroup() 136 for (String token : tokens) { in WifiP2pGroup()
|
D | WifiP2pConfig.java | 123 String[] tokens = supplicantEvent.split(" "); in WifiP2pConfig() local 125 if (tokens.length < 2 || !tokens[0].equals("P2P-GO-NEG-REQUEST")) { in WifiP2pConfig() 129 deviceAddress = tokens[1]; in WifiP2pConfig() 132 if (tokens.length > 2) { in WifiP2pConfig() 133 String[] nameVal = tokens[2].split("="); in WifiP2pConfig()
|
D | WifiP2pDevice.java | 188 String[] tokens = string.split("[ \n]"); in WifiP2pDevice() local 191 if (tokens.length < 1) { in WifiP2pDevice() 195 switch (tokens.length) { in WifiP2pDevice() 235 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 | 55 Watermark(DisplayContent dc, DisplayMetrics dm, String[] tokens) { in Watermark() argument 58 for (int i=0; i<tokens.length; i++) { in Watermark() 59 Log.i(TAG_WM, " TOKEN #" + i + ": " + tokens[i]); in Watermark() 64 mTokens = tokens; in Watermark() 85 int fontSize = WindowManagerService.getPropertyInt(tokens, 1, in Watermark() 96 mDeltaX = WindowManagerService.getPropertyInt(tokens, 2, in Watermark() 98 mDeltaY = WindowManagerService.getPropertyInt(tokens, 3, in Watermark() 100 int shadowColor = WindowManagerService.getPropertyInt(tokens, 4, in Watermark() 102 int color = WindowManagerService.getPropertyInt(tokens, 5, in Watermark() 104 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/com/google/android/util/ |
D | AbstractMessageParser.java | 74 private ArrayList<Token> tokens; field in AbstractMessageParser 106 this.tokens = new ArrayList<Token>(); in AbstractMessageParser() 166 for (int i = 0; i < tokens.size(); ++i) { in parse() 167 if (tokens.get(i).isMedia()) { in parse() 168 if ((i > 0) && (tokens.get(i - 1) instanceof Html)) { in parse() 169 ((Html)tokens.get(i - 1)).trimLeadingWhitespace(); in parse() 171 if ((i + 1 < tokens.size()) && (tokens.get(i + 1) instanceof Html)) { in parse() 172 ((Html)tokens.get(i + 1)).trimTrailingWhitespace(); in parse() 178 for (int i = 0; i < tokens.size(); ++i) { in parse() 179 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 = newPath.split("/"); in addURI() 177 int numTokens = tokens != null ? tokens.length : 0; in addURI() 180 String token = i < 0 ? authority : tokens[i]; in addURI()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | JsonTokenizer.cs | 71 …internal static JsonTokenizer FromReplayedTokens(IList<JsonToken> tokens, JsonTokenizer continuati… in FromReplayedTokens() argument 73 return new JsonReplayTokenizer(tokens, continuation); in FromReplayedTokens() 145 private readonly IList<JsonToken> tokens; field in Google.Protobuf.JsonTokenizer.JsonReplayTokenizer 149 internal JsonReplayTokenizer(IList<JsonToken> tokens, JsonTokenizer nextTokenizer) in JsonReplayTokenizer() argument 151 this.tokens = tokens; in JsonReplayTokenizer() 158 if (nextTokenIndex >= tokens.Count) in NextImpl() 162 return tokens[nextTokenIndex++]; in NextImpl()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetTracker.java | 304 String[] tokens = configString.split(";", /* limit of tokens */ 4); in parseEthernetConfig() local 305 String name = tokens[0]; in parseEthernetConfig() 306 String capabilities = tokens.length > 1 ? tokens[1] : null; in parseEthernetConfig() 307 String transport = tokens.length > 3 ? tokens[3] : null; in parseEthernetConfig() 313 if (tokens.length > 2 && !TextUtils.isEmpty(tokens[2])) { in parseEthernetConfig() 314 IpConfiguration ipConfig = parseStaticIpConfiguration(tokens[2]); in parseEthernetConfig()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerServiceImpl.java | 271 final ActivityTokens tokens = LocalServices.getService( in requestDirectActionsLocked() local 273 if (tokens == null || tokens.getAssistToken() != assistToken) { in requestDirectActionsLocked() 278 tokens.getApplicationThread().requestDirectActions(tokens.getActivityToken(), in requestDirectActionsLocked() 296 final ActivityTokens tokens = LocalServices.getService( in performDirectActionLocked() local 298 if (tokens == null || tokens.getAssistToken() != assistToken) { in performDirectActionLocked() 303 tokens.getApplicationThread().performDirectAction(tokens.getActivityToken(), in performDirectActionLocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataEnabledOverride.java | 85 String[] tokens = rule.trim().split("\\s*=\\s*"); in OverrideRule() local 86 if (tokens.length != 2) { in OverrideRule() 91 if (TextUtils.isEmpty(tokens[0])) { in OverrideRule() 95 mApnType = ApnSetting.getApnTypesBitmaskFromString(tokens[0]); in OverrideRule() 100 mRequiredConditions = new OverrideConditions(tokens[1]); in OverrideRule()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionManager.java | 187 List<MediaSession.Token> tokens = mService.getSessions(notificationListener, userId); in getActiveSessionsForUser() local 188 int size = tokens.size(); in getActiveSessionsForUser() 190 MediaController controller = new MediaController(mContext, tokens.get(i)); in getActiveSessionsForUser() 797 void onSession2TokensChanged(@NonNull List<Session2Token> tokens); in onSession2TokensChanged() argument 969 public void onActiveSessionsChanged(final List<MediaSession.Token> tokens) { 978 int size = tokens.size(); 980 controllers.add(new MediaController(context, tokens.get(i))); 1006 public void onSession2TokensChanged(final List<Session2Token> tokens) { 1007 mHandler.post(() -> mListener.onSession2TokensChanged(tokens));
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | JsonAssetLoader.cpp | 144 Vector<String8>* tokens) { in parseJsonObject() argument 167 tokens->clear(); in parseJsonObject() 176 tokens->add(token); in parseJsonObject()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 252 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize("Foo Bar (something) <foo@google.com>"); in testRfc822TokenizerFullAddress() local 253 assertNotNull(tokens); in testRfc822TokenizerFullAddress() 254 assertEquals(1, tokens.length); in testRfc822TokenizerFullAddress() 255 assertEquals("foo@google.com", tokens[0].getAddress()); in testRfc822TokenizerFullAddress() 256 assertEquals("Foo Bar", tokens[0].getName()); in testRfc822TokenizerFullAddress() 257 assertEquals("something",tokens[0].getComment()); in testRfc822TokenizerFullAddress() 262 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize("\"Foo Bar\\"); in testRfc822TokenizeItemWithError() local 263 assertNotNull(tokens); in testRfc822TokenizeItemWithError() 264 assertEquals(1, tokens.length); in testRfc822TokenizeItemWithError() 265 assertEquals("Foo Bar", tokens[0].getAddress()); in testRfc822TokenizeItemWithError()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | JsonWebKey.cpp | 184 Vector<String8>* tokens) { in parseJsonObject() argument 207 tokens->clear(); in parseJsonObject() 215 tokens->add(token); in parseJsonObject()
|