Home
last modified time | relevance | path

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

/system/update_engine/scripts/
Dpaycheck.py107 opts, args = parser.parse_args(argv)
110 if opts.assert_type not in (None, _TYPE_FULL, _TYPE_DELTA):
111 parser.error('invalid argument to --type: %s' % opts.assert_type)
114 if opts.disabled_tests:
115 opts.disabled_tests = opts.disabled_tests.split(',')
116 for test in opts.disabled_tests:
121 do_block_trace = not (opts.root_block is None and opts.kern_block is None)
122 if opts.skip and not do_block_trace:
126 opts.check = (opts.check or opts.report or opts.assert_type or
127 opts.block_size or opts.allow_unhashed or
[all …]
Dblockdiff.py83 opts, args = parser.parse_args(argv[1:])
94 diff_list = BlockDiff(opts.block_size, file1, file2, name1, name2,
95 opts.max_length)
/system/sepolicy/tools/
Dcheckfc.c240 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
246 opts[0].value = NULL; /* not validating against a policy when comparing */ in do_compare_and_die_on_error()
249 opts[1].value = paths[i]; in do_compare_and_die_on_error()
250 global_state.sepolicy.sehnd[i] = selabel_open(backend, opts, 2); in do_compare_and_die_on_error()
261 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
321 opts[1].value = context_file; in do_fc_check_and_die_on_error()
323 global_state.sepolicy.sehnd[0] = selabel_open(backend, opts, 2); in do_fc_check_and_die_on_error()
332 struct selinux_opt opts[] = { in main() local
389 do_compare_and_die_on_error(opts, backend, &(argv[index])); in main()
395 do_fc_check_and_die_on_error(opts, backend, mode, sepolicy_file, context_file, allow_empty); in main()
/system/core/sdcard/
Dsdcard.cpp111 auto opts = android::base::StringPrintf("fsuid=%d,fsgid=%d,%smask=%d,userid=%d,gid=%d", in sdcardfs_setup() local
114 MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str()) == -1) { in sdcardfs_setup()
115 PLOG(WARNING) << "Failed to mount sdcardfs with options " << opts; in sdcardfs_setup()
126 std::string opts = android::base::StringPrintf("mask=%d,gid=%d", mask, gid); in sdcardfs_setup_bind_remount() local
135 MS_REMOUNT | MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str()) != 0) { in sdcardfs_setup_bind_remount()
/system/extras/libperfmgr/tools/
DConfigVerifier.cc128 static struct option opts[] = { in main() local
137 int c = getopt_long(argc, argv, "c:ehv", opts, &option_index); in main()
/system/core/adb/daemon/
Dmain.cpp241 static struct option opts[] = { in main() local
248 int c = getopt_long(argc, argv, "", opts, &option_index); in main()
/system/core/libsparse/
Dsimg_dump.py47 opts, args = getopt.getopt(sys.argv[1:],
53 for o, a in opts:
/system/vold/
Dmain.cpp147 static struct option opts[] = { in parse_args() local
155 while ((c = getopt_long(argc, argv, "", opts, nullptr)) != -1) { in parse_args()
DVolumeManager.cpp674 const auto opts = android::base::StringPrintf( in mountInNamespace() local
688 MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str())); in mountInNamespace()
/system/bt/btif/co/
Dbta_hh_co.cc47 int opts = fcntl(fd, F_GETFL); in uhid_set_non_blocking() local
48 if (opts < 0) in uhid_set_non_blocking()
52 opts |= O_NONBLOCK; in uhid_set_non_blocking()
54 if (fcntl(fd, F_SETFL, opts) < 0) in uhid_set_non_blocking()
/system/core/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/core/libziparchive/
Dunzip.cpp277 static struct option opts[] = { in main() local
282 while ((opt = getopt_long(argc, argv, "-d:hlnopqvx", opts, nullptr)) != -1) { in main()
/system/core/libutils/include/utils/
DLooper.h403 static sp<Looper> prepare(int opts);
/system/core/libutils/
DLooper.cpp116 sp<Looper> Looper::prepare(int opts) { in prepare() argument
117 bool allowNonCallbacks = opts & PREPARE_ALLOW_NON_CALLBACKS; in prepare()
/system/core/toolbox/
Dnewfs_msdos.c241 static const char opts[] = "@:NAB:C:F:I:L:O:S:a:b:c:e:f:h:i:k:m:n:o:r:s:u:"; in newfs_msdos_main() local
268 while ((ch = getopt(argc, argv, opts)) != -1) in newfs_msdos_main()
/system/sepolicy/public/
Dproperty_contexts18 dalvik.vm.extra-opts u:object_r:exported_dalvik_prop:s0 exact string
/system/sepolicy/prebuilts/api/28.0/public/
Dproperty_contexts18 dalvik.vm.extra-opts u:object_r:exported_dalvik_prop:s0 exact string