/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/LegacyCamera/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/exchange2/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);
|
/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 | 30 public static final String KEY = "android"; 159 bundle.putInt(KEY, VALUE); 167 assertEquals(VALUE, mMessage.getData().getInt(KEY)); 187 bundle.putInt(KEY, VALUE); 197 assertEquals(VALUE, mMessage.getData().getInt(KEY));
|
BundleTest.java | 45 public static final String KEY = "Bruce Lee"; 65 b1.putBoolean(KEY, true); 69 assertTrue(b2.getBoolean(KEY)); 78 mBundle.putBoolean(KEY, true); 98 assertFalse(mBundle.containsKey(KEY)); 99 mBundle.putBoolean(KEY, true); 100 assertTrue(mBundle.containsKey(KEY)); 102 assertTrue(mBundle.containsKey(KEY)); 108 assertNull(mBundle.get(KEY)); 109 mBundle.putBoolean(KEY, true) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ConcurrentHashMultisetTest.java | 52 private static final String KEY = "puppies"; 70 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(COUNT)); 73 assertEquals(COUNT, multiset.count(KEY)); 78 expect(backingMap.get(KEY)).andReturn(null); 81 assertEquals(0, multiset.count(KEY)); 88 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(INITIAL_COUNT)); 90 assertEquals(INITIAL_COUNT, multiset.add(KEY, 0)); 97 expect(backingMap.get(KEY)).andReturn(null); 98 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(null); 101 assertEquals(0, multiset.add(KEY, COUNT)) [all...] |
/frameworks/base/core/java/android/provider/ |
BrowserContract.java | 702 * Key for a setting value. 704 public static final String KEY = "key"; 723 KEY + "=?", new String[] { KEY_SYNC_ENABLED }, null); 738 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 | 133 * Intent Extras key: {@link EventsColumns#CUSTOM_APP_URI} for the event in 139 * Intent Extras key: The start time of an event or an instance of a 145 * Intent Extras key: The end time of an event or an instance of a recurring 151 * Intent Extras key: When creating an event, set this to true to create an 341 * A key for looking up a color from the {@link Colors} table. NULL or 343 * not use a key for looking up the color. The provider will update 344 * {@link #CALENDAR_COLOR} automatically when a valid key is written to 345 * 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...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ResearchLogger.java | 33 import com.android.inputmethod.keyboard.Key; 266 KEY("k"), 309 write(LogGroup.KEY, sb.toString()); 431 public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { 432 if (key == null || prefs == null) { 658 for (Key key : keyboard.mKeys) { 665 builder.append(key.mCode); 667 builder.append(key.mAltCode); 669 builder.append(key.mX) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
Sdk.java | [all...] |
/external/clang/include/clang/AST/ |
ExprObjC.h | 198 /// \brief The key for the dictionary element. 199 Expr *Key; 218 /// \brief Key/value pair used to store the key and value of a given element. 222 Expr *Key; 245 /// key/value pairs, which provide the locations of the ellipses (if 303 ObjCDictionaryElement Result = { KV.Key, KV.Value, SourceLocation(), 759 /// array[4] = array[3]; dictionary[key] = dictionary[alt_key]; 767 enum { BASE, KEY, END_EXPR }; 778 ObjCSubscriptRefExpr(Expr *base, Expr *key, QualType T [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...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.osgi_3.6.1.R36x_v20100806.jar | |
org.eclipse.osgi_3.6.2.R36x_v20101103.jar | |
org.eclipse.debug.core_3.6.0.v20100519.jar | |
org.eclipse.core.resources_3.6.1.R36x_v20101007-1215.jar | |
/prebuilts/tools/common/eclipse/ |
org.eclipse.osgi_3.6.2.R36x_v20110210.jar | |