Searched refs:key (Results 326 - 350 of 403) sorted by relevance

<<11121314151617

/frameworks/base/core/java/android/accounts/
H A DAccountManager.java153 * Bundle key used for the {@link String} account name in results
159 * Bundle key used for the {@link String} account type in results
165 * Bundle key used for the auth token value in results
171 * Bundle key used for an {@link Intent} in results from methods that
178 * Bundle key used to supply the password directly in options to
317 * Gets the user data named by "key" associated with the account.
329 * @return The user data, null if the account or key doesn't exist
331 public String getUserData(final Account account, final String key) { argument
333 if (key == null) throw new IllegalArgumentException("key i
735 setUserData(final Account account, final String key, final String value) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DContacts.java121 * 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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java202 public Map<String, String> getDefaultPropMap(Object key) { argument
203 return mDefaultPropMaps.get(key);
516 Object key = parser.getViewCookie();
517 if (key != null) {
518 defaultPropMap = mDefaultPropMaps.get(key);
521 mDefaultPropMaps.put(key, defaultPropMap);
/frameworks/base/voip/java/com/android/server/sip/
H A DSipService.java287 String key = localProfile.getUriString();
288 SipSessionGroupExt group = mSipGroups.get(key);
291 mSipGroups.put(key, group);
302 String key = localProfile.getUriString();
303 SipSessionGroupExt group = mSipGroups.get(key);
313 mSipGroups.put(key, group);
/frameworks/base/media/jni/
H A Dandroid_media_MediaPlayer.cpp204 // 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/services/java/com/android/server/
H A DConnectivityService.java2353 String key = nt.getTcpBufferSizesPropName();
2354 String bufferSizes = key == null ? null : SystemProperties.get(key);
2357 if (VDBG) log(key + " not found in system properties. Using defaults");
2360 key = "net.tcp.buffersize.default";
2361 bufferSizes = SystemProperties.get(key);
2368 + "] which comes from [" + key + "]");
2508 String key = "net.dns" + last;
2510 if (!changed && value.equals(SystemProperties.get(key))) {
2517 SystemProperties.set(key, valu
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp2262 const String16& key = e->getBag().keyAt(i); local
2263 if (key.size() > 0 && key.string()[0] != '^') {
2264 outKeys->add(key);
2732 fprintf(stderr, "**** key strings: %d\n", amt);
2813 "orien:%d ui:%d touch:%d density:%d key:%d inp:%d nav:%d sz:%dx%d "
2856 "orien:%d ui:%d touch:%d density:%d key:%d inp:%d nav:%d sz:%dx%d "
3121 const String16& key, const String16& value,
3135 ssize_t origKey = mBag.indexOfKey(key);
3141 String8(mName).string(), String8(key)
3120 addToBag(const SourcePos& sourcePos, const String16& key, const String16& value, const Vector<StringPool::entry_style_span>* style, bool replace, bool isId, int32_t format) argument
3172 const String16& key = mBag.keyAt(i); local
3229 const String16& key = mBag.keyAt(i); local
3260 const String16& key = mBag.keyAt(i); local
[all...]
/frameworks/base/media/java/android/media/
H A DAudioManager.java442 * If the user hits another key within the play sound delay, then
451 * The user has hit another key during the delay (e.g., 300ms)
452 * since the last volume key up, so cancel any sounds.
472 * Adjust the volume in on key down since it is more
513 * Play a sound. This is done on key up since we don't want the
735 * UI sounds are screen lock/unlock, camera shutter, key clicks...
1561 * TODO: Replace with a more generic key:value get/set mechanism
1563 * param key name of parameter to set. Must not be null.
1570 @Deprecated public void setParameter(String key, String value) { argument
1571 setParameters(key
2486 getProperty(String key) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.cpp44 static bool GetAttribute(const char *s, const char *key, AString *value) { argument
47 size_t keyLen = strlen(key);
59 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
/frameworks/base/core/tests/coretests/src/android/os/
H A DPerformanceCollectorTest.java479 for (String key : b1.keySet()) {
480 assertEquals(b1.get(key), b2.get(key));
/frameworks/base/keystore/tests/src/android/security/
H A DAndroidKeyStoreTest.java526 assertTrue("Should contain generated private key", mKeyStore.containsAlias(TEST_ALIAS_1));
788 private void assertPrivateKeyEntryEquals(PrivateKeyEntry keyEntry, byte[] key, byte[] cert, argument
791 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(key));
846 Key key = mKeyStore.getKey(TEST_ALIAS_1, null);
847 assertNotNull("Key should exist", key);
849 assertTrue("Should be a RSAPrivateKey", key instanceof RSAPrivateKey);
851 RSAPrivateKey actualKey = (RSAPrivateKey) key;
856 assertEquals("Inserted key should be same as retrieved key", actualKey, expectedKey);
1300 // Insert initial key
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DSSLSocketTest.java128 String key = line.substring(0, dot).trim();
131 if ("Content-Length".equalsIgnoreCase(key)) {
133 } else if ("Transfer-Encoding".equalsIgnoreCase(key)) {
459 * single self-generated key. The subject name is "Test Server".
489 * single self-generated key. The subject name is "Test Server".
519 * single self-generated key. The subject name is "Test Client".
549 * single self-generated key. The subject name is "Test Client".
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DEventRecurrenceTest.java313 key = k;
317 String key; field in class:EventRecurrenceTest.Check
336 String recur = "FREQ=DAILY;" + ck.key + "=" + n;
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp206 const uint8_t key[16],
221 msg->setPointer("key", (void *)key);
1316 const uint8_t *key; local
1331 key = NULL;
1341 CHECK(msg->findPointer("key", (void **)&key));
1392 key,
201 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
/frameworks/base/core/java/android/os/
H A DParcel.java128 * for key/value maps of heterogeneous values. This has many optimizations
2225 Object key = readValue(loader);
2227 outVal.put(key, value);
2254 int key = readInt();
2256 //Log.i(TAG, "Unmarshalling key=" + key + " value=" + value);
2257 outVal.append(key, value);
2265 int key = readInt();
2267 //Log.i(TAG, "Unmarshalling key=" + key
[all...]
/frameworks/base/services/java/com/android/server/usb/
H A DUsbSettingsManager.java1033 // make a copy of the key set to avoid ConcurrentModificationException
1036 Object key = keys[i];
1037 if (packageName.equals(mDevicePreferenceMap.get(key))) {
1038 mDevicePreferenceMap.remove(key);
1044 // make a copy of the key set to avoid ConcurrentModificationException
1047 Object key = keys[i];
1048 if (packageName.equals(mAccessoryPreferenceMap.get(key))) {
1049 mAccessoryPreferenceMap.remove(key);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp165 status_t VideoEditorPlayer::setParameter(int key, const Parcel &request) { argument
170 status_t VideoEditorPlayer::getParameter(int key, Parcel *reply) { argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h330 virtual status_t setParameter(int key, const Parcel &request);
331 virtual status_t getParameter(int key, Parcel *reply);
/frameworks/base/core/java/android/app/
H A DFragmentManager.java280 * @param key The name of the entry in the bundle.
283 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); argument
290 * @param key The name of the entry in the bundle.
294 public abstract Fragment getFragment(Bundle bundle, String key); argument
557 public void putFragment(Bundle bundle, String key, Fragment fragment) { argument
562 bundle.putInt(key, fragment.mIndex);
566 public Fragment getFragment(Bundle bundle, String key) { argument
567 int index = bundle.getInt(key, -1);
572 throwException(new IllegalStateException("Fragement no longer exists for key "
573 + key
[all...]
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java276 String key = tag.substring(t + 1, eq);
279 buffer.setSpan(new Annotation(key, value),
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java436 * Mount an Opaque Binary Blob (OBB) file. If a <code>key</code> is
451 * @param key secret used to encrypt the OBB; may be <code>null</code> if no
456 public boolean mountObb(String rawPath, String key, OnObbStateChangeListener listener) { argument
463 mMountService.mountObb(rawPath, canonicalPath, key, mObbActionListener, nonce);
/frameworks/native/cmds/dumpstate/
H A Dutils.c247 static void print_prop(const char *key, const char *name, void *user) { argument
251 snprintf(buf, sizeof(buf), "[%s]: [%s]\n", key, name);
/frameworks/native/opengl/libs/EGL/
H A Dtrace.cpp59 GLenumString key = {e, ""}; local
61 &key, g_enumnames,
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentManager.java278 * @param key The name of the entry in the bundle.
281 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); argument
288 * @param key The name of the entry in the bundle.
292 public abstract Fragment getFragment(Bundle bundle, String key); argument
544 public void putFragment(Bundle bundle, String key, Fragment fragment) { argument
549 bundle.putInt(key, fragment.mIndex);
553 public Fragment getFragment(Bundle bundle, String key) { argument
554 int index = bundle.getInt(key, -1);
559 throwException(new IllegalStateException("Fragement no longer exists for key "
560 + key
[all...]
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h84 const uint8_t key[16],

Completed in 210 milliseconds

<<11121314151617