/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 783 * 2. Define the key bindings for traversing web content in WebViews. 1273 // Patch up the slightly-wrong key migration from 82 -> 83 for those 2283 private void loadSetting(SQLiteStatement stmt, String key, Object value) { argument 2284 stmt.bindString(1, key); 2289 private void loadStringSetting(SQLiteStatement stmt, String key, int resid) { argument 2290 loadSetting(stmt, key, mContext.getResources().getString(resid)); 2293 private void loadBooleanSetting(SQLiteStatement stmt, String key, int resid) { argument 2294 loadSetting(stmt, key, 2298 private void loadIntegerSetting(SQLiteStatement stmt, String key, int resid) { argument 2299 loadSetting(stmt, key, 2303 loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CommandQueue.java | 72 IBinder key; field in class:CommandQueue.NotificationQueueEntry 84 public void addNotification(IBinder key, StatusBarNotification notification); argument 85 public void updateNotification(IBinder key, StatusBarNotification notification); argument 86 public void removeNotification(IBinder key); argument 124 public void addNotification(IBinder key, StatusBarNotification notification) { argument 127 ne.key = key; 133 public void updateNotification(IBinder key, StatusBarNotification notification) { argument 136 ne.key = key; 142 removeNotification(IBinder key) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | LockSettingsService.java | 80 private static final String LOCK_PATTERN_FILE = "gesture.key"; 81 private static final String LOCK_PASSWORD_FILE = "password.key"; 167 String key = READ_PROFILE_PROTECTED_SETTINGS[i]; 168 if (key.equals(requestedKey) && mContext.checkCallingOrSelfPermission(READ_PROFILE) 178 public void setBoolean(String key, boolean value, int userId) throws RemoteException { argument 181 writeToDb(key, value ? "1" : "0", userId); 185 public void setLong(String key, long value, int userId) throws RemoteException { argument 188 writeToDb(key, Long.toString(value), userId); 192 public void setString(String key, String value, int userId) throws RemoteException { argument 195 writeToDb(key, valu 199 getBoolean(String key, boolean defaultValue, int userId) argument 208 getLong(String key, long defaultValue, int userId) argument 216 getString(String key, String defaultValue, int userId) argument 391 writeToDb(String key, String value, int userId) argument 395 writeToDb(SQLiteDatabase db, String key, String value, int userId) argument 412 readFromDb(String key, String defaultValue, int userId) argument 491 loadSetting(SQLiteDatabase db, String key, int userId, boolean value) argument [all...] |
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 57 * Collection of {@link NetworkStatsHistory}, stored based on combined key of 149 final Key key = entry.getKey(); 150 final boolean setMatches = set == SET_ALL || key.set == set; 151 if (key.uid == uid && setMatches && key.tag == tag 152 && templateMatches(template, key.ident)) { 174 final Key key = mapEntry.getKey(); 175 if (templateMatches(template, key.ident)) { 180 entry.uid = key.uid; 181 entry.set = key 211 recordHistory(Key key, NetworkStatsHistory history) argument [all...] |
/frameworks/base/test-runner/tests/src/android/test/ |
H A D | InstrumentationTestRunnerTest.java | 195 private Bundle createBundle(String key, String value) { argument 197 bundle.putString(key, value);
|
/frameworks/compile/libbcc/include/bcc/Renderscript/ |
H A D | RSInfo.h | 96 // Pragma is a key-value pair. 97 StringIndexTy key; member in struct:bcc::rsinfo::PragmaItem
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/ |
H A D | jni_stochastic_linear_ranker.cpp | 36 const char *key = env->GetStringUTFChars(s, &iscopy); local 37 sample->SetElement(key, static_cast<double>(values[i])); 38 env->ReleaseStringUTFChars(s,key); 58 std::string key = iter->first; local 60 jstring jstr = env->NewStringUTF(key.c_str()); 98 jstring key, 104 const char *cKey = env->GetStringUTFChars(key, &iscopy); 95 Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetParameterClassifier( JNIEnv* env, jobject thiz, jstring key, jstring value, jint paPtr) argument
|
/frameworks/native/include/input/ |
H A D | InputTransport.h | 72 } key; member in union:android::InputMessage::Body 193 /* Publishes a key event to the input channel.
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 169 * Returns the encryption key or {@code null} if it is not present. 176 * Sets the encryption method and the encryption key. The field will be 179 public void setEncryption(String method, String key) { argument 180 mFields.setEncryption(method, key); 385 * has three parts: a key, a delimiter, and a value. Delimiters are special 439 * Returns the encryption key or {@code null} if it is not present. 451 * Sets the encryption method and the encryption key. The field will be 454 public void setEncryption(String method, String key) { argument 455 set("k", '=', (method == null || key == null) ? 456 method : method + ':' + key); 568 find(String key, char delimiter) argument 584 set(String key, char delimiter, String value) argument 603 get(String key, char delimiter) argument [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | MapCollections.java | 151 final Object key = colGetEntry(mIndex, 0); 153 return (key == null ? 0 : key.hashCode()) ^ 256 final Object key = colGetEntry(i, 0); 258 result += ( (key == null ? 0 : key.hashCode()) ^ 551 protected abstract int colIndexOfKey(Object key); argument 552 protected abstract int colIndexOfValue(Object key); argument 554 protected abstract void colPut(K key, V value); argument
|
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 81 DrmCopyControl key = (DrmCopyControl)data.readInt32(); local 83 handle->copyControlVector.add(key, value); 88 String8 key = data.readString8(); local 90 handle->extendedData.add(key, value); 175 const String8 key(reply.readString8()); 181 drmConstraints->put(&key, data); 205 const String8 key(reply.readString8()); 211 drmMetadata->put(&key, data); 255 const String8 key = keyIt.next(); local 256 data.writeString8(key); 300 const String8 key = keyIt.next(); local 863 const String8 key = keyIt.next(); local 895 const String8 key = keyIt.next(); local 1018 const String8 key = keyIt.next(); local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 588 String8 key = mSupportInfoToPlugInIdMap.valueFor(drmSupportInfo); local 589 IDrmEngine& drmEngine = mPlugInManager.getPlugIn(key); 592 plugInId = key;
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.cpp | 667 MockCryptoPlugin::decrypt(bool secure, const uint8_t key[16], const uint8_t iv[16], argument 671 ALOGD("MockCryptoPlugin::decrypt(secure=%d, key=%s, iv=%s, mode=%d, src=%p, " 674 arrayToString(key, sizeof(key)).string(),
|
/frameworks/av/media/libmedia/ |
H A D | IDrm.cpp | 192 String8 key = reply.readString8(); local 194 infoMap.add(key, value); 496 String8 key, value; local 497 key = data.readString8(); 499 optionalParameters.add(key, value);
|
H A D | IMediaPlayer.cpp | 276 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));
|
H A D | mediaplayer.cpp | 616 status_t MediaPlayer::setParameter(int key, const Parcel& request) argument 618 ALOGV("MediaPlayer::setParameter(%d)", key); 621 return mPlayer->setParameter(key, request); 627 status_t MediaPlayer::getParameter(int key, Parcel *reply) argument 629 ALOGV("MediaPlayer::getParameter(%d)", key); 632 return mPlayer->getParameter(key, reply);
|
/frameworks/av/media/libstagefright/ |
H A D | MP3Extractor.cpp | 599 int key; member in struct:android::Map 634 meta->setCString(kMap[i].key, s);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 705 AString key(line, 0, colonPos); 706 key.trim(); 707 key.tolower(); 711 lastDictIndex = response->mHeaders.add(key, line); 931 uint8_t key[16]; local 932 MD5_Final(key, &m); 935 char nibble = key[i] >> 4; 943 nibble = key[i] & 0x0f;
|
H A D | MyTransmitter.h | 52 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/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraMetadataNative.java | 94 public <T> T get(Key<T> key) { argument 95 T value = getOverride(key); 100 return getBase(key); 112 * @param key The metadata field to write. 114 * type to the key. 116 public <T> void set(Key<T> key, T value) { argument 117 if (setOverride(key, value)) { 121 setBase(key, value); 429 private <T> T getBase(Key<T> key) { argument 430 int tag = key 445 getOverride(Key<T> key) argument 568 setBase(Key<T> key, T value) argument 590 setOverride(Key<T> key, T value) argument 678 getTag(String key) argument [all...] |
/frameworks/base/core/java/android/net/nsd/ |
H A D | NsdManager.java | 139 * The lookup key for an int that indicates whether network service discovery is enabled 319 Log.d(TAG, "Stale key " + message.arg2); 385 int key; 388 key = mListenerKey++; 389 } while (key == INVALID_LISTENER_KEY); 390 mListenerMap.put(key, listener); 391 mServiceMap.put(key, s); 393 return key; 396 private Object getListener(int key) { argument 397 if (key 403 getNsdService(int key) argument 409 removeListener(int key) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceManager.java | 51 * The Activity meta-data key for its XML preference hierarchy. 200 * the {@link #METADATA_KEY_PREFERENCES} key. 406 * Finds a {@link Preference} based on its key. 408 * @param key The key of the preference to retrieve. 409 * @return The {@link Preference} with the key, or null. 412 public Preference findPreference(CharSequence key) { argument 417 return mPreferenceScreen.findPreference(key);
|
/frameworks/base/core/java/android/print/ |
H A D | PrintJobInfo.java | 530 * @param key The option key. 535 public boolean hasAdvancedOption(String key) { argument 536 return mAdvancedOptions != null && mAdvancedOptions.containsKey(key); 542 * @param key The option key. 547 public String getAdvancedStringOption(String key) { argument 549 return mAdvancedOptions.getString(key); 557 * @param key The option key 562 getAdvancedIntOption(String key) argument 719 putAdvancedOption(String key, String value) argument 732 putAdvancedOption(String key, int value) argument [all...] |
/frameworks/base/keystore/tests/src/android/security/ |
H A D | AndroidKeyStoreTest.java | 1168 assertTrue("Should contain generated private key", mKeyStore.containsAlias(TEST_ALIAS_1)); 1565 private void assertPrivateKeyEntryEquals(PrivateKeyEntry keyEntry, String keyType, byte[] key, argument 1568 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(key)); 1647 Key key = mKeyStore.getKey(TEST_ALIAS_1, null); 1648 assertNotNull("Key should exist", key); 1650 assertTrue("Should be a RSAPrivateKey", key instanceof RSAPrivateKey); 1652 RSAPrivateKey actualKey = (RSAPrivateKey) key; 1657 assertEquals("Inserted key should be same as retrieved key", 1671 Key key [all...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 208 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...] |