Searched refs:key (Results 51 - 75 of 403) sorted by path

1234567891011>>

/frameworks/av/media/libstagefright/include/
H A DAwesomePlayer.h91 status_t setParameter(int key, const Parcel &request);
92 status_t getParameter(int key, Parcel *reply);
H A DM3UParser.h64 const AString &line, sp<AMessage> *meta, const char *key);
67 const AString &line, sp<AMessage> *meta, const char *key);
/frameworks/av/media/libstagefright/rtsp/
H A DAAMRAssembler.cpp33 static bool GetAttribute(const char *s, const char *key, AString *value) { argument
36 size_t keyLen = strlen(key);
44 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
48 if (len == keyLen && !strncmp(s, key, keyLen)) {
H A DAMPEG4AudioAssembler.cpp35 static bool GetAttribute(const char *s, const char *key, AString *value) { argument
38 size_t keyLen = strlen(key);
50 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
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
H A DAPacketSource.cpp44 static bool GetAttribute(const char *s, const char *key, AString *value) { argument
47 size_t keyLen = strlen(key);
59 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
H A DARTSPConnection.cpp694 AString key(line, 0, colonPos);
695 key.trim();
696 key.tolower();
700 lastDictIndex = response->mHeaders.add(key, line);
919 uint8_t key[16]; local
920 MD5_Final(key, &m);
923 char nibble = key[i] >> 4;
931 nibble = key[i] & 0x0f;
H A DASessionDescription.cpp97 AString key, value; local
101 key = line;
103 key.setTo(line, 0, colonPos);
105 if (key == "a=fmtp" || key == "a=rtpmap"
106 || key == "a=framesize") {
112 key.setTo(line, 0, spacePos);
120 key.trim();
123 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str());
125 mTracks.editItemAt(mTracks.size() - 1).add(key, valu
141 AString key, value; local
179 findAttribute( size_t index, const char *key, AString *value) const argument
214 char key[20]; local
231 char key[20]; local
[all...]
H A DASessionDescription.h56 bool findAttribute(size_t index, const char *key, AString *value) const;
H A DMyHandler.h70 static bool GetAttribute(const char *s, const char *key, AString *value) { argument
73 size_t keyLen = strlen(key);
85 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
H A DMyTransmitter.h52 static bool GetAttribute(const char *s, const char *key, AString *value) { argument
55 size_t keyLen = strlen(key);
63 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
243 uint8_t key[16]; local
244 MD5_Final(key, &m);
247 char nibble = key[i] >> 4;
255 nibble = key[i] & 0x0f;
/frameworks/av/media/libstagefright/wifi-display/
H A DParameters.cpp75 AString key = name; local
76 key.tolower();
78 ssize_t index = mDict.indexOfKey(key);
H A DParsedMessage.cpp47 AString key = name; local
48 key.tolower();
50 ssize_t index = mDict.indexOfKey(key);
137 AString key(line, 0, colonPos);
138 key.trim();
139 key.tolower();
143 lastDictIndex = mDict.add(key, line);
214 const AString &key = mDict.keyAt(i); local
217 if (key == AString("_")) {
221 line.append(key);
234 GetAttribute( const char *s, const char *key, AString *value) argument
264 GetInt32Attribute( const char *s, const char *key, int32_t *value) argument
[all...]
H A DParsedMessage.h25 // key/value pairs making up the headers and an optional body/content.
40 static bool GetAttribute(const char *s, const char *key, AString *value);
43 const char *s, const char *key, int32_t *value);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp1473 int key = EffectChain::kKeyForSuspendAll; local
1475 key = type->timeLow;
1477 index = sessionEffects.indexOfKey(key);
1488 sessionEffects.add(key, desc);
1489 ALOGV("updateSuspendedSessions_l() suspend adding effect %08x", key);
1498 ALOGV("updateSuspendedSessions_l() restore removing effect %08x", key);
9580 // use effect type UUID timelow as key as there is no real risk of identical
H A DAudioPolicyService.cpp912 String8 key; local
914 param.getAt(j, key, value);
919 if (key2 == key) {
927 // otherwise, update the key value pairs
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java202 String key = nextArgRequired();
204 intent.putExtra(key, value);
206 String key = nextArgRequired();
207 intent.putExtra(key, (String) null);
209 String key = nextArgRequired();
211 intent.putExtra(key, Integer.valueOf(value));
213 String key = nextArgRequired();
215 intent.putExtra(key, Uri.parse(value));
217 String key = nextArgRequired();
221 intent.putExtra(key, c
[all...]
/frameworks/base/cmds/backup/
H A Dbackup.cpp77 String8 key; local
79 err = reader.ReadEntityHeader(&key, &dataSize);
81 printf(" entity: %s (%d bytes)\n", key.string(), dataSize);
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java775 byte[] key = null;
816 } else if (opt.equals("--key")) {
817 key = hexToBytes(nextOptionData());
818 if (key == null) {
819 System.err.println("Error: must supply argument for --key");
859 if (algo != null || iv != null || key != null || macAlgo != null || macKey != null
861 if (algo == null || iv == null || key == null) {
862 System.err.println("Error: all of --algo, --iv, and --key must be specified");
875 final SecretKey encKey = new SecretKeySpec(key, "RAW");
1464 System.err.println(" [--algo <algorithm name> --key <ke
[all...]
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
H A DRequestSync.java78 for (String key : mExtras.keySet()) {
79 System.out.printf(" %s: %s\n", key, mExtras.get(key));
118 final String key = nextArgRequired();
120 mExtras.putString(key, value);
122 final String key = nextArgRequired();
123 mExtras.putString(key, null);
125 final String key = nextArgRequired();
127 mExtras.putInt(key, Integer.valueOf(value));
129 final String key
[all...]
/frameworks/base/cmds/service/
H A Dservice.cpp166 char* key = strtok_r(argv[optind], "=", &context1); local
170 if (key == NULL) break;
172 if (strcmp(key, "action") == 0)
176 else if (strcmp(key, "data") == 0)
180 else if (strcmp(key, "type") == 0)
184 else if (strcmp(key, "launchFlags") == 0)
188 else if (strcmp(key, "component") == 0)
192 else if (strcmp(key, "categories") == 0)
/frameworks/base/cmds/settings/src/com/android/commands/settings/
H A DSettingsCmd.java169 final String table, final String key) {
183 Bundle b = provider.call(callGetCommand, key, arg);
188 System.err.println("Can't read key " + key + " in " + table + " for user " + userHandle);
194 final String table, final String key, final String value) {
208 provider.call(callPutCommand, key, arg);
210 System.err.println("Can't set key " + key + " in " + table + " for user " + userHandle);
215 System.err.println("usage: settings [--user NUM] get namespace key");
216 System.err.println(" settings [--user NUM] put namespace key valu
168 getForUser(IContentProvider provider, int userHandle, final String table, final String key) argument
193 putForUser(IContentProvider provider, int userHandle, final String table, final String key, final String value) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java153 * Bundle key used for the {@link String} account name in results
159 * Bundle key used for the {@link String} account type in results
165 * Bundle key used for the auth token value in results
171 * Bundle key used for an {@link Intent} in results from methods that
178 * Bundle key used to supply the password directly in options to
317 * Gets the user data named by "key" associated with the account.
329 * @return The user data, null if the account or key doesn't exist
331 public String getUserData(final Account account, final String key) { argument
333 if (key == null) throw new IllegalArgumentException("key i
735 setUserData(final Account account, final String key, final String value) argument
[all...]
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...]
H A DIAccountManager.aidl31 String getUserData(in Account account, String key);
44 void setUserData(in Account account, String key, String value);

Completed in 251 milliseconds

1234567891011>>