/frameworks/av/include/drm/ |
DrmMetadata.h | 33 * Iterator for key 82 String8 key = keyIt.next(); local 83 const char* value = this->getAsByteArray(&key); 94 status_t put(const String8* key, const char* value); 95 String8 get(const String8& key) const; 96 const char* getAsByteArray(const String8* key) const; 101 const char* getValue(const String8* key) const;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerDrm.h | 97 uint8_t key[kBlockSize]; member in struct:android::NuPlayerDrm::CryptoInfo 106 uint8_t key[kBlockSize],
|
/frameworks/base/core/java/android/app/usage/ |
TimeSparseArray.java | 50 long key = -1; local 53 key = keyAt(mid); 55 if (time > key) { 57 } else if (time < key) { 64 if (time < key) { 66 } else if (time > key && lo < size) { 81 public void put(long key, E value) { 82 if (indexOfKey(key) >= 0) { 84 Slog.wtf(TAG, "Overwriting value " + get(key) + " by " + value); 88 super.put(key, value) [all...] |
/frameworks/base/core/java/android/provider/ |
SearchIndexableData.java | 57 * The key for the data. This is application specific. Should be unique per data as the data 58 * should be able to be retrieved by the key. 62 public String key; field in class:SearchIndexableData 157 sb.append("key: "); 158 sb.append(key);
|
/frameworks/base/core/jni/ |
android_os_SystemProperties.cpp | 38 std::string key; local 46 key = key_utf.c_str(); // This will make a copy, but we can't avoid 50 return handler(key, defJ); 56 // Using ConvertKeyAndForward is sub-optimal for copying the key string, 58 auto handler = [&](const std::string& key, jstring defJ) { 59 std::string prop_val = android::base::GetProperty(key, ""); 82 auto handler = [](const std::string& key, T defV) { 83 return android::base::GetIntProperty<T>(key, defV); 91 auto handler = [](const std::string& key, jboolean defV) -> jboolean { 92 bool result = android::base::GetBoolProperty(key, defV) [all...] |
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
MDNSUtils.java | 52 String key = entry.getKey().toLowerCase(); local 54 switch (key) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
AppItem.java | 28 public final int key; field in class:AppItem 36 this.key = 0; 39 public AppItem(int key) { 40 this.key = key; 44 key = parcel.readInt(); 55 dest.writeInt(key);
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/ |
InputMethodSubtypePreferenceTest.java | 100 final String key = subtypeName + "-" + subtypeLocaleString + "-" + systemLocale; local 103 key,
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
Resources_Theme_Delegate.java | 113 // Key is a space-separated list of theme ids applied that have been merged into the 115 final ThemeKey key = thisTheme.getKey(); local 116 final int[] resId = key.mResId; 117 final boolean[] force = key.mForce; 120 for (int i = 0, N = key.mCount; i < N; i++) {
|
/frameworks/native/services/vr/performanced/ |
task.cpp | 125 std::string key = line.substr(0, offset); local 128 ALOGD_IF(TRACE, "Task::ReadStatusFields: key=\"%s\" value=\"%s\"", 129 key.c_str(), value.c_str()); 131 if (key == "Name") 133 else if (key == "Tgid") 135 else if (key == "PPid") 137 else if (key == "Uid") 139 else if (key == "Gid") 141 else if (key == "Threads") 143 else if (key == "Cpus_allowed" [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
CipherInputStreamBenchmark.java | 49 private SecretKey key; field in class:CipherInputStreamBenchmark 61 key = generator.generateKey(); 66 cipherEncrypt.init(Cipher.ENCRYPT_MODE, key, spec); 71 cipherEncrypt.init(Cipher.ENCRYPT_MODE, key, spec);
|
/libcore/luni/src/main/java/libcore/icu/ |
DateIntervalFormat.java | 95 String key = skeleton + "\t" + locale + "\t" + icuTimeZone; local 96 android.icu.text.DateIntervalFormat formatter = CACHED_FORMATTERS.get(key); 102 CACHED_FORMATTERS.put(key, formatter);
|
/libcore/luni/src/main/java/libcore/util/ |
BasicLruCache.java | 39 * Returns the value for {@code key} if it exists in the cache or can be 44 public final V get(K key) { 45 if (key == null) { 46 throw new NullPointerException("key == null"); 51 result = map.get(key); 58 result = create(key); 61 // NOTE: Another thread might have already inserted a value for |key| into the map. 67 map.put(key, result); 76 * Caches {@code value} for {@code key}. The value is moved to the head of 79 * @return the previous value mapped by {@code key}. Although that entry i 98 K key = toEvict.getKey(); local [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherOutputStreamTest.java | 46 SecretKey key; local 48 key = getAndroidKeyStoreSecretKey(); 52 key = keygen.generateKey(); 60 cipher.init(Cipher.ENCRYPT_MODE, key); 62 cipher.init(Cipher.ENCRYPT_MODE, key, params); 69 cipher.init(Cipher.DECRYPT_MODE, key, params); 86 // we have to use reflection to make a suitable key. This will always be safe 87 // because if we're making a key for AndroidKeyStoreBCWorkaround, the KeyStore
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
RSAPrivateCrtKeyTest.java | 25 RSAPrivateCrtKey key = null; field in class:RSAPrivateCrtKeyTest 30 key = (RSAPrivateCrtKey) gen.generatePrivate(Util.rsaCrtParam); 39 Util.rsaCrtParam.getCrtCoefficient(), key.getCrtCoefficient()); 48 Util.rsaCrtParam.getPrimeExponentP(), key.getPrimeExponentP()); 57 Util.rsaCrtParam.getPrimeExponentQ(), key.getPrimeExponentQ()); 66 Util.rsaCrtParam.getPrimeP(), key.getPrimeP()); 75 Util.rsaCrtParam.getPrimeQ(), key.getPrimeQ()); 84 Util.rsaCrtParam.getPublicExponent(), key.getPublicExponent()); 88 key = null;
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
MembershipRegistry.java | 57 for (MembershipKeyImpl key: keys) { 58 if (key.networkInterface().equals(interf)) { 60 // existing key or detect conflict 62 if (key.sourceAddress() == null) 63 return key; 67 // already have source-specific membership so return key 69 if (key.sourceAddress() == null) 71 if (source.equals(key.sourceAddress())) 72 return key; 81 * Add membership to the registry, returning a new membership key [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
CertificateStub.java | 42 PublicKey key; field in class:CertificateStub 44 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key){ 48 this.key = key; 98 return key;
|
/libcore/support/src/test/java/tests/security/ |
AlgorithmParameterSymmetricHelper.java | 22 import java.security.Key; 54 Key key = generator.generateKey(); local 62 cipher.init(Cipher.ENCRYPT_MODE, key, parameters); 65 cipher.init(Cipher.DECRYPT_MODE, key, parameters);
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
ContactTernarySearchTree.java | 29 * Add {@code value} to all middle and end {@link Node#values} that correspond to {@code key}. 31 * <p>For example, if {@code key} were "FOO", {@code value} would be added to nodes "F", "O" and 35 public void put(String key, int value) { 36 if (TextUtils.isEmpty(key)) { 39 root = put(root, key, value, 0); 42 private Node put(Node node, String key, int value, int position) { 43 char c = key.charAt(position); 46 node.key = c; 48 if (c < node.key) { 49 node.left = put(node.left, key, value, position) 90 private char key; field in class:ContactTernarySearchTree.Node [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/ |
ApnsXmlParser.java | 53 final String key = mInputParser.getAttributeName(i); local 54 if (key != null) { 55 mValues.put(key, mInputParser.getAttributeValue(i));
|
CarrierConfigXmlParser.java | 29 void process(String type, String key, String value); 41 // Parse one key/value 44 final String key = mInputParser.getAttributeValue(null, "name"); local 46 // e.g. <int name="key">value</int> 57 // We are done parsing one mms_config key/value, call the handler 59 mKeyValueProcessor.process(type, key, value);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
PictureInPictureDetailPreferenceControllerTest.java | 59 final String key = mController.getPreferenceKey(); local 60 when(mPreference.getKey()).thenReturn(key);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
SearchIndexableResourcesTest.java | 95 String key = cursor.getString(COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE); local 96 if (TextUtils.equals(key, FakeIndexProvider.KEY)) {
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/ |
ypupd.h | 55 yp_buf key; member in struct:ypupdate_args 64 yp_buf key; member in struct:ypdelete_args
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
search.h | 37 char *key; member in struct:entry 55 char *key; member in struct:node
|