/foundation/window/window_manager/wm/src/ |
H A D | window_scene.cpp | 57 sptr<IWindowLifeCycle>& listener, sptr<WindowOption> option) in Init() 61 option = sptr<WindowOption>::MakeSptr(); in Init() 88 sptr<IWindowLifeCycle>& listener, sptr<WindowOption> option, const sptr<IRemoteObject>& iSession, in Init() 120 sptr<Window> WindowScene::CreateWindow(const std::string& windowName, sptr<WindowOption>& option) const in CreateWindow() 134 sptr<Window> WindowScene::GetMainWindow() const in GetMainWindow() 140 std::vector<sptr<Windo [all...] |
/base/usb/usb_manager/test/native/mock/src/ |
H A D | usb_bulkcallback_mock_test.cpp | 49 sptr<MockUsbImpl> UsbBulkcallbackMockTest::mockUsbImpl_ = nullptr;
50 sptr<UsbService> UsbBulkcallbackMockTest::usbSrv_ = nullptr;
54 int32_t UsbBulkcallbackMockTest::InitAshmemOne(sptr<Ashmem> &asmptr, int32_t asmSize, uint8_t flg)
in InitAshmemOne() 96 sptr<UsbServiceSubscriber> iSubscriber = new UsbServiceSubscriber();
in SetUpTestCase() 141 sptr<IUsbInterface> usbd = IUsbInterface::Get();
in TearDownTestCase() 157 * sptr<IRemoteObject> &cb)
163 sptr<UsbCallbackTest> cb = new UsbCallbackTest();
in HWTEST_F() 180 * sptr<IRemoteObject> &cb)
186 sptr<UsbCallbackTest> cb = new UsbCallbackTest();
in HWTEST_F() 203 * sptr<IRemoteObjec [all...] |
/base/location/test/fuzztest/locator/geoconvertservice_fuzzer/ |
H A D | geoconvertservice_fuzzer.cpp | 96 auto service1 = sptr<GeoConvertService>(new (std::nothrow) GeoConvertService()); in GeoConvertServiceFuzzTest001() 113 auto service2 = sptr<GeoConvertService>(new (std::nothrow) GeoConvertService()); in GeoConvertServiceFuzzTest002() 130 auto service3 = sptr<GeoConvertService>(new (std::nothrow) GeoConvertService()); in GeoConvertServiceFuzzTest003() 147 auto service4 = sptr<GeoConvertService>(new (std::nothrow) GeoConvertService()); in GeoConvertServiceFuzzTest004() 164 auto service5 = sptr<GeoConvertService>(new (std::nothrow) GeoConvertService()); in GeoConvertServiceFuzzTest005() 181 auto service6 = sptr<GeoConvertService>(new (std::nothrow) GeoConvertService()); in GeoConvertServiceFuzzTest006()
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_core_proxy.cpp | 27 InputMethodCoreProxy::InputMethodCoreProxy(const OHOS::sptr<OHOS::IRemoteObject> &impl) in InputMethodCoreProxy() 34 int32_t InputMethodCoreProxy::InitInputControlChannel(const sptr<IInputControlChannel> &inputControlChannel) in InitInputControlChannel() 62 int32_t InputMethodCoreProxy::OnConnectSystemCmd(const sptr<IRemoteObject> &channel, sptr<IRemoteObject> &agent) 90 int32_t InputMethodCoreProxy::StopInput(const sptr<IRemoteObject> &channel) 110 void InputMethodCoreProxy::OnClientInactive(const sptr<IRemoteObject> &channel)
|
/base/powermgr/power_manager/frameworks/native/ |
H A D | running_lock.cpp | 61 sptr<IPowerMgr> proxy = proxy_.promote(); in Create() 79 sptr<IPowerMgr> proxy = proxy_.promote(); in UpdateWorkSource() 97 sptr<IPowerMgr> proxy = proxy_.promote(); in Lock() 120 sptr<IPowerMgr> proxy = proxy_.promote(); in UnLock() 135 sptr<IPowerMgr> proxy = proxy_.promote(); in IsUsed() 147 sptr<IPowerMgr> proxy = proxy_.promote(); in Release()
|
/base/powermgr/power_manager/services/zidl/src/shutdown/ |
H A D | shutdown_stub_delegator.cpp | 64 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in RegisterTakeOverShutdownCallback() 75 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in UnRegisterTakeOverShutdownCallback() 86 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in RegisterAsyncShutdownCallback() 97 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in UnRegisterAsyncShutdownCallback() 108 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in RegisterSyncShutdownCallback() 119 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in UnRegisterSyncShutdownCallback()
|
H A D | shutdown_proxy_delegator.cpp | 24 const sptr<ITakeOverShutdownCallback>& callback, ShutdownPriority priority) in RegisterShutdownCallback() 47 void ShutdownProxyDelegator::UnRegisterShutdownCallback(const sptr<ITakeOverShutdownCallback>& callback) in UnRegisterShutdownCallback() 70 const sptr<IAsyncShutdownCallback>& callback, ShutdownPriority priority) in RegisterShutdownCallback() 93 void ShutdownProxyDelegator::UnRegisterShutdownCallback(const sptr<IAsyncShutdownCallback>& callback) in UnRegisterShutdownCallback() 116 const sptr<ISyncShutdownCallback>& callback, ShutdownPriority priority) in RegisterShutdownCallback() 139 void ShutdownProxyDelegator::UnRegisterShutdownCallback(const sptr<ISyncShutdownCallback>& callback) in UnRegisterShutdownCallback()
|
/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | thermal_client_test.cpp | 100 sptr<IThermalTempCallback> tempCallback = nullptr; in HWTEST_F() 103 sptr<MockThermalRemoteObject> sptrRemoteObj = new MockThermalRemoteObject(); in HWTEST_F() 109 sptr<IThermalLevelCallback> levelCallback = nullptr; in HWTEST_F() 116 sptr<IThermalActionCallback> actionCallback = nullptr; in HWTEST_F() 136 sptr<ThermalSrvSensorInfo> info = new ThermalSrvSensorInfo(); in HWTEST_F() 160 sptr<IThermalLevelCallback> callback = new ThermalMgrListener::ThermalLevelCallback(nullptr); in HWTEST_F()
|
/base/notification/common_event_service/services/include/ |
H A D | common_event_subscriber_manager.h | 34 sptr<IRemoteObject> commonEventListener; 91 const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime, 100 int RemoveSubscriber(const sptr<IRemoteObject> &commonEventListener); 116 std::shared_ptr<EventSubscriberRecord> GetSubscriberRecord(const sptr<IRemoteObject> &commonEventListener); 213 int RemoveSubscriberRecordLocked(const sptr<IRemoteObject> &commonEventListener); 246 sptr<IRemoteObject::DeathRecipient> death_;
|
H A D | inner_common_event_manager.h | 56 const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime, const pid_t &pid, const uid_t &uid, 58 const sptr<IRemoteObject> &service = nullptr); 73 const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime, const pid_t &pid, const uid_t &uid, 83 bool UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener); 114 const sptr<IRemoteObject> &proxy, const int32_t &code, const std::string &receiverData, const bool &abortEvent); 186 void SendUnSubscribeHiSysEvent(const sptr<IRemoteObject> &commonEventListener);
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | system_event_observer.cpp | 60 sptr<NotificationBundleOption> SystemEventObserver::GetBundleOption(AAFwk::Want want) in GetBundleOption() 66 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(bundleName, uid); in GetBundleOption() 82 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent() 119 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent() 146 sptr<NotificationBundleOption> bundleOption = GetBundleOption(data.GetWant()); in OnBundleAddEventInner() 156 sptr<NotificationBundleOption> bundleOption = GetBundleOption(data.GetWant()); in OnBundleUpdateEventInner()
|
H A D | advanced_notification_subscriber_service.cpp | 45 const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &info) in Subscribe() 84 ErrCode AdvancedNotificationService::SubscribeSelf(const sptr<AnsSubscriberInterface> &subscriber) in SubscribeSelf() 88 sptr<NotificationSubscribeInfo> sptrInfo = new (std::nothrow) NotificationSubscribeInfo(); in SubscribeSelf() 135 const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &info) in Unsubscribe()
|
/base/security/access_token/interfaces/innerkits/accesstoken/src/ |
H A D | accesstoken_manager_client.h | 109 sptr<PermissionStateChangeCallback>& callback); 113 sptr<IAccessTokenManager> proxy_ = nullptr; 114 sptr<AccessTokenDeathRecipient> serviceDeathObserver_ = nullptr; 116 sptr<IAccessTokenManager> GetProxy(); 119 std::map<std::shared_ptr<PermStateChangeCallbackCustomize>, sptr<PermissionStateChangeCallback>> callbackMap_; 124 sptr<TokenSyncCallback> tokenSyncCallback_ = nullptr;
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/callback/ |
H A D | accesstoken_callback_proxys.cpp | 37 PermissionStateChangeCallbackProxy::PermissionStateChangeCallbackProxy(const sptr<IRemoteObject>& impl) in PermissionStateChangeCallbackProxy() 61 sptr<IRemoteObject> remote = Remote(); in PermStateChangeCallback() 77 TokenSyncCallbackProxy::TokenSyncCallbackProxy(const sptr<IRemoteObject>& impl) in TokenSyncCallbackProxy() 103 sptr<IRemoteObject> remote = Remote(); in GetRemoteHapTokenInfo() 134 sptr<IRemoteObject> remote = Remote(); in DeleteRemoteHapTokenInfo() 169 sptr<IRemoteObject> remote = Remote(); in UpdateRemoteHapTokenInfo()
|
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/ |
H A D | hks_request.cpp | 37 static sptr<IRemoteObject> GetHksProxy()
in GetHksProxy() 42 sptr<IRemoteObject> hksProxy = registry->GetSystemAbility(SA_ID_KEYSTORE_SERVICE);
in GetHksProxy() 81 sptr<IRemoteObject> hksProxy, sptr<Security::Hks::HksStub> hksCallback, struct HksBlob *outBlob)
in HksSendAnonAttestRequestAndWaitAsyncReply() 152 sptr<IRemoteObject> hksProxy = GetHksProxy();
in HksSendRequest() 156 sptr<Security::Hks::HksStub> hksCallback = new (std::nothrow) Security::Hks::HksStub();
in HksSendRequest()
|
/base/telephony/sms_mms/interfaces/innerkits/ |
H A D | i_sms_service_interface.h | 135 const std::u16string text, const sptr<ISendShortMessageCallback> &sendCallback, 136 const sptr<IDeliveryShortMessageCallback> &deliverCallback, bool isMmsApp = true) = 0; 151 const std::u16string text, const sptr<ISendShortMessageCallback> &sendCallback, 152 const sptr<IDeliveryShortMessageCallback> &deliverCallback) = 0; 169 uint16_t port, const uint8_t *data, uint16_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, 170 const sptr<IDeliveryShortMessageCallback> &deliverCallback) = 0;
|
/base/telephony/call_manager/services/telephony_interaction/src/ |
H A D | voip_call_connection.cpp | 52 sptr<ISystemAbilityManager> managerPtr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Init() 86 sptr<ISystemAbilityManager> managerPtr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetCallManagerProxy() 91 sptr<IVoipCallManagerService> voipCallManagerInterfacePtr = nullptr; in GetCallManagerProxy() 92 sptr<IRemoteObject> iRemoteObjectPtr = managerPtr->GetSystemAbility(systemAbilityId_); in GetCallManagerProxy() 141 int32_t VoipCallConnection::RegisterCallManagerCallBack(const sptr<ICallStatusCallback> &callback) in RegisterCallManagerCallBack() 196 std::list<sptr<CallBase>> allCallList = CallObjectManager::GetAllCallList(); in ClearVoipCall()
|
/base/telephony/cellular_data/services/src/apn_manager/ |
H A D | apn_item.cpp | 62 sptr<ApnItem> ApnItem::MakeDefaultApn(const std::string &apnType) in MakeDefaultApn() 64 sptr<ApnItem> apnItem = std::make_unique<ApnItem>().release(); in MakeDefaultApn() 88 sptr<ApnItem> ApnItem::MakeApn(const PdpProfile &apnData) in MakeApn() 90 sptr<ApnItem> apnItem = std::make_unique<ApnItem>().release(); in MakeApn() 138 sptr<ApnItem> ApnItem::BuildOtherApnAttributes(sptr<ApnItem> &apnItem, const PdpProfile &apnData) in BuildOtherApnAttributes()
|
/base/telephony/state_registry/frameworks/cj/src/ |
H A D | telephony_observer_utils.h | 184 std::vector<sptr<SignalInformation>> signalInfoList_ {}; 185 SignalUpdateInfo(int32_t slotId, std::vector<sptr<SignalInformation>> infoList) in SignalUpdateInfo() 190 sptr<NetworkState> networkState_ = nullptr; 191 NetworkStateUpdateInfo(int32_t slotId, sptr<NetworkState> state) : UpdateInfo(slotId), networkState_(state) {} in NetworkStateUpdateInfo() 203 std::vector<sptr<CellInformation>> cellInfoVec_ {}; 204 CellInfomationUpdate(int32_t slotId, const std::vector<sptr<CellInformation>> &cellInfo) in CellInfomationUpdate()
|
/base/web/webview/sa/src/ |
H A D | app_fwk_update_client.cpp | 56 void AppFwkUpdateClient::SetFwkUpdate(const sptr<IRemoteObject>& remoteObject) in SetFwkUpdate() 65 sptr<IAppFwkUpdateService> AppFwkUpdateClient::GetFwkUpdate() in GetFwkUpdate() 71 sptr<IAppFwkUpdateService> AppFwkUpdateClient::GetFwkUpdateProxy() in GetFwkUpdateProxy() 134 sptr<AppFwkUpdateLoadCallback> loadCallback = new (std::nothrow) AppFwkUpdateLoadCallback(); in LoadFwkService() 157 void AppFwkUpdateClient::OnLoadSystemAbilitySuccess(const sptr<IRemoteObject>& remoteObject) in OnLoadSystemAbilitySuccess() 199 sptr<IRemoteObject> remotePromote = remoteObject.promote(); in AppFwkUpdateOnRemoteDied()
|
/base/web/webview/test/unittest/nweb_surface_adapter_test/ |
H A D | nweb_surface_adapter_test.cpp | 50 sptr<Surface> g_surface = nullptr; 51 sptr<SurfaceBuffer> g_surfaceBuffer = nullptr; 105 sptr<Surface> surface = nullptr; in HWTEST_F() 118 sptr<SurfaceBuffer> surfaceBuffer = surfaceAdapter.RequestBuffer(g_surface, DEFAULT_WIDTH, DEFAULT_HEIGHT); in HWTEST_F() 120 sptr<Surface> surfaceInfo = nullptr; in HWTEST_F() 170 sptr<Surface> surface = nullptr; in HWTEST_F()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/continuation/remote_register_service/ |
H A D | continuation_connector.cpp | 24 sptr<ContinuationConnector> ContinuationConnector::instance_ = nullptr; 41 sptr<ContinuationConnector> ContinuationConnector::GetInstance(const std::weak_ptr<Context> &context) in GetInstance() 46 instance_ = sptr<ContinuationConnector>(new (std::nothrow) ContinuationConnector(context)); in GetInstance() 62 const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) in OnAbilityConnectDone() 238 sptr<IRemoteObject> token = pcontext->GetToken(); in Register() 244 sptr<ContinuationDeviceCallbackProxy> callBackSptr(new (std::nothrow) ContinuationDeviceCallbackProxy(callback)); in Register()
|
/foundation/ability/ability_runtime/test/fuzztest/missionlistmanagerfourth_fuzzer/ |
H A D | missionlistmanagerfourth_fuzzer.cpp | 41 const sptr<IRemoteObject> &remoteObject, 45 sptr<IRemoteObject> AsObject() override { return {}; } 57 sptr<Token> token = nullptr; in GetFuzzAbilityRecord() 70 sptr<Token> GetFuzzAbilityToken() in GetFuzzAbilityToken() 72 sptr<Token> token = nullptr; in GetFuzzAbilityToken() 93 sptr<IRemoteObject> token = GetFuzzAbilityToken(); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/unittest/window_focus_changed_listener_test/ |
H A D | window_focus_changed_listener_test.cpp | 68 sptr<Rosen::FocusChangeInfo> focusChangeInfo; in HWTEST_F() 85 sptr<Rosen::FocusChangeInfo> focusChangeInfo; in HWTEST_F() 107 sptr<Rosen::FocusChangeInfo> focusChangeInfo; in HWTEST_F() 127 sptr<Rosen::FocusChangeInfo> focusChangeInfo; in HWTEST_F() 144 sptr<Rosen::FocusChangeInfo> focusChangeInfo; in HWTEST_F() 166 sptr<Rosen::FocusChangeInfo> focusChangeInfo; in HWTEST_F()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/ |
H A D | dms_continue_recv_manager.h | 83 int32_t RegisterOnListener(const std::string& type, const sptr<IRemoteObject>& obj); 84 int32_t RegisterOffListener(const std::string& type, const sptr<IRemoteObject>& obj); 85 void NotifyDied(const sptr<IRemoteObject>& obj); 107 void NotifyRecvBroadcast(const sptr<IRemoteObject>& obj, const currentIconInfo& continueInfo, const int32_t state); 111 sptr<DistributedMissionDiedListener> missionDiedListener_; 113 std::map<std::string, std::vector<sptr<IRemoteObject>>> registerOnListener_;
|