Searched refs:key (Results 226 - 250 of 403) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSubtype.java115 * @param key the key of extra value
118 public boolean containsExtraValueKey(String key) { argument
119 return getExtraValueHashMap().containsKey(key);
125 * @param key the key of extra value
126 * @return the value of the specified key
128 public String getExtraValueOf(String key) { argument
129 return getExtraValueHashMap().get(key);
/frameworks/ex/common/java/com/android/common/content/
H A DProjectionMap.java84 public String put(String key, String value) { argument
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxAggregatorManager.java66 m.put(sample.get(i).key, sample.get(i).value);
/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_rights_manager.h144 * \param key The structure of the CEK.
149 int32_t drm_aesDecBuffer(uint8_t * Buffer, int32_t * BufferLen, AES_KEY *key);
/frameworks/base/native/android/
H A Dstorage_manager.cpp128 void mountObb(const char* rawPath, const char* key, AStorageManager_obbCallbackFunc func, argument
140 String16 key16(key);
186 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, argument
188 mgr->mountObb(filename, key, cb, data);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDoNotDisturb.java44 public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDoNotDisturbController.java64 public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { 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
182 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE);
184 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, &pData->sessionRoundKeys) != 0) {
187 // Encrypt the 16-byte value {0, 0, ..., 0} to produce the encryption key.
189 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys);
190 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS,
194 // Encrypt the 16-byte value {1, 0, ..., 0} to produce the signing 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/base/tests/DumpRenderTree/assets/
H A Drun_layout_tests.py99 for key in order:
100 for line in params[key][1]:
101 if line not in params[key][2]:
104 diff_file.writelines(params[key][3] + line)
105 params[key][0] += 1
/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.java217 String key = pair[0].trim();
220 if (STR_TAG.equals(key)) {
222 } else if (STR_NUMBER.equals(key)) {
224 } else if (STR_EMAILS.equals(key)) {
227 } else if (STR_PIN2.equals(key)) {
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfigStore.java78 * (key, value) pairs for a given network are grouped together and can
79 * be in any order. A EOS at the end of a set of (key, value) pairs
80 * indicates that the next set of (key, value) pairs are for a new
82 * ID_KEY in the (key, value) pairs, the data is discarded.
112 /* configured networks with network id as the key */
856 String key;
859 key = in.readUTF();
861 if (key.equals(ID_KEY)) {
863 } else if (key.equals(IP_ASSIGNMENT_KEY)) {
865 } else if (key
[all...]
H A DWifiManager.java84 * The lookup key for an int that indicates whether Wi-Fi is enabled,
151 * The lookup key for an int that indicates whether Wi-Fi AP is enabled,
233 * The lookup key for a boolean that indicates whether a connection to
253 * The lookup key for a {@link android.net.NetworkInfo} object associated with the
259 * The lookup key for a String giving the BSSID of the access point to which
266 * The lookup key for a {@link android.net.wifi.WifiInfo} object giving the
285 * The lookup key for a {@link SupplicantState} describing the new state
292 * The lookup key for a {@link SupplicantState} describing the supplicant
311 * The lookup key for a (@link android.net.wifi.WifiConfiguration} object representing
325 * The lookup key fo
1352 removeListener(int key) argument
[all...]
/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/base/libs/hwui/
H A DProgramCache.cpp440 programid key = description.key(); local
441 ssize_t index = mCache.indexOfKey(key);
445 program = generateProgram(description, key);
446 mCache.add(key, program);
457 Program* ProgramCache::generateProgram(const ProgramDescription& description, programid key) { argument
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java254 public int createSecureContainer(String id, int sizeMb, String fstype, String key, argument
264 _data.writeString(key);
323 * Mount a secure container with the specified key and owner UID.
326 public int mountSecureContainer(String id, String key, int ownerUid) argument
334 _data.writeString(key);
487 * key and only allows the calling process's UID access to the
492 public void mountObb(String rawPath, String canonicalPath, String key, argument
500 _data.writeString(key);
938 String key;
939 key
1166 createSecureContainer(String id, int sizeMb, String fstype, String key, int ownerUid, boolean external) argument
1247 mountObb(String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
1254 mountSecureContainer(String id, String key, int ownerUid) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java785 Pair<Intent.FilterComparison, Integer> key = new Pair<Intent.FilterComparison, Integer>
789 if (sCachedRemoteViewsCaches.containsKey(key)) {
790 mCache = sCachedRemoteViewsCaches.get(key);
827 final Pair<Intent.FilterComparison, Integer> key = new Pair<Intent.FilterComparison,
831 // If we already have a remove runnable posted for this key, remove it.
832 if (sRemoteViewsCacheRemoveRunnables.containsKey(key)) {
833 sCacheRemovalQueue.removeCallbacks(sRemoteViewsCacheRemoveRunnables.get(key));
834 sRemoteViewsCacheRemoveRunnables.remove(key);
846 sCachedRemoteViewsCaches.put(key, mCache);
853 if (sCachedRemoteViewsCaches.containsKey(key)) {
[all...]
/frameworks/av/include/media/
H A Dmediaplayer.h230 status_t setParameter(int key, const Parcel& request);
231 status_t getParameter(int key, Parcel* reply);
/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/core/java/android/accounts/
H A DAccountManagerService.java131 private static final String EXTRAS_KEY = "key";
135 private static final String META_KEY = "key";
467 public String getUserData(Account account, String key) { argument
470 + ", key " + key
475 if (key == null) throw new IllegalArgumentException("key is null");
480 return readUserDataInternal(accounts, account, key);
559 for (String key : extras.keySet()) {
560 final String value = extras.getString(key);
578 insertExtraLocked(SQLiteDatabase db, long accountId, String key, String value) argument
945 setUserData(Account account, String key, String value) argument
964 setUserdataInternal(UserAccounts accounts, Account account, String key, String value) argument
1635 getExtrasIdLocked(SQLiteDatabase db, long accountId, String key) argument
2454 writeUserDataIntoCacheLocked(UserAccounts accounts, final SQLiteDatabase db, Account account, String key, String value) argument
2468 writeAuthTokenIntoCacheLocked(UserAccounts accounts, final SQLiteDatabase db, Account account, String key, String value) argument
2496 readUserDataInternal(UserAccounts accounts, Account account, String key) argument
[all...]
/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/services/java/com/android/server/
H A DBatteryService.java615 String key = args[1];
619 if ("ac".equals(key)) {
621 } else if ("usb".equals(key)) {
623 } else if ("wireless".equals(key)) {
625 } else if ("status".equals(key)) {
627 } else if ("level".equals(key)) {
629 } else if ("invalid".equals(key)) {
632 pw.println("Unknown set option: " + key);

Completed in 382 milliseconds

1234567891011>>