Home
last modified time | relevance | path

Searched refs:infoInstance (Results 1 – 25 of 37) sorted by relevance

12

/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/
Dnativetoken_kit_test.cpp168 NativeTokenInfoParams infoInstance = { in Start() local
178 tokenId = GetAccessTokenId(&infoInstance); in Start()
203 NativeTokenInfoParams infoInstance = { variable
212 infoInstance.processName = "";
213 tokenId = GetAccessTokenId(&infoInstance);
215 infoInstance.processName = nullptr;
216 tokenId = GetAccessTokenId(&infoInstance);
221 infoInstance.processName = invalidProcName.c_str();
222 tokenId = GetAccessTokenId(&infoInstance);
227 infoInstance.processName = validProcName01.c_str();
[all …]
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dremote_native_token.cpp25 NativeTokenInfoParams infoInstance = { in SetNativeToken() local
35 infoInstance.processName = "SetUpTestCase"; in SetNativeToken()
36 tokenId = GetAccessTokenId(&infoInstance); in SetNativeToken()
/base/security/dataclassification/test/fuzztest/datatransmitmgr/datatransmitmgr_fuzzer/
Ddatatransmitmgr_fuzzer.cpp81 NativeTokenInfoParams infoInstance = { in NativeTokenGetFUZZ() local
91 infoInstance.processName = "DataTransmitMgrFuzzTest"; in NativeTokenGetFUZZ()
92 tokenId = GetAccessTokenId(&infoInstance); in NativeTokenGetFUZZ()
/base/useriam/pin_auth/test/unittest/src/
Dpin_auth_service_test.cpp37 NativeTokenInfoParams infoInstance = { in SetUpTestCase() local
47 uint64_t tokenId = GetAccessTokenId(&infoInstance); in SetUpTestCase()
Dpin_auth_register_test.cpp40 NativeTokenInfoParams infoInstance = { in SetUpTestCase() local
50 tokenId = GetAccessTokenId(&infoInstance); in SetUpTestCase()
/base/time/time_service/test/fuzztest/timeservice_fuzzer/
Dtimeservice_fuzzer.cpp41 TokenInfoParams infoInstance = { in GrantNativePermission() local
51 uint64_t tokenId = GetAccessTokenId(&infoInstance); in GrantNativePermission()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_attest_key_ids_test.cpp69 NativeTokenInfoParams infoInstance = { in SetIdsToken() local
76 infoInstance.acls = acls; in SetIdsToken()
77 infoInstance.aclsNum = 1; in SetIdsToken()
78 infoInstance.processName = "test_attest"; in SetIdsToken()
79 tokenId = GetAccessTokenId(&infoInstance); in SetIdsToken()
/base/useriam/face_auth/test/unittest/
Dface_auth_service_test.cpp44 NativeTokenInfoParams infoInstance = { in SetUpTestCase() local
54 uint64_t tokenId = GetAccessTokenId(&infoInstance); in SetUpTestCase()
/base/inputmethod/imf/test/fuzztest/systemabilitystub_fuzzer/
Dsystemabilitystub_fuzzer.cpp37 TokenInfoParams infoInstance = { in GrantNativePermission() local
47 uint64_t tokenId = GetAccessTokenId(&infoInstance); in GrantNativePermission()
/base/location/test/location_common/source/
Dcommon_utils_test.cpp54 NativeTokenInfoParams infoInstance = { in MockNativePermission() local
64 tokenId_ = GetAccessTokenId(&infoInstance); in MockNativePermission()
75 NativeTokenInfoParams infoInstance = { in MockNativeApproxiPermission() local
85 tokenIdForApproxi_ = GetAccessTokenId(&infoInstance); in MockNativeApproxiPermission()
96 NativeTokenInfoParams infoInstance = { in MockNativeAccurateLocation() local
106 tokenIdForAcc_ = GetAccessTokenId(&infoInstance); in MockNativeAccurateLocation()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_device_sec_test.cpp311 NativeTokenInfoParams infoInstance = { variable
319 infoInstance.acls = acls;
320 infoInstance.aclsNum = 1;
321 infoInstance.processName = "test_attest";
322 tokenId = GetAccessTokenId(&infoInstance);
/base/location/test/location_locator/source/
Dlocation_approximately_permission_test.cpp48 NativeTokenInfoParams infoInstance = { in MockNativePermission() local
58 tokenId_ = GetAccessTokenId(&infoInstance); in MockNativePermission()
Dlocation_without_permission_test.cpp55 NativeTokenInfoParams infoInstance = { in MockNativePermission() local
65 tokenId_ = GetAccessTokenId(&infoInstance); in MockNativePermission()
Dreport_manager_test.cpp55 NativeTokenInfoParams infoInstance = { in MockNativePermission() local
65 tokenId_ = GetAccessTokenId(&infoInstance); in MockNativePermission()
/base/notification/distributed_notification_service/tools/dump/src/
Dnotification_shell_command.cpp112 NativeTokenInfoParams infoInstance = { in SetNativeToken() local
122 infoInstance.processName = "anm"; in SetNativeToken()
123 tokenId = GetAccessTokenId(&infoInstance); in SetNativeToken()
/base/theme/wallpaper_mgr/test/fuzztest/wallpapermanager_fuzzer/
Dwallpaper_manager_fuzzer.cpp39 TokenInfoParams infoInstance = { in GrantNativePermission() local
49 uint64_t tokenId = GetAccessTokenId(&infoInstance); in GrantNativePermission()
/base/location/test/location_geocode/source/
Dgeo_convert_service_test.cpp70 NativeTokenInfoParams infoInstance = { in MockNativePermission() local
80 uint64_t tokenId = GetAccessTokenId(&infoInstance); in MockNativePermission()
/base/location/test/location_passive/source/
Dpassive_ability_test.cpp62 NativeTokenInfoParams infoInstance = { in MockNativePermission() local
72 uint64_t tokenId = GetAccessTokenId(&infoInstance); in MockNativePermission()
/base/customization/enterprise_device_management/test/unittest/src/
Denterprise_device_mgr_ability_test.cpp54 NativeTokenInfoParams infoInstance = { in NativeTokenGet() local
64 infoInstance.processName = "EdmServicesUnitTest"; in NativeTokenGet()
65 tokenId = GetAccessTokenId(&infoInstance); in NativeTokenGet()
/base/location/test/location_network/source/
Dnetwork_ability_test.cpp67 NativeTokenInfoParams infoInstance = { in MockNativePermission() local
77 uint64_t tokenId = GetAccessTokenId(&infoInstance); in MockNativePermission()
/base/security/certificate_manager/test/unittest/src/
Dcm_test_common.cpp37 NativeTokenInfoParams infoInstance = { in SetATPermission() local
47 auto tokenId = GetAccessTokenId(&infoInstance); in SetATPermission()
/base/security/dataclassification/test/unittest/datatransmitmgr/
DDevSLMgrTest.cpp61 NativeTokenInfoParams infoInstance = { in NativeTokenGet() local
71 infoInstance.processName = "DevSLMgrTest"; in NativeTokenGet()
72 tokenId = GetAccessTokenId(&infoInstance); in NativeTokenGet()
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/
Dnativetoken_oper_test.cpp395 NativeTokenInfoParams infoInstance = { in Start() local
405 tokenId = GetAccessTokenId(&infoInstance); in Start()
/base/theme/wallpaper_mgr/test/unittest/
Dwallpaper_test.cpp50 TokenInfoParams infoInstance = { in GrantNativePermission() local
60 uint64_t tokenId = GetAccessTokenId(&infoInstance); in GrantNativePermission()
/base/inputmethod/imf/unitest/src/
Dinput_method_switch_test.cpp93 TokenInfoParams infoInstance = { in GrantNativePermission() local
103 uint64_t tokenId = GetAccessTokenId(&infoInstance); in GrantNativePermission()

12