Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Dresourcemanager.cpp32 char path_pattern[PROPERTY_VALUE_MAX]; in Init() local
35 int path_len = property_get("ro.vendor.hwc.drm.device", path_pattern, "/dev/dri/card0"); in Init()
37 if (path_pattern[path_len - 1] != '%') { in Init()
38 ret = AddDrmDevice(std::string(path_pattern)); in Init()
40 path_pattern[path_len - 1] = '\0'; in Init()
43 path << path_pattern << idx; in Init()