Home
last modified time | relevance | path

Searched refs:fieldname (Results 1 – 4 of 4) sorted by relevance

/system/vold/
DExt4Crypt.h17 int e4crypt_get_field(const char* path, const char* fieldname,
19 int e4crypt_set_field(const char* path, const char* fieldname,
Dcryptfs.h228 int cryptfs_getfield(const char *fieldname, char *value, int len);
229 int cryptfs_setfield(const char *fieldname, const char *value);
Dcryptfs.c3319 static int persist_get_key(const char *fieldname, char *value) argument
3327 if (!strncmp(persist_data->persist_entry[i].key, fieldname, PROPERTY_KEY_MAX)) {
3337 static int persist_set_key(const char *fieldname, const char *value, int encrypted) argument
3352 if (!strncmp(persist_data->persist_entry[i].key, fieldname, PROPERTY_KEY_MAX)) {
3363 strlcpy(persist_data->persist_entry[num].key, fieldname, PROPERTY_KEY_MAX);
3410 static int persist_del_keys(const char *fieldname, unsigned index) argument
3425 if (!match_multi_entry(persist_data->persist_entry[i].key, fieldname, index)) {
3442 static int persist_count_keys(const char *fieldname) argument
3453 if (match_multi_entry(persist_data->persist_entry[i].key, fieldname, 0)) {
3462 int cryptfs_getfield(const char *fieldname, char *value, int len) argument
[all …]
DExt4Crypt.cpp452 int e4crypt_get_field(const char* path, const char* fieldname, in e4crypt_get_field() argument
456 .Get<std::string>(fieldname); in e4crypt_get_field()
470 int e4crypt_set_field(const char* path, const char* fieldname, in e4crypt_set_field() argument
474 .Set(fieldname, std::string(value)) ? 0 : -1; in e4crypt_set_field()