/foundation/window/window_manager/wmserver/include/ |
D | remote_animation.h | 48 static bool CheckTransition(sptr<WindowTransitionInfo> srcInfo, const sptr<WindowNode>& srcNode, 49 sptr<WindowTransitionInfo> dstInfo, const sptr<WindowNode>& dstNode); 50 static TransitionEvent GetTransitionEvent(sptr<WindowTransitionInfo> srcInfo, 51 …sptr<WindowTransitionInfo> dstInfo, const sptr<WindowNode>& srcNode, const sptr<WindowNode>& dstNo… 52 … static WMError SetWindowAnimationController(const sptr<RSIWindowAnimationController>& controller); 53 …static WMError NotifyAnimationTransition(sptr<WindowTransitionInfo> srcInfo, sptr<WindowTransition… 54 const sptr<WindowNode>& srcNode, const sptr<WindowNode>& dstNode); 55 …static WMError NotifyAnimationMinimize(sptr<WindowTransitionInfo> srcInfo, const sptr<WindowNode>&… 56 …static WMError NotifyAnimationClose(sptr<WindowTransitionInfo> srcInfo, const sptr<WindowNode>& sr… 58 static WMError NotifyAnimationBackTransition(sptr<WindowTransitionInfo> srcInfo, [all …]
|
D | window_node_container.h | 35 using WindowNodeOperationFunc = std::function<bool(sptr<WindowNode>)>; // return true indicates to … 38 WindowNodeContainer(const sptr<DisplayInfo>& displayInfo, ScreenId displayGroupId); 40 WMError ShowStartingWindow(sptr<WindowNode>& node); 41 …WMError AddWindowNode(sptr<WindowNode>& node, sptr<WindowNode>& parentNode, bool afterAnimation = … 42 WMError RemoveWindowNode(sptr<WindowNode>& node, bool fromAnimation = false); 43 WMError HandleRemoveWindow(sptr<WindowNode>& node); 44 WMError UpdateWindowNode(sptr<WindowNode>& node, WindowUpdateReason reason); 45 WMError DestroyWindowNode(sptr<WindowNode>& node, std::vector<uint32_t>& windowIds); 58 void HandleKeepScreenOn(const sptr<WindowNode>& node, bool requireLock); 59 AvoidArea GetAvoidAreaByType(const sptr<WindowNode>& node, AvoidAreaType avoidAreaType) const; [all …]
|
D | window_root.h | 35 using Callback = std::function<void (Event event, const sptr<IRemoteObject>& remoteObject)>; 41 sptr<WindowNodeContainer> GetOrCreateWindowNodeContainer(DisplayId displayId); 42 sptr<WindowNodeContainer> GetWindowNodeContainer(DisplayId displayId); 43 …sptr<WindowNodeContainer> CreateWindowNodeContainer(DisplayId defaultDisplayId, sptr<DisplayInfo> … 44 sptr<WindowNode> GetWindowNode(uint32_t windowId) const; 45 sptr<WindowNode> GetWindowNodeByMissionId(uint32_t missionId) const; 46 …void GetBackgroundNodesByScreenId(ScreenId screenGroupId, std::vector<sptr<WindowNode>>& windowNod… 48 sptr<WindowNode> FindWallpaperWindow(); 49 WMError SaveWindow(const sptr<WindowNode>& node); 50 void AddDeathRecipient(sptr<WindowNode> node); [all …]
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/animation/window_animation_manager/ |
D | rs_window_animation_controller.h | 38 void OnStartApp(StartingAppType type, const sptr<RSWindowAnimationTarget>& startingWindowTarget, 39 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) override; 41 void OnAppTransition(const sptr<RSWindowAnimationTarget>& fromWindowTarget, 42 const sptr<RSWindowAnimationTarget>& toWindowTarget, 43 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) override; 45 void OnAppBackTransition(const sptr<RSWindowAnimationTarget>& fromWindowTarget, 46 const sptr<RSWindowAnimationTarget>& toWindowTarget, 47 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) override; 49 void OnMinimizeWindow(const sptr<RSWindowAnimationTarget>& minimizingWindowTarget, 50 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) override; [all …]
|
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/input/ |
D | camera_manager.h | 52 sptr<CameraInfo> cameraInfo; 53 sptr<CameraDevice> cameraDevice; 89 sptr<CameraManager> camMngr_ = nullptr; 93 …explicit CameraMuteServiceCallback(const sptr<CameraManager>& cameraManager) : camMngr_(cameraMana… in CameraMuteServiceCallback() 106 sptr<CameraManager> camMngr_ = nullptr; 110 …explicit CameraStatusServiceCallback(const sptr<CameraManager>& cameraManager) : camMngr_(cameraMa… in CameraStatusServiceCallback() 131 static sptr<CameraManager> &GetInstance(); 138 std::vector<sptr<CameraDevice>> GetSupportedCameras(); 146 …sptr<CameraOutputCapability> GetSupportedOutputCapability(sptr<CameraDevice>& camera, int32_t mode… 155 sptr<CameraInput> CreateCameraInput(CameraPosition position, CameraType cameraType); [all …]
|
/foundation/window/window_manager/dmserver/include/ |
D | abstract_display_controller.h | 33 using DisplayStateChangeListener = std::function<void(DisplayId, sptr<DisplayInfo>, 34 const std::map<DisplayId, sptr<DisplayInfo>>&, DisplayStateChangeType)>; 40 void Init(sptr<AbstractScreenController> abstractScreenController); 45 sptr<AbstractDisplay> GetAbstractDisplay(DisplayId displayId) const; 46 sptr<AbstractDisplay> GetAbstractDisplayByScreen(ScreenId screenId) const; 51 void OnAbstractScreenConnect(sptr<AbstractScreen> absScreen); 52 void OnAbstractScreenDisconnect(sptr<AbstractScreen> absScreen); 53 void OnAbstractScreenChange(sptr<AbstractScreen> absScreen, DisplayChangeEvent event); 54 … void ProcessDisplayUpdateOrientation(sptr<AbstractScreen> absScreen, DisplayStateChangeType type); 55 void ProcessDisplaySizeChange(sptr<AbstractScreen> absScreen); [all …]
|
/foundation/ability/ability_runtime/test/moduletest/mock/include/ |
D | mock_ability_manager_proxy.h | 28 …explicit MockAbilityManagerProxy(const sptr<IRemoteObject>& impl) : IRemoteProxy<IAbilityManager>(… in MockAbilityManagerProxy() 34 …MOCK_METHOD3(StartAbility, int(const Want& want, const sptr<IRemoteObject>& callerToken, int reque… 35 MOCK_METHOD4(StartAbilityAsCaller, int(const Want& want, const sptr<IRemoteObject>& callerToken, 38 const sptr<IRemoteObject> &callerToken, int32_t userId, int requestCode)); 40 …MOCK_METHOD3(TerminateAbility, int(const sptr<IRemoteObject>& token, int resultCode, const Want* r… 42 …int(const Want& want, const sptr<IAbilityConnection>& connect, const sptr<IRemoteObject>& callerTo… 43 MOCK_METHOD1(DisconnectAbility, int(const sptr<IAbilityConnection>& connect)); 44 …MOCK_METHOD3(AcquireDataAbility, sptr<IAbilityScheduler>(const Uri&, bool, const sptr<IRemoteObjec… 45 MOCK_METHOD2(ReleaseDataAbility, int(sptr<IAbilityScheduler>, const sptr<IRemoteObject>&)); 46 …MOCK_METHOD2(AttachAbilityThread, int(const sptr<IAbilityScheduler>& scheduler, const sptr<IRemote… [all …]
|
D | mock_ability_mgr_service.h | 28 MOCK_METHOD4(StartAbility, int(const Want& want, const sptr<IRemoteObject>& callerToken, 30 MOCK_METHOD4(StartAbilityAsCaller, int(const Want& want, const sptr<IRemoteObject>& callerToken, 33 const sptr<IRemoteObject> &callerToken, int32_t userId, int requestCode)); 34 …MOCK_METHOD3(TerminateAbility, int(const sptr<IRemoteObject>& token, int resultCode, const Want* r… 35 virtual int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE, 41 virtual int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser = false) override 45 MOCK_METHOD4(ConnectAbility, int(const Want& want, const sptr<IAbilityConnection>& connect, 46 const sptr<IRemoteObject>& callerToken, int32_t userId)); 47 MOCK_METHOD1(DisconnectAbility, int(const sptr<IAbilityConnection>& connect)); 48 …MOCK_METHOD3(AcquireDataAbility, sptr<IAbilityScheduler>(const Uri&, bool, const sptr<IRemoteObjec… [all …]
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/ |
D | wifi_internal_event_dispatcher.h | 43 using StaCallbackMapType = std::map<sptr<IRemoteObject>, sptr<IWifiDeviceCallBack>>; 44 using StaCallbackInfo = std::map<sptr<IRemoteObject>, WifiCallingInfo>; 45 using ScanCallbackMapType = std::map<sptr<IRemoteObject>, sptr<IWifiScanCallback>>; 46 using ScanCallbackInfo = std::map<sptr<IRemoteObject>, WifiCallingInfo>; 47 using HotspotCallbackMapType = std::map<sptr<IRemoteObject>, sptr<IWifiHotspotCallback>>; 48 using HotspotCallbackInfo = std::map<sptr<IRemoteObject>, std::unordered_set<int>>; 49 using P2pCallbackMapType = std::map<sptr<IRemoteObject>, sptr<IWifiP2pCallback>>; 50 using P2pCallbackInfo = std::map<sptr<IRemoteObject>, WifiCallingInfo>; 100 …ErrCode AddStaCallback(const sptr<IRemoteObject> &remote, const sptr<IWifiDeviceCallBack> &callbac… 102 … int SetSingleStaCallback(const sptr<IWifiDeviceCallBack> &callback, const std::string &eventName); [all …]
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/ability_delegator/ |
D | mock_ability_delegator_stub.h | 33 MOCK_METHOD4(StartAbility, int(const Want& want, const sptr<IRemoteObject>& callerToken, 35 MOCK_METHOD4(StartAbilityAsCaller, int(const Want& want, const sptr<IRemoteObject>& callerToken, 38 const sptr<IRemoteObject>& callerToken, int32_t userId, int requestCode)); 40 const sptr<IRemoteObject>& callerToken, int requestCode = DEFAULT_INVAL_VALUE, 43 const sptr<IRemoteObject>& callerToken, int requestCode = DEFAULT_INVAL_VALUE, 45 …MOCK_METHOD3(TerminateAbility, int(const sptr<IRemoteObject>& token, int resultCode, const Want* r… 46 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE, 48 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser = false) override; 49 MOCK_METHOD4(ConnectAbility, int(const Want& want, const sptr<IAbilityConnection>& connect, 50 const sptr<IRemoteObject>& callerToken, int32_t userId)); [all …]
|
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/ |
D | js_window_register_manager.h | 36 WmErrorCode RegisterListener(sptr<Window> window, std::string type, 38 WmErrorCode UnregisterListener(sptr<Window> window, std::string type, 42 …WmErrorCode ProcessWindowChangeRegister(sptr<JsWindowListener> listener, sptr<Window> window, bool… 43 …WmErrorCode ProcessSystemAvoidAreaChangeRegister(sptr<JsWindowListener> listener, sptr<Window> win… 45 …WmErrorCode ProcessAvoidAreaChangeRegister(sptr<JsWindowListener> listener, sptr<Window> window, b… 46 …WmErrorCode ProcessLifeCycleEventRegister(sptr<JsWindowListener> listener, sptr<Window> window, bo… 47 …WmErrorCode ProcessOccupiedAreaChangeRegister(sptr<JsWindowListener> listener, sptr<Window> window, 49 …WmErrorCode ProcessSystemBarChangeRegister(sptr<JsWindowListener> listener, sptr<Window> window, b… 50 …WmErrorCode ProcessTouchOutsideRegister(sptr<JsWindowListener> listener, sptr<Window> window, bool… 51 …WmErrorCode ProcessScreenshotRegister(sptr<JsWindowListener> listener, sptr<Window> window, bool i… [all …]
|
/foundation/window/window_manager/test/common/mock/ |
D | mock_RSIWindowAnimationController.h | 35 void OnWindowAnimationTargetsUpdate(const sptr<RSWindowAnimationTarget>& fullScreenWindowTarget, in OnWindowAnimationTargetsUpdate() 36 const std::vector<sptr<RSWindowAnimationTarget>>& floatingWindowTargets) override in OnWindowAnimationTargetsUpdate() 43 void OnWallpaperUpdate(const sptr<RSWindowAnimationTarget>& wallpaperTarget) override in OnWallpaperUpdate() 49 void OnStartApp(StartingAppType type, const sptr<RSWindowAnimationTarget>& startingWindowTarget, in OnStartApp() 50 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) override in OnStartApp() 55 …void OnAppTransition(const sptr<RSWindowAnimationTarget>& from, const sptr<RSWindowAnimationTarget… in OnAppTransition() 56 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) in OnAppTransition() 61 …void OnAppBackTransition(const sptr<RSWindowAnimationTarget>& from, const sptr<RSWindowAnimationTa… in OnAppBackTransition() 62 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) in OnAppBackTransition() 67 void OnMinimizeWindow(const sptr<RSWindowAnimationTarget>& minimizingWindow, in OnMinimizeWindow() [all …]
|
D | mock_rs_iwindow_animation_controller.h | 29 …MOCK_METHOD3(OnStartApp, void(StartingAppType type, const sptr<RSWindowAnimationTarget>& startingW… 30 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback)); 31 MOCK_METHOD3(OnAppTransition, void(const sptr<RSWindowAnimationTarget>& from, 32 …const sptr<RSWindowAnimationTarget>& to, const sptr<RSIWindowAnimationFinishedCallback>& finishedC… 33 MOCK_METHOD3(OnAppBackTransition, void(const sptr<RSWindowAnimationTarget>& from, 34 …const sptr<RSWindowAnimationTarget>& to, const sptr<RSIWindowAnimationFinishedCallback>& finishedC… 36 MOCK_METHOD2(OnMinimizeWindow, void(const sptr<RSWindowAnimationTarget>& minimizingWindow, 37 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback)); 38 …MOCK_METHOD2(OnMinimizeAllWindow, void(std::vector<sptr<RSWindowAnimationTarget>> minimizingWindow… 39 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback)); [all …]
|
/foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/include/ |
D | rs_window_animation_proxy.h | 29 explicit RSWindowAnimationProxy(const sptr<IRemoteObject>& impl); 32 void OnStartApp(StartingAppType type, const sptr<RSWindowAnimationTarget>& startingWindowTarget, 33 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) override; 35 void OnAppTransition(const sptr<RSWindowAnimationTarget>& fromWindowTarget, 36 const sptr<RSWindowAnimationTarget>& toWindowTarget, 37 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) override; 39 void OnAppBackTransition(const sptr<RSWindowAnimationTarget>& fromWindowTarget, 40 const sptr<RSWindowAnimationTarget>& toWindowTarget, 41 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) override; 43 void OnMinimizeWindow(const sptr<RSWindowAnimationTarget>& minimizingWindowTarget, [all …]
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
D | mock_ability_manager_service.h | 38 int StartAbility(const Want& want, const sptr<IRemoteObject>& callerToken, 47 const sptr<IRemoteObject>& callerToken, 55 … const sptr<IRemoteObject>& token, int resultCode = -1, const Want* resultWant = nullptr) override; 56 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE, 61 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser) override in MinimizeAbility() 67 const sptr<IAbilityConnection>& connect, 68 const sptr<IRemoteObject>& callerToken, 71 int DisconnectAbility(const sptr<IAbilityConnection>& connect) override; 73 …int AttachAbilityThread(const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token… 75 …int AbilityTransitionDone(const sptr<IRemoteObject>& token, int state, const PacMap& saveData) ove… [all …]
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/AMS/ |
D | mock_serviceability_manager_service.h | 43 const sptr<IRemoteObject>& callerToken, 49 const sptr<IRemoteObject>& callerToken, 57 const sptr<IRemoteObject>& callerToken, 63 const sptr<IRemoteObject>& callerToken, 70 … const sptr<IRemoteObject>& token, int resultCode = -1, const Want* resultWant = nullptr) override; 71 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE, 76 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser) override in MinimizeAbility() 80 int32_t ReportDrawnCompleted(const sptr<IRemoteObject>& callerToken) override in ReportDrawnCompleted() 86 const sptr<IAbilityConnection>& connect, 87 const sptr<IRemoteObject>& callerToken, [all …]
|
D | mock_ability_manager_service.h | 40 const sptr<IRemoteObject>& callerToken, 46 const sptr<IRemoteObject>& callerToken, 53 const sptr<IRemoteObject>& callerToken, 59 const sptr<IRemoteObject>& callerToken, 66 … const sptr<IRemoteObject>& token, int resultCode = -1, const Want* resultWant = nullptr) override; 67 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE, 72 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser) override in MinimizeAbility() 78 const sptr<IAbilityConnection>& connect, 79 const sptr<IRemoteObject>& callerToken, 81 int DisconnectAbility(const sptr<IAbilityConnection>& connect) override; [all …]
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_ability_runtime_test/AMS/ |
D | mock_serviceability_manager_service.h | 44 const sptr<IRemoteObject>& callerToken, 50 const sptr<IRemoteObject>& callerToken, 55 const sptr<IRemoteObject>& callerToken, 61 const sptr<IRemoteObject>& callerToken, 65 int StartAbilityByCall(const Want& want, const sptr<IAbilityConnection>& connect, 66 const sptr<IRemoteObject>& callerToken, int32_t accountId = DEFAULT_INVAL_VALUE); 69 … const sptr<IRemoteObject>& token, int resultCode = -1, const Want* resultWant = nullptr) override; 70 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE, 75 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser) override in MinimizeAbility() 79 int32_t ReportDrawnCompleted(const sptr<IRemoteObject>& callerToken) override in ReportDrawnCompleted() [all …]
|
/foundation/ability/ability_runtime/test/unittest/sys_mgr_client_test/ |
D | mock_ability_manager_service.h | 40 const sptr<IRemoteObject>& callerToken, 46 const sptr<IRemoteObject>& callerToken, 53 … const sptr<IRemoteObject>& token, int resultCode = -1, const Want* resultWant = nullptr) override; 54 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE, 59 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser) override in MinimizeAbility() 65 const sptr<IAbilityConnection>& connect, 66 const sptr<IRemoteObject>& callerToken, 68 int DisconnectAbility(const sptr<IAbilityConnection>& connect) override; 70 …sptr<IAbilityScheduler> AcquireDataAbility(const Uri& uri, bool tryBind, const sptr<IRemoteObject>… 72 …ErrCode ReleaseDataAbility(sptr<IAbilityScheduler> dataAbilityScheduler, const sptr<IRemoteObject>… [all …]
|
/foundation/ability/form_fwk/test/mock/include/ |
D | mock_ability_manager.h | 31 …explicit MockAbilityMgrProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<AAFwk::IAbilityManage… in MockAbilityMgrProxy() 40 int StartAbility(const AAFwk::Want &want, const sptr<IRemoteObject> &callerToken, 48 const sptr<IRemoteObject> &callerToken, 55 …const sptr<IRemoteObject> &token, int resultCode, const AAFwk::Want *resultWant = nullptr) override 59 int ConnectAbility(const AAFwk::Want &want, const sptr<AAFwk::IAbilityConnection> &connect, 60 const sptr<IRemoteObject> &callerToken, int32_t userId = DEFAULT_INVAL_VALUE) override 64 int DisconnectAbility(const sptr<AAFwk::IAbilityConnection> &connect) override in DisconnectAbility() 68 sptr<AAFwk::IAbilityScheduler> AcquireDataAbility( in AcquireDataAbility() 69 const Uri &uri, bool tryBind, const sptr<IRemoteObject> &callerToken) override in AcquireDataAbility() 74 …sptr<AAFwk::IAbilityScheduler> dataAbilityScheduler, const sptr<IRemoteObject> &callerToken) overr… in ReleaseDataAbility() [all …]
|
/foundation/ability/ability_runtime/test/unittest/ability_manager_client_branch_test/ |
D | ability_manager_stub_mock_test.h | 58 const sptr<IRemoteObject>& callerToken, 68 const sptr<IRemoteObject>& callerToken, 78 const sptr<IRemoteObject>& callerToken, 87 const sptr<IRemoteObject> &callerToken, 88 const sptr<SessionInfo> &sessionInfo, 98 const sptr<IRemoteObject> &callerToken, 99 const sptr<SessionInfo> &sessionInfo, 106 …virtual int TerminateAbility(const sptr<IRemoteObject>& token, int resultCode, const Want* resultW… 110 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE, 115 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser) override in MinimizeAbility() [all …]
|
/foundation/ability/ability_runtime/test/unittest/ability_manager_proxy_test/ |
D | ability_manager_stub_mock.h | 58 const sptr<IRemoteObject>& callerToken, 68 const sptr<IRemoteObject>& callerToken, 78 const sptr<IRemoteObject>& callerToken, 87 const sptr<IRemoteObject> &callerToken, 88 const sptr<SessionInfo> &sessionInfo, 98 const sptr<IRemoteObject> &callerToken, 99 const sptr<SessionInfo> &sessionInfo, 106 …virtual int TerminateAbility(const sptr<IRemoteObject>& token, int resultCode, const Want* resultW… 116 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE, 121 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser) override in MinimizeAbility() [all …]
|
/foundation/ability/ability_runtime/test/unittest/ability_manager_stub_test/ |
D | ability_manager_stub_impl_mock.h | 35 MOCK_METHOD4(StartAbility, int(const Want& want, const sptr<IRemoteObject>& callerToken, 37 MOCK_METHOD4(StartAbilityAsCaller, int(const Want &want, const sptr<IRemoteObject> &callerToken, 40 …GetWantSender, sptr<IWantSender>(const WantSenderInfo& wantSenderInfo, const sptr<IRemoteObject>& … 41 … MOCK_METHOD2(SendWantSender, int(const sptr<IWantSender>& target, const SenderInfo& senderInfo)); 42 MOCK_METHOD1(CancelWantSender, void(const sptr<IWantSender>& sender)); 43 MOCK_METHOD1(GetPendingWantUid, int(const sptr<IWantSender>& target)); 44 MOCK_METHOD1(GetPendingWantUserId, int(const sptr<IWantSender>& target)); 45 MOCK_METHOD1(GetPendingWantBundleName, std::string(const sptr<IWantSender>& target)); 46 MOCK_METHOD1(GetPendingWantCode, int(const sptr<IWantSender>& target)); 47 MOCK_METHOD1(GetPendingWantType, int(const sptr<IWantSender>& target)); [all …]
|
/foundation/ability/ability_runtime/tools/test/mock/ |
D | mock_ability_manager_stub.h | 32 MOCK_METHOD4(StartAbility, int(const Want& want, const sptr<IRemoteObject>& callerToken, 34 MOCK_METHOD4(StartAbilityAsCaller, int(const Want &want, const sptr<IRemoteObject> &callerToken, 36 …MOCK_METHOD3(TerminateAbility, int(const sptr<IRemoteObject>& token, int resultCode, const Want* r… 37 …MOCK_METHOD3(TerminateUIExtensionAbility, int(const sptr<SessionInfo> &extensionSessionInfo, int r… 39 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE, 44 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser = false) override 48 …int MinimizeUIExtensionAbility(const sptr<SessionInfo> &extensionSessionInfo, bool fromUser = fals… 52 MOCK_METHOD4(ConnectAbility, int(const Want& want, const sptr<IAbilityConnection>& connect, 53 const sptr<IRemoteObject>& callerToken, int32_t userId)); 54 MOCK_METHOD1(DisconnectAbility, int(const sptr<IAbilityConnection>& connect)); [all …]
|
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/ |
D | ability_manager_client.h | 52 …ErrCode AttachAbilityThread(const sptr<IAbilityScheduler> &scheduler, const sptr<IRemoteObject> &t… 61 …ErrCode AbilityTransitionDone(const sptr<IRemoteObject> &token, int state, const PacMap &saveData); 70 …ErrCode ScheduleConnectAbilityDone(const sptr<IRemoteObject> &token, const sptr<IRemoteObject> &re… 78 ErrCode ScheduleDisconnectAbilityDone(const sptr<IRemoteObject> &token); 86 ErrCode ScheduleCommandAbilityDone(const sptr<IRemoteObject> &token); 89 const sptr<IRemoteObject> &token, 90 const sptr<SessionInfo> &sessionInfo, 106 AppExecFwk::ElementName GetElementNameByToken(const sptr<IRemoteObject> &token); 128 const sptr<IRemoteObject> &callerToken, 143 const sptr<IRemoteObject> &callerToken, [all …]
|