/frameworks/base/core/java/android/print/ |
H A D | PrintJobInfo.java | 530 * @param key The option key. 535 public boolean hasAdvancedOption(String key) { argument 536 return mAdvancedOptions != null && mAdvancedOptions.containsKey(key); 542 * @param key The option key. 547 public String getAdvancedStringOption(String key) { argument 549 return mAdvancedOptions.getString(key); 557 * @param key The option key 562 getAdvancedIntOption(String key) argument 719 putAdvancedOption(String key, String value) argument 732 putAdvancedOption(String key, int value) argument [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 390 void GLEnv::AttachShader(int key, ShaderProgram* shader) { argument 391 ShaderProgram* existingShader = ShaderWithKey(key); 394 attached_shaders_[key] = shader; 397 void GLEnv::AttachVertexFrame(int key, VertexFrame* frame) { argument 398 VertexFrame* existingFrame = VertexFrameWithKey(key); 401 attached_vframes_[key] = frame; 404 ShaderProgram* GLEnv::ShaderWithKey(int key) { argument 405 return FindPtrOrNull(attached_shaders_, key); 408 VertexFrame* GLEnv::VertexFrameWithKey(int key) { argument 409 return FindPtrOrNull(attached_vframes_, key); [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 126 // the key to store the WIFI data under, should be sorted as last, so restore happens last. 227 // Parse out all the key management regimes permitted for this network. The literal 244 // Now build the canonical config key paralleling the WifiConfiguration semantics 245 final String key; 247 key = bareSsid + KeyMgmt.strings[KeyMgmt.WPA_PSK]; 249 key = bareSsid + KeyMgmt.strings[KeyMgmt.WPA_EAP]; 251 key = bareSsid + "WEP"; // hardcoded this way in WifiConfiguration 253 key = bareSsid + KeyMgmt.strings[KeyMgmt.NONE]; 255 return key; 480 final String key 674 writeIfChanged(long oldChecksum, String key, byte[] data, BackupDataOutput output) argument [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | UnrefedPooledCache.java | 72 public V get(K key, boolean incrementRefCount) { argument 75 V result = mCache.get(key); 77 result = mNonPooledCache.get(key); 88 public V put(K key, V value) { argument 98 prev = mCache.put(key, value); 100 prev = mNonPooledCache.put(key, value); 193 sb.append("\n\tcache key="); 203 sb.append("\n\tnon-pooled cache key="); 227 protected int sizeOf(K key, V value) { argument
|
/frameworks/support/v13/java/android/support/v13/app/ |
H A D | FragmentStatePagerAdapter.java | 191 String key = "f" + i; 192 mFragmentManager.putFragment(state, key, f); 212 for (String key: keys) { 213 if (key.startsWith("f")) { 214 int index = Integer.parseInt(key.substring(1)); 215 Fragment f = mFragmentManager.getFragment(bundle, key); 223 Log.w(TAG, "Bad fragment at key " + key);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentStatePagerAdapter.java | 187 String key = "f" + i; 188 mFragmentManager.putFragment(state, key, f); 208 for (String key: keys) { 209 if (key.startsWith("f")) { 210 int index = Integer.parseInt(key.substring(1)); 211 Fragment f = mFragmentManager.getFragment(bundle, key); 219 Log.w(TAG, "Bad fragment at key " + key);
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeech.java | 517 * Parameter key to specify the audio stream type to be used when speaking text 527 * Parameter key to specify the audio attributes to be used when 538 * Parameter key to identify an utterance in the 549 * Parameter key to specify the speech volume relative to the current stream type 559 * Parameter key to specify how the speech is panned from left to right when speaking text. 569 * Feature key for network synthesis. See {@link TextToSpeech#getFeatures(Locale)} 587 * Feature key for embedded synthesis. See {@link TextToSpeech#getFeatures(Locale)} 605 * Parameter key to specify an audio session identifier (obtained from 616 * Feature key that indicates that the voice may need to download additional data to be fully 621 * the request. This feature should NOT be used as a key o 1899 verifyIntegerBundleParam(Bundle bundle, String key) argument 1912 verifyStringBundleParam(Bundle bundle, String key) argument 1924 verifyBooleanBundleParam(Bundle bundle, String key) argument 1938 verifyFloatBundleParam(Bundle bundle, String key) argument 1951 copyStringParam(Bundle bundle, HashMap<String, String> params, String key) argument 1958 copyIntParam(Bundle bundle, HashMap<String, String> params, String key) argument 1970 copyFloatParam(Bundle bundle, HashMap<String, String> params, String key) argument [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | FrameFormat.java | 109 public boolean hasMetaKey(String key) { argument 110 return mMetaData != null ? mMetaData.containsKey(key) : false; 113 public boolean hasMetaKey(String key, Class expectedClass) { argument 114 if (mMetaData != null && mMetaData.containsKey(key)) { 115 if (!expectedClass.isAssignableFrom(mMetaData.get(key).getClass())) { 117 "FrameFormat meta-key '" + key + "' is of type " + 118 mMetaData.get(key).getClass() + " but expected to be of type " + 126 public Object getMetaValue(String key) { argument 127 return mMetaData != null ? mMetaData.get(key) [all...] |
/frameworks/rs/cpp/util/ |
H A D | TypeHelpers.h | 223 * a key/value pair 231 KEY key; member in struct:android::RSC::key_value_pair_t 234 key_value_pair_t(const key_value_pair_t& o) : key(o.key), value(o.value) { } 235 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { } 236 key_value_pair_t(const KEY& k) : key(k) { } 238 return strictly_order_type(key, o.key); 241 return key; 269 hash_t hash_type(const TKey& key); [all...] |
/frameworks/rs/server/ |
H A D | TypeHelpers.h | 223 * a key/value pair 231 KEY key; member in struct:android::key_value_pair_t 234 key_value_pair_t(const key_value_pair_t& o) : key(o.key), value(o.value) { } 235 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { } 236 key_value_pair_t(const KEY& k) : key(k) { } 238 return strictly_order_type(key, o.key); 241 return key; 269 hash_t hash_type(const TKey& key); [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.h | 52 bool getTypeURI(size_t index, const char *key, AString *uri) const; 84 const AString &line, sp<AMessage> *meta, const char *key); 87 const AString &line, sp<AMessage> *meta, const char *key);
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | ParamsUtils.java | 180 * Return the value set by the key, or the {@code defaultValue} if no value was set. 184 public static <T> T getOrDefault(CaptureRequest r, CaptureRequest.Key<T> key, T defaultValue) { argument 186 checkNotNull(key, "key must not be null"); 189 T value = r.get(key);
|
/frameworks/base/core/jni/ |
H A D | android_backup_BackupDataInput.cpp | 70 String8 key; local 72 err = reader->ReadEntityHeader(&key, &dataSize); 77 jstring keyStr = env->NewStringUTF(key.string()); 140 s_keyField = env->GetFieldID(clazz, "key", "Ljava/lang/String;"); 142 "Unable to find key field in android.app.backup.BackupDataInput.EntityHeader");
|
H A D | android_util_Log.cpp | 61 String8 key; local 62 key.append(LOG_NAMESPACE); 63 key.append(tag); 66 if (property_get(key.string(), buf, "") <= 0) {
|
/frameworks/base/docs/html/ |
H A D | jd_tag_helpers.js | 53 for (var key in resourceDict) { 55 var srcArr = resourceDict[key]; 59 map[key] = dictForKey;
|
/frameworks/base/include/storage/ |
H A D | IMountService.h | 49 const int32_t sizeMb, const String16& fstype, const String16& key, 54 const String16& key, const int32_t ownerUid) = 0; 66 const String16& key, const sp<IObbActionListener>& token,
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ValidateNotificationPeople.java | 149 final String key = Long.toString(System.nanoTime()); 155 final PeopleRankingReconsideration prr = validatePeople(context, key, extras, affinityOut); 172 Slog.w(TAG, "Timeout while waiting for affinity: " + key + ". " 177 Slog.w(TAG, "InterruptedException while waiting for affinity: " + key + ". " 202 final String key = record.getKey(); 205 final RankingReconsideration rr = validatePeople(context, key, extras, affinityOut); 210 private PeopleRankingReconsideration validatePeople(Context context, String key, Bundle extras, argument 222 if (INFO) Slog.i(TAG, "Validating: " + key); 250 if (DEBUG) Slog.d(TAG, "Pending: future work scheduled for: " + key); 251 return new PeopleRankingReconsideration(context, key, pendingLookup 415 PeopleRankingReconsideration(Context context, String key, LinkedList<String> pendingLookups) argument [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxPredictor.java | 98 topSamples.add(new Pair<String, Float>(topList.get(i).key, topList.get(i).value)); 107 public boolean setParameter(String key, String value) { argument 111 return mPredictor.setPredictorParameter(key, value);
|
H A D | BordeauxRanker.java | 33 * Data is represented as sparse key, value pair. And key is a String, value 49 v.key = x.getKey(); 129 public boolean setParameter(String key, String value) { argument 133 return mRanker.SetModelParameter(key, value);
|
/frameworks/native/services/sensorservice/ |
H A D | BatteryService.cpp | 43 Info key(uid, handle); 44 ssize_t index = mActivations.indexOf(key); 46 index = mActivations.add(key);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiScanner.java | 289 * key for this scan, and must also be specified to cancel the scan. Multiple 668 int key; 671 key = sListenerKey++; 672 } while (key == INVALID_KEY); 673 sListenerMap.put(key, listener); 675 return key; 678 private static Object getListener(int key) { argument 679 if (key == INVALID_KEY) return null; 681 Object listener = sListenerMap.get(key); 698 private static Object removeListener(int key) { argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | WallpaperBackupHelper.java | 132 final String key = data.getKey(); 133 if (isKeyInList(key, mKeys)) { 134 if (key.equals(WALLPAPER_IMAGE_KEY)) { 182 } else if (key.equals(WALLPAPER_INFO_KEY)) {
|
/frameworks/base/core/java/android/content/ |
H A D | DefaultDataHandler.java | 165 String key = atts.getValue(0); 167 if (key != null && key.length() > 0 && value != null && value.length() > 0) { 171 mValues.put(key, value);
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceGroup.java | 222 * Finds a {@link Preference} based on its key. If two {@link Preference} 223 * share the same key (not recommended), the first to appear will be 224 * returned (to retrieve the other preference with the same key, call this 225 * method on the first preference). If this preference has the key, it will 231 * @param key The key of the preference to retrieve. 232 * @return The {@link Preference} with the key, or null. 234 public Preference findPreference(CharSequence key) { argument 235 if (TextUtils.equals(getKey(), key)) { 243 if (curKey != null && curKey.equals(key)) { [all...] |
/frameworks/base/libs/hwui/ |
H A D | ProgramCache.h | 51 Program* generateProgram(const ProgramDescription& description, programid key);
|