/base/notification/common_event_service/services/test/unittest/static_subscriber_manager_unit_test/ |
D | mock_access_token_helper.cpp | 38 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()
|
D | mock_os_account_manager_helper.cpp | 25 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()
|
D | static_subscriber_manager_unit_test.cpp | 30 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/ |
D | mock_accesstoken_kit.cpp | 30 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/ |
D | mock_image_packer.cpp | 27 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()
|
D | mock_message_parcel.cpp | 23 void MockWriteInterfaceToken(bool mockRet) in MockWriteInterfaceToken() argument 25 g_mockWriteInterfaceTokenRet = mockRet; in MockWriteInterfaceToken()
|
D | mock_image_source.cpp | 31 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()
|
D | mock_pixel_map.cpp | 22 void MockPixelMapGetByteCount(int32_t mockRet) in MockPixelMapGetByteCount() argument 24 g_mockPixelMapGetByteCountRet = mockRet; in MockPixelMapGetByteCount()
|
/base/notification/common_event_service/services/test/unittest/mock/ |
D | mock_bundle_manager_helper.cpp | 42 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/ |
D | access_token_helper_test.cpp | 32 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/ |
D | mock_distributed_kv_data_manager.cpp | 24 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/ |
D | ans_image_util_unit_test.cpp | 30 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/ |
D | distributed_notification_manager_test.cpp | 24 extern void MockGetLocalDevice(int32_t mockRet);
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
D | ans_notification_unit_test.cpp | 37 extern void MockWriteInterfaceToken(bool mockRet);
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
D | ans_manager_proxy_unit_test.cpp | 38 extern void MockWriteInterfaceToken(bool mockRet);
|