Searched refs:key (Results 251 - 275 of 578) sorted by relevance

<<11121314151617181920>>

/frameworks/compile/mclinker/lib/LD/
H A DBranchIsland.cpp100 Key key(pPrototype, pReloc.symInfo()->outSymbol(), pReloc.addend());
101 StubMapType::iterator it = m_StubMap.find(key);
115 Key key(pPrototype, pReloc.symInfo()->outSymbol(), pReloc.addend());
116 StubEntryType* entry = m_StubMap.insert(key, exist);
/frameworks/av/media/libmedia/
H A DICrypto.cpp97 const uint8_t key[16],
111 if (key == NULL) {
112 key = kDummy;
119 data.write(key, 16);
241 uint8_t key[16]; local
242 data.read(key, sizeof(key));
270 key,
95 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightPlayer.h61 virtual status_t setParameter(int key, const Parcel &request);
62 virtual status_t getParameter(int key, Parcel *reply);
H A DStagefrightRecorder.cpp588 const String8 &key, const String8 &value) {
589 ALOGV("setParameter: key (%s) => value (%s)", key.string(), value.string());
590 if (key == "max-duration") {
595 } else if (key == "max-filesize") {
600 } else if (key == "interleave-duration-us") {
605 } else if (key == "param-movie-time-scale") {
610 } else if (key == "param-use-64bit-offset") {
615 } else if (key == "param-geotag-longitude") {
620 } else if (key
587 setParameter( const String8 &key, const String8 &value) argument
[all...]
/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/provider/
H A DSearchIndexableData.java55 * The key for the data. This is application specific. Should be unique per data as the data
56 * should be able to be retrieved by the key.
58 public String key; field in class:SearchIndexableData
153 sb.append("key: ");
154 sb.append(key);
/frameworks/base/core/tests/coretests/src/android/content/res/
H A DConfigurationBoundResourceCacheTest.java74 long key = 3L;
78 mCache.put(key, getActivity().getTheme(),
86 assertEquals(staticDim, mCache.get(key, getActivity().getTheme()));
88 assertEquals(staticDim, mCache.get(key, getActivity().getTheme()));
94 long key = 4L;
99 mCache.put(key, getActivity().getTheme(),
108 assertEquals(changingDim, mCache.get(key, getActivity().getTheme()));
110 assertNull(mCache.get(key, getActivity().getTheme()));
/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/media/mca/filterfw/jni/
H A Djni_native_program.h76 jstring key,
82 jstring key);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DMediaSizeUtils.java58 MediaSize key = MediaSize.getStandardMediaSizeById(mediaSizeId);
60 sMediaSizeToStandardMap.put(key, value);
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/
H A DSymbolResolvers.h82 const SymbolMap key = { pName, NULL }; local
85 ::bsearch(&key, Subclass::SymbolArray,
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp62 static void setBlob(const void* key, EGLsizeiANDROID keySize, argument
64 egl_cache_t::get()->setBlob(key, keySize, value, valueSize);
67 static EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize, argument
69 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize);
133 void egl_cache_t::setBlob(const void* key, EGLsizeiANDROID keySize, argument
144 bc->set(key, keySize, value, valueSize);
172 EGLsizeiANDROID egl_cache_t::getBlob(const void* key, EGLsizeiANDROID keySize, argument
183 return bc->get(key, keySize, value, valueSize);
/frameworks/support/v4/kitkat/android/support/v4/media/session/
H A DMediaSessionCompatApi19.java79 public void onMetadataUpdate(int key, Object newValue) { argument
80 if (key == MediaMetadataEditor.RATING_KEY_BY_USER && newValue instanceof Rating) {
/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java48 * authenticating with a key. {@see #authenticateSectorWithKeyA} and
55 * <li>{@link #KEY_DEFAULT} is the default factory key for MIFARE Classic.
56 * <li>{@link #KEY_MIFARE_APPLICATION_DIRECTORY} is the well-known key for
59 * <li>{@link #KEY_NFC_FORUM} is the well-known key for MIFARE Classic cards that
77 * The default factory key.
82 * The well-known key for tags formatted according to the
88 * The well-known key for tags formatted according to the
316 * Authenticate a sector with key A.
318 * <p>Successful authentication of a sector with key A enables other
319 * I/O operations on that sector. The set of operations granted by key
338 authenticateSectorWithKeyA(int sectorIndex, byte[] key) argument
365 authenticateSectorWithKeyB(int sectorIndex, byte[] key) argument
369 authenticate(int sector, byte[] key, boolean keyA) argument
[all...]
/frameworks/base/libs/androidfw/
H A DBackupData.cpp39 * - A sequence of zero or more key/value paires (entities), each with
41 * - The key, utf-8, null terminated, padded to 4-byte boundary.
94 BackupDataWriter::WriteEntityHeader(const String8& key, size_t dataSize) argument
111 k += key;
113 k = key;
116 ALOGD("Writing header: prefix='%s' key='%s' dataSize=%zu", m_keyPrefix.string(),
117 key.string(), dataSize);
137 if (DEBUG) ALOGI("writing entity header key, %zd bytes", keyLen+1);
305 BackupDataReader::ReadEntityHeader(String8* key, size_t* dataSize) argument
313 *key
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DUploadedTexture.java120 BorderKey key = sBorderKey;
121 key.vertical = vertical;
122 key.config = config;
123 key.length = length;
124 Bitmap bitmap = sBorderLines.get(key);
129 sBorderLines.put(key.clone(), bitmap);
/frameworks/base/tools/split-select/
H A DRuleGenerator.cpp46 version->key = Rule::SDK_VERSION;
54 gt->key = Rule::SCREEN_DENSITY;
62 lt->key = Rule::SCREEN_DENSITY;
90 abiRule->key = Rule::NATIVE_PLATFORM;
105 locale->key = Rule::LANGUAGE;
115 sdk->key = Rule::SDK_VERSION;
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOT.h182 bool operator<(const GotEntryKey& key) const
184 if (m_GOTPage != key.m_GOTPage)
185 return m_GOTPage < key.m_GOTPage;
187 if (m_pInfo != key.m_pInfo)
188 return m_pInfo < key.m_pInfo;
190 return m_Addend < key.m_Addend;
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java224 * @param name of SharedPreferences key
226 * @return current value attached to key (default 0), limited by max
361 String key = e.getKey();
362 if (key.startsWith(PREFIX)) {
363 if (key.endsWith("TimeMillis")) {
366 out.append(" ").append(key.substring(PREFIX.length(), key.length() - 10));
369 out.append(" ").append(key.substring(PREFIX.length()));
/frameworks/native/opengl/tools/glgen2/registry/
H A Dreg.py171 # Primary sort key for regSortFeatures.
186 # Secondary sort key for regSortFeatures.
191 # Tertiary sort key for regSortFeatures.
198 # Sorts by primary key of feature category,
202 featureList.sort(key = regSortNumberKey)
203 featureList.sort(key = regSortNameKey)
204 featureList.sort(key = regSortCategoryKey)
708 # If the Element has an 'api' attribute, the dictionary key is the
709 # tuple (name,api). If not, the key is the name. 'name' is an
713 key
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DHttpClientStack.java60 for (String key : headers.keySet()) {
61 httpRequest.setHeader(key, headers.get(key));
68 for (String key : postParams.keySet()) {
69 result.add(new BasicNameValuePair(key, postParams.get(key)));
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraMetadataTest.java125 fail("A null key should throw NPE");
131 fail("A section name only should not be a valid key");
137 fail("A valid section with an invalid tag name should not be a valid key");
143 fail("A namespace name only should not be a valid key");
148 CameraMetadataNative.getTag("this.key.is.definitely.invalid");
149 fail("A completely fake key name should not be valid");
336 Key<T> key = new Key<T>(keyStr, typeToken);
337 assertNull(mMetadata.get(key));
338 mMetadata.set(key, null);
339 assertNull(mMetadata.get(key));
1237 assertKeyValueEquals(T expected, CameraCharacteristics.Key<T> key) argument
1241 assertKeyValueEquals(T expected, Key<T> key) argument
1385 validateArrayMetadataReadWriteOverride(Key<T> key, T expectedWriteValues, T expectedReadValues, int tag) argument
[all...]
/frameworks/native/libs/input/
H A DInputTransport.cpp87 return sizeof(Header) + body.key.size();
261 ALOGE("Attempted to publish a key event with sequence number 0.");
267 msg.body.key.seq = seq;
268 msg.body.key.deviceId = deviceId;
269 msg.body.key.source = source;
270 msg.body.key.action = action;
271 msg.body.key.flags = flags;
272 msg.body.key.keyCode = keyCode;
273 msg.body.key.scanCode = scanCode;
274 msg.body.key
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DVirtualizer.java562 * Settings class constructor from a key=value; pairs formatted string. The string is
572 String key = st.nextToken();
573 if (!key.equals("Virtualizer")) {
575 "invalid settings for Virtualizer: " + key);
578 key = st.nextToken();
579 if (!key.equals("strength")) {
580 throw new IllegalArgumentException("invalid key name: " + key);
584 throw new IllegalArgumentException("invalid value for key: " + key);
[all...]
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncOperation.java70 public final String key; field in class:SyncOperation
90 /** Descriptive string key for this operation */
137 this.key = toKey(info, this.extras);
304 Log.v(TAG, "Converting SyncOperaton to key, invalid target: " + info.toString());
314 for (String key : bundle.keySet()) {
315 sb.append(key).append("=").append(bundle.get(key)).append(" ");
332 Log.wtf(TAG, "Invalid target getting wakelock name for operation - " + key);
385 Log.wtf(TAG, "sync op with invalid target: " + key);

Completed in 1970 milliseconds

<<11121314151617181920>>