Searched refs:can_access (Results 1 – 3 of 3) sorted by relevance
282 int can_access = open_broker->Access(kFileCpuInfo, R_OK); in TestOpenCpuinfo() local283 ASSERT_EQ(can_access, 0); in TestOpenCpuinfo()284 can_access = open_broker->Access(kFileCpuInfo, W_OK); in TestOpenCpuinfo()285 ASSERT_EQ(can_access, -EPERM); in TestOpenCpuinfo()346 int can_access = open_broker.Access(tempfile_name, R_OK | W_OK); in TEST() local347 ASSERT_EQ(can_access, 0); in TEST()
506 bool can_access = false; in CanExecuteScriptOnPage() local510 can_access = script->MatchesURL(document_url); in CanExecuteScriptOnPage()514 can_access = GetActivePermissions(extension)-> in CanExecuteScriptOnPage()518 if (!can_access && error) { in CanExecuteScriptOnPage()523 return can_access; in CanExecuteScriptOnPage()
908 bool can_access = in CheckAccessException() local913 return can_access; in CheckAccessException()