/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/sync_rule/ |
H A D | net_conn_callback_observer.cpp | 29 int32_t NetConnCallbackObserver::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 35 int32_t NetConnCallbackObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange() 36 const sptr<NetAllCapabilities> &netAllCap) in NetCapabilitiesChange() 58 int32_t NetConnCallbackObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange() 59 const sptr<NetLinkInfo> &info) in NetConnectionPropertiesChange() 64 int32_t NetConnCallbackObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost() 76 int32_t NetConnCallbackObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
|
/foundation/window/window_manager/window_scene/screen_session_manager/include/ |
H A D | screen_session_manager_lite.h | 38 virtual DMError RegisterDisplayManagerAgent(const sptr<IDisplayManagerAgent>& displayManagerAgent, 40 virtual DMError UnregisterDisplayManagerAgent(const sptr<IDisplayManagerAgent>& displayManagerAgent, 47 sptr<DisplayInfo> GetDefaultDisplayInfo() override; 48 virtual sptr<DisplayInfo> GetDisplayInfoById(DisplayId displayId) override; 49 sptr<CutoutInfo> GetCutoutInfo(DisplayId displayId) override; 56 sptr<IScreenSessionManager> screenSessionManager_; 58 sptr<ScreenSMDeathRecipient> ssmDeath_ = nullptr;
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/ |
H A D | distributed_sched_interface.h | 77 int32_t missionId, const sptr<IRemoteObject>& callback, const OHOS::AAFwk::WantParams& wantParams) = 0; 79 const std::string& bundleName, const sptr<IRemoteObject>& callback, const OHOS::AAFwk::WantParams& wantParams) in ContinueMission() 92 virtual int32_t ConnectRemoteAbility(const OHOS::AAFwk::Want& want, const sptr<IRemoteObject>& connect, 94 virtual int32_t DisconnectRemoteAbility(const sptr<IRemoteObject>& connect, int32_t callerUid, 97 const sptr<IRemoteObject>& connect, const CallerInfo& callerInfo, const AccountInfo& accountInfo) = 0; 98 virtual int32_t DisconnectAbilityFromRemote(const sptr<IRemoteObject>& connect, 101 virtual int32_t RegisterDSchedEventListener(const DSchedEventType& type, const sptr<IRemoteObject>& obj) in RegisterDSchedEventListener() 105 virtual int32_t UnRegisterDSchedEventListener(const DSchedEventType& type, const sptr<IRemoteObject>& obj) in UnRegisterDSchedEventListener() 123 virtual int32_t RegisterMissionListener(const std::u16string& devId, const sptr<IRemoteObject>& obj) = 0; 124 virtual int32_t RegisterOnListener(const std::string& type, const sptr<IRemoteObjec [all...] |
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/ |
H A D | photo_output.h | 259 explicit PhotoOutput(sptr<IBufferProducer> bufferProducer); 274 void SetThumbnailListener(sptr<IBufferConsumerListener>& listener); 302 int32_t SetRawPhotoInfo(sptr<Surface>& surface); 461 sptr<Surface> thumbnailSurface_; 463 sptr<Surface> rawPhotoSurface_; 465 sptr<Surface> deferredSurface_; 467 sptr<Surface> gainmapSurface_; 468 sptr<Surface> deepSurface_; 469 sptr<Surface> exifSurface_; 470 sptr<Surfac [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/test/unittest/src/ |
H A D | notifier_mgr_test.cpp | 70 sptr<IRemoteObject> notifier = new (std::nothrow) TestNotifierSystemloadListener(); in HWTEST_F() 88 sptr<IRemoteObject> notifier = new (std::nothrow) TestNotifierSystemloadListener(); in HWTEST_F() 105 sptr<IRemoteObject> notifier = new (std::nothrow) TestNotifierSystemloadListener(); in HWTEST_F() 123 sptr<IRemoteObject> notifier = new (std::nothrow) TestNotifierSystemloadListener(); in HWTEST_F() 142 sptr<IRemoteObject> notifier = new (std::nothrow) TestNotifierSystemloadListener(); in HWTEST_F() 161 sptr<IRemoteObject> notifier = new (std::nothrow) TestNotifierSystemloadListener(); in HWTEST_F() 183 sptr<IRemoteObject> notifier = new (std::nothrow) TestNotifierSystemloadListener(); in HWTEST_F() 185 sptr<IRemoteObject> notifier1 = new (std::nothrow) TestNotifierSystemloadListener(); in HWTEST_F() 203 sptr<IRemoteObject> notifier = new (std::nothrow) TestNotifierSystemloadListener(); in HWTEST_F() 221 sptr<IRemoteObjec in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/test/netconnmanager/unittest/netmgr_distributed_test/ |
H A D | net_conn_service_stub_test.h | 57 int32_t RegisterNetSupplierCallback(uint32_t supplierId, const sptr<INetSupplierCallback> &callback) override 62 int32_t RegisterNetConnCallback(const sptr<INetConnCallback> callback) override 67 int32_t RegisterNetConnCallback(const sptr<NetSpecifier> &netSpecifier, const sptr<INetConnCallback> callback, 73 int32_t RequestNetConnection(const sptr<NetSpecifier> netSpecifier, 74 const sptr<INetConnCallback> callback, const uint32_t timeoutMS) override 79 int32_t UnregisterNetConnCallback(const sptr<INetConnCallback> &callback) override 84 int32_t UpdateNetStateForTest(const sptr<NetSpecifier> &netSpecifier, int32_t netState) override 89 int32_t UpdateNetSupplierInfo(uint32_t supplierId, const sptr<NetSupplierInfo> &netSupplierInfo) override 94 int32_t UpdateNetLinkInfo(uint32_t supplierId, const sptr<NetLinkInf [all...] |
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_service_test/ |
H A D | net_conn_service_stub_test.h | 57 int32_t RegisterNetSupplierCallback(uint32_t supplierId, const sptr<INetSupplierCallback> &callback) override 62 int32_t RegisterNetConnCallback(const sptr<INetConnCallback> callback) override 67 int32_t RegisterNetConnCallback(const sptr<NetSpecifier> &netSpecifier, const sptr<INetConnCallback> callback, 73 int32_t RequestNetConnection(const sptr<NetSpecifier> netSpecifier, 74 const sptr<INetConnCallback> callback, const uint32_t timeoutMS) override 79 int32_t UnregisterNetConnCallback(const sptr<INetConnCallback> &callback) override 84 int32_t UpdateNetStateForTest(const sptr<NetSpecifier> &netSpecifier, int32_t netState) override 89 int32_t UpdateNetSupplierInfo(uint32_t supplierId, const sptr<NetSupplierInfo> &netSupplierInfo) override 94 int32_t UpdateNetLinkInfo(uint32_t supplierId, const sptr<NetLinkInf [all...] |
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/proxy/ |
H A D | i_net_conn_service.h | 50 virtual int32_t RegisterNetSupplierCallback(uint32_t supplierId, const sptr<INetSupplierCallback> &callback) = 0; 51 virtual int32_t RegisterNetConnCallback(const sptr<INetConnCallback> callback) = 0; 52 virtual int32_t RegisterNetConnCallback(const sptr<NetSpecifier> &netSpecifier, 53 const sptr<INetConnCallback> callback, const uint32_t &timeoutMS) = 0; 54 virtual int32_t RequestNetConnection(const sptr<NetSpecifier> netSpecifier, 55 const sptr<INetConnCallback> callback, const uint32_t timeoutMS) = 0; 56 virtual int32_t UnregisterNetConnCallback(const sptr<INetConnCallback> &callback) = 0; 57 virtual int32_t UpdateNetStateForTest(const sptr<NetSpecifier> &netSpecifier, int32_t netState) = 0; 58 virtual int32_t UpdateNetSupplierInfo(uint32_t supplierId, const sptr<NetSupplierInfo> &netSupplierInfo) = 0; 59 virtual int32_t UpdateNetLinkInfo(uint32_t supplierId, const sptr<NetLinkInf [all...] |
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_service_flow_test/ |
H A D | ams_app_service_flow_module_test.cpp | 46 const std::shared_ptr<AppRunningRecord>& appRecord, const sptr<MockAppScheduler>& mockAppScheduler) in TestApplicationPreRunningRecord() 49 std::shared_ptr<AbilityRunningRecord> GetAbility(const sptr<IRemoteObject>& token) const in GetAbility() 57 sptr<MockAppScheduler> mockAppScheduler_; 70 sptr<MockAppScheduler> TestCreateApplicationClient(const std::shared_ptr<AppRunningRecord>& appRecord) const; 73 sptr<IRemoteObject>& outToken) const; 103 sptr<MockAppScheduler> AmsAppServiceFlowModuleTest::TestCreateApplicationClient( in TestCreateApplicationClient() 109 sptr<MockAppScheduler> mockAppScheduler = new (std::nothrow) MockAppScheduler(); in TestCreateApplicationClient() 110 sptr<IAppScheduler> client = iface_cast<IAppScheduler>(mockAppScheduler.GetRefPtr()); in TestCreateApplicationClient() 119 const ApplicationState appState, sptr<IRemoteObject>& outToken) const in TestCreateApplicationRecordAndSetState() 129 sptr<IRemoteObjec in TestCreateApplicationRecordAndSetState() [all...] |
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_settings.cpp | 53 sptr<AccessibilityAccountData> accountData = in SetScreenMagnificationState() 80 sptr<AccessibilityAccountData> accountData = in SetShortKeyState() 99 sptr<AccessibilityAccountData> accountData = in SetMouseKeyState() 122 sptr<AccessibilityAccountData> accountData = in SetMouseAutoClick() 151 sptr<AccessibilityAccountData> accountData = in SetShortkeyTarget() 179 sptr<AccessibilityAccountData> accountData = in SetShortkeyMultiTarget() 200 sptr<AccessibilityAccountData> accountData = in SetHighContrastTextState() 218 sptr<AccessibilityAccountData> accountData = in SetDaltonizationState() 236 sptr<AccessibilityAccountData> accountData = in SetInvertColorState() 251 sptr<AccessibilityAccountDat in SetAnimationOffState() [all...] |
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | extension.h | 60 const sptr<IRemoteObject> &token); 103 virtual void OnStart(const AAFwk::Want &want, sptr<AAFwk::SessionInfo> sessionInfo); 113 virtual sptr<IRemoteObject> OnConnect(const AAFwk::Want &want); 125 virtual sptr<IRemoteObject> OnConnect(const AAFwk::Want &want, 126 AppExecFwk::AbilityTransactionCallbackInfo<sptr<IRemoteObject>> *callbackInfo, bool &isAsyncCallback); 161 virtual void OnCommandWindow(const AAFwk::Want &want, const sptr<AAFwk::SessionInfo> &sessionInfo, 208 virtual void OnForeground(const Want &want, sptr<AAFwk::SessionInfo> sessionInfo); 227 void SetExtensionWindowLifeCycleListener(const sptr<Rosen::IWindowLifeCycle> &listener); 255 virtual void OnCommandWindowDone(const sptr<AAFwk::SessionInfo> &sessionInfo, AAFwk::WindowCommand winCmd); 257 virtual void OnInsightIntentExecuteDone(const sptr<AAFw [all...] |
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/ |
H A D | mock_ams_mgr_scheduler.h | 32 MOCK_METHOD2(TerminateAbility, void(const sptr<IRemoteObject>& token, bool clearMissionFlag)); 33 MOCK_METHOD2(UpdateAbilityState, void(const sptr<IRemoteObject>& token, const AbilityState state)); 35 MOCK_METHOD1(KillProcessByAbilityToken, void(const sptr<IRemoteObject>& token)); 44 MOCK_METHOD1(AbilityAttachTimeOut, void(const sptr<IRemoteObject>& token)); 45 MOCK_METHOD2(PrepareTerminate, void(const sptr<IRemoteObject>& token, bool clearMissionFlag)); 47 void(const sptr<IRemoteObject>& token, OHOS::AppExecFwk::RunningProcessInfo& info)); 51 MOCK_METHOD1(RegisterStartSpecifiedAbilityResponse, void(const sptr<IStartSpecifiedAbilityResponse>& response)); 56 MOCK_METHOD1(RegisterAppDebugListener, int32_t(const sptr<IAppDebugListener> &listener)); 57 MOCK_METHOD1(UnregisterAppDebugListener, int32_t(const sptr<IAppDebugListener> &listener)); 60 MOCK_METHOD1(RegisterAbilityDebugResponse, int32_t(const sptr<IAbilityDebugRespons [all...] |
/foundation/window/window_manager/interfaces/innerkits/dm/ |
H A D | screen_manager.h | 78 sptr<Screen> GetScreenById(ScreenId screenId);
86 sptr<ScreenGroup> GetScreenGroup(ScreenId groupId);
94 DMError GetAllScreens(std::vector<sptr<Screen>>& screens);
199 DMError SetVirtualScreenSurface(ScreenId screenId, sptr<Surface> surface);
286 DMError RegisterScreenListener(sptr<IScreenListener> listener);
294 DMError UnregisterScreenListener(sptr<IScreenListener> listener);
302 DMError RegisterScreenGroupListener(sptr<IScreenGroupListener> listener);
310 DMError UnregisterScreenGroupListener(sptr<IScreenGroupListener> listener);
318 DMError RegisterVirtualScreenGroupListener(sptr<IVirtualScreenGroupListener> listener);
326 DMError UnregisterVirtualScreenGroupListener(sptr<IVirtualScreenGroupListene [all...] |
/foundation/communication/netmanager_ext/frameworks/js/napi/vpn/include/ |
H A D | vpn_config_utils.h | 97 bool ParseSysVpnConfig(napi_env env, napi_value *params, sptr<SysVpnConfig> &vpnConfig); 98 bool ParseAddrRouteParams(napi_env env, napi_value config, sptr<SysVpnConfig> &vpnConfig); 99 bool ParseChoiceableParams(napi_env env, napi_value config, sptr<SysVpnConfig> &vpnConfig); 101 sptr<OpenvpnConfig> CreateAndParseOpenvpnConf(napi_env env, napi_value config); 102 sptr<IpsecVpnConfig> CreateAndParseIpsecVpnConf(napi_env env, napi_value config); 103 sptr<L2tpVpnConfig> CreateAndParseL2tpVpnConf(napi_env env, napi_value config); 117 napi_value CreateNapiVpnConfig(napi_env env, sptr<SysVpnConfig> &sysVpnConfig); 118 napi_value CreateNapiSysVpnConfig(napi_env env, sptr<SysVpnConfig> &sysVpnConfig); 119 napi_value CreateNapiOpenvpnConfig(napi_env env, sptr<SysVpnConfig> sysVpnConfig); 120 napi_value CreateNapiIpsecVpnConfig(napi_env env, sptr<SysVpnConfi [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager_client/include/ |
H A D | screen_session_manager_client.h | 38 virtual void OnScreenConnected(const sptr<ScreenSession>& screenSession) = 0; 39 virtual void OnScreenDisconnected(const sptr<ScreenSession>& screenSession) = 0; 47 void RegisterDisplayChangeListener(const sptr<IDisplayChangeListener>& listener); 49 sptr<ScreenSession> GetScreenSession(ScreenId screenId) const; 60 void NotifyDisplayChangeInfoChanged(const sptr<DisplayChangeInfo>& info); 61 void OnDisplayStateChanged(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo, 62 const std::map<DisplayId, sptr<DisplayInfo>>& displayInfoMap, DisplayStateChangeType type) override; 74 sptr<ScreenSession> GetScreenSessionById(const ScreenId id); 110 std::map<ScreenId, sptr<ScreenSession>> screenSessionMap_; 113 sptr<IScreenSessionManage [all...] |
/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | producer_surface_test.cpp | 52 static inline sptr<IConsumerSurface> csurf = nullptr; 53 static inline sptr<IBufferProducer> producer = nullptr; 54 static inline sptr<Surface> pSurface = nullptr; 55 static inline sptr<ProducerSurfaceDelegator> surfaceDelegator = nullptr; 58 static inline GSError OnBufferRelease(sptr<SurfaceBuffer> &buffer) in OnBufferRelease() 62 sptr<ProducerSurface> surface_ = nullptr; 68 sptr<IBufferConsumerListener> listener = new BufferConsumerListener(); in SetUpTestCase() 131 sptr<SurfaceBuffer> buffer = SurfaceBuffer::Create(); in HWTEST_F() 147 sptr<SurfaceBuffer> buffer = nullptr; in HWTEST_F() 163 sptr<SurfaceBuffe in HWTEST_F() [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/ |
H A D | camera_manager.cpp | 66 sptr<CameraManager> CameraManager::g_cameraManager = nullptr; 215 sptr<CameraListenerStub> listenerStub = new (std::nothrow) CameraListenerStub(); in CreateListenerObject() 217 sptr<IRemoteObject> object = listenerStub->AsObject(); in CreateListenerObject() 301 sptr<CaptureSession> CameraManager::CreateCaptureSession() in CreateCaptureSession() 304 sptr<CaptureSession> captureSession = nullptr; in CreateCaptureSession() 311 sptr<CaptureSession> CameraManager::CreateCaptureSessionImpl(SceneMode mode, sptr<ICaptureSession> session) in CreateCaptureSessionImpl() 354 sptr<CaptureSession> CameraManager::CreateCaptureSession(SceneMode mode) in CreateCaptureSession() 357 sptr<ICaptureSession> session = nullptr; in CreateCaptureSession() 372 sptr<CaptureSessio in CreateCaptureSession() [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/include/collaborate/ |
H A D | dsched_collaborate_callback_mgr.h | 35 bool PushCallback(const sptr<IRemoteObject>& callback); 36 std::vector<sptr<IRemoteObject>> GetCallback(); 37 bool CleanupCallback(const sptr<IRemoteObject>& callback); 41 int32_t NotifyDSchedEventForOneCB(const sptr<IRemoteObject> &cb, const EventNotify& event); 45 std::vector<sptr<IRemoteObject>> collaborateCbArr_; 46 sptr<DistributedEventDiedListener> diedListener_;
|
/foundation/ability/ability_base/interfaces/inner_api/base/include/ |
H A D | remote_object_wrapper.h | 27 RemoteObjectWrap(sptr<IRemoteObject> remoteObject); 36 static sptr<IRemoteObjectWrap> Box(sptr<IRemoteObject> remoteObject); 38 static sptr<IRemoteObject> UnBox(IRemoteObjectWrap *object); 40 sptr<IRemoteObject> GetValue() override; 43 sptr<IRemoteObject> remoteObject_;
|
/foundation/ability/ability_base/interfaces/inner_api/base/src/ |
H A D | remote_object_wrapper.cpp | 22 RemoteObjectWrap::RemoteObjectWrap(sptr<IRemoteObject> remoteObject) : remoteObject_(remoteObject) {} in RemoteObjectWrap() 30 sptr<IRemoteObjectWrap> RemoteObjectWrap::Box(sptr<IRemoteObject> remoteObject) in Box() 32 return sptr<IRemoteObjectWrap>(new RemoteObjectWrap(remoteObject)); in Box() 35 sptr<IRemoteObject> RemoteObjectWrap::UnBox(IRemoteObjectWrap *object) in UnBox() 40 sptr<IRemoteObject> RemoteObjectWrap::GetValue() in GetValue()
|
/foundation/ability/ability_runtime/test/unittest/quick_fix/mock/include/ |
H A D | mock_quick_fix_util.h | 27 static sptr<IRemoteObject> GetRemoteObjectOfSystemAbility(const int32_t systemAbilityId); 28 static sptr<AppExecFwk::IAppMgr> GetAppManagerProxy(); 29 static sptr<AppExecFwk::IBundleMgr> GetBundleManagerProxy(); 30 static sptr<AppExecFwk::IQuickFixManager> GetBundleQuickFixMgrProxy(); 32 void RegisterSystemAbility(const int32_t systemAbilityId, sptr<IRemoteObject> object); 36 static std::unordered_map<int32_t, sptr<IRemoteObject>> servicesMap_;
|
/foundation/ability/ability_runtime/service_router_framework/interfaces/inner_api/include/ |
H A D | service_router_mgr_helper.h | 43 sptr<IServiceRouterManager> GetServiceRouterMgr();
47 void FinishStartSASuccess(const sptr<IRemoteObject> &remoteObject);
51 void SetServiceRouterMgr(const sptr<IServiceRouterManager> &serviceRouterMgr);
52 sptr<IServiceRouterManager> InnerGetServiceRouterMgr();
58 sptr<ServiceRouterDeathRecipient> serviceDeathObserver_;
59 sptr<IServiceRouterManager> routerMgr_ = nullptr;
|
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/ |
H A D | hgm_vsync_generator_controller.h | 30 HgmVSyncGeneratorController(sptr<VSyncController> rsController, 31 sptr<VSyncController> appController, sptr<VSyncGenerator> vsyncGenerator); 43 sptr<VSyncController> rsController_; 44 sptr<VSyncController> appController_; 45 sptr<VSyncGenerator> vsyncGenerator_;
|
/foundation/multimedia/av_session/services/session/adapter/ |
H A D | hw_cast_display_listener.h | 28 explicit HwCastDisplayListener(sptr<IAVSessionCallback> callback) : listener_(callback) {}; in HwCastDisplayListener() 32 void SetDisplayInfo(sptr<Rosen::Screen> displayInfo); 33 sptr<Rosen::Screen> GetDisplayInfo(); 36 void ReportCastDisplay(sptr<Rosen::Screen> displayInfo, CastDisplayState displayState); 38 sptr<IAVSessionCallback> listener_; 39 sptr<Rosen::Screen> curDisplayInfo_;
|
/foundation/communication/netmanager_ext/interfaces/innerkits/mdnsclient/include/proxy/ |
H A D | mdns_service_proxy.h | 27 explicit MDnsServiceProxy(const sptr<IRemoteObject> &impl); 30 int32_t RegisterService(const MDnsServiceInfo &serviceInfo, const sptr<IRegistrationCallback> &cb); 31 int32_t UnRegisterService(const sptr<IRegistrationCallback> &cb); 33 int32_t StartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb); 34 int32_t StopDiscoverService(const sptr<IDiscoveryCallback> &cb); 36 int32_t ResolveService(const MDnsServiceInfo &serviceInfo, const sptr<IResolveCallback> &cb);
|