Searched refs:isEnforcing (Results 1 - 10 of 10) sorted by relevance
/base/security/security_guard/frameworks/common/obtaindata/test/unittest/src/ |
H A D | acquire_data_manager_test.cpp | 30 string isEnforcing;
in SetUpTestCase() local 31 LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing);
in SetUpTestCase() 32 if (isEnforcing.compare("1") == 0) {
in SetUpTestCase()
|
H A D | obtaindata_kit_test.cpp | 38 string isEnforcing;
in SetUpTestCase() local 39 LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing);
in SetUpTestCase() 40 if (isEnforcing.compare("1") == 0) {
in SetUpTestCase()
|
/base/useriam/pin_auth/test/unittest/src/ |
H A D | pin_auth_register_test.cpp | 44 string isEnforcing; in SetUpTestCase() local 58 LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing); in SetUpTestCase() 59 if (isEnforcing.compare("1") == 0) { in SetUpTestCase()
|
/base/security/dataclassification/test/fuzztest/datatransmitmgr/gethighestseclevel_fuzzer/ |
H A D | gethighestseclevel_fuzzer.cpp | 57 std::string isEnforcing; in BeginFuzzCase2() local 58 OHOS::LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing); in BeginFuzzCase2() 59 if (isEnforcing.compare("1") == 0) { in BeginFuzzCase2()
|
/base/security/dataclassification/test/fuzztest/datatransmitmgr/gethighestseclevelasync_fuzzer/ |
H A D | gethighestseclevelasync_fuzzer.cpp | 59 std::string isEnforcing; in BeginFuzzCase1() local 60 OHOS::LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing); in BeginFuzzCase1() 61 if (isEnforcing.compare("1") == 0) { in BeginFuzzCase1()
|
/base/security/dataclassification/test/fuzztest/datatransmitmgr/devslinfoadpt_fuzzer/ |
H A D | devslinfoadpt_fuzzer.cpp | 70 std::string isEnforcing; in BeginFuzzCase3() local 71 OHOS::LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing); in BeginFuzzCase3() 72 if (isEnforcing.compare("1") == 0) { in BeginFuzzCase3()
|
/base/security/security_guard/frameworks/common/classify/test/unittest/src/ |
H A D | risk_classify_kit_test.cpp | 40 string isEnforcing; in SetUpTestCase() local 41 LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing); in SetUpTestCase() 42 if (isEnforcing.compare("1") == 0) { in SetUpTestCase()
|
/base/security/security_guard/frameworks/common/collect/test/unittest/src/ |
H A D | data_collect_kit_test.cpp | 58 string isEnforcing;
in SetUpTestCase() local 59 LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing);
in SetUpTestCase() 60 if (isEnforcing.compare("1") == 0) {
in SetUpTestCase()
|
/base/security/dataclassification/test/unittest/datatransmitmgr/ |
H A D | DevSLMgrTest.cpp | 83 string isEnforcing;
in SetUpTestCase() local 84 OHOS::LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing);
in SetUpTestCase() 85 if (isEnforcing.compare("1") == 0) {
in SetUpTestCase()
|
/base/security/device_security_level/test/dslm_unit_test/ |
H A D | dslm_test.cpp | 417 string isEnforcing; in SetUpTestCase() local 445 LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing); in SetUpTestCase() 446 if (isEnforcing.compare("1") == 0) { in SetUpTestCase()
|
Completed in 7 milliseconds