Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 16 of 16) sorted by relevance

/system/sepolicy/tools/
Dcheckfc.c253 static void do_compare_and_die_on_error(struct selinux_opt opts[], unsigned int backend, char *path… in do_compare_and_die_on_error() argument
259 opts[0].value = NULL; /* not validating against a policy when comparing */ in do_compare_and_die_on_error()
262 opts[1].value = paths[i]; in do_compare_and_die_on_error()
263 global_state.sepolicy.sehnd[i] = selabel_open(backend, opts, 2); in do_compare_and_die_on_error()
287 static void do_test_data_and_die_on_error(struct selinux_opt opts[], unsigned int backend, in do_test_data_and_die_on_error() argument
290 opts[0].value = NULL; /* not validating against a policy */ in do_test_data_and_die_on_error()
291 opts[1].value = paths[0]; in do_test_data_and_die_on_error()
292 global_state.sepolicy.sehnd[0] = selabel_open(backend, opts, 2); in do_test_data_and_die_on_error()
356 static void do_fc_check_and_die_on_error(struct selinux_opt opts[], unsigned int backend, filemode … in do_fc_check_and_die_on_error() argument
416 opts[1].value = context_file; in do_fc_check_and_die_on_error()
[all …]
/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.cpp231 int opts = 0; in dump() local
234 opts = OPT_ALL; in dump()
238 opts |= OPT_WAKELOCKS; in dump()
240 opts |= OPT_WAKEUPS; in dump()
242 opts |= OPT_KERNEL_SUSPENDS; in dump()
244 opts |= OPT_SUSPEND_CONTROLS; in dump()
246 opts = OPT_ALL; in dump()
255 if (opts & OPT_WAKELOCKS) { in dump()
262 if (opts & OPT_WAKEUPS) { in dump()
272 if (opts & OPT_KERNEL_SUSPENDS) { in dump()
[all …]
/system/core/sdcard/
Dsdcard.cpp119 auto opts = android::base::StringPrintf("fsuid=%d,fsgid=%d,%smask=%d,userid=%d,gid=%d", in sdcardfs_setup() local
122 MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str()) == -1) { in sdcardfs_setup()
123 PLOG(WARNING) << "Failed to mount sdcardfs with options " << opts; in sdcardfs_setup()
134 std::string opts = android::base::StringPrintf("mask=%d,gid=%d", mask, gid); in sdcardfs_setup_bind_remount() local
143 MS_REMOUNT | MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str()) != 0) { in sdcardfs_setup_bind_remount()
/system/vold/
DAppFuseUtil.cpp52 const auto opts = StringPrintf( in Mount() local
64 MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str())); in Mount()
Dmain.cpp160 static struct option opts[] = { in parse_args() local
169 while ((c = getopt_long(argc, argv, "", opts, nullptr)) != -1) { in parse_args()
DUtils.cpp1624 const auto opts = StringPrintf( in MountUserFuse() local
1633 opts.c_str())); in MountUserFuse()
/system/core/libsparse/
Dsimg_dump.py46 opts, args = getopt.getopt(sys.argv[1:],
52 for o, a in opts:
/system/memory/libion/
Dion_test.c220 static struct option opts[] = { in main() local
232 c = getopt_long(argc, argv, "af:h:l:mr:st", opts, &i); in main()
/system/extras/tests/mmc_tracepoints/
DREADME17 opts.
/system/libziparchive/
Dziptool.cpp502 static const struct option opts[] = { in main() local
515 while ((opt = getopt_long(argc, argv, "-Dd:hjlnopqtvx", opts, nullptr)) != -1) { in main()
559 while ((opt = getopt_long(argc, argv, "-1hx", opts, nullptr)) != -1) { in main()
/system/core/cli-test/
Dcli-test.cpp301 static const struct option opts[] = { in main() local
308 while ((opt = getopt_long(argc, argv, "hv", opts, nullptr)) != -1) { in main()
/system/core/libutils/include/utils/
DLooper.h420 static sp<Looper> prepare(int opts);
/system/incremental_delivery/incfs/
Dincfs.cpp388 auto opts = ab::StringPrintf("read_timeout_ms=%u,readahead=0,rlog_pages=%u,rlog_wakeup_cnt=1,", in makeMountOptionsString() local
394 ab::StringAppendF(&opts, "report_uid,"); in makeMountOptionsString()
396 ab::StringAppendF(&opts, "sysfs_name=%s,", options.sysfsName); in makeMountOptionsString()
399 return opts; in makeMountOptionsString()
569 const auto opts = makeMountOptionsString(options); in IncFs_Mount() local
571 opts.c_str())) { in IncFs_Mount()
680 auto opts = makeMountOptionsString(options); in IncFs_SetOptions() local
682 opts.c_str()) != 0) { in IncFs_SetOptions()
/system/core/libutils/
DLooper.cpp128 sp<Looper> Looper::prepare(int opts) { in prepare() argument
129 bool allowNonCallbacks = opts & PREPARE_ALLOW_NON_CALLBACKS; in prepare()
/system/core/fs_mgr/
Dfs_mgr.cpp832 std::string opts; in __mount() local
852 opts = entry.fs_options + checkpoint_opts; in __mount()
866 opts.c_str()); in __mount()
/system/sepolicy/private/
Dproperty_contexts491 dalvik.vm.extra-opts u:object_r:dalvik_config_prop:s0 exact string