Home
last modified time | relevance | path

Searched refs:mockRet (Results 1 – 15 of 15) sorted by relevance

/base/notification/common_event_service/services/test/unittest/static_subscriber_manager_unit_test/
Dmock_access_token_helper.cpp38 void MockVerifyNativeToken(bool mockRet) in MockVerifyNativeToken() argument
40 g_mockVerifyNativeTokenRet = mockRet; in MockVerifyNativeToken()
43 void MockVerifyAccessToken(bool mockRet, int8_t times = 0) in MockVerifyAccessToken() argument
45 g_mockVerifyAccessTokenRet = mockRet; in MockVerifyAccessToken()
49 void MockIsDlpHap(bool mockRet) in MockIsDlpHap() argument
51 g_mockIsDlpHapRet = mockRet; in MockIsDlpHap()
54 void MockGetHapTokenID(AccessTokenID mockRet) in MockGetHapTokenID() argument
56 g_MockAccessTokenID = mockRet; in MockGetHapTokenID()
Dmock_os_account_manager_helper.cpp25 void MockQueryActiveOsAccountIds(bool mockRet, uint8_t mockCase) in MockQueryActiveOsAccountIds() argument
27 g_mockQueryActiveOsAccountIdsRet = mockRet; in MockQueryActiveOsAccountIds()
48 void MockGetOsAccountLocalIdFromUid(bool mockRet, uint8_t mockCase = 0) in MockGetOsAccountLocalIdFromUid() argument
50 g_mockGetOsAccountLocalIdFromUidRet = mockRet; in MockGetOsAccountLocalIdFromUid()
Dstatic_subscriber_manager_unit_test.cpp30 extern void MockVerifyAccessToken(bool mockRet, int8_t times = 0);
31 extern void MockGetHapTokenID(Security::AccessToken::AccessTokenID mockRet);
32 extern void MockQueryExtensionInfos(bool mockRet, uint8_t mockCase);
33 extern void MockGetResConfigFile(bool mockRet, uint8_t mockCase);
34 extern void MockQueryActiveOsAccountIds(bool mockRet, uint8_t mockCase);
35 extern void MockGetOsAccountLocalIdFromUid(bool mockRet, uint8_t mockCase = 0);
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dmock_accesstoken_kit.cpp30 void MockGetTokenTypeFlag(ATokenTypeEnum mockRet) in MockGetTokenTypeFlag() argument
32 g_mockGetTokenTypeFlagRet = mockRet; in MockGetTokenTypeFlag()
34 void MockDlpType(DlpType mockRet) in MockDlpType() argument
36 g_mockDlpType = mockRet; in MockDlpType()
38 void MockApl(ATokenAplEnum mockRet) in MockApl() argument
40 g_mockApl = mockRet; in MockApl()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/
Dmock_image_packer.cpp27 void MockImagePackerGetSupportedFormats(uint32_t mockRet) in MockImagePackerGetSupportedFormats() argument
29 g_mockImagePackerGetSupportedFormatsRet = mockRet; in MockImagePackerGetSupportedFormats()
32 void MockImagePackerStartPacking(const uint8_t *mockRet) in MockImagePackerStartPacking() argument
34 g_mockImagePackerStartPackingRet = mockRet; in MockImagePackerStartPacking()
37 void MockImagePackerFinalizePacking(uint32_t mockRet) in MockImagePackerFinalizePacking() argument
39 g_mockImagePackerFinalizePackingRet = mockRet; in MockImagePackerFinalizePacking()
Dmock_message_parcel.cpp23 void MockWriteInterfaceToken(bool mockRet) in MockWriteInterfaceToken() argument
25 g_mockWriteInterfaceTokenRet = mockRet; in MockWriteInterfaceToken()
Dmock_image_source.cpp31 void MockImageSourceCreateImageSource(bool mockRet, uint32_t errorCode) in MockImageSourceCreateImageSource() argument
33 g_mockImageSourceCreateImageSourceRet = mockRet; in MockImageSourceCreateImageSource()
37 void MockImageSourceCreatePixelMap(bool mockRet, uint32_t errorCode) in MockImageSourceCreatePixelMap() argument
39 g_mockImageSourceCreatePixelMapRet = mockRet; in MockImageSourceCreatePixelMap()
43 void MockImageSourceGetSupportedFormats(uint32_t mockRet) in MockImageSourceGetSupportedFormats() argument
45 g_mockImageSourceGetSupportedFormatsRet = mockRet; in MockImageSourceGetSupportedFormats()
Dmock_pixel_map.cpp22 void MockPixelMapGetByteCount(int32_t mockRet) in MockPixelMapGetByteCount() argument
24 g_mockPixelMapGetByteCountRet = mockRet; in MockPixelMapGetByteCount()
/base/notification/common_event_service/services/test/unittest/mock/
Dmock_bundle_manager_helper.cpp42 void MockQueryExtensionInfos(bool mockRet, uint8_t mockCase) in MockQueryExtensionInfos() argument
45 g_mockQueryExtensionInfosRet = mockRet; in MockQueryExtensionInfos()
89 void MockGetResConfigFile(bool mockRet, uint8_t mockCase) in MockGetResConfigFile() argument
91 g_mockGetResConfigFileRet = mockRet; in MockGetResConfigFile()
/base/notification/distributed_notification_service/services/ans/test/unittest/access_token_helper_test/
Daccess_token_helper_test.cpp32 extern void MockGetTokenTypeFlag(ATokenTypeEnum mockRet);
33 extern void MockDlpType(DlpType mockRet);
34 extern void MockApl(ATokenAplEnum mockRet);
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
Dmock_distributed_kv_data_manager.cpp24 void MockGetLocalDevice(int32_t mockRet) in MockGetLocalDevice() argument
26 g_mockLocalDevice = mockRet; in MockGetLocalDevice()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_image_util_test/
Dans_image_util_unit_test.cpp30 extern void MockImagePackerGetSupportedFormats(uint32_t mockRet);
31 extern void MockImagePackerStartPacking(const uint8_t* mockRet);
32 extern void MockImagePackerFinalizePacking(uint32_t mockRet);
35 extern void MockImageSourceCreateImageSource(bool mockRet, uint32_t errorCode);
36 extern void MockImageSourceCreatePixelMap(bool mockRet, uint32_t errorCode);
37 extern void MockImageSourceGetSupportedFormats(uint32_t mockRet);
40 extern void MockPixelMapGetByteCount(int32_t mockRet);
/base/notification/distributed_notification_service/services/distributed/test/unittest/
Ddistributed_notification_manager_test.cpp24 extern void MockGetLocalDevice(int32_t mockRet);
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
Dans_notification_unit_test.cpp37 extern void MockWriteInterfaceToken(bool mockRet);
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
Dans_manager_proxy_unit_test.cpp38 extern void MockWriteInterfaceToken(bool mockRet);