Searched refs:INVALID_PERMISSION_INDEX (Results 1 – 6 of 6) sorted by relevance
/base/startup/appspawn/interfaces/innerkits_new/permission/ |
D | appspawn_mount_permission.c | 125 APPSPAWN_CHECK_ONLY_EXPER(CheckPermissionManager(mgr), return INVALID_PERMISSION_INDEX); in PMGetPermissionIndex() 132 APPSPAWN_CHECK_ONLY_EXPER(CheckPermissionManager(mgr), return INVALID_PERMISSION_INDEX); in PMGetMaxPermissionIndex() 201 APPSPAWN_CHECK(permission != NULL, return INVALID_PERMISSION_INDEX, "Invalid permission name"); in GetPermissionIndex()
|
/base/startup/appspawn/modules/sandbox/ |
D | appspawn_permission.c | 140 APPSPAWN_CHECK_ONLY_EXPER(queue != NULL && permission != NULL, return INVALID_PERMISSION_INDEX); in GetPermissionIndexInQueue() 142 return permissionNode == NULL ? INVALID_PERMISSION_INDEX : permissionNode->permissionIndex; in GetPermissionIndexInQueue()
|
/base/startup/appspawn/test/unittest/app_spawn_client_test/ |
D | app_spawn_client_test.cpp | 1094 EXPECT_EQ(max, INVALID_PERMISSION_INDEX); 1097 EXPECT_EQ(index, INVALID_PERMISSION_INDEX); 1100 EXPECT_EQ(index, INVALID_PERMISSION_INDEX); 1102 EXPECT_EQ(index, INVALID_PERMISSION_INDEX); 1104 EXPECT_EQ(index, INVALID_PERMISSION_INDEX); 1105 const char *permission = GetPermissionByIndex(clientHandle, INVALID_PERMISSION_INDEX); 1128 EXPECT_EQ(max, INVALID_PERMISSION_INDEX); 1131 EXPECT_EQ(index, INVALID_PERMISSION_INDEX); 1133 EXPECT_EQ(index, INVALID_PERMISSION_INDEX); 1167 EXPECT_EQ(index, INVALID_PERMISSION_INDEX); [all …]
|
/base/startup/appspawn/interfaces/innerkits_new/include/ |
D | appspawn.h | 46 #define INVALID_PERMISSION_INDEX (-1) macro
|
/base/startup/appspawn/util/include/ |
D | appspawn_utils.h | 78 #define INVALID_PERMISSION_INDEX (-1) macro
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
D | app_spawn_sandboxmgr_test.cpp | 752 EXPECT_EQ(index, INVALID_PERMISSION_INDEX); 755 const char *permission = GetPermissionByIndex(clientHandle, INVALID_PERMISSION_INDEX);
|