Searched refs:isEnforcing (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/base/security/security_guard/interfaces/inner_api/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()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/base/security/security_guard/interfaces/inner_api/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()
|
/ohos5.0/base/security/security_guard/interfaces/inner_api/collect/test/unittest/src/ |
H A D | data_collect_kit_test.cpp | 57 string isEnforcing; in SetUpTestCase() local 58 LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing); in SetUpTestCase() 59 if (isEnforcing.compare("1") == 0) { in SetUpTestCase()
|
/ohos5.0/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()
|
/ohos5.0/base/security/device_security_level/test/dslm_unit_test/ |
H A D | dslm_test.cpp | 415 string isEnforcing; in SetUpTestCase() local 441 LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing); in SetUpTestCase() 442 if (isEnforcing.compare("1") == 0) { in SetUpTestCase()
|