Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Ddirutil_test.cpp54 constexpr mode_t mode = 0755; in TEST() local
55 ASSERT_EQ(0, mkdir_recursively(path, mode, false, nullptr)); in TEST()
62 ASSERT_EQ(mode, sb.st_mode & mask); in TEST()
91 constexpr mode_t mode = 0751; in TEST() local
92 ASSERT_EQ(0, mkdir_recursively(path, mode, false, nullptr)); in TEST()
99 ASSERT_EQ(mode, sb.st_mode & mask); in TEST()
104 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()
Dlogging.cpp61 static FILE* fopen_path(const std::string& path, const char* mode, const selabel_handle* sehandle) { in fopen_path() argument
69 if (strchr("wa", mode[0])) { in fopen_path()
72 return fopen(path.c_str(), mode); in fopen_path()
/bootable/recovery/minui/
Dgraphics_adf.cpp44 std::unique_ptr<GRSurfaceAdf> GRSurfaceAdf::Create(int intf_fd, const drm_mode_modeinfo* mode, in Create() argument
48 auto fd = adf_interface_simple_buffer_alloc(intf_fd, mode->hdisplay, mode->vdisplay, format, in Create()
57 new GRSurfaceAdf(mode->hdisplay, mode->vdisplay, pitch, (format == DRM_FORMAT_RGB565 ? 2 : 4), in Create()
Dgraphics_drm.cpp153 &main_monitor_crtc->mode) != 0) { in DrmEnableCrtc()
337 main_monitor_crtc->mode = main_monitor_connector->modes[selected_mode]; in Init()
339 int width = main_monitor_crtc->mode.hdisplay; in Init()
340 int height = main_monitor_crtc->mode.vdisplay; in Init()
Dgraphics_adf.h34 static std::unique_ptr<GRSurfaceAdf> Create(int intf_fd, const drm_mode_modeinfo* mode,
/bootable/recovery/
Dinterlace-frames.py71 print(img2.mode)
90 out2 = out.convert(mode='P', palette=palette)
92 print(out2.mode)
/bootable/recovery/otautil/include/otautil/
Ddirutil.h36 int mkdir_recursively(const std::string& path, mode_t mode, bool strip_filename,
/bootable/recovery/minadbd/
DREADME.md5 - all host mode support removed
/bootable/recovery/tools/image_generator/
DREADME.md5 under recovery mode. And thus we don't need to do the manual work by running
/bootable/recovery/fuse_sideload/
Dfuse_sideload.cpp153 uint32_t mode) { in fill_attr() argument
163 attr->mode = mode; in fill_attr()
/bootable/recovery/tools/recovery_l10n/
DREADME.md34 image works by running graphic tests under the recovery mode.
/bootable/recovery/updater_sample/
DREADME.md167 4. Set SELinux mode to permissive. See instructions below.
256 ## Setting SELinux mode to permissive (0)