mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-23 15:20:34 +00:00
内源检视
Signed-off-by: sqc <974827073@qq.com> Change-Id: I48bb0f37e4f2e4147283a33e969f554538d57cc5
This commit is contained in:
parent
fe6a5f84bf
commit
a6578e2f5f
@ -142,8 +142,6 @@ public:
|
||||
MOCK_METHOD2(GetExtensionRunningInfos, int(int upperLimit, std::vector<ExtensionRunningInfo> &info));
|
||||
MOCK_METHOD1(GetProcessRunningInfos, int(std::vector<AppExecFwk::RunningProcessInfo> &info));
|
||||
MOCK_METHOD3(StartAbilityByCall, int(const Want &, const sptr<IAbilityConnection> &, const sptr<IRemoteObject> &));
|
||||
MOCK_METHOD1(StartUser, int(int userId));
|
||||
MOCK_METHOD1(StopUser, int(int userId, const sptr<IStopUserCallback>&callback));
|
||||
|
||||
int MoveMissionToEnd(const sptr<IRemoteObject> &token, const bool nonFirst) override;
|
||||
bool IsFirstInMission(const sptr<IRemoteObject> &token) override;
|
||||
|
@ -136,8 +136,6 @@ public:
|
||||
MOCK_METHOD1(MoveMissionToFront, int(int32_t missionId));
|
||||
MOCK_METHOD2(MoveMissionToFront, int(int32_t missionId, const StartOptions &startOptions));
|
||||
MOCK_METHOD2(SetMissionLabel, int(const sptr<IRemoteObject> &token, const std::string &label));
|
||||
MOCK_METHOD1(StartUser, int(int userId));
|
||||
MOCK_METHOD1(StopUser, int(int userId, const sptr<IStopUserCallback>&callback));
|
||||
MOCK_METHOD2(GetWantSenderInfo, int(const sptr<IWantSender> &target, std::shared_ptr<WantSenderInfo> &info));
|
||||
MOCK_METHOD1(GetAbilityRunningInfos, int(std::vector<AbilityRunningInfo> &info));
|
||||
MOCK_METHOD2(GetExtensionRunningInfos, int(int upperLimit, std::vector<ExtensionRunningInfo> &info));
|
||||
|
@ -69,7 +69,7 @@ int AbilityConnectManager::TerminateAbility(const std::shared_ptr<AbilityRecord>
|
||||
});
|
||||
|
||||
if (!targetAbility) {
|
||||
HILOG_ERROR("targetAbility error.");
|
||||
HILOG_ERROR("targetAbility error.");
|
||||
return NO_FOUND_ABILITY_BY_CALLER;
|
||||
}
|
||||
if (result != ERR_OK) {
|
||||
|
@ -58,8 +58,6 @@ public:
|
||||
MOCK_METHOD2(GetExtensionRunningInfos, int(int upperLimit, std::vector<ExtensionRunningInfo> &info));
|
||||
MOCK_METHOD1(GetProcessRunningInfos, int(std::vector<AppExecFwk::RunningProcessInfo> &info));
|
||||
MOCK_METHOD3(StartAbilityByCall, int(const Want &, const sptr<IAbilityConnection> &, const sptr<IRemoteObject> &));
|
||||
MOCK_METHOD1(StartUser, int(int userId));
|
||||
MOCK_METHOD1(StopUser, int(int userId, const sptr<IStopUserCallback>&callback));
|
||||
|
||||
int InvokeSendRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option)
|
||||
{
|
||||
|
@ -128,8 +128,6 @@ public:
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
MOCK_METHOD1(StartUser, int(int userId));
|
||||
MOCK_METHOD1(StopUser, int(int userId, const sptr<IStopUserCallback>&callback));
|
||||
MOCK_METHOD3(StartContinuation, int(const Want &want, const sptr<IRemoteObject> &abilityToken, int32_t status));
|
||||
MOCK_METHOD2(NotifyContinuationResult, int(int32_t missionId, int32_t result));
|
||||
MOCK_METHOD5(ContinueMission, int(const std::string &srcDeviceId, const std::string &dstDeviceId,
|
||||
|
@ -121,8 +121,6 @@ public:
|
||||
MOCK_METHOD2(MoveMissionToFront, int(int32_t missionId, const StartOptions &startOptions));
|
||||
MOCK_METHOD2(SetMissionLabel, int(const sptr<IRemoteObject> &token, const std::string &label));
|
||||
MOCK_METHOD1(ClearUpApplicationData, int(const std::string &));
|
||||
MOCK_METHOD1(StartUser, int(int userId));
|
||||
MOCK_METHOD1(StopUser, int(int userId, const sptr<IStopUserCallback>&callback));
|
||||
|
||||
MOCK_METHOD2(GetWantSenderInfo, int(const sptr<IWantSender> &target, std::shared_ptr<WantSenderInfo> &info));
|
||||
|
||||
|
@ -146,8 +146,6 @@ public:
|
||||
MOCK_METHOD1(GetAbilityRunningInfos, int(std::vector<AbilityRunningInfo> &info));
|
||||
MOCK_METHOD2(GetExtensionRunningInfos, int(int upperLimit, std::vector<ExtensionRunningInfo> &info));
|
||||
MOCK_METHOD1(GetProcessRunningInfos, int(std::vector<AppExecFwk::RunningProcessInfo> &info));
|
||||
MOCK_METHOD1(StartUser, int(int userId));
|
||||
MOCK_METHOD1(StopUser, int(int userId, const sptr<IStopUserCallback>&callback));
|
||||
MOCK_METHOD2(GetWantSenderInfo, int(const sptr<IWantSender> &target, std::shared_ptr<WantSenderInfo> &info));
|
||||
|
||||
virtual int StartAbility(
|
||||
|
Loading…
Reference in New Issue
Block a user