Searched refs:key (Results 151 - 175 of 403) sorted by relevance

1234567891011>>

/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentStatePagerAdapter.java191 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 DFragmentStatePagerAdapter.java187 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/services/java/com/android/server/
H A DPackageManagerBackupAgent.java57 // key under which we store global metadata (individual app metadata
58 // is stored using the package name as a key)
150 if (DEBUG) Slog.v(TAG, "Storing global metadata key");
155 if (DEBUG) Slog.v(TAG, "Global metadata key already stored");
165 // We've already handled the metadata key; skip it here
244 private static void writeEntity(BackupDataOutput data, String key, byte[] bytes) argument
246 data.writeEntityHeader(key, bytes.length);
261 String key = data.getKey();
264 if (DEBUG) Slog.v(TAG, " got key=" + key
[all...]
/frameworks/native/include/utils/
H A DTypeHelpers.h223 * 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...]
H A DBlobCache.h29 // A BlobCache is an in-memory cache for binary key/value pairs. A BlobCache
39 // Create an empty blob cache. The blob cache will cache key/value pairs
40 // with key and value sizes less than or equal to maxKeySize and
42 // (key sizes plus value sizes) will not exceed maxTotalSize.
46 // given binary key. If the key or value are too large for the cache then
48 // value was previously associated with the given key - the old value will
49 // remain in the cache. If the given key and value are small enough to be
51 // values specified to the BlobCache constructor), then the key/value pair
53 // call to set may evict old key/valu
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrameFormat.java109 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/base/core/jni/
H A Dandroid_backup_BackupDataInput.cpp70 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 Dandroid_util_Log.cpp61 String8 key; local
62 key.append(LOG_NAMESPACE);
63 key.append(tag);
66 if (property_get(key.string(), buf, "") <= 0) {
/frameworks/base/include/storage/
H A DIMountService.h49 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/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxRanker.java33 * 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/av/include/media/
H A DICrypto.h46 const uint8_t key[16],
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.h47 const uint8_t key[16],
H A DStagefrightPlayer.h59 virtual status_t setParameter(int key, const Parcel &request);
60 virtual status_t getParameter(int key, Parcel *reply);
/frameworks/base/core/java/android/content/
H A DDefaultDataHandler.java165 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 DPreferenceGroup.java221 * Finds a {@link Preference} based on its key. If two {@link Preference}
222 * share the same key (not recommended), the first to appear will be
223 * returned (to retrieve the other preference with the same key, call this
224 * method on the first preference). If this preference has the key, it will
230 * @param key The key of the preference to retrieve.
231 * @return The {@link Preference} with the key, or null.
233 public Preference findPreference(CharSequence key) { argument
234 if (TextUtils.equals(getKey(), key)) {
242 if (curKey != null && curKey.equals(key)) {
[all...]
/frameworks/base/libs/hwui/
H A DProgramCache.h62 Program* generateProgram(const ProgramDescription& description, programid key);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLayoutTestController.java70 public void overridePreference(String key, boolean value); argument
/frameworks/native/include/media/hardware/
H A DCryptoAPI.h48 // Neither key nor iv are being used in this mode.
77 const uint8_t key[16],
/frameworks/av/media/libstagefright/include/
H A DM3UParser.h64 const AString &line, sp<AMessage> *meta, const char *key);
67 const AString &line, sp<AMessage> *meta, const char *key);
/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelperBase.java109 boolean isKeyInList(String key, String[] list) { argument
111 if (s.equals(key)) {
/frameworks/base/core/java/android/webkit/
H A DClientCertRequestHandler.java52 * Proceed with the specified private key and client certificate chain.
79 * Proceed with the specified private key bytes and client certificate chain.
90 * Proceed with the specified private key context and client certificate chain.
92 private void setSslClientCertFromPKCS8(final byte[] key, final byte[][] chainBytes) { argument
95 mBrowserFrame.nativeSslClientCert(mHandle, key, chainBytes);
/frameworks/base/include/androidfw/
H A DBackupHelpers.h32 int keyLen; // length of the key name, not including the null terminator
72 status_t WriteEntityHeader(const String8& key, size_t dataSize);
113 status_t ReadEntityHeader(String8* key, size_t* dataSize);
/frameworks/base/libs/androidfw/
H A DKeyLayoutMap.cpp56 ALOGE("Error %d opening key layout map file %s.", status, filename.string());
60 ALOGE("Error allocating key layout map.");
70 ALOGD("Parsed key layout map file '%s' %d lines in %0.3fms.",
85 const Key* key = getKey(scanCode, usageCode); local
86 if (!key) {
95 *outKeyCode = key->keyCode;
96 *outFlags = key->flags;
173 if (keywordToken == "key") {
213 ALOGE("%s: Expected key %s number, got '%s'.", mTokenizer->getLocation().string(),
220 ALOGE("%s: Duplicate entry for key
258 Key key; local
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestController.java63 public void overridePreference(String key, boolean value) { argument
64 mLayoutTestsExecutor.overridePreference(key, value);
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/
H A DSymbolResolvers.h82 const SymbolMap key = { pName, NULL }; local
85 ::bsearch(&key, Subclass::SymbolArray,

Completed in 339 milliseconds

1234567891011>>