Home
last modified time | relevance | path

Searched refs:granted (Results 1 - 25 of 32) sorted by relevance

12

/test/xts/acts/security_lite/permission_posix/pms/src/
H A DActsPMSRevokeTest.cpp113 EXPECT_EQ(permissions[0].granted, NOT_GRANTED); in HWTEST_F()
114 EXPECT_EQ(permissions[1].granted, NOT_GRANTED); in HWTEST_F()
135 EXPECT_EQ(permissions[0].granted, NOT_GRANTED); in HWTEST_F()
158 EXPECT_EQ(permissions[0].granted, NOT_GRANTED); in HWTEST_F()
180 EXPECT_EQ(permissions[0].granted, NOT_GRANTED); in HWTEST_F()
202 EXPECT_EQ(permissions[0].granted, NOT_GRANTED); in HWTEST_F()
233 EXPECT_EQ(permissions[i].granted, NOT_GRANTED); in HWTEST_F()
272 EXPECT_EQ(permissions[0].granted, NOT_GRANTED); in HWTEST_F()
296 EXPECT_EQ(permissions[0].granted, NOT_GRANTED); in HWTEST_F()
324 EXPECT_EQ(permissions[0].granted, NOT_GRANTE in HWTEST_F()
[all...]
H A DActsPMSGrantTest.cpp130 EXPECT_EQ(permissions[0].granted, GRANTED); in HWTEST_F()
155 EXPECT_EQ(permissions[0].granted, GRANTED); in HWTEST_F()
225 EXPECT_EQ(permissions[i].granted, GRANTED); in HWTEST_F()
264 EXPECT_EQ(permissions[0].granted, GRANTED); in HWTEST_F()
288 EXPECT_EQ(permissions[0].granted, GRANTED); in HWTEST_F()
316 EXPECT_EQ(permissions[0].granted, GRANTED); in HWTEST_F()
H A DActsPMSSaveTest.cpp120 if (strcmp(ps[i].name, pre[j].name) == 0 && pre[j].granted == GRANTED) { in CheckPermData()
129 if (ps[i].granted != grant) { in CheckPermData()
133 printf("ps[i].name = %s, ps[i].granted = %d, except = %d\n", pt[i].name, ps[i].granted, grant); in CheckPermData()
519 * @tc.name Update application, delete granted user_grant permissions
737 * @tc.name After the permissions are granted, the permissions can be updated
752 EXPECT_EQ(permissions[0].granted, GRANTED); in HWTEST_F()
775 EXPECT_EQ(permissions[0].granted, NOT_GRANTED); in HWTEST_F()
/base/security/permission_lite/services/pms/src/
H A Dperm_operate.c33 return (int)cur->permList[i].granted; in PermissionIsGranted()
41 int ModifyPermission(TNode *node, const char *permission, const enum IsGranted granted) in ModifyPermission() argument
49 node->permList[i].granted = granted; in ModifyPermission()
H A Dpms_impl.c159 perms->granted = (enum IsGranted)itemGranted->valueint; in ParseFixedPermissionsItem()
257 cJSON_AddItemToObject(object, FIELD_IS_GRANTED, cJSON_CreateBool(permissions[i].granted)); in SavePermissions()
417 updatePerms[i].granted = NOT_GRANTED; in UpdateAppPermission()
420 updatePerms[i].granted = (permType == SYSTEM_GRANT) ? GRANTED : NOT_GRANTED; in UpdateAppPermission()
424 updatePerms[i].granted = permissions[j].granted; in UpdateAppPermission()
593 static int OnPermissionFileSync(const char *identifier, const char *permName, const enum IsGranted granted) in OnPermissionFileSync() argument
605 isSave = permissions[i].granted ^ granted; in OnPermissionFileSync()
606 permissions[i].granted in OnPermissionFileSync()
[all...]
/base/security/permission_lite/services/pms/include/
H A Dperm_operate.h23 int ModifyPermission(TNode *node, const char *permission, const enum IsGranted granted);
/base/security/permission_lite/interfaces/kits/
H A Dpms_types.h70 /** Not granted */
99 * @brief Defines the permission, including the name, description, and whether the permission is granted.
107 /** Whether the permission is granted */
108 enum IsGranted granted; member
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/crypto/sha/
H A Dsha512-armv4.S15 @ Permission to use under GPL terms is granted.
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/sha/
H A Dsha512-armv4.S15 @ Permission to use under GPL terms is granted.
/third_party/openssl/test/
H A Dcmp_client_test.c230 static int test_exec_CR_ses(int implicit_confirm, int granted, int reject) in test_exec_CR_ses() argument
236 OSSL_CMP_SRV_CTX_set_grant_implicit_confirm(fixture->srv_ctx, granted); in test_exec_CR_ses()
254 && test_exec_CR_ses(1, 1 /* granted */, 0); in test_exec_CR_ses_implicit_confirm()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp89 bool granted = fuzzData.GenerateRandomBool(); in DoSomethingInterestingWithMyAPI() local
90 service->HasNotificationPolicyAccessPermission(granted); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp356 bool granted = fuzzData.GenerateRandomBool(); in DoSomethingInterestingWithMyAPI() local
357 ansManagerStub.HasNotificationPolicyAccessPermission(granted); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/
H A Dansmanagerstubannex_fuzzer.cpp364 bool granted = fuzzData.GenerateRandomBool(); in DoSomethingInterestingWithMyAPI() local
365 ansManagerStub.HasNotificationPolicyAccessPermission(granted); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp365 bool granted = fuzzData.GenerateRandomBool(); in DoSomethingInterestingWithMyAPI() local
366 ansManagerStub.HasNotificationPolicyAccessPermission(granted); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h300 * @param granted True if the application has permission; false for otherwise.
303 virtual ErrCode HasNotificationPolicyAccessPermission(bool &granted) = 0;
H A Dans_manager_proxy.h287 * @param granted True if the application has permission; false for otherwise.
290 ErrCode HasNotificationPolicyAccessPermission(bool &granted) override;
H A Dans_manager_stub.h291 * @param granted True if the application has permission; false for otherwise.
294 virtual ErrCode HasNotificationPolicyAccessPermission(bool &granted) override;
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp197 ErrCode AnsManagerStub::HasNotificationPolicyAccessPermission(bool &granted) in HasNotificationPolicyAccessPermission() argument
H A Dans_manager_stub.cpp1102 bool granted = false; in HandleIsNotificationPolicyAccessGranted() local
1103 ErrCode result = HasNotificationPolicyAccessPermission(granted); in HandleIsNotificationPolicyAccessGranted()
1109 if (!reply.WriteBool(granted)) { in HandleIsNotificationPolicyAccessGranted()
1110 ANS_LOGE("[HandleIsNotificationPolicyAccessGranted] fail: write granted failed."); in HandleIsNotificationPolicyAccessGranted()
H A Dans_manager_proxy.cpp690 ErrCode AnsManagerProxy::HasNotificationPolicyAccessPermission(bool &granted) in HasNotificationPolicyAccessPermission() argument
712 if (!reply.ReadBool(granted)) { in HasNotificationPolicyAccessPermission()
713 ANS_LOGE("[HasNotificationPolicyAccessPermission] fail: read granted failed."); in HasNotificationPolicyAccessPermission()
/base/security/permission_lite/services/pms_client/
H A Dperm_client.c249 (*perms + i)->granted = (enum IsGranted) itemGranted->valueint; in ParsePermissions()
/third_party/mesa3d/src/freedreno/.gitlab-ci/traces/
H A Dafuc_test.asm3 ; Permission is hereby granted, free of charge, to any person obtaining a
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp3137 bool granted = false; in HWTEST_F() local
3138 int32_t result = proxy->HasNotificationPolicyAccessPermission(granted); in HWTEST_F()
3160 bool granted = false; in HWTEST_F() local
3161 int32_t result = proxy->HasNotificationPolicyAccessPermission(granted); in HWTEST_F()
3163 EXPECT_EQ(true, granted); in HWTEST_F()
3182 bool granted = false; in HWTEST_F() local
3183 int32_t result = proxy->HasNotificationPolicyAccessPermission(granted); in HWTEST_F()
3204 bool granted = false; in HWTEST_F() local
3205 int32_t result = proxy->HasNotificationPolicyAccessPermission(granted); in HWTEST_F()
3226 bool granted in HWTEST_F() local
[all...]
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp176 ErrCode HasNotificationPolicyAccessPermission(bool &granted) override
/third_party/openssl/crypto/bn/asm/
H A Dbn-c64xplus.asm13 ;; granted according to the License. Warranty of any kind is disclaimed.

Completed in 73 milliseconds

12