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

1 2 3 4 5 6 7 8 9

  /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; }
  /system/core/include/utils/
KeyedVector.h 34 template <typename KEY, typename VALUE>
38 typedef KEY key_type;
68 const VALUE& valueFor(const KEY& key) const;
70 const KEY& keyAt(size_t index) const;
71 ssize_t indexOfKey(const KEY& key) const;
78 VALUE& editValueFor(const KEY& key);
85 ssize_t add(const KEY& key, const VALUE& item)
    [all...]
  /external/chromium_org/net/data/ssl/scripts/
generate-android-test-keys.sh 20 # Generate a single 2048-bits RSA private key in PKCS#8 format.
21 KEY=android-test-key-rsa
23 -out out/$KEY.pem \
26 # Generate a 2048-bits DSA private key in PKCS#8 format,
27 # as well as its public key in X.509 DER format.
28 KEY=android-test-key-dsa
30 -out out/$KEY.param.pem \
34 -out out/$KEY.pem
    [all...]
  /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);
  /system/core/libpixelflinger/codeflinger/tinyutils/
KeyedVector.h 33 template <typename KEY, typename VALUE>
37 typedef KEY key_type;
64 const VALUE& valueFor(const KEY& key) const;
66 const KEY& keyAt(size_t index) const;
67 ssize_t indexOfKey(const KEY& key) const;
73 VALUE& editValueFor(const KEY& key);
80 ssize_t add(const KEY& key, const VALUE& item)
    [all...]
  /ndk/sources/host-tools/make-3.81/
hash.h 38 typedef unsigned long (*hash_func_t) __P((void const *key));
64 void **hash_find_slot __P((struct hash_table *ht, void const *key));
65 void *hash_find_item __P((struct hash_table *ht, void const *key));
85 #define STRING_HASH_1(KEY, RESULT) do { \
86 unsigned char const *_key_ = (unsigned char const *) (KEY) - 1; \
90 #define return_STRING_HASH_1(KEY) do { \
92 STRING_HASH_1 ((KEY), _result_); \
96 #define STRING_HASH_2(KEY, RESULT) do { \
97 unsigned char const *_key_ = (unsigned char const *) (KEY) - 1; \
101 #define return_STRING_HASH_2(KEY) do {
    [all...]
  /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...]
  /cts/tests/tests/os/src/android/os/cts/
BundleTest.java 47 public static final String KEY = "Bruce Lee";
67 b1.putBoolean(KEY, true);
71 assertTrue(b2.getBoolean(KEY));
91 mBundle.putBoolean(KEY, true);
111 assertFalse(mBundle.containsKey(KEY));
112 mBundle.putBoolean(KEY, true);
113 assertTrue(mBundle.containsKey(KEY));
115 assertTrue(mBundle.containsKey(KEY));
121 assertNull(mBundle.get(KEY));
122 mBundle.putBoolean(KEY, true)
    [all...]
  /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/skia/src/gpu/
