/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 1470 * Encodes the key and value and then appends the parameter to the 1473 * @param key which will be encoded 1476 public Builder appendQueryParameter(String key, String value) { argument 1480 String encodedParameter = encode(key, null) + "=" 1589 * Searches the query string for parameter values with the given key. 1591 * @param key which will be encoded 1594 * @throws NullPointerException if key is null 1597 public List<String> getQueryParameters(String key) { argument 1601 if (key == null) { 1602 throw new NullPointerException("key"); 1660 getQueryParameter(String key) argument 1714 getBooleanQueryParameter(String key, boolean defaultValue) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceActivity.java | 1440 * Finds a {@link Preference} based on its key. 1442 * @param key The key of the preference to retrieve. 1443 * @return The {@link Preference} with the key, or null. 1450 public Preference findPreference(CharSequence key) { argument 1456 return mPreferenceManager.findPreference(key);
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | Recognizer.java | 113 * 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/speech/tts/ |
H A D | TextToSpeech.java | 419 * Parameter key to specify the audio stream type to be used when speaking text 429 * Parameter key to identify an utterance in the 440 * Parameter key to specify the speech volume relative to the current stream type 450 * Parameter key to specify how the speech is panned from left to right when speaking text. 460 * Feature key for network synthesis. See {@link TextToSpeech#getFeatures(Locale)} 472 * Feature key for embedded synthesis. See {@link TextToSpeech#getFeatures(Locale)} 1134 final String key = entry.getKey(); 1135 if (key != null && key.startsWith(mCurrentEngine)) { 1136 bundle.putString(key, entr 1147 copyStringParam(Bundle bundle, HashMap<String, String> params, String key) argument 1154 copyIntParam(Bundle bundle, HashMap<String, String> params, String key) argument 1166 copyFloatParam(Bundle bundle, HashMap<String, String> params, String key) argument [all...] |
H A D | TextToSpeechService.java | 511 protected String getStringParam(String key, String defaultValue) { argument 512 return mParams == null ? defaultValue : mParams.getString(key, defaultValue); 515 protected int getIntParam(String key, int defaultValue) { argument 516 return mParams == null ? defaultValue : mParams.getInt(key, defaultValue); 519 protected float getFloatParam(String key, float defaultValue) { argument 520 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/androidfw/ |
H A D | KeyCharacterMap.cpp | 102 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/libs/hwui/ |
H A D | ProgramCache.cpp | 440 programid key = description.key(); local 441 ssize_t index = mCache.indexOfKey(key); 445 program = generateProgram(description, key); 446 mCache.add(key, program); 457 Program* ProgramCache::generateProgram(const ProgramDescription& description, programid key) { argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetServiceImpl.java | 134 ServiceConnectionProxy(Pair<Integer, Intent.FilterComparison> key, IBinder connectionCb) { argument 684 // the same key) 687 Pair<Integer, FilterComparison> key = Pair.create(appWidgetId, fc); 688 if (mBoundRemoteViewsServices.containsKey(key)) { 689 conn = (ServiceConnectionProxy) mBoundRemoteViewsServices.get(key); 692 mBoundRemoteViewsServices.remove(key); 700 conn = new ServiceConnectionProxy(key, connection); 702 mBoundRemoteViewsServices.put(key, conn); 720 Pair<Integer, FilterComparison> key = Pair.create(appWidgetId, new FilterComparison( 722 if (mBoundRemoteViewsServices.containsKey(key)) { [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | CallbackProxy.java | 270 String key = msg.getData().getString("key"); 272 mLayoutTestController.overridePreference(key, value); 519 public void overridePreference(String key, boolean value) { argument 521 message.getData().putString("key", key);
|
H A D | TestShellActivity.java | 567 public void overridePreference(String key, boolean value) { argument 572 if (WEBKIT_OFFLINE_WEB_APPLICATION_CACHE_ENABLED.equals(key)) { 574 } else if (WEBKIT_USES_PAGE_CACHE_PREFERENCE_KEY.equals(key)) { 579 "Unsupported preference '" + key + "'");
|
/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/base/wifi/java/android/net/wifi/ |
H A D | WifiNative.java | 710 private String p2pGetParam(String deviceAddress, String key) { argument 717 key += "="; 719 if (token.startsWith(key)) {
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteControlClient.java | 219 * 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/media/jni/ |
H A D | android_media_MediaPlayer.cpp | 204 // We build a KeyedVector out of the key and val arrays 767 android_media_MediaPlayer_setParameter(JNIEnv *env, jobject thiz, jint key, jobject java_request) argument 769 ALOGV("setParameter: key %d", key); 777 status_t err = mp->setParameter(key, *request); 786 android_media_MediaPlayer_getParameter(JNIEnv *env, jobject thiz, jint key, jobject java_reply) argument 788 ALOGV("getParameter: key %d", key); 796 process_media_player_call(env, thiz, mp->getParameter(key, reply), NULL, NULL );
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_api.c | 1580 AES_KEY key; local 1602 AES_set_decrypt_key(keyValue, DRM_KEY_LEN * 8, &key); 1610 if (drm_aesDecBuffer(buf, &bufLen, &key) < 0) 1653 AES_set_decrypt_key(keyValue, DRM_KEY_LEN * 8, &key); 1665 if (drm_aesDecBuffer(buf, &bufLen, &key) < 0)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | BaseStatusBar.java | 879 void handleNotificationError(IBinder key, StatusBarNotification n, String message) { argument 880 removeNotification(key); 888 protected StatusBarNotification removeNotificationViews(IBinder key) { argument 889 NotificationData.Entry entry = mNotificationData.remove(key); 891 Slog.w(TAG, "removeNotification for unknown key: " + key); 903 protected StatusBarIconView addNotificationViews(IBinder key, argument 906 Slog.d(TAG, "addNotificationViews(key=" + key + ", notification=" + notification); 921 handleNotificationError(key, notificatio 983 tick(IBinder key, StatusBarNotification n, boolean firstTime) argument 992 updateNotification(IBinder key, StatusBarNotification notification) argument [all...] |
/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 207 // Find the bounds of the key name. 212 // Create the key string. 232 void CameraParameters::set(const char *key, const char *value) argument 235 if (strchr(key, '=') || strchr(key, ';')) { 236 //XXX ALOGE("Key \"%s\"contains invalid character (= or ;)", key); 240 if (strchr(value, '=') || strchr(key, ';')) { 245 mMap.replaceValueFor(String8(key), String8(value)); 248 void CameraParameters::set(const char *key, int value) argument 252 set(key, st 255 setFloat(const char *key, float value) argument 285 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 256 // Encrypt the 16-byte value {0, 0, ..., 0} to produce the encryption key. 258 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); 259 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, 263 // Encrypt the 16-byte value {1, 0, ..., 0} to produce the signing key. 265 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); 267 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL); 271 memset(pData, 0, sizeof pData); // Zero out key dat [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1002 status_t MediaPlayerService::Client::setParameter(int key, const Parcel &request) { argument 1003 ALOGV("[%d] setParameter(%d)", mConnId, key); 1006 return p->setParameter(key, request); 1009 status_t MediaPlayerService::Client::getParameter(int key, Parcel *reply) { argument 1010 ALOGV("[%d] getParameter(%d)", mConnId, key); 1013 return p->getParameter(key, reply);
|
H A D | StagefrightRecorder.cpp | 578 const String8 &key, const String8 &value) { 579 ALOGV("setParameter: key (%s) => value (%s)", key.string(), value.string()); 580 if (key == "max-duration") { 585 } else if (key == "max-filesize") { 590 } else if (key == "interleave-duration-us") { 595 } else if (key == "param-movie-time-scale") { 600 } else if (key == "param-use-64bit-offset") { 605 } else if (key == "param-geotag-longitude") { 610 } else if (key 577 setParameter( const String8 &key, const String8 &value) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AwesomePlayer.cpp | 2276 status_t AwesomePlayer::setParameter(int key, const Parcel &request) { argument 2277 switch (key) { 2307 status_t AwesomePlayer::getParameter(int key, Parcel *reply) { argument 2308 switch (key) {
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 70 static bool GetAttribute(const char *s, const char *key, AString *value) { argument 73 size_t keyLen = strlen(key); 85 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
|
/frameworks/av/services/audioflinger/ |
H A D | AudioPolicyService.cpp | 912 String8 key; local 914 param.getAt(j, key, value); 919 if (key2 == key) { 927 // otherwise, update the key value pairs
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManagerService.java | 131 private static final String EXTRAS_KEY = "key"; 135 private static final String META_KEY = "key"; 467 public String getUserData(Account account, String key) { argument 470 + ", key " + key 475 if (key == null) throw new IllegalArgumentException("key is null"); 480 return readUserDataInternal(accounts, account, key); 559 for (String key : extras.keySet()) { 560 final String value = extras.getString(key); 578 insertExtraLocked(SQLiteDatabase db, long accountId, String key, String value) argument 945 setUserData(Account account, String key, String value) argument 964 setUserdataInternal(UserAccounts accounts, Account account, String key, String value) argument 1635 getExtrasIdLocked(SQLiteDatabase db, long accountId, String key) argument 2454 writeUserDataIntoCacheLocked(UserAccounts accounts, final SQLiteDatabase db, Account account, String key, String value) argument 2468 writeAuthTokenIntoCacheLocked(UserAccounts accounts, final SQLiteDatabase db, Account account, String key, String value) argument 2496 readUserDataInternal(UserAccounts accounts, Account account, String key) argument [all...] |