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

1 23 4 5 6 7 8 91011>>

  /tools/tradefederation/core/src/com/android/tradefed/util/keystore/
IKeyStoreClient.java 20 * Interface to access a key store for password or sensitive data.
25 * A method to check whether or not we have a valid key store to talk to.
27 * @return true if we have a valid key store, false otherwise.
32 * A method to check if the key store contains a given key.
34 * @param key to check existence for.
35 * @return true if the given key exists.
37 public boolean containsKey(String key);
40 * A method to fetch a given key inside the key store
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
BuglePrefs.java 71 * @param key The key to look up in shared prefs
76 public abstract int getInt(final String key, final int defaultValue);
79 * @param key The key to look up in shared prefs
84 public abstract long getLong(final String key, final long defaultValue);
87 * @param key The key to look up in shared prefs
91 public abstract boolean getBoolean(final String key, final boolean defaultValue);
94 * @param key The key to look up in shared pref
    [all...]
  /packages/apps/Messaging/tests/src/com/android/messaging/util/
FakeBuglePrefs.java 28 public int getInt(final String key, final int defaultValue) {
33 public long getLong(final String key, final long defaultValue) {
38 public boolean getBoolean(final String key, final boolean defaultValue) {
43 public String getString(final String key, final String defaultValue) {
48 public byte[] getBytes(String key) {
53 public void putInt(final String key, final int value) {
57 public void putLong(final String key, final long value) {
61 public void putBoolean(final String key, final boolean value) {
65 public void putString(final String key, final String value) {
69 public void putBytes(String key, byte[] value)
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/
suggest_options.h 51 AK_FORCE_INLINE bool getAdditionalFeaturesBoolOption(const int key) const {
52 return getBoolOption(key + ADDITIONAL_FEATURES_OPTIONS);
72 AK_FORCE_INLINE bool isValidKey(const int key) const {
73 return 0 <= key && key < mLength;
76 AK_FORCE_INLINE bool getBoolOption(const int key) const {
77 if (isValidKey(key)) {
78 return mOptions[key] != 0;
83 AK_FORCE_INLINE int getIntOption(const int key) const {
84 if (isValidKey(key)) {
    [all...]
  /frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
TaskKeyCache.java 25 * Base class for both strong and LRU task key cache.
34 * Gets a specific entry in the cache with the specified key, regardless of whether the cached
37 final V get(TaskKey key) {
38 return getCacheEntry(key.id);
42 * Returns the value only if the key is valid (has not been updated since the last time it was
45 final V getAndInvalidateIfModified(TaskKey key) {
46 TaskKey lastKey = mKeys.get(key.id);
48 if ((lastKey.windowingMode != key.windowingMode) ||
49 (lastKey.lastActiveTime != key.lastActiveTime)) {
52 remove(key);
    [all...]
  /cts/tests/autofillservice/src/android/autofillservice/cts/common/
SettingsHelper.java 40 public static void set(@NonNull String namespace, @NonNull String key, @Nullable String value) {
42 delete(namespace, key);
45 runShellCommand("settings put %s %s %s default", namespace, key, value);
48 public static void set(@NonNull String key, @Nullable String value) {
49 set(NAMESPACE_SECURE, key, value);
56 @NonNull String key, @Nullable String value) {
58 syncDelete(context, namespace, key);
62 final String currentValue = get(namespace, key);
69 new OneTimeSettingsListener(context, namespace, key);
70 set(namespace, key, value)
    [all...]
  /frameworks/support/core/ktx/src/main/java/androidx/core/content/
ContentValues.kt 22 * Returns a new [ContentValues] with the given key/value pairs as elements.
27 for ((key, value) in pairs) {
29 null -> putNull(key)
30 is String -> put(key, value)
31 is Int -> put(key, value)
32 is Long -> put(key, value)
33 is Boolean -> put(key, value)
34 is Float -> put(key, value)
35 is Double -> put(key, value)
36 is ByteArray -> put(key, value
    [all...]
  /frameworks/base/core/java/com/android/internal/app/procstats/
PssTable.java 49 final int key = that.getKeyAt(i); local
50 final int state = SparseMappingTable.getIdFromKey(key);
51 mergeStats(state, (int)that.getValue(key, PSS_SAMPLE_COUNT),
52 that.getValue(key, PSS_MINIMUM),
53 that.getValue(key, PSS_AVERAGE),
54 that.getValue(key, PSS_MAXIMUM),
55 that.getValue(key, PSS_USS_MINIMUM),
56 that.getValue(key, PSS_USS_AVERAGE),
57 that.getValue(key, PSS_USS_MAXIMUM),
58 that.getValue(key, PSS_RSS_MINIMUM)
70 final int key = getOrAddKey((byte)state, PSS_COUNT); local
    [all...]
  /external/toybox/toys/other/
sysctl.c 14 usage: sysctl [-aAeNnqw] [-p [FILE] | KEY[=VALUE]...]
20 -N Don't print key values
21 -n Don't print key names
30 static char *split_key(char *key)
32 char *value = strchr(key, '=');
44 static void key_error(char *key)
47 if (!(toys.optflags & FLAG_e)) error_msg("unknown key '%s'", key);
48 } else perror_msg("key '%s'", key);
69 char *path, *data, *key; local
128 char *line = 0, *key, *val; local
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
Marathi.java 63 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
80 key(VOWEL_SIGN_AU, "\u094C", joinMoreKeys("\u0914", "\u0967", "1")),
84 key(VOWEL_SIGN_AI, "\u0948", joinMoreKeys("\u0910", "\u0968", "2")),
88 key(VOWEL_SIGN_AA, "\u093E", joinMoreKeys("\u0906", "\u0969", "3")),
92 key(VOWEL_SIGN_II, "\u0940", joinMoreKeys("\u0908", "\u096A", "4")),
96 key(VOWEL_SIGN_UU, "\u0942", joinMoreKeys("\u090A", "\u096B", "5")),
100 key("\u092C", joinMoreKeys("\u092D", "\u096C", "6")),
103 key("\u0939", joinMoreKeys("\u096D", "7")),
107 key("\u0917", joinMoreKeys("\u0918", "\u096E", "8")),
111 key("\u0926", joinMoreKeys("\u0927", "\u096F", "9"))
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/content/
TestSharedPreferences.java 33 public String getString(String key, String defValue) {
34 return (String) getValue(key, defValue);
37 private Object getValue(String key, Object defValue) {
40 Object value = fileHash.get(key);
49 public int getInt(String key, int defValue) {
50 return (Integer) getValue(key, defValue);
54 public long getLong(String key, long defValue) {
55 return (Long) getValue(key, defValue);
59 public float getFloat(String key, float defValue) {
60 return (Float) getValue(key, defValue)
    [all...]
  /art/tools/checker/common/
immutables.py 16 def __setitem__(self, key, value):
19 def __delitem__(self, key):
22 def copyWith(self, key, value):
24 dict.__setitem__(newDict, key, value)
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
SettingsUtils.java 25 public static void putGlobalSetting(String key, String value) {
27 SystemUtil.runShellCommandForNoOutput("settings put global " + key + " " + value);
33 public static void putSecureSetting(String key, String value) {
35 "settings --user current put secure " + key + " " + value);
  /external/ltp/testcases/kernel/syscalls/keyctl/
keyctl03.c 39 key_serial_t key; local
41 key = add_key("user", "ltptestkey", "a", 1, KEY_SPEC_SESSION_KEYRING);
42 if (key == -1)
43 tst_brk(TBROK, "Failed to add key");
47 TEST(keyctl(KEYCTL_UNLINK, key, KEY_SPEC_SESSION_KEYRING));
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getspecific/
3-1.c 10 * It shall return the thread-specific data value associated with the given 'key'. If no
11 * thread-specific data value is associated with 'key, then the value NULL shall be returned.
15 * 1. Create pthread_key_t object and do no specify a key accociated with this key
28 pthread_key_t key; local
31 if (pthread_key_create(&key, NULL) != 0) {
36 rc = pthread_getspecific(key);
44 if (pthread_key_delete(key) != 0) {
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_tex_sample.h 47 lp_llvm_sampler_soa_create(const struct lp_sampler_static_state *key);
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
SwitchLabelElement.java 37 public final int key; field in class:SwitchLabelElement
40 public SwitchLabelElement(int key, @Nonnull Label target) {
41 this.key = key;
  /external/vboot_reference/tests/
rsa_padding_test.c 17 static void TestSignatures(RSAPublicKey* key) {
22 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, 0,
28 if (RSAVerify(key, signatures[i], RSA1024NUMBYTES, 0,
40 static void TestRSAVerify(RSAPublicKey* key) {
43 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, 0,
45 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES - 1, 0,
47 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, kNumAlgorithms,
49 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, 3,
55 TEST_EQ(RSAVerify(key, sig, RSA1024NUMBYTES, 0, test_message_sha1_hash), 0,
60 TEST_EQ(RSAVerify(key, sig, RSA1024NUMBYTES, 0, test_message_sha1_hash), 0
67 RSAPublicKey* key; local
    [all...]
  /hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_stub/include/
loc_stub_property_service.h 36 int property_get(const char *key, char *value, const char *default_value);
  /hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/include/
loc_stub_property_service.h 36 int property_get(const char *key, char *value, const char *default_value);
  /packages/apps/TV/common/src/com/android/tv/common/config/api/
RemoteConfig.java 40 /** Gets value as a string corresponding to the specified key. */
41 String getString(String key);
43 /** Gets value as a boolean corresponding to the specified key. */
44 boolean getBoolean(String key);
46 /** Gets value as a long corresponding to the specified key. */
47 long getLong(String key);
50 * Gets value as a long corresponding to the specified key. Returns the defaultValue if no value
53 long getLong(String key, long defaultValue);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/
prefix.h 30 /* Update PATH using KEY if PATH starts with PREFIX. The returned
33 extern char *update_path (const char *path, const char *key);
  /external/vboot_reference/host/lib21/
host_key.c 72 void vb2_private_key_free(struct vb2_private_key *key)
74 if (!key)
77 if (key->rsa_private_key)
78 RSA_free(key->rsa_private_key);
80 if (key->desc)
81 free(key->desc);
83 free(key);
92 struct vb2_private_key *key; local
101 * TODO: If it doesn't match, pass through to the old packed key format.
109 /* Make sure key data is inside *
185 struct vb2_private_key *key; local
295 static const struct vb2_private_key key = { local
308 static const struct vb2_private_key key = { local
321 static const struct vb2_private_key key = { local
339 struct vb2_public_key *key; local
380 struct vb2_public_key *key = NULL; local
439 struct vb2_public_key key; local
460 struct vb2_packed_key key = { local
    [all...]
  /external/wpa_supplicant_8/src/tls/
rsa.c 18 int private_key; /* whether private key is set */
56 * crypto_rsa_import_public_key - Import an RSA public key
57 * @buf: Key buffer (DER encoded RSA public key)
58 * @len: Key buffer length in bytes
59 * Returns: Pointer to the public key or %NULL on failure
64 struct crypto_rsa_key *key; local
68 key = os_zalloc(sizeof(*key));
69 if (key == NULL
123 struct crypto_rsa_key *key; local
151 struct crypto_rsa_key *key; local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
AEADParameters.java 10 private KeyParameter key; field in class:AEADParameters
16 * @param key key to be used by underlying cipher
20 public AEADParameters(KeyParameter key, int macSize, byte[] nonce)
22 this(key, macSize, nonce, null);
28 * @param key key to be used by underlying cipher
33 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText)
35 this.key = key;
    [all...]

Completed in 545 milliseconds

1 23 4 5 6 7 8 91011>>