GrTBSearch.h 13 template <typename ELEM, typename KEY>
14 int GrTBSearch(const ELEM array[], int count, KEY target) {
  /external/skia/src/gpu/
GrTBSearch.h 13 template <typename ELEM, typename KEY>
14 int GrTBSearch(const ELEM array[], int count, KEY target) {
  /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/libselinux/src/
selinux_internal.h 113 /* Pthread key macros */
114 #define __selinux_key_create(KEY, DESTRUCTOR) \
117 pthread_key_create(KEY, DESTRUCTOR); \
120 #define __selinux_key_delete(KEY) \
123 pthread_key_delete(KEY); \
126 #define __selinux_setspecific(KEY, VALUE) \
129 pthread_setspecific(KEY, VALUE); \
  /external/qemu/distrib/libselinux/src/
selinux_internal.h 113 /* Pthread key macros */
114 #define __selinux_key_create(KEY, DESTRUCTOR) \
117 pthread_key_create(KEY, DESTRUCTOR); \
120 #define __selinux_key_delete(KEY) \
123 pthread_key_delete(KEY); \
126 #define __selinux_setspecific(KEY, VALUE) \
129 pthread_setspecific(KEY, VALUE); \
  /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);
  /external/chromium_org/third_party/openssl/openssl/crypto/bf/
bf_locl.h 164 #define BF_ENC(LL,R,KEY,Pi) (\
165 LL^=KEY[Pi], \
166 t= KEY[BF_ROUNDS+2 + 0 + ((R>>24)&0xFF)], \
167 t+= KEY[BF_ROUNDS+2 + 256 + ((R>>16)&0xFF)], \
168 t^= KEY[BF_ROUNDS+2 + 512 + ((R>>8 )&0xFF)], \
169 t+= KEY[BF_ROUNDS+2 + 768 + ((R )&0xFF)], \
  /external/openssl/crypto/bf/
bf_locl.h 164 #define BF_ENC(LL,R,KEY,Pi) (\
165 LL^=KEY[Pi], \
166 t= KEY[BF_ROUNDS+2 + 0 + ((R>>24)&0xFF)], \
167 t+= KEY[BF_ROUNDS+2 + 256 + ((R>>16)&0xFF)], \
168 t^= KEY[BF_ROUNDS+2 + 512 + ((R>>8 )&0xFF)], \
169 t+= KEY[BF_ROUNDS+2 + 768 + ((R )&0xFF)], \
  /external/chromium_org/components/test/data/web_database/
version_25.sql 3 CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY,value LONGVARCHAR);
7 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,show_in_default_list INTEGER,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,autogenerate_keyword INTEGER DEFAULT 0,logo_id INTEGER DEFAULT 0);
11 CREATE TABLE autofill (name VARCHAR, value VARCHAR, value_lower VARCHAR,pair_id INTEGER PRIMARY KEY, count INTEGER DEFAULT 1);
13 CREATE TABLE autofill_profiles ( label VARCHAR,unique_id INTEGER PRIMARY KEY, first_name VARCHAR,middle_name VARCHAR, last_name VARCHAR, email VARCHAR,company_name VARCHAR, address_line_1 VARCHAR, address_line_2 VARCHAR,city VARCHAR, state VARCHAR, zipcode VARCHAR, country VARCHAR,phone VARCHAR, fax VARCHAR);
14 CREATE TABLE credit_cards ( label VARCHAR, unique_id INTEGER PRIMARY KEY,name_on_card VARCHAR, type VARCHAR, card_number VARCHAR,expiration_month INTEGER, expiration_year INTEGER,verification_code VARCHAR, billing_address VARCHAR,shipping_address VARCHAR, card_number_encrypted BLOB,verification_code_encrypted BLOB);
15 CREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token BLOB);
version_26.sql 3 CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY,value LONGVARCHAR);
7 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,show_in_default_list INTEGER,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,autogenerate_keyword INTEGER DEFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0);
11 CREATE TABLE autofill (name VARCHAR, value VARCHAR, value_lower VARCHAR,pair_id INTEGER PRIMARY KEY, count INTEGER DEFAULT 1);
13 CREATE TABLE autofill_profiles ( label VARCHAR,unique_id INTEGER PRIMARY KEY, first_name VARCHAR,middle_name VARCHAR, last_name VARCHAR, email VARCHAR,company_name VARCHAR, address_line_1 VARCHAR, address_line_2 VARCHAR,city VARCHAR, state VARCHAR, zipcode VARCHAR, country VARCHAR,phone VARCHAR, fax VARCHAR);
14 CREATE TABLE credit_cards ( label VARCHAR, unique_id INTEGER PRIMARY KEY,name_on_card VARCHAR, type VARCHAR, card_number VARCHAR,expiration_month INTEGER, expiration_year INTEGER,verification_code VARCHAR, billing_address VARCHAR,shipping_address VARCHAR, card_number_encrypted BLOB,verification_code_encrypted BLOB);
15 CREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token BLOB);
version_48.sql 3 CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR);
8 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,show_in_default_list INTEGER,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_modified INTEGER DEFAULT 0,sync_guid VARCHAR,alternate_urls VARCHAR);
9 CREATE TABLE autofill (name VARCHAR, value VARCHAR, value_lower VARCHAR, pair_id INTEGER PRIMARY KEY, count INTEGER DEFAULT 1);
10 CREATE TABLE credit_cards ( guid VARCHAR PRIMARY KEY, name_on_card VARCHAR, expiration_month INTEGER, expiration_year INTEGER, card_number_encrypted BLOB, date_modified INTEGER NOT NULL DEFAULT 0);
12 CREATE TABLE autofill_profiles ( guid VARCHAR PRIMARY KEY, company_name VARCHAR, address_line_1 VARCHAR, address_line_2 VARCHAR, city VARCHAR, state VARCHAR, zipcode VARCHAR, country VARCHAR, country_code VARCHAR, date_modified INTEGER NOT NULL DEFAULT 0);
19 CREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token BLOB);
  /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/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,
67 * 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);
  /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/chromium_org/media/cast/video_sender/
fake_software_video_encoder.cc 34 encoded_image->dependency = transport::EncodedFrame::KEY;
43 values.SetBoolean("key",
44 encoded_image->dependency == transport::EncodedFrame::KEY);

Completed in 2897 milliseconds

1 2 3 4 5 6 7 8 9