Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Ddirutil_test.cpp53 constexpr mode_t mode = 0755; in TEST() local
54 ASSERT_EQ(0, mkdir_recursively(path, mode, false, nullptr)); in TEST()
61 ASSERT_EQ(mode, sb.st_mode & mask); in TEST()
90 constexpr mode_t mode = 0751; in TEST() local
91 ASSERT_EQ(0, mkdir_recursively(path, mode, false, nullptr)); in TEST()
98 ASSERT_EQ(mode, sb.st_mode & mask); in TEST()
103 ASSERT_EQ(mode, sb.st_mode & mask); in TEST()
/bootable/recovery/otautil/
DDirUtil.cpp49 int mkdir_recursively(const std::string& input_path, mode_t mode, bool strip_filename, in mkdir_recursively() argument
96 selabel_lookup(const_cast<selabel_handle*>(sehnd), &secontext, dir_path.c_str(), mode); in mkdir_recursively()
99 int err = mkdir(dir_path.c_str(), mode); in mkdir_recursively()
/bootable/recovery/otafault/include/otafault/
Dota_io.h40 int ota_open(const char* path, int oflags, mode_t mode);
42 FILE* ota_fopen(const char* filename, const char* mode);
/bootable/recovery/minui/
Dgraphics_adf.cpp34 int MinuiBackendAdf::SurfaceInit(const drm_mode_modeinfo* mode, GRSurfaceAdf* surf) { in SurfaceInit() argument
37 surf->fd = adf_interface_simple_buffer_alloc(intf_fd, mode->hdisplay, mode->vdisplay, format, in SurfaceInit()
43 surf->width = mode->hdisplay; in SurfaceInit()
44 surf->height = mode->vdisplay; in SurfaceInit()
Dgraphics_adf.h43 int SurfaceInit(const drm_mode_modeinfo* mode, GRSurfaceAdf* surf);
Dgraphics_drm.cpp52 &main_monitor_crtc->mode); in DrmEnableCrtc()
355 main_monitor_crtc->mode = main_monitor_connector->modes[selected_mode]; in Init()
357 int width = main_monitor_crtc->mode.hdisplay; in Init()
358 int height = main_monitor_crtc->mode.vdisplay; in Init()
/bootable/recovery/
Dinterlace-frames.py71 print(img2.mode)
90 out2 = out.convert(mode='P', palette=palette)
92 print(out2.mode)
Dcommon.h41 FILE* fopen_path(const char *path, const char *mode);
/bootable/recovery/otautil/include/otautil/
DDirUtil.h36 int mkdir_recursively(const std::string& path, mode_t mode, bool strip_filename,
/bootable/recovery/otafault/
Dota_io.cpp69 int ota_open(const char* path, int oflags, mode_t mode) { in ota_open() argument
70 int fd = open(path, oflags, mode); in ota_open()
76 FILE* ota_fopen(const char* path, const char* mode) { in ota_fopen() argument
77 FILE* fh = fopen(path, mode); in ota_fopen()
/bootable/recovery/minadbd/
DREADME.md5 - all host mode support removed
/bootable/recovery/tools/recovery_l10n/
DREADME.md34 image works by running graphic tests under the recovery mode.