HomeSort by relevance Sort by last modified time
    Searched refs:key (Results 26 - 50 of 15685) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
MockSharedPreferences.java 40 public boolean contains(String key) {
41 return mValues.containsKey(key);
48 public boolean getBoolean(String key, boolean defValue) {
49 if (mValues.containsKey(key)) {
50 return ((Boolean)mValues.get(key)).booleanValue();
55 public float getFloat(String key, float defValue) {
56 if (mValues.containsKey(key)) {
57 return ((Float)mValues.get(key)).floatValue();
62 public int getInt(String key, int defValue) {
63 if (mValues.containsKey(key)) {
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
Malayalam.java 64 private static final ExpectedKey MALAYALAM_ALPHABET_KEY = key(
68 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
84 key("\u0D4D", joinMoreKeys("\u0D05", "1")),
87 key("\u0D3E", joinMoreKeys("\u0D06", "2")),
90 key("\u0D3F", joinMoreKeys("\u0D07", "3")),
93 key("\u0D40", joinMoreKeys("\u0D08", "4")),
96 key("\u0D41", joinMoreKeys("\u0D09", "5")),
99 key("\u0D42", joinMoreKeys("\u0D0A", "6")),
102 key("\u0D43", joinMoreKeys("\u0D0B", "7")),
107 key("\u0D46", joinMoreKeys("\u0D0E", "\u0D10", "\u0D48", "8"))
    [all...]
Telugu.java 65 return joinKeys(LANGUAGE_SWITCH_KEY, SPACE_KEY, key(ZWNJ_KEY, ZWJ_KEY));
71 private static final ExpectedKey TELUGU_ALPHABET_KEY = key(
75 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
91 key("\u0C4C", joinMoreKeys("\u0C14", "1")),
94 key("\u0C48", joinMoreKeys("\u0C10", "2")),
97 key("\u0C3E", joinMoreKeys("\u0C06", "3")),
100 key("\u0C40", joinMoreKeys("\u0C08", "4")),
103 key("\u0C42", joinMoreKeys("\u0C0A", "5")),
106 key("\u0C2C", joinMoreKeys("\u0C2D", "6")),
109 key("\u0C39", joinMoreKeys("\u0C03", "7"))
    [all...]
Kannada.java 65 return joinKeys(LANGUAGE_SWITCH_KEY, SPACE_KEY, key(ZWNJ_KEY, ZWJ_KEY));
71 private static final ExpectedKey KANNADA_ALPHABET_KEY = key(
75 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
92 key("\u0CCC", joinMoreKeys("\u0C94", "\u0CE7", "1")),
96 key("\u0CC8", joinMoreKeys("\u0C90", "\u0CE8", "2")),
100 key("\u0CBE", joinMoreKeys("\u0C86", "\u0CE9", "3")),
104 key("\u0CC0", joinMoreKeys("\u0C88", "\u0CEA", "4")),
108 key("\u0CC2", joinMoreKeys("\u0C8A", "\u0CEB", "5")),
112 key("\u0CAC", joinMoreKeys("\u0CAD", "\u0CEC", "6")),
116 key("\u0CB9", joinMoreKeys("\u0C99", "\u0CED", "7"))
    [all...]
Khmer.java 58 private static final ExpectedKey KHMER_ALPHABET_KEY = key(
62 private static final ExpectedKey CURRENCY_DOLLAR_WITH_RIEL = key(Symbols.DOLLAR_SIGN,
90 key("\u17E1", joinMoreKeys("1", "\u17F1")),
93 key("\u17E2", joinMoreKeys("2", "\u17F2")),
96 key("\u17E3", joinMoreKeys("3", "\u17F3")),
99 key("\u17E4", joinMoreKeys("4", "\u17F4")),
102 key("\u17E5", joinMoreKeys("5", "\u17F5")),
105 key("\u17E6", joinMoreKeys("6", "\u17F6")),
108 key("\u17E7", joinMoreKeys("7", "\u17F7")),
111 key("\u17E8", joinMoreKeys("8", "\u17F8"))
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
MockSharedPreferences.java 40 public boolean contains(String key) {
41 return mValues.containsKey(key);
48 public boolean getBoolean(String key, boolean defValue) {
49 if (mValues.containsKey(key)) {
50 return ((Boolean)mValues.get(key)).booleanValue();
55 public float getFloat(String key, float defValue) {
56 if (mValues.containsKey(key)) {
57 return ((Float)mValues.get(key)).floatValue();
62 public int getInt(String key, int defValue) {
63 if (mValues.containsKey(key)) {
    [all...]
  /external/tensorflow/tensorflow/contrib/cloud/kernels/
bigquery_table_accessor_test_data.h 201 key: "bool_field"
209 key: "bytes_field"
217 key: "date_field"
225 key: "datetime_field"
233 key: "int_field"
241 key: "rec_field.float_field"
249 key: "str_field"
257 key: "time_field"
265 key: "timestamp_field"
278 key: "bool_field
    [all...]
  /external/vogar/src/vogar/
FileCache.java 26 boolean existsInCache(String key);
28 void copyToCache(File source, String key);
30 void copyFromCache(String key, File destination);
  /packages/apps/Dialer/java/com/android/dialer/configprovider/
ConfigProvider.java 22 String getString(String key, String defaultValue);
24 long getLong(String key, long defaultValue);
26 boolean getBoolean(String key, boolean defaultValue);
  /packages/apps/Messaging/src/com/android/messaging/util/
BugleGservicesImpl.java 33 * Asserts that the key has the expected prefix.
35 private void assertKeyAndWaitForGservices(final String key) {
36 Assert.isTrue(key.startsWith(BUGLE_GSERVICES_PREFIX));
40 public long getLong(final String key, final long defaultValue) {
41 assertKeyAndWaitForGservices(key);
46 public int getInt(final String key, final int defaultValue) {
47 assertKeyAndWaitForGservices(key);
52 public boolean getBoolean(final String key, final boolean defaultValue) {
53 assertKeyAndWaitForGservices(key);
58 public String getString(final String key, final String defaultValue)
    [all...]
LongSparseSet.java 32 * @param key The element to check
35 public boolean contains(long key) {
36 if (mSet.get(key, null/*default*/) == THE_ONLY_VALID_VALUE) {
45 * @param key The element to add
47 public void add(long key) {
48 mSet.put(key, THE_ONLY_VALID_VALUE);
54 * @param key The element to remove
56 public void remove(long key) {
57 mSet.delete(key);
  /system/update_engine/common/
prefs_interface.h 33 // Observer class to be notified about key value changes.
38 // Called when the value is set for the observed |key|.
39 virtual void OnPrefSet(const std::string& key) = 0;
41 // Called when the observed |key| is deleted.
42 virtual void OnPrefDeleted(const std::string& key) = 0;
47 // Gets a string |value| associated with |key|. Returns true on
48 // success, false on failure (including when the |key| is not
50 virtual bool GetString(const std::string& key, std::string* value) const = 0;
52 // Associates |key| with a string |value|. Returns true on success,
54 virtual bool SetString(const std::string& key, const std::string& value) = 0
    [all...]
  /packages/services/Telephony/src/com/android/phone/vvm/
VisualVoicemailPreferences.java 30 * source is tied 1:1 to a phone account, the phone account handle is used in the key for each
58 public Editor putBoolean(String key, boolean value) {
59 mEditor.putBoolean(getKey(key), value);
64 public Editor putFloat(String key, float value) {
65 mEditor.putFloat(getKey(key), value);
69 public Editor putInt(String key, int value) {
70 mEditor.putInt(getKey(key), value);
75 public Editor putLong(String key, long value) {
76 mEditor.putLong(getKey(key), value);
80 public Editor putString(String key, String value)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
Dbm.py 15 for key in self.keys():
16 t = repr(key) + ': ' + repr(self[key])
24 def __getitem__(self, key):
25 return eval(self.db[repr(key)])
27 def __setitem__(self, key, value):
28 self.db[repr(key)] = repr(value)
30 def __delitem__(self, key):
31 del self.db[repr(key)]
35 for key in self.db.keys():
    [all...]
  /external/python/cpython2/Demo/classes/
Dbm.py 15 for key in self.keys():
16 t = repr(key) + ': ' + repr(self[key])
24 def __getitem__(self, key):
25 return eval(self.db[repr(key)])
27 def __setitem__(self, key, value):
28 self.db[repr(key)] = repr(value)
30 def __delitem__(self, key):
31 del self.db[repr(key)]
35 for key in self.db.keys()
    [all...]
  /external/toybox/toys/example/
demo_scankey.c 26 int key, x, y; local
44 key = scan_key_getsize(scratch, -1*!!t[0], &width, &height);
49 printf("key=[ESC");
51 while (0<(key = scan_key_getsize(scratch, 0, &width, &height)))
52 printf("%c", key);
54 } else printf("key=%d ", key);
58 if (key == -2) continue;
59 if (key <= ' ') break;
60 if (key>=256)
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
SystemPropertyService.java 22 public String get(String key, String defaultValue) {
23 return android.os.SystemProperties.get(key, defaultValue);
27 public void set(String key, String val) {
28 android.os.SystemProperties.set(key, val);
32 public boolean getBoolean(String key, boolean defaultValue) {
33 return android.os.SystemProperties.getBoolean(key, defaultValue);
37 public String getString(String key, String defaultValue) {
38 return android.os.SystemProperties.get(key, defaultValue);
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
ContentValuesBuilder.java 31 public ContentValuesBuilder put(String key, String value) {
32 mContentValues.put(key, value);
37 public ContentValuesBuilder put(String key, Byte value) {
38 mContentValues.put(key, value);
42 public ContentValuesBuilder put(String key, Short value) {
43 mContentValues.put(key, value);
47 public ContentValuesBuilder put(String key, Integer value) {
48 mContentValues.put(key, value);
53 public ContentValuesBuilder put(String key, Long value) {
54 mContentValues.put(key, value)
    [all...]
  /hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_pla/src/
platform_lib_property_service.cpp 36 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value)
38 return property_get(key, value, default_value);
  /hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_stub/src/
loc_stub_property_service.cpp 33 int property_get(const char *key, char * value, const char */*default_value*/)
38 if (strcmp(key, "ro.baseband") == 0) {
  /hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/src/
platform_lib_property_service.cpp 36 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value)
38 return property_get(key, value, default_value);
  /hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/src/
loc_stub_property_service.cpp 33 int property_get(const char *key, char * value, const char *default_value)
38 if (strcmp(key, "ro.baseband") == 0) {
  /libcore/ojluni/src/main/java/java/util/
MissingResourceException.java 58 * @param key the key for the missing resource.
60 public MissingResourceException(String s, String className, String key) {
63 this.key = key;
68 * <code>message</code>, <code>className</code>, <code>key</code>,
76 * @param key
77 * the key for the missing resource.
84 MissingResourceException(String message, String className, String key, Throwable cause) {
87 this.key = key
123 private String key; field in class:MissingResourceException
    [all...]
  /packages/apps/TV/common/src/com/android/tv/common/config/api/
RemoteConfigValue.java 18 /** Wrapper for a RemoteConfig key and default value. */
21 private final String key; field in class:RemoteConfigValue
23 private RemoteConfigValue(String key, T defaultValue) {
25 this.key = key;
28 /** Create with the given key and default value */
29 public static RemoteConfigValue<Long> create(String key, long defaultValue) {
30 return new RemoteConfigValue<Long>(key, defaultValue) {
33 return remoteConfig.getLong(key, defaultValue);
46 return "RemoteConfigValue(key=" + key + ", defalutValue=" + defaultValue + "]"
    [all...]
  /packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
SparseIntArray.java 38 public void put(final int key, final int value) {
39 mArray.put(key, value);
42 public int get(final int key) {
43 return get(key, 0);
46 public int get(final int key, final int valueIfKeyNotFound) {
47 return mArray.get(key, valueIfKeyNotFound);
50 public int indexOfKey(final int key) {
51 return mArray.indexOfKey(key);

Completed in 558 milliseconds

12 3 4 5 6 7 8 91011>>