/external/chromium_org/sandbox/win/tests/validation_tests/ |
D | suite.cc | 25 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 …]
|
D | commands.cc | 64 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/ |
D | sync_policy_test.cc | 33 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 …]
|
D | file_policy_test.cc | 46 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 …]
|
D | named_pipe_policy_test.cc | 29 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()
|
D | registry_policy_test.cc | 82 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 …]
|
D | handle_policy_test.cc | 44 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()
|
D | process_policy_test.cc | 63 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 …]
|
D | integrity_level_test.cc | 44 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()
|
D | app_container_test.cc | 109 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/ |
D | security_tests.cc | 19 if (sandbox::SBOX_TEST_DENIED != x) { \
|
/external/chromium_org/sandbox/win/tests/common/ |
D | controller.h | 30 SBOX_TEST_DENIED, // Access was denied. enumerator
|