Searched defs:tokens (Results 1 - 14 of 14) sorted by relevance

/frameworks/native/opengl/libagl/
H A DTokenManager.cpp35 status_t TokenManager::getToken(GLsizei n, GLuint *tokens) argument
39 *tokens++ = mTokenizer.acquire();
43 void TokenManager::recycleTokens(GLsizei n, const GLuint *tokens) argument
47 const GLuint token = *tokens++;
H A DTextureObjectManager.cpp303 void EGLSurfaceManager::deleteTextures(GLsizei n, const GLuint *tokens) argument
308 const GLuint t(*tokens++);
/frameworks/base/core/java/com/android/internal/util/
H A DTokenBucket.java25 * A class useful for rate-limiting or throttling that stores and distributes tokens.
27 * A TokenBucket starts with a fixed capacity of tokens, an initial amount of tokens, and
31 * which point tokens simply overflow and are lost. Tokens can be obtained one by one or n by n.
33 * The available amount of tokens is computed lazily when the bucket state is inspected.
42 private final int mCapacity; // Maximum number of tokens that can be stored.
43 private long mLastFill; // Last time in ms the bucket generated tokens.
44 private int mAvailable; // Current number of available tokens.
51 * @param tokens the starting amount of token. Must be positive or zero.
53 public TokenBucket(int deltaMs, int capacity, int tokens) { argument
71 reset(int tokens) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWatermark.java56 Watermark(DisplayContent dc, DisplayMetrics dm, 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...]
H A DWindowManagerService.java454 * List of window tokens that have finished starting their application,
460 * List of app window tokens that are waiting for replacing windows. If the
548 /** Dump of the windows and app tokens at the time of the last ANR. Cleared after
2450 * tokens.
5917 static int getPropertyInt(String[] tokens, int index, int defUnits, int defDps, argument
5919 if (index < tokens.length) {
5920 String str = tokens[index];
6244 pw.println("WINDOW MANAGER TOKENS (dumpsys window tokens)");
6656 } else if ("tokens".equals(cmd) || "t".equals(cmd)) {
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DJsonAssetLoader.cpp139 * Parses a JSON objects string and initializes a vector of tokens.
144 Vector<String8>* tokens) {
167 tokens->clear();
176 tokens->add(token);
198 // Computes number of tokens. A token marks the type, offset in
143 parseJsonObject(const String8& jsonObject, Vector<String8>* tokens) argument
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
H A DJsonWebKey.cpp179 * 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
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
H A DJsonWebKey.cpp180 * Parses a JSON objects string and initializes a vector of tokens.
185 std::vector<std::string>* tokens) {
208 tokens->clear();
216 tokens->push_back(token);
237 // Computes number of tokens. A token marks the type, offset in
184 parseJsonObject(const std::string& jsonObject, std::vector<std::string>* tokens) argument
/frameworks/rs/script_api/
H A DGenerateStubsWhiteList.cpp97 // Split the string in tokens.
99 list<string> tokens{istream_iterator<string>{stream}, istream_iterator<string>{}};
101 for (auto i = tokens.begin(); i != tokens.end();) {
107 // Split the replacement string in tokens.
135 tokens.splice(++i, std::move(newTokens));
137 i = tokens.erase(prev);
140 return tokens;
144 static bool eatFront(list<string>* tokens, const char* prefix) { argument
145 if (tokens
156 findManglingOfBuiltInType(list<string>* tokens) argument
197 mangleType(string vectorSize, list<string>* tokens, vector<string>* previousManglings, string* mangling, string* compressedMangling) argument
308 list<string> tokens = expandTypedefs(p->rsType, apiLevel, intSize, vectorSize); local
[all...]
/frameworks/base/media/java/android/media/session/
H A DMediaSessionManager.java457 * @return list of tokens
480 * @return list of tokens
503 * @return list of tokens
598 List<SessionToken2> tokens = new ArrayList<>();
603 tokens.add(token);
607 return tokens;
737 void onSessionTokensChanged(@NonNull List<SessionToken2> tokens); argument
915 public void onActiveSessionsChanged(final List<MediaSession.Token> tokens) {
924 int size = tokens.size();
926 controllers.add(new MediaController(context, tokens
[all...]
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java73 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...]
/frameworks/base/core/java/android/text/
H A DTextUtils.java308 * Returns a string containing the tokens joined by delimiters.
310 * @param delimiter a CharSequence that will be inserted between the tokens. If null, the string
312 * @param tokens an array objects to be joined. Strings will be formed from the objects by
313 * calling object.toString(). If tokens is null, a NullPointerException will be thrown. If
314 * tokens is an empty array, an empty string will be returned.
316 public static String join(@NonNull CharSequence delimiter, @NonNull Object[] tokens) { argument
317 final int length = tokens.length;
322 sb.append(tokens[0]);
325 sb.append(tokens[i]);
331 * Returns a string containing the tokens joine
339 join(@onNull CharSequence delimiter, @NonNull Iterable tokens) argument
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...

Completed in 105 milliseconds