/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | JsonWebKey.cpp | 179 * Parses a JSON objects string and initializes a vector of tokens. 184 Vector<String8>* tokens) { 207 tokens->clear(); 215 tokens->add(token); 236 // Computes number of tokens. A token marks the type, offset in 183 parseJsonObject(const String8& jsonObject, Vector<String8>* tokens) argument
|
H A D | JsonWebKey.h | 54 bool parseJsonObject(const String8& jsonObject, Vector<String8>* tokens);
|
/frameworks/base/core/java/android/content/ |
H A D | UriMatcher.java | 166 String[] tokens = null; 173 tokens = newPath.split("/"); 176 int numTokens = tokens != null ? tokens.length : 0; 179 String token = i < 0 ? authority : tokens[i];
|
/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 368 final String[] tokens = dayList.split(sep); 369 if (tokens.length == 0) return null; 370 final int[] rt = new int[tokens.length]; 371 for (int i = 0; i < tokens.length; i++) { 372 final int day = tryParseInt(tokens[i], -1);
|
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 288 * Returns a string containing the tokens joined by delimiters. 289 * @param tokens an array objects to be joined. Strings will be formed from 292 public static String join(CharSequence delimiter, Object[] tokens) { argument 295 for (Object token: tokens) { 307 * Returns a string containing the tokens joined by delimiters. 308 * @param tokens an array objects to be joined. Strings will be formed from 311 public static String join(CharSequence delimiter, Iterable tokens) { argument 313 Iterator<?> it = tokens.iterator();
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 73 private ArrayList<Token> tokens; field in class:AbstractMessageParser 105 this.tokens = new ArrayList<Token>(); 144 // Break the text into tokens. 165 for (int i = 0; i < tokens.size(); ++i) { 166 if (tokens.get(i).isMedia()) { 167 if ((i > 0) && (tokens.get(i - 1) instanceof Html)) { 168 ((Html)tokens.get(i - 1)).trimLeadingWhitespace(); 170 if ((i + 1 < tokens.size()) && (tokens.get(i + 1) instanceof Html)) { 171 ((Html)tokens 1431 private ArrayList<Token> tokens; field in class:AbstractMessageParser.Part [all...] |
H A D | SmileyParser.java | 64 ArrayList<Token> tokens = part.getTokens(); 65 int len = tokens.size(); 67 Token token = tokens.get(i);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | TextUtilsTest.java | 237 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize("Foo Bar (something) <foo@google.com>"); 238 assertNotNull(tokens); 239 assertEquals(1, tokens.length); 240 assertEquals("foo@google.com", tokens[0].getAddress()); 241 assertEquals("Foo Bar", tokens[0].getName()); 242 assertEquals("something",tokens[0].getComment()); 247 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize("\"Foo Bar\\"); 248 assertNotNull(tokens); 249 assertEquals(1, tokens.length); 250 assertEquals("Foo Bar", tokens[ [all...] |
/frameworks/base/core/tests/coretests/src/android/text/method/ |
H A D | EditorState.java | 88 final String[] tokens = string.split(" +"); 89 for (String token : tokens) {
|
/frameworks/base/location/java/android/location/ |
H A D | Location.java | 255 int tokens = st.countTokens(); 256 if (tokens < 1) { 262 if (tokens == 1) {
|
/frameworks/base/media/java/android/media/audiofx/ |
H A D | BassBoost.java | 227 int tokens = st.countTokens();
|
H A D | EnvironmentalReverb.java | 523 int tokens = st.countTokens();
|
H A D | Equalizer.java | 462 int tokens = st.countTokens();
|
H A D | PresetReverb.java | 243 int tokens = st.countTokens();
|
H A D | Virtualizer.java | 568 int tokens = st.countTokens();
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaSessionManager.java | 337 public void onActiveSessionsChanged(final List<MediaSession.Token> tokens) { 345 int size = tokens.size(); 347 controllers.add(new MediaController(mContext, tokens.get(i)));
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
H A D | HTTPRequest.java | 75 String[] tokens = authRequestLine.split("[ ,]+"); 76 //System.out.println("Tokens: " + Arrays.toString(tokens)); 77 if (tokens.length < 3 || !tokens[0].equalsIgnoreCase("digest")) { 82 for (int n = 1; n < tokens.length; n++) { 83 String s = tokens[n]; 105 //System.out.println("Remaining tokens: " + itemMap);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | DozeParameters.java | 157 final String[] tokens = spec.split(","); 158 rt.mSchedule = new int[tokens.length]; 159 for (int i = 0; i < tokens.length; i++) { 160 final Matcher m = PATTERN.matcher(tokens[i]); 161 if (!m.matches()) throw new IllegalArgumentException("Bad token: " + tokens[i]);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStack.java | 245 * Used for validating app tokens with window manager. 2795 group.tokens.add(r.appToken);
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionService.java | 477 ArrayList<MediaSession.Token> tokens = new ArrayList<MediaSession.Token>(); 479 tokens.add(new MediaSession.Token(records.get(i).getControllerBinder())); 486 record.mListener.onActiveSessionsChanged(tokens);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 4273 final String[] tokens = setting.split(SEPARATOR); 4274 for (int i = 0; i < tokens.length; i++) { 4275 String token = tokens[i];
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 1241 String[] tokens = line.split(" "); 1242 if (tokens.length != 2) { 1247 String packageName = tokens[0]; 1253 long timestamp = parseAsLong(tokens[1]); 1267 String[] tokens = line.split(" "); 1268 if (tokens.length != PackageManager.NOTIFY_PACKAGE_USE_REASONS_COUNT + 1) { 1272 String packageName = tokens[0]; 1281 pkg.mLastPackageUsageTimeInMills[reason] = parseAsLong(tokens[reason + 1]);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplayContent.java | 80 /** Window tokens that are in the process of exiting, but still on screen for animations. */ 507 AppTokenList tokens = task.mAppTokens; 508 for (int tokenNdx = tokens.size() - 1; tokenNdx >= 0; --tokenNdx) { 509 AppWindowToken wtoken = tokens.get(tokenNdx); 587 pw.println(" Application tokens in top down Z order:"); 596 pw.println(" Exiting tokens:");
|
H A D | TaskGroup.java | 25 public ArrayList<IApplicationToken> tokens = new ArrayList<IApplicationToken>(); field in class:TaskGroup 29 return "id=" + taskId + " tokens=" + tokens;
|
H A D | Watermark.java | 56 Watermark(Display display, DisplayMetrics dm, SurfaceSession session, String[] tokens) { argument 59 for (int i=0; i<tokens.length; i++) { 60 Log.i(TAG_WM, " TOKEN #" + i + ": " + tokens[i]); 65 mTokens = tokens; 86 int fontSize = WindowManagerService.getPropertyInt(tokens, 1, 97 mDeltaX = WindowManagerService.getPropertyInt(tokens, 2, 99 mDeltaY = WindowManagerService.getPropertyInt(tokens, 3, 101 int shadowColor = WindowManagerService.getPropertyInt(tokens, 4, 103 int color = WindowManagerService.getPropertyInt(tokens, 5, 105 int shadowRadius = WindowManagerService.getPropertyInt(tokens, [all...] |