Lines Matching refs:token

89     virtual void OnAbilityRequestDone(const sptr<IRemoteObject> &token, const int32_t state) = 0;
140 * load ability with token, ability info and application info.
142 * @param token, the token of ability.
143 * @param preToken, the token of ability's caller.
149 int LoadAbility(sptr<IRemoteObject> token, sptr<IRemoteObject> preToken,
154 * terminate ability with token.
156 * @param token, the token of ability.
160 int TerminateAbility(const sptr<IRemoteObject> &token, bool clearMissionFlag);
165 * @param token, the token of ability.
167 void MoveToForeground(const sptr<IRemoteObject> &token);
172 * @param token, the token of ability.
174 void MoveToBackground(const sptr<IRemoteObject> &token);
179 * @param token, the token of ability.
182 void UpdateAbilityState(const sptr<IRemoteObject> &token, const AppExecFwk::AbilityState state);
187 * @param token, the unique identification to update the extension.
191 void UpdateExtensionState(const sptr<IRemoteObject> &token, const AppExecFwk::ExtensionState state);
195 * kill the process by ability token.
197 * @param token, the unique identification to the ability.
199 void KillProcessByAbilityToken(const sptr<IRemoteObject> &token);
219 * @param token child process
222 void AttachPidToParent(const sptr<IRemoteObject> &token, const sptr<IRemoteObject> &callerToken);
287 * @param token Ability identify.
289 void AttachTimeOut(const sptr<IRemoteObject> &token);
294 * @param token Ability identify.
297 void PrepareTerminate(const sptr<IRemoteObject> &token, bool clearMissionFlag = false);
300 * Get running process information by ability token.
302 * @param token Ability identify.
305 void GetRunningProcessInfoByToken(const sptr<IRemoteObject> &token, AppExecFwk::RunningProcessInfo &info);
401 * Get the token of ability records by process ID.
404 * @param tokens The token of ability records.
515 * To clear the process by ability token.
517 * @param token the unique identification to the ability.
519 void ClearProcessByToken(sptr<IRemoteObject> token) const;
530 * @param token the token of the abilityRecord that is attached to status bar.
532 void AttachedToStatusBar(const sptr<IRemoteObject> &token);
544 * @param token the token of ability.
547 bool CleanAbilityByUserRequest(const sptr<IRemoteObject> &token);
563 bool IsProcessAttached(sptr<IRemoteObject> token) const;
565 bool IsAppKilling(sptr<IRemoteObject> token) const;
571 * @param token,ability's token.
574 virtual void OnAbilityRequestDone(const sptr<IRemoteObject> &token, const AppExecFwk::AbilityState state) override;