/foundation/multimodalinput/input/frameworks/napi/short_key/src/ |
H A D | js_short_key_manager.cpp | 52 static bool GetResult(sptr<AsyncContext> asyncContext, napi_value * results, int32_t size) in GetResult() 100 void AsyncCallbackWork(sptr<AsyncContext> asyncContext) in AsyncCallbackWork() 115 sptr<AsyncContext> asyncContext(static_cast<AsyncContext *>(data)); in AsyncCallbackWork() 165 sptr<AsyncContext> asyncContext = new (std::nothrow) AsyncContext(env); in SetKeyDownDuration()
|
/foundation/systemabilitymgr/safwk/test/services/safwk/unittest/test_sa_proxy_cache_ability/src/ |
H A D | test_sa_proxy_cache_proxy.cpp | 47 sptr<IRemoteObject> remote = Remote(); in GetStringFunc() 96 sptr<IRemoteObject> remote = Remote(); in GetDoubleFunc() 163 sptr<IRemoteObject> remote = Remote(); in GetVectorFunc() 198 sptr<IRemoteObject> remote = Remote(); in GetSaPid()
|
/foundation/resourceschedule/memmgr/interface/innerkits/src/ |
H A D | mem_mgr_client.cpp | 108 sptr<AppStateSubscriber::AppStateSubscriberImpl> subscriberSptr = subscriber.GetImpl(); in SubscribeAppState() 124 sptr<AppStateSubscriber::AppStateSubscriberImpl> subscriberSptr = subscriber.GetImpl(); in UnsubscribeAppState() 214 int32_t MemMgrClient::OnWindowVisibilityChanged(const std::vector<sptr<MemMgrWindowInfo>> &MemMgrWindowInfo) in OnWindowVisibilityChanged() 280 sptr<IMemMgr> MemMgrClient::GetMemMgrService() in GetMemMgrService()
|
/foundation/window/window_manager/interfaces/kits/cj/window_runtime/ |
H A D | window_stage_impl.cpp | 24 void CreateCjSubWindowArrayObject(std::vector<sptr<Window>> &vec, RetStruct &ret) in CreateCjSubWindowArrayObject() 37 sptr<CJWindowImpl> windowImpl = CreateCjWindowObject(window); in CreateCjSubWindowArrayObject() 76 sptr<Rosen::WindowOption> windowOption = new(std::nothrow) Rosen::WindowOption(); in CreateSubWindow() 88 sptr<CJWindowImpl> windowImpl = CreateCjWindowObject(window); in CreateSubWindow()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/ |
H A D | netfirewall_service_test.cpp | 81 sptr<NetFirewallRule> GetNetFirewallRuleSptr() in GetNetFirewallRuleSptr() 83 sptr<NetFirewallRule> rule = (std::make_unique<NetFirewallRule>()).release(); in GetNetFirewallRuleSptr() 128 sptr<NetFirewallRule> GetNetFirewallRuleSptrTypeDns() in GetNetFirewallRuleSptrTypeDns() 130 sptr<NetFirewallRule> rule = (std::make_unique<NetFirewallRule>()).release(); in GetNetFirewallRuleSptrTypeDns()
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_wrapper_test/ |
H A D | netsys_wrapper_test.cpp | 30 sptr<OHOS::NetsysNative::INotifyCallback> nativeNotifyCallback_ = nullptr; 31 sptr<OHOS::NetsysNative::INetsysService> netsysNativeService_ = nullptr; 44 int32_t OnDhcpSuccess(sptr<OHOS::NetsysNative::DhcpResultParcel> &dhcpResult) override; 138 int32_t NetlinkNativeNotifyCallBack::OnDhcpSuccess(sptr<OHOS::NetsysNative::DhcpResultParcel> &dhcpResult) in OnDhcpSuccess()
|
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/ |
H A D | net_policy_callback_proxy_test.cpp | 57 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override 62 bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override 72 sptr<IRemoteBroker> AsInterface() override 106 static inline sptr<MockNetIRemoteObject> remoteObj_ = nullptr;
|
/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_p2p_proxy.h | 27 explicit WifiP2pProxy(const sptr<IRemoteObject> &impl); 238 ErrCode RegisterCallBack(const sptr<IWifiP2pCallback> &callback, const std::vector<std::string> &event) override; 438 sptr<IRemoteObject> remote_ = nullptr; 440 sptr<IRemoteObject::DeathRecipient> deathRecipient_ = nullptr;
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
H A D | wifi_app_state_aware.cpp | 62 sptr<AppExecFwk::IAppMgr> WifiAppStateAware::GetAppMgr() in GetAppMgr() 65 sptr<ISystemAbilityManager> systemAbilityManager = in GetAppMgr() 72 sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(APP_MGR_SERVICE_ID); in GetAppMgr() 104 mAppStateObserver = sptr<AppStateObserver>(new (std::nothrow) AppStateObserver()); in RegisterAppStateObserver()
|
/foundation/communication/nfc/test/unittest/services/tags_test/ |
H A D | tag_foreground_test.cpp | 69 const sptr<KITS::IForegroundCallback> callback = nullptr;
in HWTEST_F() 87 const sptr<KITS::IForegroundCallback> callback = nullptr;
in HWTEST_F() 137 sptr<KITS::IReaderModeCallback> callback = nullptr;
in HWTEST_F() 155 sptr<KITS::IReaderModeCallback> callback = nullptr;
in HWTEST_F()
|
/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/src/ |
H A D | mdns_exec.cpp | 42 sptr<IRegistrationCallback> callback = context->GetObserver(); in ExecRemoveLocalService() 62 sptr<IResolveCallback> callback = context->GetObserver(); in ExecResolveLocalService() 96 sptr<MDnsDiscoveryObserver> observer = wObserver.promote(); in ExecStartSearchingMDNS() 116 sptr<MDnsDiscoveryObserver> observer = wObserver.promote(); in ExecStopSearchingMDNS()
|
/foundation/communication/nfc/test/unittest/services/host_card_emulation_manager_test/ |
H A D | host_card_emulation_manager_test.cpp | 65 sptr<KITS::IHceCmdCallback> callback = nullptr; in HWTEST_F() 86 sptr<KITS::IHceCmdCallback> callback = nullptr; in HWTEST_F() 106 sptr<KITS::IHceCmdCallback> callback = nullptr; in HWTEST_F() 126 sptr<KITS::IHceCmdCallback> callback = nullptr; in HWTEST_F()
|
/foundation/distributeddatamgr/data_share/frameworks/native/provider/include/ |
H A D | js_datashare_ext_ability.h | 60 const sptr<IRemoteObject> &token) override; 80 sptr<IRemoteObject> OnConnect(const AAFwk::Want &want) override; 199 bool RegisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObserver) override; 207 bool UnregisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObserver) override;
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/standard/ |
H A D | ipc_client_manager.cpp | 63 dmRecipient_ = sptr<DmDeathRecipient>(new DmDeathRecipient()); in ClientInit() 87 sptr<IpcClientStub> listener = sptr<IpcClientStub>(new IpcClientStub()); in Init() 185 sptr<ISystemAbilityManager> systemAbilityManager = in SubscribeDMSAChangeListener()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | rdb_service_proxy.h | 35 explicit RdbServiceProxy(const sptr<IRemoteObject>& object); 41 int32_t InitNotifier(const RdbSyncerParam ¶m, sptr<IRemoteObject> notifier) override; 129 sptr<RdbNotifierStub> notifier_; 131 sptr<IRemoteObject> remote_;
|
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source/src/ |
H A D | dscreen_source_handler.cpp | 64 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitSource() 71 sptr<DScreenSourceLoadCallback> loadCallback(new DScreenSourceLoadCallback(params)); in InitSource() 96 void DScreenSourceHandler::FinishStartSA(const std::string ¶ms, const sptr<IRemoteObject> &remoteObject) in FinishStartSA() 246 sptr<IRemoteObject> remoteObject = remote.promote(); in OnRemoteSourceSvrDied()
|
/foundation/filemanagement/app_file_service/tests/mock/module_ipc/include/ |
H A D | svc_session_manager_mock.h | 27 virtual sptr<IServiceReverse> GetServiceReverseProxy() = 0; 39 virtual sptr<SvcBackupConnection> CreateBackupConnection(BundleName&) = 0; 71 MOCK_METHOD((sptr<IServiceReverse>), GetServiceReverseProxy, ()); 83 MOCK_METHOD(sptr<SvcBackupConnection>, CreateBackupConnection, (BundleName&));
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/device/ |
H A D | device_manager_agent.h | 84 int32_t AddRemoteReverseObj(uint32_t callingTokenId, sptr<IFileDfsListener> remoteReverseObj); 88 sptr<IFileDfsListener>& listener); 108 std::unordered_map<uint32_t, sptr<IFileDfsListener>> appCallConnect_; 136 sptr<StorageManager::IStorageManager> storageMgrProxy_;
|
/foundation/filemanagement/app_file_service/tests/mock/backup_ext/include/ |
H A D | ext_backup_mock.h | 30 const sptr<IRemoteObject> &) = 0; 32 virtual sptr<IRemoteObject> OnConnect(const AAFwk::Want &) = 0; 74 const sptr<IRemoteObject> &)); 76 MOCK_METHOD(sptr<IRemoteObject>, OnConnect, (const AAFwk::Want &));
|
/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_client_proxy.cpp | 27 static sptr<DhcpClientCallBackStub> g_dhcpClientCallBackStub = 28 sptr<DhcpClientCallBackStub>(new (std::nothrow)DhcpClientCallBackStub()); 30 DhcpClientProxy::DhcpClientProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IDhcpClient>(impl), in DhcpClientProxy() 97 const sptr<IDhcpClientCallBack> &callback) in RegisterDhcpClientCallBack()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/ |
H A D | mock_hdi_device.h | 52 MOCK_METHOD4(SetScreenClientBuffer, int32_t(uint32_t, const BufferHandle*, uint32_t, const sptr<SyncFence>&));
64 MOCK_METHOD2(Commit, int32_t(uint32_t, sptr<SyncFence>&));
99 MOCK_METHOD7(CommitAndGetReleaseFence, int32_t(uint32_t, sptr<SyncFence>&, int32_t&, bool&,
100 std::vector<uint32_t>&, std::vector<sptr<SyncFence>>&, bool));
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/ |
H A D | mock_hdi_device_systest.h | 52 MOCK_METHOD4(SetScreenClientBuffer, int32_t(uint32_t, const BufferHandle*, uint32_t, const sptr<SyncFence>&));
64 MOCK_METHOD2(Commit, int32_t(uint32_t, sptr<SyncFence>&));
100 MOCK_METHOD7(CommitAndGetReleaseFence, int32_t(uint32_t, sptr<SyncFence>&, int32_t&, bool&,
101 std::vector<uint32_t>&, std::vector<sptr<SyncFence>>&, bool));
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_manager_client_proxy_test.cpp | 35 sptr<IRemoteObjectMocker> iRemoteObjectMocker_; 36 sptr<ScreenSessionManagerClientProxy> screenSessionManagerClientProxy_; 197 sptr<DisplayInfo> displayInfo = new DisplayInfo(); in HWTEST_F() 198 std::map<DisplayId, sptr<DisplayInfo>> displayInfoMap { in HWTEST_F()
|
/foundation/window/window_manager/wm/src/ |
H A D | input_transfer_station.cpp | 102 void InputTransferStation::AddInputWindow(const sptr<Window>& window) in AddInputWindow() 117 sptr<WindowInputChannel> inputChannel = new WindowInputChannel(window); in AddInputWindow() 151 sptr<WindowInputChannel> inputChannel = nullptr; in RemoveInputWindow() 171 sptr<WindowInputChannel> InputTransferStation::GetInputChannel(uint32_t windowId) in GetInputChannel()
|
/foundation/graphic/graphic_surface/surface/src/ |
H A D | transact_surface_delegator_proxy.cpp | 18 TransactSurfaceDelegatorProxy::TransactSurfaceDelegatorProxy(const sptr<IRemoteObject> &impl) in TransactSurfaceDelegatorProxy()
|