Searched refs:key (Results 451 - 475 of 578) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/include/
H A DAwesomePlayer.h94 status_t setParameter(int key, const Parcel &request);
95 status_t getParameter(int key, Parcel *reply);
/frameworks/base/core/java/android/preference/
H A DPreferenceManager.java51 * The Activity meta-data key for its XML preference hierarchy.
200 * the {@link #METADATA_KEY_PREFERENCES} key.
406 * Finds a {@link Preference} based on its key.
408 * @param key The key of the preference to retrieve.
409 * @return The {@link Preference} with the key, or null.
412 public Preference findPreference(CharSequence key) { argument
417 return mPreferenceScreen.findPreference(key);
H A DPreference.java54 * This class contains a {@code key} that will be used as the key into the
396 * set individual extra key/value pairs.
838 * Sets the key for this Preference, which is used as a key to the
841 * @param key The key for the preference.
843 public void setKey(String key) { argument
844 mKey = key;
852 * Gets the key fo
1218 findPreferenceInHierarchy(String key) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DCaptioningManager.java167 private void registerObserver(String key) { argument
168 mContentResolver.registerContentObserver(Secure.getUriFor(key), false, mContentObserver);
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java402 public Object get(Object key) { argument
403 Object value = super.get(key);
/frameworks/base/core/java/android/provider/
H A DContacts.java120 * The key of this setting.
125 public static final String KEY = "key";
167 public static final String DEFAULT_SORT_ORDER = "key ASC";
186 public static String getSetting(ContentResolver cr, String account, String key) { argument
195 ? "_sync_account is null AND key=?"
196 : "_sync_account=? AND key=?";
197 // : "_sync_account=? AND _sync_account_type=? AND key=?";
199 ? new String[]{key}
200 : new String[]{account, key};
202 selectString = "key
219 setSetting(ContentResolver cr, String account, String key, String value) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java802 String getStringParam(Bundle params, String key, String defaultValue) { argument
803 return params == null ? defaultValue : params.getString(key, defaultValue);
806 int getIntParam(Bundle params, String key, int defaultValue) { argument
807 return params == null ? defaultValue : params.getInt(key, defaultValue);
810 float getFloatParam(Bundle params, String key, float defaultValue) { argument
811 return params == null ? defaultValue : params.getFloat(key, defaultValue);
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipService.java292 String key = localProfile.getUriString();
293 SipSessionGroupExt group = mSipGroups.get(key);
296 mSipGroups.put(key, group);
307 String key = localProfile.getUriString();
308 SipSessionGroupExt group = mSipGroups.get(key);
318 mSipGroups.put(key, group);
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java1705 final String key = authorityName + "/" + accountKey;
1706 final Long lastEventTime = lastTimeMap.get(key);
1722 lastTimeMap.put(key, eventTime);
3190 for (String key : bigger.keySet()) {
3191 if (!includeSyncSettings && isSyncSetting(key)) {
3194 if (!smaller.containsKey(key)) {
3197 if (!bigger.get(key).equals(smaller.get(key))) {
3206 * @return true if the provided key is used by the SyncManager in scheduling the sync.
3208 private static boolean isSyncSetting(String key) { argument
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp2398 const String16& key = e->getBag().keyAt(i); local
2399 if (key.size() > 0 && key.string()[0] != '^') {
2400 outKeys->add(key);
2928 fprintf(stderr, "**** key strings: %d\n", amt);
3034 "orien:%d ui:%d touch:%d density:%d key:%d inp:%d nav:%d sz:%dx%d "
3077 "orien:%d ui:%d touch:%d density:%d key:%d inp:%d nav:%d sz:%dx%d "
3424 const String16& key, const String16& value,
3438 ssize_t origKey = mBag.indexOfKey(key);
3444 String8(mName).string(), String8(key)
3423 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
3457 removeFromBag(const String16& key) argument
3486 const String16& key = mBag.keyAt(i); local
3546 const String16& key = mBag.keyAt(i); local
3577 const String16& key = mBag.keyAt(i); local
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java1392 private void include(List<Arc> arcs, Interval key, MutableInt size, argument
1400 if (key.size() == 0) {
1408 if (span.equals(key)) {
1413 arcs.add(new Arc(key, size));
1416 private void include(List<Arc> arcs, Interval key, MutableInt size) { argument
1417 include(arcs, key, size, true);
1487 Interval key = links.keys[i];
1488 include(result, key, links.values[i], false);
2234 In place of a HashMap from span to Int, use an array of key/value pairs - stored in Arcs.
2289 public void put(K key, argument
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java1269 private void include(List<Arc> arcs, Interval key, MutableInt size, argument
1277 if (key.size() == 0) {
1285 if (span.equals(key)) {
1290 arcs.add(new Arc(key, size));
1293 private void include(List<Arc> arcs, Interval key, MutableInt size) { argument
1294 include(arcs, key, size, true);
1364 Interval key = links.keys[i];
1365 include(result, key, links.values[i], false);
2109 In place of a HashMap from span to Int, use an array of key/value pairs - stored in Arcs.
2164 public void put(K key, argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DTethering.java686 for (Object key : keys) {
687 TetherInterfaceSM sm = mIfaces.get(key);
689 list.add((String)key);
704 for (Object key : keys) {
705 TetherInterfaceSM sm = mIfaces.get(key);
707 list.add((String)key);
726 for (Object key : keys) {
727 TetherInterfaceSM sm = mIfaces.get(key);
729 list.add((String)key);
/frameworks/av/media/libmedia/
H A DIDrm.cpp196 String8 key = reply.readString8(); local
198 infoMap.add(key, value);
557 String8 key, value; local
558 key = data.readString8();
560 optionalParameters.add(key, value);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DAlternateRecentsComponent.java354 if (task.key.id == runningTask.id) {
395 mSystemServicesProxy.moveTaskToFront(toTask.key.id, launchOpts);
397 mSystemServicesProxy.startActivityFromRecents(mContext, toTask.key.id,
556 if (toTransform != null && toTask.key != null) {
593 if (t.key.id == runningTaskId) {
/frameworks/base/tools/apilint/
H A Dapilint.py681 for key in sorted(api.keys()):
682 clazz = api[key]
748 for key in sorted(prev.keys()):
749 prev_clazz = prev[key]
755 cur_clazz = cur[key]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java938 // to the same service under the same key).
941 Pair<Integer, FilterComparison> key = Pair.create(appWidgetId, fc);
943 if (mBoundRemoteViewsServices.containsKey(key)) {
944 connection = (ServiceConnectionProxy) mBoundRemoteViewsServices.get(key);
947 mBoundRemoteViewsServices.remove(key);
954 mBoundRemoteViewsServices.put(key, connection);
980 Pair<Integer, FilterComparison> key = Pair.create(appWidgetId,
982 if (mBoundRemoteViewsServices.containsKey(key)) {
997 mBoundRemoteViewsServices.get(key);
1000 mBoundRemoteViewsServices.remove(key);
[all...]
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp729 MockCryptoPlugin::decrypt(bool secure, const uint8_t key[16], const uint8_t iv[16], argument
733 ALOGD("MockCryptoPlugin::decrypt(secure=%d, key=%s, iv=%s, mode=%d, src=%p, "
736 arrayToString(key, sizeof(key)).string(),
/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/java/android/hardware/camera2/legacy/
H A DLegacyRequestMapper.java661 * Return {@code null} if the value is not supported, otherwise return the retrieved key's
668 * <p>Logs a warning to logcat if the key is not supported by api1 camera device.</p.
671 CaptureRequest r, CaptureRequest.Key<T> key, T defaultValue, boolean isSupported,
673 T val = ParamsUtils.getOrDefault(r, key, defaultValue);
677 Log.w(TAG, key.getName() + " is not supported; ignoring requested value " + val);
670 getIfSupported( CaptureRequest r, CaptureRequest.Key<T> key, T defaultValue, boolean isSupported, T allowedValue) argument
/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/media/java/android/media/
H A DRemoteController.java281 * Send a simulated key event for a media button to be received by the current client.
282 * To simulate a key press, you must first send a KeyEvent built with
285 * <p>The key event will be sent to the registered receiver
289 * @param keyEvent a {@link KeyEvent} instance whose key code is one of
309 throw new IllegalArgumentException("not a media key event");
342 Log.i(TAG, "No-op when sending key click, no receiver right now");
506 private void cleanupBitmapFromBundle(int key) { argument
507 if (METADATA_KEYS_TYPE.get(key, METADATA_TYPE_INVALID) == METADATA_TYPE_BITMAP) {
508 mEditorMetadata.remove(String.valueOf(key));
519 // key value
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DMountService.java249 * The size of the crypto algorithm key in bits for OBB files. Currently
1823 public int createSecureContainer(String id, int sizeMb, String fstype, String key, argument
1831 mConnector.execute("asec", "create", id, sizeMb, fstype, new SensitiveArg(key),
1846 public int resizeSecureContainer(String id, int sizeMb, String key) { argument
1853 mConnector.execute("asec", "resize", id, sizeMb, new SensitiveArg(key));
1934 public int mountSecureContainer(String id, String key, int ownerUid, boolean readOnly) { argument
1947 mConnector.execute("asec", "mount", id, new SensitiveArg(key), ownerUid,
2147 String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) {
2154 final ObbAction action = new MountObbAction(obbState, key, callingUid);
2294 /** Set the password for encrypting the master key
2146 mountObb( String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
2844 MountObbAction(ObbState obbState, String key, int callingUid) argument
[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/base/tests/OneMedia/src/com/android/onemedia/playback/
H A DLocalRenderer.java329 for (String key : mContent.headers.keySet()) {
330 request.addHeader(key, mContent.headers.get(key));

Completed in 772 milliseconds

<<11121314151617181920>>