/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeech.java | 469 * Parameter key to specify the audio stream type to be used when speaking text 479 * Parameter key to identify an utterance in the 490 * Parameter key to specify the speech volume relative to the current stream type 500 * Parameter key to specify how the speech is panned from left to right when speaking text. 510 * Feature key for network synthesis. See {@link TextToSpeech#getFeatures(Locale)} 522 * Feature key for embedded synthesis. See {@link TextToSpeech#getFeatures(Locale)} 1316 final String key = entry.getKey(); 1317 if (key != null && key.startsWith(mCurrentEngine)) { 1318 bundle.putString(key, entr 1329 copyStringParam(Bundle bundle, HashMap<String, String> params, String key) argument 1336 copyIntParam(Bundle bundle, HashMap<String, String> params, String key) argument 1348 copyFloatParam(Bundle bundle, HashMap<String, String> params, String key) argument [all...] |
H A D | TextToSpeechService.java | 537 protected String getStringParam(String key, String defaultValue) { argument 538 return mParams == null ? defaultValue : mParams.getString(key, defaultValue); 541 protected int getIntParam(String key, int defaultValue) { argument 542 return mParams == null ? defaultValue : mParams.getInt(key, defaultValue); 545 protected float getFloatParam(String key, float defaultValue) { argument 546 return mParams == null ? defaultValue : mParams.getFloat(key, defaultValue);
|
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 267 String8 key = keyIt.next(); local 270 if (DrmConstraints::EXTENDED_METADATA == key) { 271 const char* value = pConstraints->getAsByteArray(&key); 274 ScopedLocalRef<jstring> keyString(env, env->NewStringUTF(key.string())); 280 String8 value = pConstraints->get(key); 281 ScopedLocalRef<jstring> keyString(env, env->NewStringUTF(key.string())); 317 String8 key = keyIt.next(); local 320 String8 value = pMetadata->get(key); 321 ScopedLocalRef<jstring> keyString(env, env->NewStringUTF(key.string())); 448 ScopedLocalRef<jstring> key(en 561 String8 key = it.next(); local [all...] |
/frameworks/base/libs/hwui/ |
H A D | ProgramCache.cpp | 415 programid key = description.key(); local 416 if (key == (PROGRAM_KEY_TEXTURE | PROGRAM_KEY_A8_TEXTURE)) { 419 key = PROGRAM_KEY_TEXTURE; 422 ssize_t index = mCache.indexOfKey(key); 426 program = generateProgram(description, key); 427 mCache.add(key, program); 438 Program* ProgramCache::generateProgram(const ProgramDescription& description, programid key) { argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 165 const uint8_t key[16], 172 index, offset, subSamples, numSubSamples, key, iv, mode, 599 jbyte *key = NULL; local 655 key = env->GetByteArrayElements(keyObj, &isCopy); 674 (const uint8_t *)key, (const uint8_t *)iv, 686 if (key != NULL) { 687 env->ReleaseByteArrayElements(keyObj, key, 0); 688 key = NULL; 906 gFields.cryptoInfoKeyID = env->GetFieldID(clazz.get(), "key", "[B"); 160 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
|
H A D | android_media_MediaDrm.cpp | 423 "HashMap key is not a String"); 434 String8 key = JStringToString8(env, jkey); local 436 keyedVector.add(key, value); 720 if (throwExceptionAsNecessary(env, err, "Failed to get key request")) { 754 "key response is null"); 762 if (throwExceptionAsNecessary(env, err, "Failed to handle key response")) { 821 if (throwExceptionAsNecessary(env, err, "Failed to query key status")) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | BaseStatusBar.java | 788 void handleNotificationError(IBinder key, StatusBarNotification n, String message) { argument 789 removeNotification(key); 797 protected StatusBarNotification removeNotificationViews(IBinder key) { argument 798 NotificationData.Entry entry = mNotificationData.remove(key); 800 Log.w(TAG, "removeNotification for unknown key: " + key); 812 protected NotificationData.Entry createNotificationViews(IBinder key, argument 815 Log.d(TAG, "createNotificationViews(key=" + key + ", notification=" + notification); 830 handleNotificationError(key, notificatio 853 addNotificationViews(IBinder key, StatusBarNotification notification) argument 882 tick(IBinder key, StatusBarNotification n, boolean firstTime) argument 891 updateNotification(IBinder key, StatusBarNotification notification) argument [all...] |
/frameworks/base/tools/aidl/ |
H A D | generate_java_rpc.cpp | 32 static void generate_create_from_data(Type* t, StatementBlock* addTo, const string& key, 603 generate_create_from_data(Type* t, StatementBlock* addTo, const string& key, Variable* v, argument 606 Expression* k = new StringLiteralExpression(key);
|
/frameworks/native/libs/input/ |
H A D | KeyCharacterMap.cpp | 103 Key* key = mKeys.editValueAt(i); local 104 delete key; 115 ALOGE("Error %d opening key character map file %s.", status, filename.string()); 130 ALOGE("Error %d opening key character map.", status); 143 ALOGE("Error allocating key character map."); 153 ALOGD("Parsed key character map file '%s' %d lines in %0.3fms.", 176 Key* key = overlay->mKeys.valueAt(i); local 180 map->mKeys.editValueAt(oldIndex) = new Key(*key); 182 map->mKeys.add(keyCode, new Key(*key)); 208 const Key* key; local 220 const Key* key; local 232 const Key* key; local 249 const Key* key; local 270 const Key* key; local 372 const Key* key; local 424 const Key* key = mKeys.valueAt(i); local 576 Key* key = new Key(); local 616 const Key* key = mKeys.valueAt(i); local 876 Key* key = mMap->mKeys.valueFor(mKeyCode); local 1028 finishKey(Key* key) argument [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | TimePickerDialog.java | 485 * For keyboard mode, processes key events. 486 * @param keyCode the pressed key. 487 * @return true if the key was successfully processed, false otherwise. 557 * Try to start keyboard mode with the specified key, as long as the timepicker is not in the 559 * @param keyCode The key to use as the first press. Keyboard mode will not be started if the 560 * key is not legal to start with. Or, pass in -1 to get into keyboard mode without a starting 561 * key. 955 public boolean containsKey(int key) { argument 957 if (mLegalKeys[i] == key) { 964 public Node canReach(int key) { argument [all...] |
/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 212 // Find the bounds of the key name. 217 // Create the key string. 237 void CameraParameters::set(const char *key, const char *value) argument 240 if (strchr(key, '=') || strchr(key, ';')) { 241 //XXX ALOGE("Key \"%s\"contains invalid character (= or ;)", key); 250 mMap.replaceValueFor(String8(key), String8(value)); 253 void CameraParameters::set(const char *key, int value) argument 257 set(key, str); 260 void CameraParameters::setFloat(const char *key, floa argument 290 remove(const char *key) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.c | 229 memset(sessionPtrs[sessionId], 0, sizeof *sessionPtrs[sessionId]); // Zero out key data. 236 * Derives cryptographically independent keys for encryption and signing from the session key. 247 unsigned char key[KEY_SIZE]; member in struct:FwdLockConv_DeriveKeys_Data 258 // Encrypt the 16-byte value {0, 0, ..., 0} to produce the encryption key. 260 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); 261 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, 265 // Encrypt the 16-byte value {1, 0, ..., 0} to produce the signing key. 267 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); 269 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL); 273 memset(pData, 0, kSize); // Zero out key dat [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1018 status_t MediaPlayerService::Client::setParameter(int key, const Parcel &request) { argument 1019 ALOGV("[%d] setParameter(%d)", mConnId, key); 1022 return p->setParameter(key, request); 1025 status_t MediaPlayerService::Client::getParameter(int key, Parcel *reply) { argument 1026 ALOGV("[%d] getParameter(%d)", mConnId, key); 1029 return p->getParameter(key, reply);
|
H A D | StagefrightRecorder.cpp | 580 const String8 &key, const String8 &value) { 581 ALOGV("setParameter: key (%s) => value (%s)", key.string(), value.string()); 582 if (key == "max-duration") { 587 } else if (key == "max-filesize") { 592 } else if (key == "interleave-duration-us") { 597 } else if (key == "param-movie-time-scale") { 602 } else if (key == "param-use-64bit-offset") { 607 } else if (key == "param-geotag-longitude") { 612 } else if (key 579 setParameter( const String8 &key, const String8 &value) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AwesomePlayer.cpp | 2489 status_t AwesomePlayer::setParameter(int key, const Parcel &request) { argument 2490 switch (key) { 2520 status_t AwesomePlayer::getParameter(int key, Parcel *reply) { argument 2521 switch (key) {
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 59 static bool GetAttribute(const char *s, const char *key, AString *value) { argument 62 size_t keyLen = strlen(key); 74 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
|
/frameworks/av/services/audioflinger/ |
H A D | AudioPolicyService.cpp | 1002 String8 key; local 1004 param.getAt(j, key, value); 1009 if (key2 == key) { 1017 // otherwise, update the key value pairs
|
/frameworks/base/core/java/android/app/ |
H A D | DownloadManager.java | 753 private void putIfNonNull(ContentValues contentValues, String key, Object value) { argument 755 contentValues.put(key, value.toString());
|
H A D | Instrumentation.java | 63 * If included in the status or final bundle sent to an IInstrumentationWatcher, this key 69 * If included in the status or final bundle sent to an IInstrumentationWatcher, this key 72 * this key should also include the complete set of raw key/value pairs, so that the 836 * Sends the key events corresponding to the text to the app being 862 * Send a key event to the currently focused window/view and wait for it to 899 * Sends an up and down key event sync to the currently focused window. 901 * @param key The integer keycode for the event. 903 public void sendKeyDownUpSync(int key) { argument 904 sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, key)); 1279 addValue(String key, int value, Bundle results) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnection.java | 424 // Update foreign key mode. 1256 protected void entryRemoved(boolean evicted, String key, argument
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | KeyboardView.java | 58 * detecting key presses and touch movements. 77 * Called when the user presses a key. This is sent before the {@link #onKey} is called. 79 * @param primaryCode the unicode of the key being pressed. If the touch is not on a valid 80 * key, the value will be zero. 85 * Called when the user releases a key. This is sent after the {@link #onKey} is called. 87 * @param primaryCode the code of the key that was released 92 * Send a key press to the listener. 93 * @param primaryCode this is the key that was pressed 95 * with the primary code being the first. If the primary key code is 97 * will include other characters that may be on the same key o 835 getPreviewText(Key key) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | Preference.java | 54 * This class contains a {@code key} that will be used as the key into the 369 * set individual extra key/value pairs. 807 * Sets the key for this Preference, which is used as a key to the 810 * @param key The key for the preference. 812 public void setKey(String key) { argument 813 mKey = key; 821 * Gets the key fo 1187 findPreferenceInHierarchy(String key) argument [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | Contacts.java | 121 * The key of this setting. 126 public static final String KEY = "key"; 168 public static final String DEFAULT_SORT_ORDER = "key ASC"; 187 public static String getSetting(ContentResolver cr, String account, String key) { argument 196 ? "_sync_account is null AND key=?" 197 : "_sync_account=? AND key=?"; 198 // : "_sync_account=? AND _sync_account_type=? AND key=?"; 200 ? new String[]{key} 201 : new String[]{account, key}; 203 selectString = "key 220 setSetting(ContentResolver cr, String account, String key, String value) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RemoteControlClient.java | 232 * Flag indicating a RemoteControlClient makes use of the "previous" media key. 239 * Flag indicating a RemoteControlClient makes use of the "rewind" media key. 246 * Flag indicating a RemoteControlClient makes use of the "play" media key. 253 * Flag indicating a RemoteControlClient makes use of the "play/pause" media key. 260 * Flag indicating a RemoteControlClient makes use of the "pause" media key. 267 * Flag indicating a RemoteControlClient makes use of the "stop" media key. 274 * Flag indicating a RemoteControlClient makes use of the "fast forward" media key. 281 * Flag indicating a RemoteControlClient makes use of the "next" media key. 302 * {@link MediaMetadataEditor#RATING_KEY_BY_USER} key), it will enable the user to rate 409 * The metadata key fo 440 putString(int key, String value) argument 461 putLong(int key, long value) argument 478 putBitmap(int key, Bitmap bitmap) argument 725 onMetadataUpdate(int key, Object newValue) argument 1661 onUpdateMetadata(int generationId, int key, Object value) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetServiceImpl.java | 149 ServiceConnectionProxy(Pair<Integer, Intent.FilterComparison> key, IBinder connectionCb) { argument 737 // the same key) 740 Pair<Integer, FilterComparison> key = Pair.create(appWidgetId, fc); 741 if (mBoundRemoteViewsServices.containsKey(key)) { 742 conn = (ServiceConnectionProxy) mBoundRemoteViewsServices.get(key); 745 mBoundRemoteViewsServices.remove(key); 757 conn = new ServiceConnectionProxy(key, connection); 760 mBoundRemoteViewsServices.put(key, conn); 781 Pair<Integer, FilterComparison> key = Pair.create(appWidgetId, new FilterComparison( 783 if (mBoundRemoteViewsServices.containsKey(key)) { [all...] |