Home
last modified time | relevance | path

Searched refs:SBOX_TEST_DENIED (Results 1 – 11 of 11) 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()
[all …]
/external/chromium_org/sandbox/win/src/
Dsync_policy_test.cc33 return SBOX_TEST_DENIED; in Event_Open()
85 return SBOX_TEST_DENIED; in Event_CreateOpen()
108 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_CreateOpen f f test3")); in TEST()
109 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_CreateOpen t f test4")); in TEST()
110 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_CreateOpen f t test3")); in TEST()
111 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_CreateOpen t t test4")); in TEST()
137 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_Open f test1")); in TEST()
139 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_Open f test3")); in TEST()
140 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_Open s test4")); in TEST()
141 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_CreateOpen f f test5")); in TEST()
[all …]
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 …]
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()
135 EXPECT_EQ(SBOX_TEST_DENIED, in TEST()
Dfile_policy_test.cc47 return SBOX_TEST_DENIED; in File_Create()
57 return SBOX_TEST_DENIED; in File_Create()
79 return SBOX_TEST_DENIED; in File_Win32Create()
118 return SBOX_TEST_DENIED; in File_CreateSys32()
152 return SBOX_TEST_DENIED; in File_OpenSys32()
174 return SBOX_TEST_DENIED; in File_GetDiskSpace()
194 return SBOX_TEST_DENIED; in File_Rename()
239 return SBOX_TEST_DENIED; in File_QueryAttributes()
252 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"File_CreateSys32 calc.exe")); in TEST()
305 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(command_write)); 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.cc69 ret1 = sandbox::SBOX_TEST_DENIED; in CreateProcessHelper()
94 ret2 = sandbox::SBOX_TEST_DENIED; in CreateProcessHelper()
241 return SBOX_TEST_DENIED; in Process_GetChildProcessToken()
251 return SBOX_TEST_DENIED; in Process_OpenToken()
304 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Process_RunApp1 calc.exe")); in TEST()
305 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Process_RunApp2 calc.exe")); in TEST()
306 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Process_RunApp3 calc.exe")); in TEST()
307 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Process_RunApp5 calc.exe")); in TEST()
308 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Process_RunApp6 calc.exe")); in TEST()
345 EXPECT_EQ(SBOX_TEST_DENIED, in TEST()
[all …]
Dintegrity_level_test.cc44 return SBOX_TEST_DENIED; in CheckIntegrityLevel()
77 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"CheckIntegrityLevel")); in TEST()
88 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"CheckIntegrityLevel")); in TEST()
Dapp_container_test.cc110 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_Open f test")); in TEST()
113 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Event_Open f test")); in TEST()
/external/chromium_org/sandbox/win/tests/common/
Dcontroller.h30 SBOX_TEST_DENIED, // Access was denied. enumerator