/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/accesstoken_mock_test/ |
D | accesstoken_kit_test.cpp | 78 AccessTokenID tokenId = 123; variable 107 AccessTokenID tokenId = 123; variable 119 AccessTokenID tokenId = 123; variable 131 AccessTokenID tokenId = 123; variable 147 AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(userID, bundleName, instIndex); variable 159 AccessTokenID tokenId = 123; variable 172 AccessTokenID tokenId = 123; variable 185 AccessTokenID tokenId = 123; variable 227 AccessTokenID tokenId = 123; variable 240 AccessTokenID tokenId = 123; variable [all …]
|
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | accesstoken_deny_test.cpp | 100 AccessTokenID tokenId = 123; variable 129 AccessTokenID tokenId = 123; variable 141 AccessTokenID tokenId = 123; variable 157 AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(userID, bundleName, instIndex); variable 169 AccessTokenID tokenId = 123; variable 182 AccessTokenID tokenId = 123; variable 195 AccessTokenID tokenId = 123; variable 209 AccessTokenID tokenId = 123; variable 223 AccessTokenID tokenId = 123; variable 237 AccessTokenID tokenId = 123; variable [all …]
|
/base/security/security_component_manager/services/security_component_service/sa/sa_main/ |
D | sec_comp_perm_manager.cpp | 36 bool SecCompPermManager::DelaySaveRevokePermission(AccessToken::AccessTokenID tokenId, const std::s… in DelaySaveRevokePermission() 65 int32_t SecCompPermManager::GrantTempSavePermission(AccessToken::AccessTokenID tokenId) in GrantTempSavePermission() 80 void SecCompPermManager::RevokeTempSavePermissionCount(AccessToken::AccessTokenID tokenId) in RevokeTempSavePermissionCount() 106 void SecCompPermManager::RevokeTempSavePermission(AccessToken::AccessTokenID tokenId) in RevokeTempSavePermission() 121 bool SecCompPermManager::VerifySavePermission(AccessToken::AccessTokenID tokenId) in VerifySavePermission() 132 void SecCompPermManager::AddAppGrantPermissionRecord(AccessToken::AccessTokenID tokenId, in AddAppGrantPermissionRecord() 145 void SecCompPermManager::RemoveAppGrantPermissionRecord(AccessToken::AccessTokenID tokenId, in RemoveAppGrantPermissionRecord() 156 int32_t SecCompPermManager::GrantAppPermission(AccessToken::AccessTokenID tokenId, in GrantAppPermission() 169 int32_t SecCompPermManager::RevokeAppPermission(AccessToken::AccessTokenID tokenId, in RevokeAppPermission() 182 void SecCompPermManager::RevokeAppPermissions(AccessToken::AccessTokenID tokenId) in RevokeAppPermissions() [all …]
|
/base/inputmethod/imf/services/identity_checker/src/ |
D | identity_checker_impl.cpp | 53 bool IdentityCheckerImpl::IsBundleNameValid(uint32_t tokenId, const std::string &validBundleName) in IsBundleNameValid() 68 bool IdentityCheckerImpl::HasPermission(uint32_t tokenId, const std::string &permission) in HasPermission() 78 bool IdentityCheckerImpl::IsBroker(AccessTokenID tokenId) in IsBroker() 85 bool IdentityCheckerImpl::IsNativeSa(AccessTokenID tokenId) in IsNativeSa() 90 std::string IdentityCheckerImpl::GetBundleNameByToken(uint32_t tokenId) in GetBundleNameByToken()
|
/base/useriam/pin_auth/services/modules/inputters/src/ |
D | pin_auth_manager.cpp | 26 bool PinAuthManager::RegisterInputer(uint32_t tokenId, const sptr<InputerGetData> &inputer) in RegisterInputer() 52 void PinAuthManager::UnRegisterInputer(uint32_t tokenId) in UnRegisterInputer() 72 sptr<InputerGetData> PinAuthManager::GetInputerLock(uint32_t tokenId) in GetInputerLock() 86 PinAuthManager::ResPinauthInputerDeathRecipient::ResPinauthInputerDeathRecipient(uint32_t tokenId) in ResPinauthInputerDeathRecipient()
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
D | nativetoken_kit_test.cpp | 157 uint64_t tokenId; in Start() local 199 uint64_t tokenId; variable 256 uint64_t tokenId; variable 320 uint64_t tokenId = GetAccessTokenId(&infoInstance); variable 377 uint64_t tokenId; variable 449 uint64_t tokenId; variable 500 uint64_t tokenId; variable 544 uint64_t tokenId; variable 610 uint64_t tokenId = Start(processName[i]); variable 674 uint64_t tokenId; variable [all …]
|
/base/security/code_signature/test/unittest/utils/include/ |
D | access_token_setter.h | 33 uint64_t tokenId = GetSelfTokenID(); in NativeTokenSet() local 39 inline void NativeTokenReset(uint64_t tokenId) in NativeTokenReset()
|
/base/request/request/services/service/request/c_wrapper/source/ |
D | c_check_permission.cpp | 24 bool DownloadServerCheckPermission(uint64_t tokenId, CStringWrapper permission) in DownloadServerCheckPermission() 40 bool RequestIsSystemAPI(uint64_t tokenId) in RequestIsSystemAPI()
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | accesstoken_info_manager_test.cpp | 464 …AccessTokenID tokenId = 537919487; // 537919487 is max hap tokenId: 001 00 0 000000 11111111111111… variable 583 …AccessTokenID tokenId = 537919487; // 537919487 is max hap tokenId: 001 00 0 000000 11111111111111… variable 632 …AccessTokenID tokenId = 537919487; // 537919487 is max hap tokenId: 001 00 0 000000 11111111111111… variable 829 AccessTokenID tokenId = 123; // 123 is random input variable 1073 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; variable 1175 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; variable 1208 …AccessTokenID tokenId = AccessTokenInfoManager::GetInstance().GetNativeTokenId("accesstoken_servic… variable 1232 …AccessTokenID tokenId = 672137215; // 672137215 is max native tokenId: 001 01 0 000000 11111111111… variable 1270 …AccessTokenID tokenId = 672137215; // 672137215 is max native tokenId: 001 01 0 000000 11111111111… variable 1305 AccessTokenID tokenId = 123; // 123 is random input variable [all …]
|
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/privacy_mock_test/ |
D | privacy_kit_test.cpp | 58 AccessTokenID tokenId = 0xff; variable 74 AccessTokenID tokenId = 0xff; variable 88 virtual void StateChangeNotify(AccessTokenID tokenId, bool isShow) in StateChangeNotify() 115 AccessTokenID tokenId = 0xff; variable 129 AccessTokenID tokenId = 0xff; variable 215 AccessTokenID tokenId = 0xff; variable
|
/base/security/asset/services/os_dependency/src/ |
D | bms_wrapper.cpp | 34 int32_t GetHapInfo(int32_t userId, uint32_t tokenId, std::string &info) in GetHapInfo() 54 int32_t GetProcessInfo(uint32_t tokenId, uint64_t uid, std::string &info) in GetProcessInfo() 73 auto tokenId = IPCSkeleton::GetCallingTokenID(); in GetOwnerInfo() local 107 auto tokenId = IPCSkeleton::GetCallingTokenID(); in CheckPermission() local
|
/base/useriam/pin_auth/services/sa/src/ |
D | pin_auth_service.cpp | 79 uint32_t tokenId = this->GetFirstTokenID(); in GetTokenId() local 109 uint32_t tokenId = GetTokenId(); in CheckPermission() local 124 uint32_t tokenId = GetTokenId(); in RegisterInputer() local 135 uint32_t tokenId = GetTokenId(); in UnRegisterInputer() local
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/ |
D | dlp_permission_kit_test.cpp | 98 static bool TestSetSelfTokenId(AccessTokenID tokenId) in TestSetSelfTokenId() 124 …ol TestGetTokenId(int userID, const std::string& bundleName, int instIndex, AccessTokenID& tokenId) in TestGetTokenId() 172 AccessTokenID tokenId = GetSelfTokenID(); in TestInstallDlpSandbox() local 184 AccessTokenID tokenId = GetSelfTokenID(); in TestUninstallDlpSandbox() local 194 AccessTokenID tokenId; in TestMockApp() local 202 static void TestRecoverProcessInfo(int32_t uid, AccessTokenID tokenId) in TestRecoverProcessInfo() 326 … AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, DLP_MANAGER_APP, sandboxInfo.appIndex); variable 362 AccessTokenID tokenId = GetSelfTokenID(); variable 396 AccessTokenID tokenId = GetSelfTokenID(); variable 699 AccessTokenID tokenId = GetSelfTokenID(); variable [all …]
|
/base/powermgr/power_manager/utils/permission/src/ |
D | permission.cpp | 31 AccessTokenID tokenId = IPCSkeleton::GetCallingTokenID(); in IsHap() local 53 AccessTokenID tokenId = IPCSkeleton::GetCallingTokenID(); in IsSystem() local 84 AccessTokenID tokenId = IPCSkeleton::GetCallingTokenID(); in IsPermissionGranted() local
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | permission_record_manager_test.cpp | 179 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName, in TearDown() local 196 virtual void StateChangeNotify(AccessTokenID tokenId, bool isShow) in StateChangeNotify() 337 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName, variable 371 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName, variable 400 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName, variable 429 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName, variable 457 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName, variable 504 PermissionUsedRequest GenerateRequest(AccessTokenID tokenId, std::string permissionName) in GenerateRequest() 524 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName, variable 659 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName, variable [all …]
|
/base/security/access_token/services/privacymanager/src/service/ |
D | privacy_manager_service.cpp | 96 int32_t PrivacyManagerService::AddPermissionUsedRecord(AccessTokenID tokenId, const std::string& pe… in AddPermissionUsedRecord() 106 int32_t PrivacyManagerService::StartUsingPermission(AccessTokenID tokenId, const std::string& permi… in StartUsingPermission() 112 int32_t PrivacyManagerService::StartUsingPermission(AccessTokenID tokenId, const std::string& permi… in StartUsingPermission() 119 int32_t PrivacyManagerService::StopUsingPermission(AccessTokenID tokenId, const std::string& permis… in StopUsingPermission() 125 int32_t PrivacyManagerService::RemovePermissionUsedRecords(AccessTokenID tokenId, const std::string… in RemovePermissionUsedRecords() 203 long long tokenId = atoll(static_cast<const char*>(Str16ToStr8(args.at(1)).c_str())); in ResponseDumpCommand() local 270 bool PrivacyManagerService::IsAllowedUsingPermission(AccessTokenID tokenId, const std::string& perm… in IsAllowedUsingPermission()
|
/base/security/access_token/interfaces/innerkits/accesstoken/src/ |
D | tokenid_kit.cpp | 31 bool TokenIdKit::IsSystemAppByFullTokenID(uint64_t tokenId) in IsSystemAppByFullTokenID() 36 uint64_t TokenIdKit::GetRenderTokenID(uint64_t tokenId) in GetRenderTokenID()
|
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/querydlpfilecopyablebytokenid_fuzzer/ |
D | querydlpfilecopyablebytokenid_fuzzer.cpp | 32 uint32_t tokenId = static_cast<uint32_t>(size); in FuzzTest() local 40 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id … in QueryDlpFileCopyableByTokenIdFuzzTest() local
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_record_manager.cpp | 103 uint32_t tokenId = appStateData.accessTokenId; in OnForegroundApplicationChanged() local 131 int32_t PermissionRecordManager::GetPermissionRecord(AccessTokenID tokenId, const std::string& perm… in GetPermissionRecord() 161 int32_t PermissionRecordManager::AddPermissionUsedRecord(AccessTokenID tokenId, const std::string& … in AddPermissionUsedRecord() 180 void PermissionRecordManager::RemovePermissionUsedRecords(AccessTokenID tokenId, const std::string&… in RemovePermissionUsedRecords() 239 static void AddDebugLog(const AccessTokenID tokenId, const BundleUsedRecord& bundleRecord, const in… in AddDebugLog() 277 for (const auto& tokenId : tokenIdList) { in GetRecordsFromLocalDB() local 309 bool PermissionRecordManager::CreateBundleUsedRecord(const AccessTokenID tokenId, BundleUsedRecord&… in CreateBundleUsedRecord() 432 uint32_t tokenId, ActiveChangeType status) in FindRecordsToUpdateAndExecuted() 491 void PermissionRecordManager::NotifyAppStateChange(AccessTokenID tokenId, ActiveChangeType status) in NotifyAppStateChange() 563 bool PermissionRecordManager::GetRecordFromStartList(uint32_t tokenId, int32_t opCode, PermissionR… in GetRecordFromStartList() [all …]
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_permission_check.cpp | 28 AccessTokenID tokenId = OHOS::IPCSkeleton::GetCallingTokenID(); in HasPermission() local 50 AccessTokenID tokenId = OHOS::IPCSkeleton::GetCallingTokenID(); in CmIsSystemApp() local
|
/base/security/access_token/test/fuzztest/innerkits/privacy/startusingpermission001_fuzzer/ |
D | startusingpermission001_fuzzer.cpp | 37 virtual void StateChangeNotify(AccessTokenID tokenId, bool isShowing) in StateChangeNotify() 52 AccessTokenID tokenId = static_cast<AccessTokenID>(size); in StartUsingPermission001FuzzTest() local
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/ |
D | hks_response.cpp | 138 static int32_t CheckHapInfo(int32_t tokenId, int32_t userId) in CheckHapInfo() 164 static int32_t CheckProcessInfo(uint32_t tokenId) in CheckProcessInfo() 187 OHOS::Security::AccessToken::AccessTokenID tokenId = IPCSkeleton::GetCallingTokenID(); in CheckNameList() local 250 OHOS::Security::AccessToken::AccessTokenID tokenId = IPCSkeleton::GetCallingTokenID(); in SensitivePermissionCheck() local
|
/base/security/code_signature/test/fuzztest/local_code_sign_stub/signlocalcodestub_fuzzer/ |
D | signlocalcodestub_fuzzer.cpp | 34 uint64_t tokenId = GetSelfTokenID(); in NativeTokenSet() local 39 static void NativeTokenReset(uint64_t tokenId) in NativeTokenReset()
|
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/querydlpfilecopyablebytokenidstub_fuzzer/ |
D | querydlpfilecopyablebytokenidstub_fuzzer.cpp | 38 uint32_t tokenId = temp[0]; in FuzzTest() local 52 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in QueryDlpFileCopyableByTokenIdFuzzTest() local
|
/base/security/access_token/test/fuzztest/services/privacy/startusingpermissioncallbackstub_fuzzer/ |
D | startusingpermissioncallbackstub_fuzzer.cpp | 39 virtual void StateChangeNotify(AccessTokenID tokenId, bool isShowing) in StateChangeNotify() 54 AccessTokenID tokenId = static_cast<AccessTokenID>(size); in StartUsingPermissionCallbackStubFuzzTest() local
|