Home
last modified time | relevance | path

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

12

/system/bt/gd/dumpsys/bundler/
Dbundler.cc33 struct Opts opts; variable
109 if (opts.verbose) { in CreateBinarySchemaBundle()
126 std::string ns_string(opts.ns_name); in WriteHeaderFile()
185 fprintf(fp, "const unsigned char* %s::data = %sdata_;\n", opts.ns_name, namespace_prefix.c_str()); in WriteHeaderFile()
186 fprintf(fp, "const size_t %s::data_size = %zu;\n", opts.ns_name, data_len); in WriteHeaderFile()
190 opts.ns_name, in WriteHeaderFile()
195 const char* filename = opts.filename; in ReadBundledSchema()
217 const char* filename = opts.filename; in WriteBundledSchema()
220 const char* main_root_name = opts.main_root_name; in WriteBundledSchema()
227 for (int i = 0; i < opts.arg.c; i++) { in WriteBundledSchema()
[all …]
Dmain.cc21 if (opts.read) { in main()
24 if (opts.write) { in main()
Dbundler.h40 extern Opts opts;
/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.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/extras/libperfmgr/tools/
DConfigVerifier.cc119 static struct option opts[] = { in main() local
130 int c = getopt_long(argc, argv, "c:ei:d:hv", opts, &option_index); in main()
/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.cpp153 static struct option opts[] = { in parse_args() local
162 while ((c = getopt_long(argc, argv, "", opts, nullptr)) != -1) { in parse_args()
/system/core/libsparse/
Dsimg_dump.py47 opts, args = getopt.getopt(sys.argv[1:],
53 for o, a in opts:
/system/core/adb/daemon/
Dmain.cpp296 static struct option opts[] = { in main() local
304 int c = getopt_long(argc, argv, "", opts, &option_index); in main()
/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.cpp455 static const struct option opts[] = { in main() local
468 while ((opt = getopt_long(argc, argv, "-d:hjlnopqvx", opts, nullptr)) != -1) { in main()
502 while ((opt = getopt_long(argc, argv, "-1hx", opts, nullptr)) != -1) { in main()
/system/bt/btif/co/
Dbta_hh_co.cc50 int opts = fcntl(fd, F_GETFL); in uhid_set_non_blocking() local
51 if (opts < 0) in uhid_set_non_blocking()
55 opts |= O_NONBLOCK; in uhid_set_non_blocking()
57 if (fcntl(fd, F_SETFL, opts) < 0) in uhid_set_non_blocking()
/system/core/cli-test/
Dcli-test.cpp294 static const struct option opts[] = { in main() local
301 while ((opt = getopt_long(argc, argv, "hv", opts, nullptr)) != -1) { in main()
/system/core/libutils/include/utils/
DLooper.h407 static sp<Looper> prepare(int opts);
/system/core/libutils/
DLooper.cpp113 sp<Looper> Looper::prepare(int opts) { in prepare() argument
114 bool allowNonCallbacks = opts & PREPARE_ALLOW_NON_CALLBACKS; in prepare()
/system/sepolicy/prebuilts/api/30.0/private/
Dephemeral_app.te56 # Allow profiling if the app opts in by being marked profileable/debuggable.
Duntrusted_app_all.te140 # Allow profiling if the app opts in by being marked profileable/debuggable.
Dpriv_app.te119 # Allow profiling if the app opts in by being marked profileable/debuggable.
/system/sepolicy/private/
Dephemeral_app.te52 # Allow profiling if the app opts in by being marked profileable/debuggable.
Duntrusted_app_all.te136 # Allow profiling if the app opts in by being marked profileable/debuggable.
Dpriv_app.te115 # Allow profiling if the app opts in by being marked profileable/debuggable.
/system/sepolicy/prebuilts/api/29.0/private/
Dephemeral_app.te59 # Allow heap profiling if the app opts in by being marked
/system/incremental_delivery/incfs/
Dincfs.cpp454 const auto opts = makeMountOptionsString(options); in IncFs_Mount() local
456 opts.c_str())) { in IncFs_Mount()
538 auto opts = makeMountOptionsString(options); in IncFs_SetOptions() local
540 opts.c_str()) != 0) { in IncFs_SetOptions()

12