/system/bt/osi/src/ |
H A D | properties.cc | 23 int osi_property_get(const char* key, char* value, const char* default_value) { argument 36 return property_get(key, value, default_value); 40 int osi_property_set(const char* key, const char* value) { argument 44 return property_set(key, value); 48 int32_t osi_property_get_int32(const char* key, int32_t default_value) { argument 52 return property_get_int32(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/debuggerd/libdebuggerd/test/ |
H A D | property_fake.cpp | 34 extern "C" int property_get(const char* key, char* value, const char* default_value) { argument 35 if (g_properties.count(key) == 0) { 41 strncpy(value, g_properties[key].c_str(), PROP_VALUE_MAX-1);
|
/system/core/fs_mgr/ |
H A D | fs_mgr_boot_config.cpp | 27 bool fs_mgr_get_boot_config(const std::string& key, std::string* out_val) { argument 31 *out_val = android::base::GetProperty("ro.boot." + key, ""); 38 std::string cmdline_key("androidboot." + key); 53 std::string file_name = kAndroidDtDir + "/" + key; 59 LINFO << "Error finding '" << key << "' in device tree"; local
|
/system/bt/btif/src/ |
H A D | btif_config_transcode.cc | 58 const char* key = k->Attribute("Tag"); local 60 if (section && key && value) 61 config_set_string(config, section, key, value);
|
/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/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/ |
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 | ec_key.h | 38 EC_KEY* key() const { return ec_key_.get(); } function in class:keymaster::EcKey
|
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 | 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));
|
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()));
|
H A D | rsa_key.h | 42 RSA* key() const { return rsa_key_.get(); } function in class:keymaster::RsaKey
|
/system/security/keystore/ |
H A D | keystore_get.cpp | 25 ssize_t keystore_get(const char *key, size_t keyLength, uint8_t** value) { argument 35 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 | 51 char *key = NULL; local 52 if (asprintf(&key, "%s%s", prefix, name) < 0) return -1; 53 if (!key) return -1; 55 char *cp = key; 61 const char* val = getenv(key); 62 free(key);
|
/system/core/libmemunreachable/tests/ |
H A D | MemUnreachable_test.cpp | 128 pthread_key_t key; local 129 pthread_key_create(&key, NULL); 131 pthread_setspecific(key, hidden_ptr.Get()); 140 pthread_setspecific(key, nullptr); 158 pthread_key_delete(key);
|
/system/media/brillo/audio/audioservice/test/ |
H A D | audio_volume_handler_test.cpp | 96 auto key = handler_.kCurrentIndexKey_ + ".1.2"; local 97 handler_.kv_store_->GetString(key, &value);
|
/system/media/radio/src/ |
H A D | radio_metadata_hidden.h | 31 radio_metadata_key_t key; member in struct:radio_metadata_entry
|
/system/sepolicy/tools/sepolicy-analyze/ |
H A D | sepolicy-analyze.c | 17 const char *key; member in struct:__anon2461 56 if (!strcmp(analyze_components[i].key, argv[2])) {
|
H A D | utils.c | 12 void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms) argument 15 policydb->p_type_val_to_name[key->source_type 16 ? key->source_type - 1 : idx], 17 key->target_type == key->source_type ? "self" : 18 policydb->p_type_val_to_name[key->target_type 19 ? key->target_type - 1 : idx], 20 policydb->p_class_val_to_name[key->target_class - 1], 22 (policydb, key->target_class, perms));
|
/system/bt/service/ipc/binder/ |
H A D | interface_with_instances_base.cc | 142 void InterfaceWithInstancesBase::OnRemoteCallbackRemoved(const int& key) { argument 143 VLOG(2) << __func__ << " instance_id: " << key; local 148 id_to_instance_.erase(key);
|