Home
last modified time | relevance | path

Searched refs:propbuf (Results 1 – 7 of 7) sorted by relevance

/system/core/adb/
Dset_verity_enable_state_service.cpp96 char propbuf[PROPERTY_VALUE_MAX]; in set_verity_enabled_state_service() local
100 property_get("ro.secure", propbuf, "0"); in set_verity_enabled_state_service()
101 if (strcmp(propbuf, "1")) { in set_verity_enabled_state_service()
106 property_get("ro.debuggable", propbuf, "0"); in set_verity_enabled_state_service()
107 if (strcmp(propbuf, "1")) { in set_verity_enabled_state_service()
112 property_get("ro.hardware", propbuf, ""); in set_verity_enabled_state_service()
114 propbuf); in set_verity_enabled_state_service()
Dremount_service.cpp56 char propbuf[PROPERTY_VALUE_MAX]; in find_fstab_mount() local
58 property_get("ro.hardware", propbuf, ""); in find_fstab_mount()
59 std::string fstab_filename = std::string("/fstab.") + propbuf; in find_fstab_mount()
/system/update_engine/
Dutils_android.cc31 char propbuf[PROPERTY_VALUE_MAX]; in OpenFSTab() local
34 property_get("ro.hardware", propbuf, ""); in OpenFSTab()
35 string fstab_name = string("/fstab.") + propbuf; in OpenFSTab()
/system/core/fs_mgr/
Dfs_mgr_slotselect.c87 char propbuf[PROPERTY_VALUE_MAX]; in get_active_slot_suffix() local
92 property_get("ro.boot.slot_suffix", propbuf, ""); in get_active_slot_suffix()
93 if (propbuf[0] != '\0') { in get_active_slot_suffix()
94 strncpy(out_suffix, propbuf, suffix_len); in get_active_slot_suffix()
Dfs_mgr_verity.cpp743 char propbuf[PROPERTY_VALUE_MAX]; in load_verity_state() local
751 property_get("ro.boot.veritymode", propbuf, ""); in load_verity_state()
753 if (*propbuf != '\0') { in load_verity_state()
754 if (!strcmp(propbuf, "enforcing")) { in load_verity_state()
783 char propbuf[PROPERTY_VALUE_MAX]; in fs_mgr_load_verity_state() local
793 property_get("ro.hardware", propbuf, ""); in fs_mgr_load_verity_state()
794 snprintf(fstab_filename, sizeof(fstab_filename), FSTAB_PREFIX"%s", propbuf); in fs_mgr_load_verity_state()
835 char propbuf[PROPERTY_VALUE_MAX]; in fs_mgr_update_verity_state() local
859 property_get("ro.hardware", propbuf, ""); in fs_mgr_update_verity_state()
860 snprintf(fstab_filename, sizeof(fstab_filename), FSTAB_PREFIX"%s", propbuf); in fs_mgr_update_verity_state()
[all …]
/system/extras/boot_control_copy/
Dbootinfo.c42 char propbuf[PROPERTY_VALUE_MAX]; in open_fstab() local
46 property_get("ro.hardware", propbuf, ""); in open_fstab()
47 snprintf(fstab_name, sizeof(fstab_name), "/fstab.%s", propbuf); in open_fstab()
/system/extras/tests/fstest/
Drecovery_test.cpp191 char propbuf[PROPERTY_VALUE_MAX]; in setCacheInfoFromFstab() local
192 property_get("ro.hardware", propbuf, ""); in setCacheInfoFromFstab()
194 snprintf(fstab_filename, sizeof(fstab_filename), FSTAB_PREFIX"%s", propbuf); in setCacheInfoFromFstab()