Searched refs:kRobotoFont (Results 1 – 1 of 1) sorted by relevance
172 const char* kRobotoFont = "/system/fonts/Roboto-Regular.ttf"; in setRobotoTypefaceForTest() local174 int fd = open(kRobotoFont, O_RDONLY); in setRobotoTypefaceForTest()175 LOG_ALWAYS_FATAL_IF(fd == -1, "Failed to open file %s", kRobotoFont); in setRobotoTypefaceForTest()177 LOG_ALWAYS_FATAL_IF(fstat(fd, &st) == -1, "Failed to stat file %s", kRobotoFont); in setRobotoTypefaceForTest()181 LOG_ALWAYS_FATAL_IF(typeface == nullptr, "Failed to make typeface from %s", kRobotoFont); in setRobotoTypefaceForTest()