/system/netd/bpfloader/ |
H A D | bpf_kern.c | 33 uint32_t key = skb->ifindex; local 34 bpf_update_stats(skb, IFACE_STATS_MAP, BPF_EGRESS, &key); 40 uint32_t key = skb->ifindex; local 41 bpf_update_stats(skb, IFACE_STATS_MAP, BPF_INGRESS, &key);
|
/system/core/fs_mgr/ |
H A D | fs_mgr_boot_config.cpp | 28 bool fs_mgr_get_boot_config_from_kernel_cmdline(const std::string& key, std::string* out_val) { argument 32 std::string cmdline_key("androidboot." + key); 51 bool fs_mgr_get_boot_config(const std::string& key, std::string* out_val) { argument 55 *out_val = android::base::GetProperty("ro.boot." + key, ""); 61 if (fs_mgr_get_boot_config_from_kernel_cmdline(key, out_val)) { 67 std::string file_name = get_android_dt_dir() + "/" + key;
|
/system/keymaster/include/keymaster/km_openssl/ |
H A D | ckdf.h | 28 keymaster_error_t ckdf(const KeymasterKeyBlob& key, const KeymasterBlob& label, 36 inline keymaster_error_t ckdf(const KeymasterKeyBlob& key, const KeymasterBlob& label, argument 38 return ckdf(key, label, &context_chunks, 1 /* num_chunks */, output);
|
H A D | ec_key.h | 39 EC_KEY* key() const { return ec_key_.get(); } function in class:keymaster::EcKey
|
H A D | rsa_key.h | 42 RSA* key() const { return rsa_key_.get(); } function in class:keymaster::RsaKey
|
/system/bt/btif/src/ |
H A D | btif_config_transcode.cc | 54 const char* key = k->Attribute("Tag"); local 56 if (section && key && value) 57 config_set_string(config.get(), section, key, value);
|
H A D | btif_gatt_util.cc | 77 tBTM_LE_PENC_KEYS key; local 79 &bd_addr, BTIF_DM_LE_KEY_PENC, (uint8_t*)&key,
|
/system/bt/osi/include/ |
H A D | config.h | 13 // - Empty sections with no key/value pairs will be treated as if they do 24 // The default section name to use if a key/value pair is not defined within 29 std::string key; member in struct:entry_t 60 // the section has no key/value pairs in it, this function will return false. 63 // Returns true if the config file has a key named |key| under |section|. 66 const std::string& key); 68 // Returns the integral value for a given |key| in |section|. If |section| 69 // or |key| do not exist, or the value cannot be fully converted to an integer, 72 const std::string& key, in [all...] |
/system/bt/osi/include/socket_utils/ |
H A D | sockets.h | 38 char key[64]; local 39 snprintf(key, sizeof(key), ANDROID_SOCKET_ENV_PREFIX "%s", name); 41 const char* val = getenv(key);
|
/system/bt/osi/src/ |
H A D | properties.cc | 31 int osi_property_get(const char* key, char* value, const char* default_value) { argument 44 return property_get(key, value, default_value); 48 int osi_property_set(const char* key, const char* value) { argument 52 return property_set(key, value); 56 int32_t osi_property_get_int32(const char* key, int32_t default_value) { argument 60 return property_get_int32(key, default_value); 64 bool osi_property_get_bool(const char* key, bool default_value) { argument 68 return property_get_bool(key, default_value);
|
H A D | hash_map_utils.cc | 40 // Parse |str| and add extracted key-and-value pair(s) in |map|. 49 char* key; local 52 key = osi_strndup(kvpair, eq - kvpair); 58 key = osi_strdup(kvpair); 62 map[key] = value; 64 osi_free(key); 81 LOG_INFO(LOG_TAG, "key: '%s' value: '%s'\n", ptr.first.c_str(),
|
/system/core/libcutils/tests/ |
H A D | android_get_control_socket_test.cpp | 36 static const char key[] = ANDROID_SOCKET_ENV_PREFIX "SocketsTest_android_get_control_socket"; local 37 static const char* name = key + strlen(ANDROID_SOCKET_ENV_PREFIX); 39 EXPECT_EQ(unsetenv(key), 0); 62 EXPECT_EQ(setenv(key, val, true), 0); 69 EXPECT_EQ(unsetenv(key), 0);
|
/system/keymaster/tests/ |
H A D | hmac_test.cpp | 32 const char* key; member in struct:keymaster::test::HmacTest 66 const string key = hex2str(test.key); local 67 Buffer key_buffer(key.data(), key.size());
|
H A D | kdf_test.cpp | 33 uint8_t key[128]; local 35 ASSERT_TRUE(kdf.Init(KM_DIGEST_SHA1, key, 128, salt, 128)); 36 ASSERT_TRUE(kdf.Init(KM_DIGEST_SHA_2_256, key, 128, salt, 128)); 37 ASSERT_TRUE(kdf.Init(KM_DIGEST_SHA1, key, 128, nullptr, 0)); 38 ASSERT_FALSE(kdf.Init(KM_DIGEST_MD5, key, 128, salt, 128)); 41 ASSERT_FALSE(kdf.Init(KM_DIGEST_SHA1, key, 0, salt, 128));
|
H A D | ckdf_test.cpp | 30 const char* key; member in struct:keymaster::test::CkdfTest 89 auto key = hex2key(test.key); local 97 ASSERT_EQ(KM_ERROR_OK, ckdf(key, label, context, &output));
|
H A D | hkdf_test.cpp | 62 const string key = hex2str(test.key_hex); local 69 ASSERT_TRUE(hkdf.Init(reinterpret_cast<const uint8_t*>(key.data()), key.size(),
|
H A D | kdf1_test.cpp | 45 const string key = hex2str(test.key_hex); local 52 kdf1.Init(test.digest_type, reinterpret_cast<const uint8_t*>(key.data()), key.size()));
|
H A D | kdf2_test.cpp | 69 const string key = hex2str(test.key_hex); local 77 kdf2.Init(test.digest_type, reinterpret_cast<const uint8_t*>(key.data()), key.size()));
|
/system/libhidl/libhidlcache/ |
H A D | mapping.cpp | 41 sp<RefBase> lockMemoryCache(const sp<::android::hidl::memory::token::V1_0::IMemoryToken> key) { argument 43 return c->lockGuard(key);
|
/system/security/keystore/ |
H A D | keystore_get.cpp | 26 ssize_t keystore_get(const char* key, size_t keyLength, uint8_t** value) { argument 37 auto ret = service->get(String16(key, keyLength), -1, &result);
|
H A D | keystore_get_wifi_hidl.cpp | 36 ssize_t keystore_get(const char *key, size_t keyLength, uint8_t** value) { argument 37 if (key == NULL || keyLength == 0 || value == NULL) { 58 Return<void> ret = service->getBlob(hidl_string(key, keyLength), cb);
|
/system/bt/osi/test/ |
H A D | hash_map_utils_test.cc | 53 char key[] = "keyOfSomething"; local 57 EXPECT_EQ(value, map[key]); 62 char params[] = "key=valu0;key=value1"; 63 char key[] = "key"; local 67 EXPECT_EQ(value1, map[key]); 72 char key[] = "keyOfSomething"; local 76 EXPECT_EQ(value, map[key]); 81 char key[] local 90 char key[] = "keyOfSomething"; local [all...] |
/system/core/libcutils/ |
H A D | android_get_control_file.cpp | 52 char *key = NULL; local 53 if (asprintf(&key, "%s%s", prefix, name) < 0) return -1; 54 if (!key) return -1; 56 char *cp = key; 62 const char* val = getenv(key); 63 free(key);
|
/system/keymaster/km_openssl/ |
H A D | hmac.cpp | 34 bool HmacSha256::Init(const Buffer& key) { argument 35 return Init(key.peek_read(), key.available_read()); 38 bool HmacSha256::Init(const uint8_t* key, size_t key_len) { argument 39 if (!key) 43 key_.reset(dup_buffer(key, key_len));
|
/system/media/radio/src/ |
H A D | radio_metadata_hidden.h | 31 radio_metadata_key_t key; member in struct:radio_metadata_entry
|