HomeSort by relevance Sort by last modified time
    Searched defs:KEY (Results 1 - 25 of 25) sorted by null

  /frameworks/base/core/tests/coretests/src/android/os/
SystemPropertiesTest.java 26 private static final String KEY = "com.android.frameworks.coretests";
32 SystemProperties.set(KEY, "");
33 value = SystemProperties.get(KEY, "default");
36 SystemProperties.set(KEY, "AAA");
37 value = SystemProperties.get(KEY, "default");
40 value = SystemProperties.get(KEY);
43 SystemProperties.set(KEY, "");
44 value = SystemProperties.get(KEY, "default");
47 value = SystemProperties.get(KEY);
  /frameworks/base/core/tests/systemproperties/src/android/os/
SystemPropertiesTest.java 25 private static final String KEY = "sys.testkey";
40 SystemProperties.set(KEY, Long.toString(i));
41 long ret = SystemProperties.getLong(KEY, -1);
50 SystemProperties.set(KEY, "");
51 value = SystemProperties.get(KEY, "default");
54 SystemProperties.set(KEY, "SA");
55 value = SystemProperties.get(KEY, "default");
58 value = SystemProperties.get(KEY);
61 SystemProperties.set(KEY, "");
62 value = SystemProperties.get(KEY, "default")
    [all...]
  /packages/apps/Camera/src/com/android/camera/
RecordLocationPreference.java 30 public static final String KEY = "pref_camera_recordlocation_key";
50 String value = pref.getString(KEY, VALUE_NONE);
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
SerializerTests.java 34 private static final String KEY = "Key";
44 s.writeStringValue(values, KEY, Tags.COMPOSE_ACCOUNT_ID);
45 values.put(KEY, ID);
46 s.writeStringValue(values, KEY, Tags.COMPOSE_ACCOUNT_ID);
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
TestKeyStoreSpi.java 8 import java.security.Key;
37 public static final Key KEY = new SecretKey() {
58 aliases.put("keyalias", KEY);
108 public Key engineGetKey(String alias, char[] password)
119 return (Key) aliases.get(alias);
138 Key k = (Key) aliases.get(alias);
197 public void engineSetKeyEntry(String alias, Key key, char[] password
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
MessageTest.java 35 public static final String KEY = "android";
280 bundle.putInt(KEY, VALUE);
287 assertEquals(VALUE, mMessage.getData().getInt(KEY));
318 bundle.putInt(KEY, VALUE);
328 assertEquals(VALUE, mMessage.getData().getInt(KEY));
BundleTest.java 51 public static final String KEY = "Bruce Lee";
97 b1.putBoolean(KEY, true);
101 assertTrue(b2.getBoolean(KEY));
122 mBundle.putBoolean(KEY, true);
152 assertFalse(mBundle.containsKey(KEY));
153 mBundle.putBoolean(KEY, true);
154 assertTrue(mBundle.containsKey(KEY));
156 assertTrue(mBundle.containsKey(KEY));
167 assertNull(mBundle.get(KEY));
168 mBundle.putBoolean(KEY, true)
    [all...]
  /frameworks/base/core/java/android/provider/
BrowserContract.java 521 * Key for a setting value.
523 public static final String KEY = "key";
542 KEY + "=?", new String[] { KEY_SYNC_ENABLED }, null);
557 values.put(KEY, KEY_SYNC_ENABLED);
Contacts.java 121 * The key of this setting.
126 public static final String KEY = "key";
168 public static final String DEFAULT_SORT_ORDER = "key ASC";
187 public static String getSetting(ContentResolver cr, String account, String key) {
196 ? "_sync_account is null AND key=?"
197 : "_sync_account=? AND key=?";
198 // : "_sync_account=? AND _sync_account_type=? AND key=?";
200 ? new String[]{key}
201 : new String[]{account, key};
    [all...]
CalendarContract.java 101 * Intent Extras key: The start time of an event or an instance of a
107 * Intent Extras key: The end time of an event or an instance of a recurring
113 * Intent Extras key: When creating an event, set this to true to create an
303 * A key for looking up a color from the {@link Colors} table. NULL or
305 * not use a key for looking up the color. The provider will update
306 * {@link #CALENDAR_COLOR} automatically when a valid key is written to
307 * this column. The key must reference an existing row of the
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
JDKKeyStore.java 10 import java.security.Key;
77 static final int KEY = 2;
82 // key types
127 Key key,
156 encodeKey(key, dOut);
210 if (obj instanceof Key)
252 Key k = null;
277 // reencrypt key with correct cipher.
316 // if we get to here key was saved as byte data, whic
723 Key key = decodeKey(dIn); local
    [all...]
JDKPKCS12KeyStore.java 9 import java.security.Key;
99 static final int KEY = 2;
104 // key types
122 PublicKey key)
124 this.id = createSubjectKeyId(key).getKeyIdentifier();
194 throw new RuntimeException("error creating key");
220 tab.put(a, "key");
241 Key k = (Key)keys.remove(alias);
273 * simply return the cert for the private key
653 JCEPBEKey key = (JCEPBEKey) keyFact.generateSecret(pbeSpec); local
1554 JCEPBEKey key = (JCEPBEKey) keyFact.generateSecret(pbeSpec); local
    [all...]
  /external/grub/stage2/
fsys_reiserfs.c 124 * directories use this key as well as old files
161 struct key struct
176 #define KEY_SIZE (sizeof (struct key))
185 struct key blk_right_delim_key; /* Right delimiting key for this block (supported for leaf level nodes
193 struct key ih_key; /* Everything in the tree is found by searching for it based on its key.*/
199 stat data item. Note that the key, not this field, is used to determine
248 __u32 deh_offset; /* third component of the directory entry key */
350 #define KEY(cache) ((struct key *) ((int) cache + BLKH_SIZE)
836 struct key *key; local
    [all...]
  /external/expat/lib/
xmlparse.c 89 typedef const XML_Char *KEY;
92 KEY name;
399 lookup(HASH_TABLE *table, KEY name, size_t createSize);
    [all...]
  /prebuilt/sdk/14/
android.jar 
  /prebuilt/sdk/15/
android.jar 
  /prebuilt/common/ecj/
ecj.jar 
  /prebuilt/sdk/10/
android.jar 
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/13/
android.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/9/
android.jar 

Completed in 672 milliseconds