Searched refs:key (Results 301 - 325 of 403) sorted by relevance

<<11121314151617

/frameworks/base/services/java/com/android/server/
H A DAppWidgetServiceImpl.java134 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/core/java/android/net/
H A DUri.java1470 * 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/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java98 // want to cache the existence of a key, but not store its value.
586 // Put methods - new value is in the args bundle under the key named by
610 // Looks up value 'key' in 'table' and returns either a single-pair Bundle,
613 final SettingsCache cache, String key) {
615 Slog.e(TAG, "cache is null for user " + UserHandle.getCallingUserId() + " : key=" + key);
619 Bundle value = cache.get(key);
639 cursor = db.query(table, COLUMN_VALUE, "name=?", new String[]{key},
643 return cache.putIfAbsent(key, cursor.getString(0));
651 cache.putIfAbsent(key, nul
612 lookupValue(DatabaseHelper dbHelper, String table, final SettingsCache cache, String key) argument
1089 entryRemoved(boolean evicted, String key, Bundle oldValue, Bundle newValue) argument
1102 putIfAbsent(String key, String value) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java1331 private void include(List<Arc> arcs, Interval key, MutableInt size, argument
1339 if (key.size() == 0) {
1347 if (span.equals(key)) {
1352 arcs.add(new Arc(key, size));
1355 private void include(List<Arc> arcs, Interval key, MutableInt size) { argument
1356 include(arcs, key, size, true);
1426 Interval key = links.keys[i];
1427 include(result, key, links.values[i], false);
2035 In place of a HashMap from span to Int, use an array of key/value pairs - stored in Arcs.
2090 public void put(K key, argument
[all...]
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionGroup.java285 String key = SipHelper.getCallId(event);
286 SipSessionImpl session = mSessionMap.get(key);
288 Log.d(TAG, "session key from event: " + key);
299 String key = newSession.getCallId();
300 mSessionMap.put(key, newSession);
302 Log.d(TAG, "+++ add a session with key: '" + key + "'");
311 String key = session.getCallId();
312 SipSessionImpl s = mSessionMap.remove(key);
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java1253 private void include(List<Arc> arcs, Interval key, MutableInt size, argument
1261 if (key.size() == 0) {
1269 if (span.equals(key)) {
1274 arcs.add(new Arc(key, size));
1277 private void include(List<Arc> arcs, Interval key, MutableInt size) { argument
1278 include(arcs, key, size, true);
1347 Interval key = links.keys[i];
1348 include(result, key, links.values[i], false);
1968 In place of a HashMap from span to Int, use an array of key/value pairs - stored in Arcs.
2023 public void put(K key, argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyTransmitter.h52 static bool GetAttribute(const char *s, const char *key, AString *value) { argument
55 size_t keyLen = strlen(key);
63 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
243 uint8_t key[16]; local
244 MD5_Final(key, &m);
247 char nibble = key[i] >> 4;
255 nibble = key[i] & 0x0f;
H A DAMPEG4AudioAssembler.cpp35 static bool GetAttribute(const char *s, const char *key, AString *value) { argument
38 size_t keyLen = strlen(key);
50 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
/frameworks/base/core/java/android/app/
H A DInstrumentation.java62 * If included in the status or final bundle sent to an IInstrumentationWatcher, this key
68 * If included in the status or final bundle sent to an IInstrumentationWatcher, this key
71 * this key should also include the complete set of raw key/value pairs, so that the
829 * Sends the key events corresponding to the text to the app being
855 * Send a key event to the currently focused window/view and wait for it to
892 * Sends an up and down key event sync to the currently focused window.
894 * @param key The integer keycode for the event.
896 public void sendKeyDownUpSync(int key) { argument
897 sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, key));
1272 addValue(String key, int value, Bundle results) argument
[all...]
/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java674 for (Object key : keys) {
675 TetherInterfaceSM sm = mIfaces.get(key);
677 list.add((String)key);
705 for (Object key : keys) {
706 TetherInterfaceSM sm = mIfaces.get(key);
708 list.add((String)key);
723 for (Object key : keys) {
724 TetherInterfaceSM sm = mIfaces.get(key);
726 list.add((String)key);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiNative.java710 private String p2pGetParam(String deviceAddress, String key) { argument
717 key += "=";
719 if (token.startsWith(key)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DTabletStatusBar.java730 entry.key,
761 mNotificationPeekKey = entry.key;
849 public void addNotification(IBinder key, StatusBarNotification notification) { argument
850 if (DEBUG) Slog.d(TAG, "addNotification(" + key + " -> " + notification + ")");
851 addNotificationViews(key, notification);
865 tick(key, notification, true);
871 public void removeNotification(IBinder key) { argument
872 if (DEBUG) Slog.d(TAG, "removeNotification(" + key + ")");
873 removeNotificationViews(key);
874 mTicker.remove(key);
961 tick(IBinder key, StatusBarNotification n, boolean firstTime) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupHelperDispatcher.java120 stream.key = rawKey.substring(pos+1);
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DAsecTests.java78 private int createContainer(String localId, int size, String key, String filesystem, argument
84 return ms.createSecureContainer(fullId, size, filesystem, key, android.os.Process.myUid(),
88 private int mountContainer(String localId, String key) throws Exception { argument
93 return ms.mountSecureContainer(fullId, key, android.os.Process.myUid());
/frameworks/base/location/java/android/location/
H A DLocation.java63 * Bundle key for a version of the location that has been fed through
72 * Bundle key for a version of the location containing no GPS data.
803 * <p> A number of common key/value pairs are listed
910 * @param key the key associated with the desired extra Location
914 public Location getExtraLocation(String key) { argument
916 Parcelable value = mExtras.getParcelable(key);
927 * @param key the key associated with the Location extra
931 public void setExtraLocation(String key, Locatio argument
[all...]
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSInfo.h90 // Pragma is a key-value pair.
91 StringIndexTy key; member in struct:bcc::rsinfo::PragmaItem
/frameworks/ex/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseFragmentPagerAdapter.java180 protected void entryRemoved(boolean evicted, String key, argument
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DMediaPlayerProxyTestCase.java523 String key = keyFor(assetFilename, assetMimeType);
524 if (mContentUriMap.containsKey(key)) {
525 return mContentUriMap.get(key);
541 mContentUriMap.put(key, uri);
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseFragmentPagerAdapter.java184 protected void entryRemoved(boolean evicted, String key, argument
/frameworks/av/media/libstagefright/include/
H A DAwesomePlayer.h91 status_t setParameter(int key, const Parcel &request);
92 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.
197 * the {@link #METADATA_KEY_PREFERENCES} key.
403 * Finds a {@link Preference} based on its key.
405 * @param key The key of the preference to retrieve.
406 * @return The {@link Preference} with the key, or null.
409 public Preference findPreference(CharSequence key) { argument
414 return mPreferenceScreen.findPreference(key);
/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/compile/libbcc/runtime/make/
H A Dlib_platforms.mk20 # Construct the variable key for this directory.
H A Dsubdir.mk33 # Construct the variable key for this directory.
/frameworks/native/opengl/include/EGL/
H A Deglext.h266 typedef void (*EGLSetBlobFuncANDROID) (const void* key, EGLsizeiANDROID keySize, const void* value, EGLsizeiANDROID valueSize);
267 typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void* key, EGLsizeiANDROID keySize, void* value, EGLsizeiANDROID valueSize);

Completed in 633 milliseconds

<<11121314151617