/foundation/resourceschedule/memmgr/interface/innerkits/src/ |
H A D | app_state_subscriber.cpp | 54 const sptr<AppStateSubscriber::AppStateSubscriberImpl> AppStateSubscriber::GetImpl() const
in GetImpl() 139 sptr<ISystemAbilityManager> systemAbilityManager =
in GetMemMgrProxy() 145 sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(MEMORY_MANAGER_SA_ID);
in GetMemMgrProxy()
|
/foundation/systemabilitymgr/safwk/services/safwk/include/ |
H A D | system_ability.h | 168 sptr<IRemoteObject> GetSystemAbility(int32_t systemAbilityId); 176 bool Publish(sptr<IRemoteObject> systemAbility); 263 sptr<IRemoteObject> publishObj_;
|
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/ |
H A D | background_task_subscriber.h | 257 sptr<IBackgroundTaskMgr> proxy_ {nullptr}; 262 const sptr<BackgroundTaskSubscriberImpl> GetImpl() const; 265 sptr<BackgroundTaskSubscriberImpl> impl_ {nullptr};
|
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/include/ |
H A D | bundle_active_proxy.h | 122 explicit BundleActiveProxy(const sptr<IRemoteObject>& impl) in BundleActiveProxy() 130 ErrCode RegisterAppGroupCallBack(const sptr<IAppGroupCallback> &observer) override; 137 ErrCode UnRegisterAppGroupCallBack(const sptr<IAppGroupCallback> &observer) override;
|
/foundation/resourceschedule/memmgr/services/memmgrservice/include/ |
H A D | mem_mgr_service.h | 38 virtual int32_t SubscribeAppState(const sptr<IAppStateSubscriber> &subscriber) override; 39 virtual int32_t UnsubscribeAppState(const sptr<IAppStateSubscriber> &subscriber) override; 43 virtual int32_t OnWindowVisibilityChanged(const std::vector<sptr<MemMgrWindowInfo>> &MemMgrWindowInfo) override;
|
/foundation/window/window_manager/test/fuzztest/window_scene/sessionstagestubactive_fuzzer/ |
H A D | sessionstagestubactive_fuzzer.cpp | 39 void SessionStageActiveTest(sptr<WindowSessionImpl> stageStub, MessageParcel& parcel) in SessionStageActiveTest() 91 sptr<WindowOption> windowOption = new (std::nothrow) WindowOption(); in DoSomethingInterestingWithMyAPI() 95 sptr<WindowSessionImpl> stageStub = new (std::nothrow) WindowSessionImpl(windowOption); in DoSomethingInterestingWithMyAPI()
|
/foundation/window/window_manager/test/fuzztest/window_scene/sessionstagestubchange_fuzzer/ |
H A D | sessionstagestubchange_fuzzer.cpp | 39 void SessionStageChangeTest(sptr<WindowSessionImpl> stageStub, MessageParcel& parcel) in SessionStageChangeTest() 94 sptr<WindowOption> windowOption = new (std::nothrow) WindowOption(); in DoSomethingInterestingWithMyAPI() 98 sptr<WindowSessionImpl> stageStub = new (std::nothrow) WindowSessionImpl(windowOption); in DoSomethingInterestingWithMyAPI()
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/ |
H A D | device_param_collect.cpp | 41 DeviceParamCollect::DeviceParamCollect(const sptr<IReport>& report) in DeviceParamCollect() 73 sptr<SystemAbilityStatusChange> statusChangeListener = new SystemAbilityStatusChange(); in OnStart() 157 void SystemAbilityStatusChange::Init(const sptr<DeviceParamCollect>& deviceParamCollect) in Init()
|
/foundation/window/window_manager/dm_lite/test/unittest/ |
H A D | display_manager_adapter_lite_test.cpp | 56 sptr<IRemoteObject::DeathRecipient> dmsDeath_ = nullptr;
in HWTEST_F() 69 sptr<IRemoteObject::DeathRecipient> dmsDeath_ = nullptr;
in HWTEST_F() 72 sptr<IRemoteObject> obj =
in HWTEST_F()
|
/foundation/window/window_manager/test/fuzztest/window_scene/sessionstubextension_fuzzer/ |
H A D | sessionstubextension_fuzzer.cpp | 37 void SessionStubTestExtensionCode(sptr<Session> sessionStub, MessageParcel& parcel) in SessionStubTestExtensionCode() 73 void SessionStubTestPipCode(sptr<Session> sessionStub, MessageParcel& parcel) in SessionStubTestPipCode() 103 sptr<Session> sessionStub = new (std::nothrow) Session(info); in DoSomethingInterestingWithMyAPI()
|
/foundation/window/window_manager/test/fuzztest/wms/pip_fuzzer/ |
H A D | pip_fuzzer.cpp | 49 sptr<PipOption> option = new PipOption(); in DoSomethingInterestingWithMyAPI() 69 sptr<Window> window = new Window(); in DoSomethingInterestingWithMyAPI() 70 sptr<PictureInPictureController> controller = new PictureInPictureController(option, window, windowId, env); in DoSomethingInterestingWithMyAPI()
|
/foundation/window/window_manager/test/systemtest/dms/ |
H A D | display_test_utils.cpp | 45 bool DisplayTestUtils::SizeEqualToDisplay(const sptr<Display>& display, const Media::Size cur) in SizeEqualToDisplay() 94 sptr<SurfaceBuffer> cbuffer = nullptr; in OnVsync() 132 void DisplayTestUtils::SetDefaultWH(const sptr<Display>& display) in SetDefaultWH()
|
/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | iremote_broker.cpp | 125 sptr<IRemoteBroker> BrokerRegistration::NewInstance(const std::u16string &descriptor, const sptr<IRemoteObject> &object) in NewInstance() 129 sptr<IRemoteBroker> broker; in NewInstance()
|
H A D | ipc_thread_pool.cpp | 94 sptr<IPCWorkThread> newThread = sptr<IPCWorkThread>::MakeSptr(threadName); in SpawnThread() 126 sptr<IPCWorkThread> workThread = it->second; in RemoveThread()
|
/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_file_desc_unittest.cpp | 65 sptr<IPCFileDescriptor> wdesc = new IPCFileDescriptor(testFdNum); in HWTEST_F() 71 sptr<IPCFileDescriptor> rdesc = parcel.ReadObject<IPCFileDescriptor>(); in HWTEST_F() 81 sptr<IPCFileDescriptor> wdesc = new IPCFileDescriptor(invalidFdNum); in HWTEST_F()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_service_test/ |
H A D | net_conn_service_iface_test.cpp | 74 sptr<NetLinkInfo> netLinkInfo = new (std::nothrow) NetLinkInfo(); in HWTEST_F() 82 sptr<NetSupplierInfo> netSupplierInfo = new (std::nothrow) NetSupplierInfo(); in HWTEST_F() 96 sptr<INetFactoryResetCallback> callback = nullptr; in HWTEST_F()
|
/foundation/communication/dsoftbus/sdk/transmission/ipc/standard/include/ |
H A D | trans_server_proxy_standard.h | 25 explicit TransServerProxy(const sptr<IRemoteObject> &impl) in TransServerProxy() 29 int32_t SoftbusRegisterService(const char *clientPkgName, const sptr<IRemoteObject> &object) override; 61 int32_t GetSoftbusSpecObject(sptr<IRemoteObject> &object) override;
|
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | inet_addr.cpp | 65 sptr<INetAddr> INetAddr::Unmarshalling(Parcel &parcel) in Unmarshalling() 67 sptr<INetAddr> ptr = new (std::nothrow) INetAddr(); in Unmarshalling() 96 bool INetAddr::Marshalling(Parcel &parcel, const sptr<INetAddr> &object) in Marshalling()
|
/foundation/communication/netmanager_base/services/netconnmanager/include/ |
H A D | network.h | 56 void RegisterNetDetectionCallback(const sptr<INetDetectionCallback> &callback); 57 int32_t UnRegisterNetDetectionCallback(const sptr<INetDetectionCallback> &callback); 106 std::vector<sptr<INetDetectionCallback>> netDetectionRetCallback_;
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/ |
H A D | net_conn_client_vnic_test.cpp | 68 sptr<NetManagerStandard::NetLinkInfo> linkInfo = nullptr; in HWTEST_F() 78 sptr<NetManagerStandard::NetLinkInfo> linkInfo = nullptr; in HWTEST_F() 91 sptr<NetManagerStandard::NetLinkInfo> linkInfo = nullptr; in HWTEST_F()
|
/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/ |
H A D | profile_event_handler.cpp | 39 const sptr<IRemoteObject>& profileEventNotifier) in Subscribe() 73 int32_t ProfileEventHandler::Unsubscribe(const sptr<IRemoteObject>& profileEventNotifier) in Unsubscribe() 98 void ProfileEventHandler::OnSubscriberDied(const sptr<IRemoteObject>& profileEventNotifier) in OnSubscriberDied()
|
/foundation/communication/nfc/services/src/card_emulation/ |
H A D | host_card_emulation_manager.h | 56 sptr<KITS::IHceCmdCallback> callback_ = nullptr; 59 bool RegHceCmdCallback(const sptr<KITS::IHceCmdCallback>& callback, const std::string& type, 91 sptr<NfcAbilityConnectionCallback> abilityConnection_{};
|
/foundation/communication/netmanager_ext/frameworks/native/mdnsclient/src/ |
H A D | mdns_service_info.cpp | 36 bool MDnsServiceInfo::Marshalling(Parcel &data, const sptr<MDnsServiceInfo> &obj) in Marshalling() 41 sptr<MDnsServiceInfo> MDnsServiceInfo::Unmarshalling(Parcel &parcel) in Unmarshalling() 43 sptr<MDnsServiceInfo> ptr = new (std::nothrow) MDnsServiceInfo; in Unmarshalling()
|
/foundation/communication/netmanager_ext/frameworks/native/mdnsclient/src/proxy/ |
H A D | mdns_event_stub.cpp | 34 sptr<MDnsServiceInfo> serviceInfo = MDnsServiceInfo::Unmarshalling(data); in OnRemoteRequest() 67 sptr<MDnsServiceInfo> serviceInfo = MDnsServiceInfo::Unmarshalling(data); in OnRemoteRequest() 102 sptr<MDnsServiceInfo> serviceInfo = MDnsServiceInfo::Unmarshalling(data); in OnRemoteRequest()
|
/foundation/deviceprofile/device_info_manager/interfaces/innerkits/core/include/ |
H A D | distributed_device_profile_proxy.h | 38 explicit DistributedDeviceProfileProxy(const sptr<IRemoteObject>& impl) in DistributedDeviceProfileProxy() 64 int32_t SubscribeDeviceProfileInited(int32_t saId, sptr<IRemoteObject> dpInitedCallback) override; 66 int32_t SyncDeviceProfile(const DpSyncOptions& syncOptions, sptr<IRemoteObject> syncCompletedCallback) override;
|