Searched refs:key (Results 126 - 150 of 403) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.cpp126 bool NativeProgram::CallSetValue(const std::string& key, const std::string& value) { argument
128 setvalue_function_(key.c_str(), value.c_str(), user_data_);
134 std::string NativeProgram::CallGetValue(const std::string& key) { argument
139 getvalue_function_(key.c_str(), result, buffer_size, user_data_);
H A Dnative_program.h54 bool CallSetValue(const std::string& key, const std::string& value);
55 std::string CallGetValue(const std::string& key);
H A Dgl_env.cpp385 void GLEnv::AttachShader(int key, ShaderProgram* shader) { argument
386 ShaderProgram* existingShader = ShaderWithKey(key);
389 attached_shaders_[key] = shader;
392 void GLEnv::AttachVertexFrame(int key, VertexFrame* frame) { argument
393 VertexFrame* existingFrame = VertexFrameWithKey(key);
396 attached_vframes_[key] = frame;
399 ShaderProgram* GLEnv::ShaderWithKey(int key) { argument
400 return FindPtrOrNull(attached_shaders_, key);
403 VertexFrame* GLEnv::VertexFrameWithKey(int key) { argument
404 return FindPtrOrNull(attached_vframes_, key);
[all...]
/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java81 * @param results memory and runtime metrics stored as key/value pairs,
143 * In a results Bundle, this key references a List of iteration Bundles.
147 * In an iteration Bundle, this key describes the iteration.
151 * In a results Bundle, this key reports the cpu time of the code block
156 * In a results Bundle, this key reports the execution time of the code
161 * In a snapshot Bundle, this key reports the number of received
166 * In a snapshot Bundle, this key reports the number of transactions sent by
171 * In a snapshot Bundle, this key reports the number of received
176 * In a snapshot Bundle, this key reports the number of transactions sent by
181 * In a snapshot Bundle, this key report
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java113 * Result key corresponding to confidence score.
118 * Result key corresponding to literal text.
123 * Result key corresponding to semantic meaning text.
351 * @param key key of the result. This is typically one of
358 public String getResult(int index, String key) { argument
359 return SR_RecognizerResultGetValue(mRecognizer, index, key);
613 private static native String SR_RecognizerGetParameter(int recognizer, String key); argument
614 private static native int SR_RecognizerGetSize_tParameter(int recognizer, String key); argument
615 private static native boolean SR_RecognizerGetBoolParameter(int recognizer, String key); argument
616 SR_RecognizerSetParameter(int recognizer, String key, String value) argument
617 SR_RecognizerSetSize_tParameter(int recognizer, String key, int value) argument
619 SR_RecognizerSetBoolParameter(int recognizer, String key, boolean value) argument
715 SR_RecognizerResultGetValue(int recognizer, int nbest, String key) argument
[all...]
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java239 * Sends a series of key events through instrumentation and waits for idle. The sequence
240 * of keys is a string containing the key names as specified in KeyEvent, without the
241 * KEYCODE_ prefix. For instance: sendKeys("DPAD_LEFT A B C DPAD_CENTER"). Each key can
254 String key = keys[i];
255 int repeater = key.indexOf('*');
259 keyCount = repeater == -1 ? 1 : Integer.parseInt(key.substring(0, repeater));
261 Log.w("ActivityTestCase", "Invalid repeat count: " + key);
266 key = key.substring(repeater + 1);
271 final Field keyCodeField = KeyEvent.class.getField("KEYCODE_" + key);
[all...]
/frameworks/base/core/java/com/android/internal/net/
H A DVpnProfile.java49 public final String key; // -1 field in class:VpnProfile
69 public VpnProfile(String key) { argument
70 this.key = key;
74 key = in.readString();
95 out.writeString(key);
114 public static VpnProfile decode(String key, byte[] value) { argument
116 if (key == null) {
126 VpnProfile profile = new VpnProfile(key);
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboard.java32 * an additional keyboard with symbols. In numeric mode, it shows a 12-key DTMF dialer-like
90 LatinKey key = new LatinKey(res, parent, x, y, parser);
91 final int code = key.codes[0];
93 // Log.w(TAG, "Key code for " + key.label + " is not latin-1");
94 key.label = " ";
95 key.setEnabled(false);
97 switch (key.codes[0]) {
99 mEnterKey = key;
102 mF1Key = key;
105 mSpaceKey = key;
[all...]
/frameworks/base/libs/androidfw/
H A DKeyCharacterMap.cpp102 Key* key = mKeys.editValueAt(i); local
103 delete key;
114 ALOGE("Error %d opening key character map file %s.", status, filename.string());
129 ALOGE("Error %d opening key character map.", status);
142 ALOGE("Error allocating key character map.");
152 ALOGD("Parsed key character map file '%s' %d lines in %0.3fms.",
175 Key* key = overlay->mKeys.valueAt(i); local
179 map->mKeys.editValueAt(oldIndex) = new Key(*key);
181 map->mKeys.add(keyCode, new Key(*key));
207 const Key* key; local
219 const Key* key; local
231 const Key* key; local
248 const Key* key; local
269 const Key* key; local
371 const Key* key; local
423 const Key* key = mKeys.valueAt(i); local
575 Key* key = new Key(); local
615 const Key* key = mKeys.valueAt(i); local
875 Key* key = mMap->mKeys.valueFor(mKeyCode); local
1027 finishKey(Key* key) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java87 /** Default key width */
90 /** Default key height */
99 /** Key instance for the shift key, if present */
102 /** Key index for the shift key, if present */
105 /** Current key width, while loading the keyboard */
108 /** Current key height, while loading the keyboard */
144 /** Number of key widths from current touch point to search for nearest keys. */
151 * Some of the key size defaults can be overridden per row from what the {@link Keyboard}
161 /** Default width of a key in this row. */
163 /** Default height of a key i
[all...]
/frameworks/av/include/drm/
H A DDrmInfoRequest.h66 * Iterator for key
136 * Adds optional information as <key, value> pair to this instance
138 * @param[in] key Key to add
142 status_t put(const String8& key, const String8& value);
145 * Retrieves the value of given key
147 * @param key Key whose value to be retrieved
150 String8 get(const String8& key) const;
/frameworks/av/media/libmedia/
H A DICrypto.cpp96 const uint8_t key[16],
110 if (key == NULL) {
111 key = kDummy;
118 data.write(key, 16);
231 uint8_t key[16]; local
232 data.read(key, sizeof(key));
260 key,
94 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/base/cmds/service/
H A Dservice.cpp166 char* key = strtok_r(argv[optind], "=", &context1); local
170 if (key == NULL) break;
172 if (strcmp(key, "action") == 0)
176 else if (strcmp(key, "data") == 0)
180 else if (strcmp(key, "type") == 0)
184 else if (strcmp(key, "launchFlags") == 0)
188 else if (strcmp(key, "component") == 0)
192 else if (strcmp(key, "categories") == 0)
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInput.java43 * String key = data.getKey();
46 * if (key.equals(MY_BACKUP_KEY_ONE)) {
54 * } else if (key.equals(MY_BACKUP_KEY_TO_IGNORE) {
55 * // a key we recognize but wish to discard
68 String key; field in class:BackupDataInput.EntityHeader
117 * Report the key associated with the current entity in the restore stream
118 * @return the current entity's key string
123 return mHeader.key;
/frameworks/base/core/java/android/nfc/
H A DINfcTag.aidl40 int formatNdef(int nativeHandle, in byte[] key);
/frameworks/base/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java49 public void printPair(String key, Object value) { argument
50 print(key + "=" + String.valueOf(value) + " ");
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmAnalyzerTest.java153 for (String key : found.keySet()) {
154 ClassReader value = found.get(key);
155 assertNotNull("No value for " + key, value);
156 assertEquals(key, AsmAnalyzer.classReaderToClassName(value));
175 for (String key : found.keySet()) {
176 ClassReader value = found.get(key);
177 assertNotNull("No value for " + key, value);
178 assertEquals(key, AsmAnalyzer.classReaderToClassName(value));
/frameworks/compile/mclinker/include/mcld/ADT/
H A DHashEntry.h52 KeyType& key() function in class:mcld::HashEntry
55 const KeyType& key() const function in class:mcld::HashEntry
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java195 * @param name of SharedPreferences key
197 * @return current value attached to key (default 0), limited by max
330 for (String key : new TreeSet<String>(mStorage.getAll().keySet())) { // Sort keys
331 if (key.startsWith(PREFIX)) {
332 if (key.endsWith("TimeMillis")) {
334 time.set(mStorage.getLong(key, 0));
335 out.append(" ").append(key.substring(PREFIX.length(), key.length() - 10));
338 out.append(" ").append(key.substring(PREFIX.length()));
339 out.append("=").append(mStorage.getAll().get(key)
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java89 public void setMetaValue(String key, Object value) { argument
93 mMetaData.put(key, value);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp179 status_t StagefrightPlayer::setParameter(int key, const Parcel &request) { argument
180 ALOGV("setParameter(key=%d)", key);
181 return mPlayer->setParameter(key, request);
184 status_t StagefrightPlayer::getParameter(int key, Parcel *reply) { argument
186 return mPlayer->getParameter(key, reply);
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DRunTestCommand.java81 // -e <key> <value>
82 // key-value pairs
84 // key is "class", parameter is passed onto JUnit as class name to run
85 // key is "debug", parameter will determine whether to wait for debugger
92 String key = args[++i];
94 if (CLASS_PARAM.equals(key)) {
96 } else if (DEBUG_PARAM.equals(key)) {
98 } else if (RUNNER_PARAM.equals(key)) {
101 mParams.putString(key, value);
/frameworks/base/media/java/android/media/
H A DRemoteControlClient.java219 * Flag indicating a RemoteControlClient makes use of the "previous" media key.
226 * Flag indicating a RemoteControlClient makes use of the "rewind" media key.
233 * Flag indicating a RemoteControlClient makes use of the "play" media key.
240 * Flag indicating a RemoteControlClient makes use of the "play/pause" media key.
247 * Flag indicating a RemoteControlClient makes use of the "pause" media key.
254 * Flag indicating a RemoteControlClient makes use of the "stop" media key.
261 * Flag indicating a RemoteControlClient makes use of the "fast forward" media key.
268 * Flag indicating a RemoteControlClient makes use of the "next" media key.
409 * The metadata key for the content artwork / album art.
414 * TODO(jmtrivi) have lockscreen and music move to the new key nam
439 putString(int key, String value) argument
468 putLong(int key, long value) argument
492 putBitmap(int key, Bitmap bitmap) argument
1149 validTypeForKey(int key, int[] validKeys) argument
[all...]
/frameworks/base/libs/hwui/
H A DSkiaShader.h57 ANDROID_API SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX,
140 ANDROID_API SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX,
163 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend);
187 int count, SkShader* key, SkMatrix* matrix, bool blend);
197 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend);
212 float* positions, int count, SkShader* key,SkShader::TileMode tileMode,
228 SkShader* key);
/frameworks/native/include/utils/
H A DBasicHashtable.h41 // hash code of the entry's key.
68 ssize_t find(ssize_t index, hash_t hash, const void* __restrict__ key) const;
91 virtual bool compareBucketKey(const Bucket& bucket, const void* __restrict__ key) const = 0;
146 * within an array. The basic operations are finding entries by key,
155 * TKey: The key type.
163 * const TKey& getKey() const; // get the key from the entry
267 /* Finds the index of an entry with the specified key.
271 * key, then the sequence of entries returned is arbitrary.
274 * index: The index of the previous entry with the specified key, or -1 to
276 * hash: The hashcode of the key
[all...]

Completed in 427 milliseconds

1234567891011>>