Home
last modified time | relevance | path

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

/system/sepolicy/tests/
Dsearchpolicy.py49 if not (args.source or args.target or args.tclass or args.perms):
66 if args.perms:
67 perms = set(args.perms.split(",")) variable
69 perms = set() variable
74 perms=perms)
79 if len(r.perms) > 1:
81 " ".join(sorted(r.perms)) + " };")
84 " ".join(sorted(r.perms)) + ";")
Dsepolicy_tests.py251 for rule in baseRules for perm in rule.perms])
256 for rule in currentTypeRule for perm in rule.perms
Dapex_sepolicy_tests.py121 perms={perm}))
Dpolicy.py95 self.perms = set((data[4].strip()).split(' '))
231 not bool(Rule.perms & kwargs['perms'])):
610 for x in self.pol.QueryExpandedTERule(tclass=set(["file"]), perms=set(["entrypoint"])):
/system/apex/apexd/
Dapex_shim.cpp50 static constexpr const fs::perms kForbiddenFilePermissions =
51 fs::perms::owner_exec | fs::perms::group_exec | fs::perms::others_exec;
143 fs::perms::none) { in ValidateShimApex()
Dapexservice_test.cpp438 fs::perms::owner_read | fs::perms::group_write | fs::perms::others_exec, in CreateFileWithExpectedProperties()
454 EXPECT_EQ(fs::status(path).permissions(), fs::perms::owner_read | in ExpectFileWithExpectedProperties()
455 fs::perms::group_write | in ExpectFileWithExpectedProperties()
456 fs::perms::others_exec); in ExpectFileWithExpectedProperties()
/system/sepolicy/tools/sepolicy-analyze/
Ddups.c59 uint32_t perms = node->datum.data & d->data; in find_dups_helper() local
60 if ((attrib1 && perms == node->datum.data) || in find_dups_helper()
61 (attrib2 && perms == d->data)) { in find_dups_helper()
Dutils.c12 void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms) in display_allow() argument
22 (policydb, key->target_class, perms)); in display_allow()
Dutils.h12 void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms);
Dneverallow.c183 class_perm_node_t **perms) in read_classperms() argument
364 *perms = classperms; in read_classperms()
423 if (read_classperms(policydb, &p, end, &avrule->perms)) in check_neverallows()
/system/chre/test/simulation/inc/
Dtest_util.h48 uint32_t perms = NanoappPermissions::CHRE_PERMS_NONE; member
95 uint32_t perms() { in perms() function
96 return mTestNanoappInfo.perms; in perms()
/system/chre/test/simulation/
Dgnss_test.cc68 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_GNSS}) {} in TEST_F()
184 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_GNSS}) {} in TEST_F()
261 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_GNSS}) {} in TEST_F()
330 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_GNSS}) {} in TEST_F()
409 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_GNSS}) {} in TEST_F()
473 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_GNSS}) {} in TEST_F()
518 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_GNSS}) {} in TEST_F()
Dwifi_scan_test.cc66 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in WifiScanTestNanoapp()
70 .id = id, .perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in WifiScanTestNanoapp()
167 .id = id, .perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in TEST_F()
259 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in TEST_F()
357 .id = id, .perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in TEST_F()
Dwifi_test.cc48 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in TEST_F()
116 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in TEST_F()
181 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in TEST_F()
Dwifi_timeout_test.cc56 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in TEST_F()
153 .id = id, .perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in TEST_F()
270 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in TEST_F()
370 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in TEST_F()
Daudio_test.cc43 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_AUDIO}) {} in AudioNanoapp()
Dtest_util.cc200 loadNanoapp(pApp->name(), pApp->id(), pApp->version(), pApp->perms(), &start, in loadNanoapp()
Dble_test.cc50 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in TEST_F()
94 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_BLE}) {} in BleTestNanoapp()
Dwifi_nan_test.cc60 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in NanTestNanoapp()
DREADME.md78 If you need to customize any of the nanoapp `name`, `id`, `version`, or `perms`,
/system/unwinding/libunwindstack/tools/
Dunwind_for_offline.cpp245 char perms[5] = {"---p"}; in WriteMapEntry() local
247 perms[0] = 'r'; in WriteMapEntry()
250 perms[1] = 'w'; in WriteMapEntry()
253 perms[2] = 'x'; in WriteMapEntry()
256 perms, map_info->offset()); in WriteMapEntry()
/system/sepolicy/
DREADME.apps.md56 https://source.android.com/docs/core/permissions/perms-allowlist for more
/system/chre/doc/
Dnanoapp_clients.md33 allowlist](https://source.android.com/devices/tech/config/perms-allowlist).
/system/sepolicy/private/
Dfastbootd.te127 # Refined manipulation of /mnt/scratch, without these perms resorts
/system/core/rootdir/
Dinit.rc900 # create resource-cache and double-check the perms