Searched refs:key (Results 251 - 275 of 852) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java48 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 DDashboardCategory.java36 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 DClockPreference.java56 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 DDecoder.java21 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 DImmutableMap.h29 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 DIID_to_MPH.c318 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 DCameraParameters.cpp213 // 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 DAesCtrDecryptor.h33 android::status_t decrypt(const android::Vector<uint8_t>& key, const Iv iv,
/frameworks/av/media/libmediaplayerservice/
H A DTestPlayerStub.h101 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 DM3UParser.h55 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 DPeriodicSync.java145 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 DTypeWrappers_test.cpp41 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 Dgl_env.h179 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 Dnative_program.cpp126 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 DLocalPreferences.java91 * <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 DSettingsActivity.java61 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { argument
/frameworks/native/include/android/
H A Dstorage_manager.h128 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key,
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java183 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 DPerformanceCollector.java81 * @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 DInstrumentationTestCase.java245 * 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 DVpnProfile.java49 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 DPasswordEntryKeyboard.java31 * 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 DAndroidKeyStoreSecretKeyFactorySpi.java48 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 DLocationRequestStatisticsTest.java36 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 DKeyEntryMap.h35 /// 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...]

Completed in 474 milliseconds

<<11121314151617181920>>