Searched defs:keys (Results 1 - 7 of 7) sorted by relevance

/system/core/libutils/tests/
H A DLruCache_test.cpp131 void assertInstanceCount(ssize_t keys, ssize_t values) { argument
132 if (keys != ComplexKey::instanceCount || values != ComplexValue::instanceCount) {
133 FAIL() << "Expected " << keys << " keys and " << values << " values "
134 "but there were actually " << ComplexKey::instanceCount << " keys and "
/system/update_engine/
H A DAndroid.mk773 # Private and public keys for unittests.
779 define ue-unittest-keys
802 $(call ue-unittest-keys,unittest_key)
803 $(call ue-unittest-keys,unittest_key2)
/system/connectivity/shill/
H A Dproperty_store_unittest.cc337 const string keys[] = {"boolp1", "boolp2"}; local
339 store.RegisterWriteOnlyBool(keys[0], &values[0]);
340 store.RegisterBool(keys[1], &values[1]);
344 EXPECT_EQ(keys[1], it.Key());
350 EXPECT_FALSE(store.GetBoolProperty(keys[0], nullptr, &errors[0]));
353 EXPECT_TRUE(store.GetBoolProperty(keys[1], &test_value, &errors[1]));
358 const string keys[] = {"int16p1", "int16p2"}; local
360 store.RegisterWriteOnlyInt16(keys[0], &values[0]);
361 store.RegisterInt16(keys[1], &values[1]);
365 EXPECT_EQ(keys[
379 const string keys[] = {"int32p1", "int32p2"}; local
400 const string keys[] = {"stringp1", "stringp2"}; local
421 const string keys[] = {"stringmapp1", "stringmapp2"}; local
445 const string keys[] = {"stringmapsp1", "stringmapsp2"}; local
473 const string keys[] = {"stringsp1", "stringsp2"}; local
500 const string keys[] = {"uint8p1", "uint8p2"}; local
521 const string keys[] = {"uint16p", "uint16p1"}; local
[all...]
/system/core/healthd/
H A Dhealthd_mode_charger.cpp100 struct key_state keys[KEY_MAX + 1]; member in struct:charger
581 if (charger->keys[code].down == down)
587 charger->keys[code].timestamp = now;
588 charger->keys[code].down = down;
589 charger->keys[code].pending = true;
593 int64_t duration = now - charger->keys[code].timestamp;
623 struct key_state *key = &charger->keys[code];
/system/sepolicy/tools/
H A Dcheck_seapp.c584 * hdestroy() frees comparsion keys for non glibc
672 * @param keys
675 * The length of the keys array
677 * The line number the keys were extracted from
681 static rule_map *rule_map_new(kvp keys[], size_t num_of_keys, int lineno, argument
705 /* For all the keys in a rule line*/
707 k = &(keys[i]);
736 log_info("Validating keys!\n");
772 log_error("Strange, no keys found, input file corrupt perhaps?\n");
784 k = &(keys[
1047 kvp keys[KVP_NUM_OF_RULES]; local
[all...]
/system/bt/audio_a2dp_hw/
H A Daudio_a2dp_hw.c784 static char * out_get_parameters(const struct audio_stream *stream, const char *keys) argument
787 UNUSED(keys);
971 const char *keys)
974 UNUSED(keys);
1204 const char *keys)
1210 hash_map_t *params = hash_map_utils_new_from_string_params(keys);
970 in_get_parameters(const struct audio_stream *stream, const char *keys) argument
1203 adev_get_parameters(const struct audio_hw_device *dev, const char *keys) argument
/system/bt/stack/btm/
H A Dbtm_int.h172 tBTM_BLE_LOCAL_ID_KEYS id_keys; /* local BLE ID keys */
492 tBTM_SEC_BLE_KEYS keys; /* LE device security info in slave rode */ member in struct:__anon880
600 /* work, i.e. link keys crosspairing */

Completed in 841 milliseconds