/system/sepolicy/tests/ |
D | searchpolicy.py | 49 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)) + ";")
|
D | sepolicy_tests.py | 251 for rule in baseRules for perm in rule.perms]) 256 for rule in currentTypeRule for perm in rule.perms
|
D | apex_sepolicy_tests.py | 121 perms={perm}))
|
D | policy.py | 95 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/ |
D | apex_shim.cpp | 50 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()
|
D | apexservice_test.cpp | 438 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/ |
D | dups.c | 59 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()
|
D | utils.c | 12 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()
|
D | utils.h | 12 void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms);
|
D | neverallow.c | 183 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/ |
D | test_util.h | 48 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/ |
D | gnss_test.cc | 68 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()
|
D | wifi_scan_test.cc | 66 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()
|
D | wifi_test.cc | 48 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()
|
D | wifi_timeout_test.cc | 56 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()
|
D | audio_test.cc | 43 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_AUDIO}) {} in AudioNanoapp()
|
D | test_util.cc | 200 loadNanoapp(pApp->name(), pApp->id(), pApp->version(), pApp->perms(), &start, in loadNanoapp()
|
D | ble_test.cc | 50 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in TEST_F() 94 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_BLE}) {} in BleTestNanoapp()
|
D | wifi_nan_test.cc | 60 TestNanoappInfo{.perms = NanoappPermissions::CHRE_PERMS_WIFI}) {} in NanTestNanoapp()
|
D | README.md | 78 If you need to customize any of the nanoapp `name`, `id`, `version`, or `perms`,
|
/system/unwinding/libunwindstack/tools/ |
D | unwind_for_offline.cpp | 245 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/ |
D | README.apps.md | 56 https://source.android.com/docs/core/permissions/perms-allowlist for more
|
/system/chre/doc/ |
D | nanoapp_clients.md | 33 allowlist](https://source.android.com/devices/tech/config/perms-allowlist).
|
/system/sepolicy/private/ |
D | fastbootd.te | 127 # Refined manipulation of /mnt/scratch, without these perms resorts
|
/system/core/rootdir/ |
D | init.rc | 900 # create resource-cache and double-check the perms
|