Home
last modified time | relevance | path

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 Dacquire_data_manager_test.cpp30 string isEnforcing; in SetUpTestCase() local
31 LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing); in SetUpTestCase()
32 if (isEnforcing.compare("1") == 0) { in SetUpTestCase()
H A Dobtaindata_kit_test.cpp38 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 Dpin_auth_register_test.cpp44 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 Dgethighestseclevel_fuzzer.cpp57 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 Dgethighestseclevelasync_fuzzer.cpp59 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 Ddevslinfoadpt_fuzzer.cpp70 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 Drisk_classify_kit_test.cpp40 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 Ddata_collect_kit_test.cpp57 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 DDevSLMgrTest.cpp83 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 Ddslm_test.cpp415 string isEnforcing; in SetUpTestCase() local
441 LoadStringFromFile("/sys/fs/selinux/enforce", isEnforcing); in SetUpTestCase()
442 if (isEnforcing.compare("1") == 0) { in SetUpTestCase()