Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics_drm.cpp282 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 …]
Dgraphics.cpp323 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/
DREADME.md1 # 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/
DAndroid.bp189 name: "res-testdata",
192 "res-*/images/*_text.png",
Drecovery.cpp625 ->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/
DAndroid.bp32 resource_dirs: ["res"],
DREADME.md25 at `res/raw/sample.json`.
/bootable/recovery/updater_sample/tests/
DAndroid.bp38 resource_dirs: ["res"],
/bootable/recovery/tools/image_generator/
DREADME.md20 strings in xml format, e.g. bootable/recovery/tools/recovery_l10n/res/
/bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/
DMain.java22 import android.content.res.AssetManager;
23 import android.content.res.Configuration;
24 import android.content.res.Resources;
/bootable/recovery/updater/
Dblockimg.cpp173 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/
DAndroid.bp168 ":res-testdata",
/bootable/recovery/fuse_sideload/
Dfuse_sideload.cpp110 int res = writev(fd->ffd, vec, 2); in fuse_reply() local
111 if (res == -1) { in fuse_reply()