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

<<1112131415161718

/frameworks/ex/common/java/com/android/common/content/
H A DProjectionMap.java84 public String put(String key, String value) { argument
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c158 memset(sessionPtrs[sessionId], 0, sizeof *sessionPtrs[sessionId]); // Zero out key data.
165 * Derives keys for encryption and signing from the encrypted session key.
169 * @return A Boolean value indicating whether key derivation was successful.
176 unsigned char key[KEY_SIZE]; member in struct:FwdLockFile_DeriveKeys_Data
185 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE);
187 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, &pData->sessionRoundKeys) != 0) {
190 // Encrypt the 16-byte value {0, 0, ..., 0} to produce the encryption key.
192 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys);
193 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS,
197 // Encrypt the 16-byte value {1, 0, ..., 0} to produce the signing key
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfigStore.java86 * (key, value) pairs for a given network are grouped together and can
87 * be in any order. A EOS at the end of a set of (key, value) pairs
88 * indicates that the next set of (key, value) pairs are for a new
90 * ID_KEY in the (key, value) pairs, the data is discarded.
123 /* configured networks with network id as the key */
749 // unlocked key store; unless the certificates can be stored with
955 String key;
958 key = in.readUTF();
960 if (key.equals(ID_KEY)) {
962 } else if (key
[all...]
H A DWifiManager.java98 * The lookup key for an int that indicates whether Wi-Fi is enabled,
165 * The lookup key for an int that indicates whether Wi-Fi AP is enabled,
247 * The lookup key for a boolean that indicates whether a connection to
267 * The lookup key for a {@link android.net.NetworkInfo} object associated with the
273 * The lookup key for a String giving the BSSID of the access point to which
280 * The lookup key for a {@link android.net.wifi.WifiInfo} object giving the
299 * The lookup key for a {@link SupplicantState} describing the new state
306 * The lookup key for a {@link SupplicantState} describing the supplicant
325 * The lookup key for a (@link android.net.wifi.WifiConfiguration} object representing
339 * The lookup key fo
1531 removeListener(int key) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraMetadataTest.java102 fail("A null key should throw NPE");
108 fail("A section name only should not be a valid key");
114 fail("A valid section with an invalid tag name should not be a valid key");
120 fail("A namespace name only should not be a valid key");
125 CameraMetadataNative.getTag("this.key.is.definitely.invalid");
126 fail("A completely fake key name should not be valid");
230 Key<T> key = new Key<T>(keyStr, type);
231 assertNull(mMetadata.get(key));
232 mMetadata.set(key, null);
233 assertNull(mMetadata.get(key));
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4ElementaryAssembler.cpp38 static bool GetAttribute(const char *s, const char *key, AString *value) { argument
41 size_t keyLen = strlen(key);
54 && !strncasecmp(s, key, keyLen)) {
68 const char *s, const char *key, unsigned *x) {
72 if (!GetAttribute(s, key, &val)) {
67 GetIntegerAttribute( const char *s, const char *key, unsigned *x) argument
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoReader.cpp73 const char *key = pInfo.getStringFromPool(pItem.key); local
76 if (key == NULL) {
77 ALOGE("Invalid string index %d for key in RS pragma list.", pItem.key);
86 pResult.push(std::make_pair(key, value));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccProvider.java212 String key = pair[0].trim();
215 if (STR_TAG.equals(key)) {
217 } else if (STR_NUMBER.equals(key)) {
219 } else if (STR_EMAILS.equals(key)) {
222 } else if (STR_PIN2.equals(key)) {
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp208 write_delete_file(BackupDataWriter* dataStream, const String8& key) argument
210 LOGP("write_delete_file %s\n", key.string());
211 return dataStream->WriteEntityHeader(key, -1);
215 write_update_file(BackupDataWriter* dataStream, int fd, int mode, const String8& key, argument
218 LOGP("write_update_file %s (%s) : mode 0%o\n", realFilename, key.string(), mode);
239 err = dataStream->WriteEntityHeader(key, bytesLeft);
292 write_update_file(BackupDataWriter* dataStream, const String8& key, char const* realFilename) argument
307 err = write_update_file(dataStream, fd, st.st_mode, key, realFilename);
348 String8 key(keys[i]);
366 if (newSnapshot.indexOfKey(key) >
472 write_pax_header_entry(char* buf, const char* key, const char* value) argument
740 String8 key; local
[all...]
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestRunner.java197 for (String key : results.keySet()) {
198 System.out.println("INSTRUMENTATION_STATUS: " + key + "="
199 + results.get(key));
220 for (String key : results.keySet()) {
221 System.out.println("INSTRUMENTATION_RESULT: " + key + "="
222 + results.get(key));
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java252 public int createSecureContainer(String id, int sizeMb, String fstype, String key, argument
262 _data.writeString(key);
321 * Mount a secure container with the specified key and owner UID.
324 public int mountSecureContainer(String id, String key, int ownerUid) argument
332 _data.writeString(key);
485 * key and only allows the calling process's UID access to the
490 public void mountObb(String rawPath, String canonicalPath, String key, argument
498 _data.writeString(key);
956 String key;
957 key
1193 createSecureContainer(String id, int sizeMb, String fstype, String key, int ownerUid, boolean external) argument
1274 mountObb(String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
1281 mountSecureContainer(String id, String key, int ownerUid) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java469 * Parameter key to specify the audio stream type to be used when speaking text
479 * Parameter key to identify an utterance in the
490 * Parameter key to specify the speech volume relative to the current stream type
500 * Parameter key to specify how the speech is panned from left to right when speaking text.
510 * Feature key for network synthesis. See {@link TextToSpeech#getFeatures(Locale)}
522 * Feature key for embedded synthesis. See {@link TextToSpeech#getFeatures(Locale)}
1316 final String key = entry.getKey();
1317 if (key != null && key.startsWith(mCurrentEngine)) {
1318 bundle.putString(key, entr
1329 copyStringParam(Bundle bundle, HashMap<String, String> params, String key) argument
1336 copyIntParam(Bundle bundle, HashMap<String, String> params, String key) argument
1348 copyFloatParam(Bundle bundle, HashMap<String, String> params, String key) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java859 RemoteViewsCacheKey key = new RemoteViewsCacheKey(new Intent.FilterComparison(mIntent),
863 if (sCachedRemoteViewsCaches.containsKey(key)) {
864 mCache = sCachedRemoteViewsCaches.get(key);
910 final RemoteViewsCacheKey key = new RemoteViewsCacheKey(
914 // If we already have a remove runnable posted for this key, remove it.
915 if (sRemoteViewsCacheRemoveRunnables.containsKey(key)) {
916 sCacheRemovalQueue.removeCallbacks(sRemoteViewsCacheRemoveRunnables.get(key));
917 sRemoteViewsCacheRemoveRunnables.remove(key);
929 sCachedRemoteViewsCaches.put(key, mCache);
936 if (sCachedRemoteViewsCaches.containsKey(key)) {
[all...]
/frameworks/base/core/java/android/content/res/
H A DResources.java2045 final long key = isColorDrawable ? value.data :
2048 Drawable dr = getCachedDrawable(isColorDrawable ? mColorDrawableCache : mDrawableCache, key);
2055 cs = sPreloadedColorDrawables.get(key);
2057 cs = sPreloadedDrawables[mConfiguration.getLayoutDirection()].get(key);
2136 sPreloadedColorDrawables.put(key, cs);
2144 sPreloadedDrawables[0].put(key, cs);
2145 sPreloadedDrawables[1].put(key, cs);
2150 preloads.put(key, cs);
2157 // Integer.toHexString(key.intValue())
2160 mColorDrawableCache.put(key, ne
2172 getCachedDrawable( LongSparseArray<WeakReference<ConstantState>> drawableCache, long key) argument
2284 getCachedColorStateList(long key) argument
[all...]
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp276 status_t setParameter(int key, const Parcel& request) argument
280 data.writeInt32(key);
288 status_t getParameter(int key, Parcel *reply) argument
292 data.writeInt32(key);
362 String8 key = data.readString8(); local
364 headers.add(key, value);
494 int key = data.readInt32(); local
502 reply->writeInt32(setParameter(key, request));
/frameworks/av/media/libstagefright/
H A DStagefrightMediaScanner.cpp171 int key; member in struct:android::KeyMap
194 if ((value = mRetriever->extractMetadata(kKeyMap[i].key)) != NULL) {
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java434 for (String key : values.keySet()) {
435 final Object val = values.get(key);
437 mExtras.putString(key, (String) val);
439 mExtras.putFloat(key, (Float) val);
441 mExtras.putDouble(key, (Double) val);
443 mExtras.putBoolean(key, (Boolean) val);
445 mExtras.putInt(key, (Integer) val);
447 mExtras.putLong(key, (Long) val);
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCharacteristics.java50 public <T> T get(Key<T> key) { argument
51 return mProperties.get(key);
61 * <p>Each key is only listed once in the list. The order of the keys is undefined.</p>
82 * <p>Each key is only listed once in the list. The order of the keys is undefined.</p>
102 * <p>Each key is only listed once in the list. The order of the keys is undefined.</p>
124 * The key entries below this point are generated from metadata
516 * {@link CameraCharacteristics#INFO_SUPPORTED_HARDWARE_LEVEL HARDWARE_LEVEL} key.
537 * {@link CameraCharacteristics#INFO_SUPPORTED_HARDWARE_LEVEL HARDWARE_LEVEL} key.
/frameworks/base/data/keyboards/
H A DAndroid.mk21 # Validate all key maps.
H A Dcommon.mk15 # This is the list of framework provided keylayouts and key character maps to include.
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.h44 jstring key,
50 jstring key);
/frameworks/base/packages/SystemUI/tests/
H A DAndroid.mk26 # sign this with platform cert, so this test is allowed to inject key events into
/frameworks/base/services/java/com/android/server/
H A DBatteryService.java631 String key = args[1];
635 if ("ac".equals(key)) {
637 } else if ("usb".equals(key)) {
639 } else if ("wireless".equals(key)) {
641 } else if ("status".equals(key)) {
643 } else if ("level".equals(key)) {
645 } else if ("invalid".equals(key)) {
648 pw.println("Unknown set option: " + key);
H A DCountryDetectorService.java146 private void removeListener(IBinder key) { argument
148 mReceivers.remove(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);

Completed in 3322 milliseconds

<<1112131415161718