/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_manager_service_test.cpp | 43 static sptr<DisplayManagerService> dms_; 48 sptr<DisplayManagerService> DisplayManagerServiceTest::dms_ = nullptr; 84 void OnDisplayStateChange(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo, 85 const std::map<DisplayId, sptr<DisplayInfo>>& displayInfoMap, DisplayStateChangeType type) override {}; 149 std::map<DisplayId, sptr<DisplayInfo>> displayInfoMap; in HWTEST_F() 150 sptr<DisplayInfo> displayInfo = new DisplayInfo(); in HWTEST_F() 152 sptr<DisplayChangeListenerTest> displayChangeListener = new DisplayChangeListenerTest(); in HWTEST_F() 188 sptr<SupportedScreenModes> info = new SupportedScreenModes(); in HWTEST_F() 189 sptr<AbstractScreen> absScreen = new AbstractScreen(dms_->abstractScreenController_, name, 0, 0); in HWTEST_F() 190 sptr<AbstractDispla in HWTEST_F() [all...] |
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/ |
H A D | js_pip_controller.cpp | 52 napi_value CreateJsPipControllerObject(napi_env env, sptr<PictureInPictureController>& pipController) in CreateJsPipControllerObject() 65 JsPipController::JsPipController(const sptr<PictureInPictureController>& pipController) in JsPipController() 353 auto pipWindowListener = sptr<JsPiPWindowListener>::MakeSptr(env, callbackRef); in RegisterListenerWithType() 395 void JsPipController::ProcessStateChangeRegister(const sptr<JsPiPWindowListener>& listener) in ProcessStateChangeRegister() 401 sptr<IPiPLifeCycle> thisListener(listener); in ProcessStateChangeRegister() 405 void JsPipController::ProcessActionEventRegister(const sptr<JsPiPWindowListener>& listener) in ProcessActionEventRegister() 411 sptr<IPiPActionObserver> thisListener(listener); in ProcessActionEventRegister() 415 void JsPipController::ProcessControlEventRegister(const sptr<JsPiPWindowListener>& listener) in ProcessControlEventRegister() 421 sptr<IPiPControlObserver> thisListener(listener); in ProcessControlEventRegister() 425 void JsPipController::ProcessStateChangeUnRegister(const sptr<JsPiPWindowListene [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_manager_lite_stub_test.cpp | 27 WSError SetSessionLabel(const sptr<IRemoteObject>& token, const std::string& label) override 31 WSError SetSessionIcon(const sptr<IRemoteObject>& token, const std::shared_ptr<Media::PixelMap>& icon) override 39 WSError PendingSessionToForeground(const sptr<IRemoteObject>& token) override 43 WSError PendingSessionToBackgroundForDelegator(const sptr<IRemoteObject>& token, bool shouldBackToCaller) override 47 WSError GetFocusSessionToken(sptr<IRemoteObject>& token) override 55 WSError RegisterSessionListener(const sptr<ISessionListener>& listener, bool isRecover = false) override 59 WSError UnRegisterSessionListener(const sptr<ISessionListener>& listener) override 81 WSError SetSessionContinueState(const sptr<IRemoteObject>& token, const ContinueState& continueState) override 86 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) override 121 const sptr<IWindowManagerAgen [all...] |
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/test/sourcemanagerunittest/ |
H A D | distributed_input_sourcemanager_test.cpp | 251 sptr<IRegisterDInputCallback> callback = nullptr; in HWTEST_F() 264 sptr<IRegisterDInputCallback> callback = nullptr; in HWTEST_F() 277 sptr<IRegisterDInputCallback> callback = nullptr; in HWTEST_F() 290 sptr<TestRegisterDInputCb> callback(new TestRegisterDInputCb()); in HWTEST_F() 312 sptr<TestRegisterDInputCb> callback(new TestRegisterDInputCb()); in HWTEST_F() 347 sptr<TestUnregisterDInputCb> callback(new TestUnregisterDInputCb()); in HWTEST_F() 367 sptr<TestUnregisterDInputCb> callback = nullptr; in HWTEST_F() 388 sptr<TestUnregisterDInputCb> callback(new TestUnregisterDInputCb()); in HWTEST_F() 400 sptr<TestUnregisterDInputCb> callback(new TestUnregisterDInputCb()); in HWTEST_F() 409 sptr<TestUnregisterDInputC in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | ui_ability_thread_test.cpp | 73 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 104 abilitythread->token_ = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 124 abilitythread->token_ = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 167 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 211 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 256 sptr<IRemoteObject> token = sptr<IRemoteObjec in HWTEST_F() [all...] |
/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | native_window_test.cpp | 82 static inline sptr<OHOS::IConsumerSurface> cSurface = nullptr; 83 static inline sptr<OHOS::IBufferProducer> producer = nullptr; 84 static inline sptr<OHOS::Surface> pSurface = nullptr; 85 static inline sptr<OHOS::SurfaceBuffer> sBuffer = nullptr; 103 sptr<IBufferConsumerListener> listener = new BufferConsumerListener(); in SetUpTestCase() 181 sptr<OHOS::Surface> surfaceTmp = nullptr; in HWTEST_F() 233 sptr<OHOS::IConsumerSurface> cSurfaceTmp = IConsumerSurface::Create(); in HWTEST_F() 234 sptr<IBufferConsumerListener> listener = new BufferConsumerListener(); in HWTEST_F() 236 sptr<OHOS::IBufferProducer> producerTmp = cSurfaceTmp->GetProducer(); in HWTEST_F() 237 sptr<OHO in HWTEST_F() [all...] |
/foundation/graphic/graphic_surface/surface/src/ |
H A D | buffer_queue_producer.cpp | 38 BufferQueueProducer::BufferQueueProducer(sptr<BufferQueue> bufferQueue) in BufferQueueProducer() 148 sptr<BufferExtraData> bedataimpl = new BufferExtraDataImpl; in RequestBufferRemote() 191 std::vector<sptr<BufferExtraData>> bedataimpls; in RequestBuffersRemote() 204 sptr<BufferExtraData> data = new BufferExtraDataImpl; in RequestBuffersRemote() 234 sptr<IRemoteObject> token = arguments.ReadRemoteObject(); in GetProducerInitInfoRemote() 257 sptr<BufferExtraData> bedataimpl = new BufferExtraDataImpl; in CancelBufferRemote() 275 sptr<BufferExtraData> bedataimpl = new BufferExtraDataImpl; in FlushBufferRemote() 295 sptr<SyncFence> fence = SyncFence::ReadFromMessageParcel(arguments); in FlushBufferRemote() 320 std::vector<sptr<BufferExtraData>> bedataimpls; in FlushBuffersRemote() 321 std::vector<sptr<SyncFenc in FlushBuffersRemote() [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/ |
H A D | ability_debug_response_interface.h | 31 virtual void OnAbilitysDebugStarted(const std::vector<sptr<IRemoteObject>> &tokens) = 0; 37 virtual void OnAbilitysDebugStoped(const std::vector<sptr<IRemoteObject>> &tokens) = 0; 44 virtual void OnAbilitysAssertDebugChange(const std::vector<sptr<IRemoteObject>> &tokens, bool isAssertDebug) = 0;
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/ |
H A D | mission_changed_notify.h | 28 static void NotifySnapshot(const sptr<IRemoteObject>& remoteObject, const std::u16string& deviceId, 30 static void NotifyMissionsChanged(const sptr<IRemoteObject>& remoteObject, const std::u16string& deviceId); 31 static void NotifyNetDisconnect(const sptr<IRemoteObject>& remoteObject, const std::u16string& deviceId,
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_second_test/mock/include/ |
H A D | mock_ability_debug_response_stub.h | 30 MOCK_METHOD1(OnAbilitysDebugStarted, void(const std::vector<sptr<IRemoteObject>> &tokens)); 31 MOCK_METHOD1(OnAbilitysDebugStoped, void(const std::vector<sptr<IRemoteObject>> &tokens)); 32 MOCK_METHOD2(OnAbilitysAssertDebugChange, void(const std::vector<sptr<IRemoteObject>> &, bool));
|
/foundation/ability/ability_runtime/test/unittest/ability_debug_response_stub_test/ |
H A D | mock_ability_debug_response_stub.h | 30 MOCK_METHOD1(OnAbilitysDebugStarted, void(const std::vector<sptr<IRemoteObject>> &tokens)); 31 MOCK_METHOD1(OnAbilitysDebugStoped, void(const std::vector<sptr<IRemoteObject>> &tokens)); 32 MOCK_METHOD2(OnAbilitysAssertDebugChange, void(const std::vector<sptr<IRemoteObject>> &, bool));
|
/foundation/ability/ability_runtime/services/abilitymgr/include/utils/ |
H A D | window_options_utils.h | 42 const sptr<IRemoteObject>& callerToken, const StartOptions& startOptions); 58 static void UpdateWantToSetDisplayID(Want &want, const sptr<IRemoteObject> &callerToken); 67 const sptr<IRemoteObject> &callerToken);
|
/foundation/ability/ability_runtime/test/unittest/multi_app_utils_test/src/ |
H A D | mock_app_mgr_utils.cpp | 22 sptr<OHOS::AppExecFwk::IAppMgr> AppMgrUtil::appMgr_ = nullptr; 24 OHOS::sptr<AppExecFwk::IAppMgr> AppMgrUtil::GetAppMgr() in GetAppMgr() 30 sptr<AppExecFwk::MockAppMgrService> mockAppMgr(new AppExecFwk::MockAppMgrService()); in GetAppMgr()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/ipc_core/ |
H A D | iremote_object.cpp | 30 bool IRemoteObject::Marshalling(Parcel &parcel, const sptr<IRemoteObject> &object) in Marshalling() 35 sptr<IRemoteObject> IRemoteObject::Unmarshalling(Parcel &parcel) in Unmarshalling() 45 sptr<IRemoteBroker> IRemoteObject::AsInterface() in AsInterface()
|
/foundation/multimedia/av_codec/services/services/sa_avcodec/ipc/ |
H A D | avcodec_service_proxy.h | 25 explicit AVCodecServiceProxy(const sptr<IRemoteObject> &impl); 29 const sptr<IRemoteObject> &listener, sptr<IRemoteObject> &object) override;
|
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/ |
H A D | metadata_output_impl.h | 25 explicit Camera_MetadataOutput(OHOS::sptr<OHOS::CameraStandard::MetadataOutput> &innerMetadataOutput); 38 OHOS::sptr<OHOS::CameraStandard::MetadataOutput> GetInnerMetadataOutput(); 41 OHOS::sptr<OHOS::CameraStandard::MetadataOutput> innerMetadataOutput_;
|
/foundation/multimedia/player_framework/services/services/sa_media/ipc/ |
H A D | media_service_proxy.h | 26 explicit MediaServiceProxy(const sptr<IRemoteObject> &impl); 29 sptr<IRemoteObject> GetSubSystemAbility(IStandardMediaService::MediaSystemAbility subSystemId, 30 const sptr<IRemoteObject> &listener) override;
|
/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/mock/src/ |
H A D | mock_service_registry.cpp | 27 sptr<ISystemAbilityManager> SystemAbilityManagerClient::GetSystemAbilityManager() in GetSystemAbilityManager() 36 sptr<IRemoteObject> registryObject = IPCSkeleton::GetContextObject(); in GetSystemAbilityManager() 41 sptr<IRemoteObject> SystemAbilityManagerClient::GetRegistryRemoteObject() in GetRegistryRemoteObject()
|
/foundation/systemabilitymgr/samgr/services/lsamgr/include/ |
H A D | local_abilitys.h | 29 void AddAbility(int32_t systemAbilityId, const sptr<IRemoteObject>& ability); 30 sptr<IRemoteObject> GetAbility(int32_t systemAbilityId); 38 std::map<int32_t, sptr<IRemoteObject>> localSAMap_;
|
/foundation/window/window_manager/utils/include/ |
H A D | surface_reader_handler_impl.h | 27 bool OnImageAvailable(sptr<Media::PixelMap> pixelMap) override;
30 sptr<Media::PixelMap> GetPixelMap();
34 sptr<Media::PixelMap> pixelMap_ = nullptr;
|
/foundation/communication/ipc/interfaces/innerkits/c_api/include/ |
H A D | ipc_inner_object.h | 32 OHOS::sptr<OHOS::IRemoteObject> remote; 36 OHOS::sptr<OHOS::IRemoteObject> remote; 39 OHIPCRemoteProxy* CreateIPCRemoteProxy(OHOS::sptr<OHOS::IRemoteObject>& remote);
|
/foundation/communication/ipc/interfaces/innerkits/ipc_core/include/ |
H A D | peer_holder.h | 28 PeerHolder(const sptr<IRemoteObject> &object); 37 sptr<IRemoteObject> Remote(); 41 const sptr<IRemoteObject> remoteObject_;
|
/foundation/distributedhardware/device_manager/common/include/ipc/model/ |
H A D | ipc_register_listener_req.h | 44 sptr<IRemoteObject> GetListener() const in GetListener() 54 void SetListener(sptr<IRemoteObject> listener) in SetListener() 64 sptr<IRemoteObject> listener_;
|
/foundation/distributedhardware/distributed_audio/services/audiomanager/test/unittest/sourcemanager/include/ |
H A D | daudio_source_mgr_test.h | 41 sptr<DAudioIpcCallback> dAudioIpcCallback_ = nullptr; 42 sptr<IRemoteObject> remoteObject_ = nullptr; 43 sptr<DAudioIpcCallbackProxy> ipcCallbackProxy_ = nullptr;
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/ipc/ |
H A D | download_asset_callback_manager.h | 29 void AddCallback(const sptr<IDownloadAssetCallback> &callback); 33 sptr<IDownloadAssetCallback> callbackProxy_; 34 sptr<SvcDeathRecipient> deathRecipient_;
|