/packages/inputmethods/LatinIME/tools/dicttool/compat/com/android/inputmethod/keyboard/ |
Keyboard.java | 20 private final Key KEY = new Key(); 21 public final Key getKey(final int i) { return KEY; }
|
/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/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);
|
/cts/tests/sample/src/android/sample/cts/ |
SampleDeviceTest.java | 29 private static final String KEY = "foo"; 62 * This inserts the key value pair and assert they can be retrieved. Then it clears the 68 // Save the key value pair to the preferences and assert they were saved. 69 mActivity.savePreference(KEY, VALUE); 70 assertEquals("Preferences were not saved", VALUE, mActivity.getPreference(KEY)); 74 assertNull("Preferences were not cleared", mActivity.getPreference(KEY));
|
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
AddressDataKey.java | 39 * The unique ID of the region, in the form of a path from parent IDs to the key. 43 * The key of the region, unique to its parent. If there is an accepted abbreviation for this 44 * region, then the key will be set to this and name will be set to the local name for this 45 * region. If there is no accepted abbreviation, then this key will be the local name and there 48 KEY, 71 * Encodes the {@link #KEY} value of all the children of this region.
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
SerializerTests.java | 39 private static final String KEY = "Key"; 49 s.writeStringValue(values, KEY, Tags.COMPOSE_ACCOUNT_ID); 50 values.put(KEY, ID); 51 s.writeStringValue(values, KEY, Tags.COMPOSE_ACCOUNT_ID);
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
SimpleBackupSharedPreference.java | 34 private static final String KEY = "key"; 37 public SimpleBackupSharedPreference(final String key, final Object value) { 38 mKey = key; 59 json.put(KEY, mKey); 83 return new SimpleBackupSharedPreference(json.getString(KEY), value);
|
/external/chromium_org/net/tools/testserver/ |
minica.py | 107 # The private key and root certificate name are hard coded here: 109 # This is the private key 110 KEY = RSA(0x00a71998f2930bfe73d031a87f133d2f378eeeeed52a77e44d0fc9ff6f07ff32cbf3da999de4ed65832afcb0807f98787506539d258a0ce3c2c77967653099a9034a9b115a876c39a8c4e4ed4acd0c64095946fb39eeeb47a0704dbb018acf48c3a1c4b895fc409fb4a340a986b1afc45519ab9eca47c30185c771c64aa5ecf07d, 115 KEY_PEM = '''-----BEGIN RSA PRIVATE KEY----- 129 -----END RSA PRIVATE KEY----- 153 # print DERToPEM(MakeCertificate(ISSUER_CN, ISSUER_CN, 1, KEY, KEY, None)) 329 * cert_and_key_pem contains a certificate and private key in PEM format 336 cert_der = MakeCertificate(ISSUER_CN, bytes(subject), serial, KEY, KEY, [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/cipher/ |
aead_test.c | 24 * test vector file consists of key-value lines where the key and value are 28 * After a number of key-value lines, a blank line or EOF indicates the end of 33 * KEY: 5a19f3173586b4c42f8412f4d5a786531b3231753e9e00998aec12fda8df10e4 45 KEY = 0, /* hex encoded key. */ 56 "KEY", "NONCE", "IN", "AD", "CT", "TAG", 79 if (!EVP_AEAD_CTX_init(&ctx, aead, bufs[KEY], lengths[KEY], lengths[TAG], 111 if (!EVP_AEAD_CTX_init(&ctx, aead, bufs[KEY], lengths[KEY], lengths[TAG] [all...] |
/external/smack/src/com/kenai/jbosh/ |
Attributes.java | 45 static final BodyQName KEY = BodyQName.createBOSH("key");
|
/external/chromium_org/media/cast/net/ |
cast_transport_config.h | 44 // The AES crypto key and initialization vector. Each of these strings 67 KEY, 69 DEPENDENCY_LAST = KEY 97 // (e.g., key frames), |referenced_frame_id| must equal |frame_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...] |
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
Stopwatches.java | 49 public static final String KEY = "sw";
|
/prebuilts/tools/common/m2/repository/org/codehaus/gmaven/runtime/gmaven-runtime-api/1.5/ |
gmaven-runtime-api-1.5.jar | |
/external/chromium_org/third_party/bintrees/bintrees/ |
ctrees.c | 15 #define KEY(node) (node->key) 25 ct_new_node(PyObject *key, PyObject *value, int xdata) 29 KEY(new_node) = key; 30 Py_INCREF(key); 44 Py_XDECREF(KEY(node)); 70 tmp = KEY(node1); 71 KEY(node1) = KEY(node2) [all...] |
/external/smack/src/org/xbill/DNS/ |
Type.java | 87 /** Key */ 88 public static final int KEY = 25; 120 /** Key exchange */ 141 /** SSH Key Fingerprint */ 144 /** IPSEC key */ 153 /** DNSSEC Key */ 171 /** Transaction key - used to compute a shared secret or exchange a key */ 251 types.add(KEY, "KEY", new KEYRecord()) [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RecentsProvider.java | 78 public static final String KEY = "key"; 132 RecentColumns.KEY + " TEXT PRIMARY KEY ON CONFLICT REPLACE," + 143 "PRIMARY KEY (" + StateColumns.AUTHORITY + ", " + StateColumns.ROOT_ID + ", " 148 ResumeColumns.PACKAGE_NAME + " TEXT NOT NULL PRIMARY KEY," + 204 final ContentValues key = new ContentValues(); local 217 key.put(StateColumns.AUTHORITY, authority); 218 key.put(StateColumns.ROOT_ID, rootId); 219 key.put(StateColumns.DOCUMENT_ID, documentId) 319 final String key = getCursorString(cursor, RecentColumns.KEY); local [all...] |
/bionic/libc/kernel/uapi/linux/ |
bcache.h | 35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) }) 36 #define ZERO_KEY KEY(0, 0, 0) 40 #define MAX_KEY KEY(MAX_KEY_INODE, MAX_KEY_OFFSET, 0) 42 #define START_KEY(k) KEY(KEY_INODE(k), KEY_START(k), 0) 50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
|
/cts/tests/tests/os/src/android/os/cts/ |
MessageTest.java | 31 public static final String KEY = "android"; 160 bundle.putInt(KEY, VALUE); 168 assertEquals(VALUE, mMessage.getData().getInt(KEY)); 188 bundle.putInt(KEY, VALUE); 198 assertEquals(VALUE, mMessage.getData().getInt(KEY));
|
/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...] |
/external/kernel-headers/original/uapi/linux/ |
bcache.h | 67 * searches - it told you where a key started. It's not used anymore, 70 #define KEY(inode, offset, size) \ 76 #define ZERO_KEY KEY(0, 0, 0) 80 #define MAX_KEY KEY(MAX_KEY_INODE, MAX_KEY_OFFSET, 0) 83 #define START_KEY(k) KEY(KEY_INODE(k), KEY_START(k), 0) 127 /* Enough for a key with 6 pointers */ 130 #define BKEY_PADDED(key) \ 131 union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
|
/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);
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/ |
bcache.h | 35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) }) 36 #define ZERO_KEY KEY(0, 0, 0) 40 #define MAX_KEY KEY(MAX_KEY_INODE, MAX_KEY_OFFSET, 0) 42 #define START_KEY(k) KEY(KEY_INODE(k), KEY_START(k), 0) 50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/linux/ |
bcache.h | 35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) }) 36 #define ZERO_KEY KEY(0, 0, 0) 40 #define MAX_KEY KEY(MAX_KEY_INODE, MAX_KEY_OFFSET, 0) 42 #define START_KEY(k) KEY(KEY_INODE(k), KEY_START(k), 0) 50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
|