Searched refs:opts (Results 1 - 13 of 13) sorted by relevance

/system/update_engine/scripts/
H A Dpaycheck.py33 A tuple (opts, payload, extra_args), where `opts' are the options
106 opts, args = parser.parse_args(argv)
109 if opts.assert_type not in (None, _TYPE_FULL, _TYPE_DELTA):
110 parser.error('invalid argument to --type: %s' % opts.assert_type)
113 if opts.disabled_tests:
114 opts.disabled_tests = opts.disabled_tests.split(',')
115 for test in opts.disabled_tests:
120 do_block_trace = not (opts
[all...]
/system/sepolicy/tools/
H A Dcheckfc.c240 static void do_compare_and_die_on_error(struct selinux_opt opts[], unsigned int backend, char *paths[]) argument
246 opts[0].value = NULL; /* not validating against a policy when comparing */
249 opts[1].value = paths[i];
250 global_state.sepolicy.sehnd[i] = selabel_open(backend, opts, 2);
261 static void do_fc_check_and_die_on_error(struct selinux_opt opts[], unsigned int backend, filemode mode, argument
321 opts[1].value = context_file;
323 global_state.sepolicy.sehnd[0] = selabel_open(backend, opts, 2);
332 struct selinux_opt opts[] = { local
389 do_compare_and_die_on_error(opts, backend, &(argv[index]));
395 do_fc_check_and_die_on_error(opts, backen
[all...]
/system/core/sdcard/
H A Dsdcard.cpp174 char opts[256]; local
184 snprintf(opts, sizeof(opts),
188 opts) == -1) {
322 std::string opts = android::base::StringPrintf("fsuid=%d,fsgid=%d,%smask=%d,userid=%d,gid=%d", local
326 MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str()) == -1) {
336 std::string opts = android::base::StringPrintf("mask=%d,gid=%d", mask, gid); local
345 MS_REMOUNT | MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str()) != 0) {
/system/core/adb/daemon/
H A Dmain.cpp216 static struct option opts[] = { local
223 int c = getopt_long(argc, argv, "", opts, &option_index);
/system/core/libsparse/
H A Dsimg_dump.py47 opts, args = getopt.getopt(sys.argv[1:],
53 for o, a in opts:
/system/bt/btif/co/
H A Dbta_hh_co.cc48 int opts = fcntl(fd, F_GETFL); local
49 if (opts < 0)
53 opts |= O_NONBLOCK;
55 if (fcntl(fd, F_SETFL, opts) < 0)
/system/core/libion/
H A Dion_test.c220 static struct option opts[] = { local
232 c = getopt_long(argc, argv, "af:h:l:mr:st", opts, &i);
/system/vold/
H A Dmain.cpp151 static struct option opts[] = { local
159 while ((c = getopt_long(argc, argv, "", opts, nullptr)) != -1) {
H A DCommandListener.cpp653 const auto opts = android::base::StringPrintf( local
667 MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str()));
/system/core/include/utils/
H A DLooper.h401 * The opts may be PREPARE_ALLOW_NON_CALLBACKS or 0.
403 static sp<Looper> prepare(int opts);
/system/core/libutils/include/utils/
H A DLooper.h401 * The opts may be PREPARE_ALLOW_NON_CALLBACKS or 0.
403 static sp<Looper> prepare(int opts);
/system/core/libutils/
H A DLooper.cpp116 sp<Looper> Looper::prepare(int opts) { argument
117 bool allowNonCallbacks = opts & PREPARE_ALLOW_NON_CALLBACKS;
/system/core/toolbox/
H A 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:"; local
268 while ((ch = getopt(argc, argv, opts)) != -1)

Completed in 375 milliseconds