/frameworks/base/core/tests/coretests/src/android/app/backup/ |
H A D | BackupDataTest.java | 48 private static final String KEY4 = "key4dad"; // variable key lengths to test padding 183 String key = bdi.getKey(); 186 assertEquals("wrong key", expected[0], key); 187 assertEquals("wrong length for key " + key, 192 assertEquals("wrong data for key " + key, expected[1], 213 String key = bdi.getKey(); 216 assertEquals("wrong key", expecte 253 writeEntity(BackupDataOutput bdo, String key, byte[] data) argument 263 deleteEntity(BackupDataOutput bdo, String key) argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | DashboardCategory.java | 36 public String key; field in class:DashboardCategory 85 dest.writeString(key); 99 key = in.readString();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | ClockPreference.java | 56 public void onTuningChanged(String key, String newValue) { argument 57 if (StatusBarIconController.ICON_BLACKLIST.equals(key)) { 60 } else if (Clock.CLOCK_SECONDS.equals(key)) {
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | Decoder.java | 21 public static final byte SIG_MAP = 'M'; // a map with an short key 78 throw new DecoderException("Expected short key, got " + o.getClass()); 81 Short key = (Short)o; 82 if (key == SIG_END_MAP) { 86 m.put(key, readObject());
|
/frameworks/base/tools/aapt2/util/ |
H A D | ImmutableMap.h | 29 static_assert(is_comparable<TKey, TKey>::value, "key is not comparable"); 60 const_iterator find(const TKey2& key) const { 66 auto iter = std::lower_bound(mData.begin(), endIter, key, cmp); 67 if (iter == endIter || iter->first == key) {
|
/frameworks/wilhelm/src/autogen/ |
H A D | IID_to_MPH.c | 318 unsigned key = asso_values[((unsigned char *)iid)[3]] + local 320 if (key <= MAX_HASH_VALUE) { 321 int MPH = hash_to_MPH[key];
|
/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 213 // Find the bounds of the key name. 218 // Create the key string. 238 void CameraParameters::set(const char *key, const char *value) argument 241 if (strchr(key, '=') || strchr(key, ';')) { 242 //XXX ALOGE("Key \"%s\"contains invalid character (= or ;)", key); 251 mMap.replaceValueFor(String8(key), String8(value)); 254 void CameraParameters::set(const char *key, int value) argument 258 set(key, str); 261 void CameraParameters::setFloat(const char *key, floa argument 291 remove(const char *key) argument [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | AesCtrDecryptor.h | 33 android::status_t decrypt(const android::Vector<uint8_t>& key, const Iv iv,
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | TestPlayerStub.h | 101 virtual status_t setParameter(int key, const Parcel &request) { argument 102 return mPlayer->setParameter(key, request); 104 virtual status_t getParameter(int key, Parcel *reply) { argument 105 return mPlayer->getParameter(key, reply);
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.h | 55 bool getTypeURI(size_t index, const char *key, AString *uri) const; 56 bool hasType(size_t index, const char *key) const; 92 const AString &line, sp<AMessage> *meta, const char *key); 95 const AString &line, sp<AMessage> *meta, const char *key);
|
/frameworks/base/core/java/android/content/ |
H A D | PeriodicSync.java | 145 for (String key : b1.keySet()) { 146 if (!b2.containsKey(key)) { 151 if (!Objects.equals(b1.get(key), b2.get(key))) {
|
/frameworks/base/libs/androidfw/tests/ |
H A D | TypeWrappers_test.cpp | 41 e1.key.index = 0; 54 e2.key.index = 1; 86 ASSERT_EQ(uint32_t(0), iter->key.index); 99 ASSERT_EQ(uint32_t(1), iter->key.index);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.h | 179 void AttachShader(int key, ShaderProgram* shader); 183 void AttachVertexFrame(int key, VertexFrame* frame); 185 // Return the shader with the specified key, or NULL if there is no such 187 ShaderProgram* ShaderWithKey(int key); 189 // Return the vertex frame with the specified key, or NULL if there is no 191 VertexFrame* VertexFrameWithKey(int key);
|
H A D | native_program.cpp | 126 bool NativeProgram::CallSetValue(const std::string& key, const std::string& value) { argument 128 setvalue_function_(key.c_str(), value.c_str(), user_data_); 134 std::string NativeProgram::CallGetValue(const std::string& key) { argument 139 getvalue_function_(key.c_str(), result, buffer_size, user_data_);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | LocalPreferences.java | 91 * <p>It uses a shared preferences, whose key is: 101 final String key = getScopedAccessDenialsKey(packageName, uuid, directory); 102 return getPrefs(context).getInt(key, PERMISSION_ASK); 107 final String key = getScopedAccessDenialsKey(packageName, uuid, directory); 108 getPrefs(context).edit().putInt(key, status).apply();
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
H A D | SettingsActivity.java | 61 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { argument
|
/frameworks/native/include/android/ |
H A D | storage_manager.h | 128 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key,
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | ExtendedBitmapDrawable.java | 183 protected void setImage(final RequestKey key) { argument 194 super.setImage(key); 196 if (key == null) { 327 public void onDecodeBegin(final RequestKey key) { argument 329 getDecodeAggregator().expect(key, this); 331 onBecomeFirstExpected(key); 333 super.onDecodeBegin(key); 337 public void onBecomeFirstExpected(final RequestKey key) { argument 338 if (!key.equals(mCurrKey)) { 354 public void onDecodeComplete(final RequestKey key, fina argument 373 onDecodeCancel(final RequestKey key) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | PerformanceCollector.java | 81 * @param results memory and runtime metrics stored as key/value pairs, 143 * In a results Bundle, this key references a List of iteration Bundles. 147 * In an iteration Bundle, this key describes the iteration. 151 * In a results Bundle, this key reports the cpu time of the code block 156 * In a results Bundle, this key reports the execution time of the code 161 * In a snapshot Bundle, this key reports the number of received 166 * In a snapshot Bundle, this key reports the number of transactions sent by 171 * In a snapshot Bundle, this key reports the number of received 176 * In a snapshot Bundle, this key reports the number of transactions sent by 181 * In a snapshot Bundle, this key report [all...] |
/frameworks/base/core/java/android/test/ |
H A D | InstrumentationTestCase.java | 245 * Sends a series of key events through instrumentation and waits for idle. The sequence 246 * of keys is a string containing the key names as specified in KeyEvent, without the 247 * KEYCODE_ prefix. For instance: sendKeys("DPAD_LEFT A B C DPAD_CENTER"). Each key can 260 String key = keys[i]; 261 int repeater = key.indexOf('*'); 265 keyCount = repeater == -1 ? 1 : Integer.parseInt(key.substring(0, repeater)); 267 Log.w("ActivityTestCase", "Invalid repeat count: " + key); 272 key = key.substring(repeater + 1); 277 final Field keyCodeField = KeyEvent.class.getField("KEYCODE_" + key); [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
H A D | VpnProfile.java | 49 public final String key; // -1 field in class:VpnProfile 69 public VpnProfile(String key) { argument 70 this.key = key; 74 key = in.readString(); 95 out.writeString(key); 114 public static VpnProfile decode(String key, byte[] value) { argument 116 if (key == null) { 126 VpnProfile profile = new VpnProfile(key);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PasswordEntryKeyboard.java | 31 * an additional keyboard with symbols. In numeric mode, it shows a 12-key DTMF dialer-like 89 LatinKey key = new LatinKey(res, parent, x, y, parser); 90 final int code = key.codes[0]; 92 // Log.w(TAG, "Key code for " + key.label + " is not latin-1"); 93 key.label = " "; 94 key.setEnabled(false); 96 switch (key.codes[0]) { 98 mEnterKey = key; 101 mF1Key = key; 104 mSpaceKey = key; [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreSecretKeyFactorySpi.java | 48 protected KeySpec engineGetKeySpec(SecretKey key, argument 53 if (!(key instanceof AndroidKeyStoreSecretKey)) { 55 ((key != null) ? key.getClass().getName() : "null")); 62 throw new InvalidKeySpecException("Unsupported key spec: " + keySpecClass.getName()); 64 AndroidKeyStoreKey keystoreKey = (AndroidKeyStoreKey) key; 70 throw new InvalidKeySpecException("Invalid key alias: " + keyAliasInKeystore); 82 throw new ProviderException("Failed to obtain information about key." 156 throw new ProviderException("Unsupported key characteristic", e); 181 // Fingerprint-only key; wil 222 engineTranslateKey(SecretKey key) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
H A D | LocationRequestStatisticsTest.java | 36 PackageProviderKey key = mStatistics.statistics.keySet().iterator().next(); 37 assertEquals(PACKAGE1, key.packageName); 38 assertEquals(PROVIDER1, key.providerName); 55 PackageProviderKey key = mStatistics.statistics.keySet().iterator().next(); 56 assertEquals(PACKAGE1, key.packageName); 57 assertEquals(PROVIDER1, key.providerName); 76 PackageProviderKey key = mStatistics.statistics.keySet().iterator().next(); 77 assertEquals(PACKAGE1, key.packageName); 78 assertEquals(PROVIDER1, key.providerName);
|
/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | KeyEntryMap.h | 35 /// EntryOrPair - A key may mapping to a signal entry or a pair of entries, 43 const KeyType* key; member in struct:mcld::KeyEntryMap::Mapping 92 if (mapping->key == &pKey) { 104 if (mapping->key == &pKey) { 117 if (mapping->key == &pKey) { 130 if (mapping->key == &pKey) { 143 if (mapping->key == &pKey) { 156 if (mapping->key == &pKey) { 168 mapping.key = &pKey; 178 mapping.key [all...] |