内源检视

Signed-off-by: sqc <974827073@qq.com>
Change-Id: I48bb0f37e4f2e4147283a33e969f554538d57cc5
This commit is contained in:
sqc 2022-03-02 04:06:19 +00:00
parent fe6a5f84bf
commit a6578e2f5f
7 changed files with 1 additions and 13 deletions

View File

@ -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;

View File

@ -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));

View File

@ -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) {

View File

@ -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)
{

View File

@ -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,

View File

@ -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));

View File

@ -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(