Searched refs:res (Results 1 – 13 of 13) sorted by relevance
/bootable/recovery/minui/ |
D | graphics_drm.cpp | 282 drmModeRes* res = nullptr; in Init() local 296 res = drmModeGetResources(fd.get()); in Init() 297 if (!res) { in Init() 302 if (res->count_crtcs > 0 && res->count_connectors > 0) { in Init() 303 if (find_first_connected_connector(fd.get(), res)) { in Init() 309 drmModeFreeResources(res); in Init() 310 res = nullptr; in Init() 313 if (drm_fd == -1 || res == nullptr) { in Init() 319 main_monitor_connector = FindMainMonitor(drm_fd, res, &selected_mode); in Init() 322 drmModeFreeResources(res); in Init() [all …]
|
D | graphics.cpp | 323 int res = res_create_alpha_surface(name, &(font->texture)); in gr_init_font() local 324 if (res < 0) { in gr_init_font() 326 return res; in gr_init_font()
|
/bootable/recovery/tools/recovery_l10n/ |
D | README.md | 1 # Steps to regenerate background text images under res-*dpi/images/ 10 res-xxhdpi. 11 * We can set up the maximum width of the final png image in res/layout/main.xml
|
/bootable/recovery/ |
D | Android.bp | 189 name: "res-testdata", 192 "res-*/images/*_text.png",
|
D | recovery.cpp | 625 ->getChargeStatus([&charge_status](auto res, auto out_status) { in is_battery_ok() argument 626 if (res == Result::SUCCESS) { in is_battery_ok() 637 Result res = Result::UNKNOWN; in is_battery_ok() local 641 ->getCapacity([&res, &capacity](auto out_res, auto out_capacity) { in is_battery_ok() 642 res = out_res; in is_battery_ok() 649 << ", status " << toString(res) << ", capacity " << capacity; in is_battery_ok() 654 if (res == Result::SUCCESS && capacity == 50) { in is_battery_ok() 663 if (res != Result::SUCCESS) { in is_battery_ok()
|
/bootable/recovery/updater_sample/ |
D | Android.bp | 32 resource_dirs: ["res"],
|
D | README.md | 25 at `res/raw/sample.json`.
|
/bootable/recovery/updater_sample/tests/ |
D | Android.bp | 38 resource_dirs: ["res"],
|
/bootable/recovery/tools/image_generator/ |
D | README.md | 20 strings in xml format, e.g. bootable/recovery/tools/recovery_l10n/res/
|
/bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/ |
D | Main.java | 22 import android.content.res.AssetManager; 23 import android.content.res.Configuration; 24 import android.content.res.Resources;
|
/bootable/recovery/updater/ |
D | blockimg.cpp | 173 auto res = mkdir(dirname.c_str(), MARKER_DIRECTORY_MODE); in SetUpdatedMarker() local 174 if (res == -1 && errno != EEXIST) { in SetUpdatedMarker() 820 int res = stat(cn.c_str(), &sb); in WriteStash() local 822 if (res == 0) { in WriteStash() 880 int res = stat(dirname.c_str(), &sb); in CreateStash() local 881 if (res == -1 && errno != ENOENT) { in CreateStash() 888 if (res == -1) { in CreateStash() 890 res = mkdir_recursively(dirname, STASH_DIRECTORY_MODE, false, nullptr); in CreateStash() 892 if (res != 0) { in CreateStash() 1770 int res = CreateStash(state, stash_max_blocks, params.stashbase); in PerformBlockImageUpdate() local [all …]
|
/bootable/recovery/tests/ |
D | Android.bp | 168 ":res-testdata",
|
/bootable/recovery/fuse_sideload/ |
D | fuse_sideload.cpp | 110 int res = writev(fd->ffd, vec, 2); in fuse_reply() local 111 if (res == -1) { in fuse_reply()
|