Home
last modified time | relevance | path

Searched refs:SBOX_TEST_DENIED (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/sandbox/win/tests/validation_tests/
Dsuite.cc25 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command)); in TestProcessAccess()
27 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command)); in TestProcessAccess()
29 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command)); in TestProcessAccess()
31 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command)); in TestProcessAccess()
33 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command)); in TestProcessAccess()
35 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command)); in TestProcessAccess()
37 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command)); in TestProcessAccess()
39 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command)); in TestProcessAccess()
41 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command)); in TestProcessAccess()
43 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command)); in TestProcessAccess()
[all …]
Dcommands.cc64 return sandbox::SBOX_TEST_DENIED; in TestOpenFile()
88 return SBOX_TEST_DENIED; in TestValidWindow()
106 return SBOX_TEST_DENIED; in TestOpenProcess()
132 return SBOX_TEST_DENIED; in TestOpenThread()
199 return SBOX_TEST_DENIED; in TestOpenKey()
236 return SBOX_TEST_DENIED; in TestOpenInputDesktop()
251 return SBOX_TEST_DENIED; in TestSwitchDesktop()
285 return SBOX_TEST_DENIED; in TestOpenAlternateDesktop()
297 int result = SBOX_TEST_DENIED; in TestEnumAlternateWinsta()
302 return SBOX_TEST_DENIED; in TestEnumAlternateWinsta()
/external/chromium_org/sandbox/win/src/
Dsync_policy_test.cc33 return SBOX_TEST_DENIED; in Event_Open()
84 return SBOX_TEST_DENIED; in Event_CreateOpen()
107 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_CreateOpen f f test3")); in TEST()
108 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_CreateOpen t f test4")); in TEST()
109 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_CreateOpen f t test3")); in TEST()
110 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_CreateOpen t t test4")); in TEST()
136 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_Open f test1")); in TEST()
138 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_Open f test3")); in TEST()
139 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_Open s test4")); in TEST()
140 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_CreateOpen f f test5")); in TEST()
[all …]
Dfile_policy_test.cc46 return SBOX_TEST_DENIED; in File_Create()
56 return SBOX_TEST_DENIED; in File_Create()
78 return SBOX_TEST_DENIED; in File_Win32Create()
117 return SBOX_TEST_DENIED; in File_CreateSys32()
151 return SBOX_TEST_DENIED; in File_OpenSys32()
173 return SBOX_TEST_DENIED; in File_GetDiskSpace()
193 return SBOX_TEST_DENIED; in File_Rename()
238 return SBOX_TEST_DENIED; in File_QueryAttributes()
251 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"File_CreateSys32 calc.exe")); in TEST()
304 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(command_write)); in TEST()
[all …]
Dnamed_pipe_policy_test.cc29 return SBOX_TEST_DENIED; in NamedPipe_Create()
77 EXPECT_EQ(SBOX_TEST_DENIED, in TEST()
94 EXPECT_EQ(SBOX_TEST_DENIED, in TEST()
96 EXPECT_EQ(SBOX_TEST_DENIED, in TEST()
98 EXPECT_EQ(SBOX_TEST_DENIED, in TEST()
100 EXPECT_EQ(SBOX_TEST_DENIED, in TEST()
134 EXPECT_EQ(SBOX_TEST_DENIED, in TEST()
Dregistry_policy_test.cc82 return SBOX_TEST_DENIED; in Reg_OpenKey()
115 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Reg_OpenKey create read " in TEST()
118 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Reg_OpenKey open read " in TEST()
123 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Reg_OpenKey create write " in TEST()
130 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest( in TEST()
133 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest( in TEST()
145 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest( in TEST()
148 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest( in TEST()
175 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Reg_OpenKey create write " in TEST()
275 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest( in TEST()
[all …]
Dhandle_policy_test.cc44 return (result == SBOX_ALL_OK) ? SBOX_TEST_SUCCEEDED : SBOX_TEST_DENIED; in Handle_DuplicateEvent()
59 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(cmd_line.c_str())); in TEST()
81 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(cmd_line.c_str())); in TEST()
97 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(cmd_line.c_str())); in TEST()
103 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(cmd_line.c_str())); in TEST()
Dprocess_policy_test.cc63 ret1 = sandbox::SBOX_TEST_DENIED; in CreateProcessHelper()
89 ret2 = sandbox::SBOX_TEST_DENIED; in CreateProcessHelper()
244 return SBOX_TEST_DENIED; in Process_GetChildProcessToken()
254 return SBOX_TEST_DENIED; in Process_OpenToken()
307 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Process_RunApp1 calc.exe")); in TEST()
308 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Process_RunApp2 calc.exe")); in TEST()
309 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Process_RunApp3 calc.exe")); in TEST()
310 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Process_RunApp5 calc.exe")); in TEST()
311 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Process_RunApp6 calc.exe")); in TEST()
348 EXPECT_EQ(SBOX_TEST_DENIED, in TEST()
[all …]
Dintegrity_level_test.cc44 return SBOX_TEST_DENIED; in CheckIntegrityLevel()
76 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"CheckIntegrityLevel")); in TEST()
87 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"CheckIntegrityLevel")); in TEST()
Dapp_container_test.cc109 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_Open f test")); in TEST()
112 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_Open f test")); in TEST()
/external/chromium_org/chrome/test/security_tests/
Dsecurity_tests.cc19 if (sandbox::SBOX_TEST_DENIED != x) { \
/external/chromium_org/sandbox/win/tests/common/
Dcontroller.h30 SBOX_TEST_DENIED, // Access was denied. enumerator