Home
last modified time | relevance | path

Searched refs:INVALID_PERMISSION_INDEX (Results 1 – 6 of 6) sorted by relevance

/base/startup/appspawn/interfaces/innerkits_new/permission/
Dappspawn_mount_permission.c125 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/
Dappspawn_permission.c140 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/
Dapp_spawn_client_test.cpp1094 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/
Dappspawn.h46 #define INVALID_PERMISSION_INDEX (-1) macro
/base/startup/appspawn/util/include/
Dappspawn_utils.h78 #define INVALID_PERMISSION_INDEX (-1) macro
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
Dapp_spawn_sandboxmgr_test.cpp752 EXPECT_EQ(index, INVALID_PERMISSION_INDEX);
755 const char *permission = GetPermissionByIndex(clientHandle, INVALID_PERMISSION_INDEX);