Searched defs:key (Results 101 - 125 of 543) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterfw/native/base/
H A Dutilities.h58 // Given an STL container consisting of (key, value) pairs, STLDeleteValues
71 // If the key is present a const pointer to the associated value is returned,
76 const typename Collection::value_type::first_type& key) {
77 typename Collection::const_iterator it = collection.find(key);
123 // If the key is present a const pointer to the associated value is returned,
125 // This function does not distinguish between a missing key and a key mapped
130 const typename Collection::value_type::first_type& key) {
131 typename Collection::const_iterator it = collection.find(key);
138 // Test to see if a set, map, hash_set or hash_map contains a particular key
75 FindOrNull(const Collection& collection, const typename Collection::value_type::first_type& key) argument
129 FindPtrOrNull(const Collection& collection, const typename Collection::value_type::first_type& key) argument
141 ContainsKey(const Collection& collection, const Key& key) argument
150 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.cpp126 bool NativeProgram::CallSetValue(const std::string& key, const std::string& value) { argument
128 setvalue_function_(key.c_str(), value.c_str(), user_data_);
134 std::string NativeProgram::CallGetValue(const std::string& key) { argument
139 getvalue_function_(key.c_str(), result, buffer_size, user_data_);
/frameworks/base/media/mca/filterpacks/native/base/
H A Dutilities.h58 // Given an STL container consisting of (key, value) pairs, STLDeleteValues
71 // If the key is present a const pointer to the associated value is returned,
76 const typename Collection::value_type::first_type& key) {
77 typename Collection::const_iterator it = collection.find(key);
123 // If the key is present a const pointer to the associated value is returned,
125 // This function does not distinguish between a missing key and a key mapped
130 const typename Collection::value_type::first_type& key) {
131 typename Collection::const_iterator it = collection.find(key);
138 // Test to see if a set, map, hash_set or hash_map contains a particular key
75 FindOrNull(const Collection& collection, const typename Collection::value_type::first_type& key) argument
129 FindPtrOrNull(const Collection& collection, const typename Collection::value_type::first_type& key) argument
141 ContainsKey(const Collection& collection, const Key& key) argument
150 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument
[all...]
/frameworks/base/media/mca/filterpacks/native/imageproc/
H A Dbrightness.c42 void brightness_setvalue(const char* key, const char* value, void* user_data) { argument
43 if (strcmp(key, "brightness") == 0)
46 LOGE("Unknown parameter: %s!", key);
H A Dcontrast.c37 void contrast_setvalue(const char* key, const char* value, void* user_data) { argument
38 if (strcmp(key, "contrast") == 0)
41 LOGE("Unknown parameter: %s!", key);
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java82 * @param key Refers to key used for encrypting the secure container
87 public String copyPackageToContainer(String packagePath, String containerId, String key,
108 return copyPackageToContainerInner(pkg, handle, containerId, key, isExternal,
314 String newCid, String key, boolean isExternal, boolean isForwardLocked,
323 final String newMountPath = PackageHelper.createSdDir(sizeBytes, newCid, key,
313 copyPackageToContainerInner(PackageLite pkg, NativeLibraryHelper.Handle handle, String newCid, String key, boolean isExternal, boolean isForwardLocked, String abiOverride) argument
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DPrefState.java58 for (String key : map.keySet()) {
59 if (key.startsWith(CAT_KEY_PREFIX)) {
60 long seed = Long.parseLong(key.substring(CAT_KEY_PREFIX.length()));
62 cat.setName(String.valueOf(map.get(key)));
87 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { argument
/frameworks/base/packages/ExtServices/src/android/ext/services/notification/
H A DRanker.java48 // bundled by the app (aka no group or sort key).
83 for (String key : notificationsForPackage) {
84 notificationsToBundle.add(key);
140 for (String key : notificationsForPackage) {
141 notificationsToUnAutobundle.add(key);
164 private void adjustAutobundlingSummary(String packageName, String key, boolean summaryNeeded, argument
173 Adjustment adjustment = new Adjustment(packageName, key, IMPORTANCE_UNSPECIFIED, signals,
190 for (String key : keys) {
191 adjustments.add(createBundlingAdjustment(packageName, key, bundle, user));
192 if (DEBUG) Log.i(TAG, "Sending bundling adjustment for: " + key);
201 createBundlingAdjustment(String packageName, String key, boolean bundle, int user) argument
[all...]
/frameworks/base/packages/Osu/src/com/android/configparse/
H A DConfigBuilder.java35 List<X509Certificate> clientChain, PrivateKey key)
45 if (key != null || clientChain != null) {
46 Log.w(TAG, "Client cert and/or key included with EAP-TTLS profile");
51 config = buildTLSConfig(homeSP, clientChain, key);
56 if (key != null || clientChain != null || caCert != null) {
57 Log.i(TAG, "Client/CA cert and/or key included with " +
134 throw new IOException("No key and/or cert passed for EAP-TLS");
34 buildConfig(HomeSP homeSP, X509Certificate caCert, List<X509Certificate> clientChain, PrivateKey key) argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DClientKeyManager.java39 public void reloadKeys(Map<OSUCertType, List<X509Certificate>> certs, PrivateKey key) argument
48 mTempKeys.put(OSUCertType.PrivateKey, key);
112 Log.w(OSUManager.TAG, "Bad key alias requested: '" + alias + "'");
117 Log.w(OSUManager.TAG, "Failed to retrieve private key: " + gse);
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPResponse.java98 String key = line.substring(0, keyEnd).trim();
100 headers.put(key, value);
126 public String getHeader(String key) { argument
127 return mHeaders.get(key);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DAppItem.java28 public final int key; field in class:AppItem
36 this.key = 0;
39 public AppItem(int key) { argument
40 this.key = key;
44 key = parcel.readInt();
55 dest.writeInt(key);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DDashboardCategory.java36 public String key; field in class:DashboardCategory
85 dest.writeString(key);
99 key = in.readString();
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DGenerationRegistry.java51 public void incrementGeneration(int key) { argument
56 final int index = getKeyIndexLocked(key, mKeyToIndexMap, backingStore);
69 public void addGenerationData(Bundle bundle, int key) { argument
74 final int index = getKeyIndexLocked(key, mKeyToIndexMap, backingStore);
82 Slog.i(LOG_TAG, "Exported index:" + index + " for key:"
83 + SettingsProvider.keyToString(key));
141 private static void resetSlotForKeyLocked(int key, SparseIntArray keyToIndexMap, argument
143 final int index = keyToIndexMap.get(key, -1);
145 keyToIndexMap.delete(key);
148 Slog.i(LOG_TAG, "Freed index:" + index + " for key
154 getKeyIndexLocked(int key, SparseIntArray keyToIndexMap, MemoryIntArray backingStore) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBatteryMeterView.java66 public void onTuningChanged(String key, String newValue) { argument
67 if (StatusBarIconController.ICON_BLACKLIST.equals(key)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsDebugFlags.java62 // Register all our flags, this will also call onTuningChanged() for each key, which will
85 public void onTuningChanged(String key, String newValue) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskKeyLruCache.java28 * recently referenced key/values will be evicted as more values than the given cache size are
37 public void onEntryEvicted(Task.TaskKey key); argument
65 * Gets a specific entry in the cache with the specified key, regardless of whether the cached
68 final V get(Task.TaskKey key) { argument
69 return mCache.get(key.id);
73 * Returns the value only if the key is valid (has not been updated since the last time it was
76 final V getAndInvalidateIfModified(Task.TaskKey key) { argument
77 Task.TaskKey lastKey = mKeys.get(key.id);
79 if ((lastKey.stackId != key.stackId) ||
80 (lastKey.lastActiveTime != key
93 put(Task.TaskKey key, V value) argument
103 remove(Task.TaskKey key) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DBatteryPreference.java62 public void onTuningChanged(String key, String newValue) { argument
63 if (StatusBarIconController.ICON_BLACKLIST.equals(key)) {
H A DClockPreference.java56 public void onTuningChanged(String key, String newValue) { argument
57 if (StatusBarIconController.ICON_BLACKLIST.equals(key)) {
60 } else if (Clock.CLOCK_SECONDS.equals(key)) {
H A DDemoModeFragment.java198 private void setGlobal(String key, int value) { argument
199 Settings.Global.putInt(getContext().getContentResolver(), key, value);
/frameworks/base/services/core/java/com/android/server/
H A DCertBlacklister.java57 public BlacklistObserver(String key, String name, String path, ContentResolver cr) { argument
59 mKey = key;
128 // set up the public key blacklist observer
/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingReconsideration.java37 public RankingReconsideration(String key) { argument
38 this(key, IMMEDIATE);
41 public RankingReconsideration(String key, long delay) { argument
43 mKey = key;
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DCertBlacklisterTest.java45 private void overrideSettings(String key, String value) throws Exception { argument
46 Settings.Secure.putString(mContext.getContentResolver(), key, value);
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DLruCache.java45 * protected int sizeOf(String key, Bitmap value) {
53 * if (cache.get(key) == null) {
54 * cache.put(key, value);
58 * <p>This class does not allow null to be used as a key or value. A return
60 * unambiguous: the key was not in the cache.
110 * Returns the value for {@code key} if it exists in the cache or can be
115 public final V get(K key) { argument
116 if (key == null) {
117 throw new NullPointerException("key == null");
122 mapValue = map.get(key);
169 put(K key, V value) argument
240 remove(K key) argument
275 entryRemoved(boolean evicted, K key, V oldValue, V newValue) argument
292 create(K key) argument
296 safeSizeOf(K key, V value) argument
311 sizeOf(K key, V value) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeSharedPreferences.java37 public String getString(String key, String defValue) { argument
42 public Set<String> getStringSet(String key, Set<String> defValues) { argument
47 public int getInt(String key, int defValue) { argument
52 public long getLong(String key, long defValue) { argument
57 public float getFloat(String key, float defValue) { argument
62 public boolean getBoolean(String key, boolean defValue) { argument
67 public boolean contains(String key) { argument
78 public Editor putString(String key, String value) {
83 public Editor putStringSet(String key, Set<String> values) {
88 public Editor putInt(String key, in
[all...]

Completed in 388 milliseconds

1234567891011>>