Home
last modified time | relevance | path

Searched refs:IRemoteObject (Results 1 – 25 of 857) sorted by relevance

12345678910>>...35

/base/account/os_account/services/accountmgr/include/ability_manager_adapter/
Dability_manager_adapter.h49 const sptr<IRemoteObject> &callerToken,
80 const sptr<IRemoteObject> proxy,
83 const sptr<IRemoteObject> &callerToken,
86 class AbilityMgrDeathRecipient : public IRemoteObject::DeathRecipient {
90 void OnRemoteDied(const wptr<IRemoteObject>& remote) override;
95 sptr<IRemoteObject> GetAbilityManager();
96 void ResetProxy(const wptr<IRemoteObject>& remote);
101 sptr<IRemoteObject> proxy_;
102 sptr<IRemoteObject::DeathRecipient> deathRecipient_;
/base/account/os_account/services/accountmgr/test/mock/app_account/
Dmock_app_account_authenticator_stub.h26 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback);
28 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback);
30 …const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callba…
32 …const std::string &name, const std::vector<std::string> &labels, const sptr<IRemoteObject> &callba…
33 ErrCode SetProperties(const SetPropertiesOptions &options, const sptr<IRemoteObject> &callback);
34 ErrCode IsAccountRemovable(const std::string &name, const sptr<IRemoteObject> &callback);
35 …ountImplicitly(const CreateAccountImplicitlyOptions &options, const sptr<IRemoteObject> &callback);
37 const sptr<IRemoteObject> &callback);
Dmock_app_account_authenticator_stub.cpp23 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) in AddAccountImplicitly()
31 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) in Authenticate()
38 …const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callba… in VerifyCredential()
45 …const std::string &name, const std::vector<std::string> &labels, const sptr<IRemoteObject> &callba… in CheckAccountLabels()
52 const SetPropertiesOptions &options, const sptr<IRemoteObject> &callback) in SetProperties()
58 …ountAuthenticator::IsAccountRemovable(const std::string &name, const sptr<IRemoteObject> &callback) in IsAccountRemovable()
65 const CreateAccountImplicitlyOptions &options, const sptr<IRemoteObject> &callback) in CreateAccountImplicitly()
72 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) in Auth()
/base/account/os_account/services/accountmgr/include/appaccount/
Dapp_account_authenticator_proxy.h26 explicit AppAccountAuthenticatorProxy(const sptr<IRemoteObject> &object);
30 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) override;
33 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) override;
35 …const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callba…
37 …const std::string &name, const std::vector<std::string> &labels, const sptr<IRemoteObject> &callba…
38 …ErrCode SetProperties(const SetPropertiesOptions &options, const sptr<IRemoteObject> &callback) ov…
39 … ErrCode IsAccountRemovable(const std::string &name, const sptr<IRemoteObject> &callback) override;
41 … const CreateAccountImplicitlyOptions &options, const sptr<IRemoteObject> &callback) override;
43 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) override;
/base/location/interfaces/inner_api/include/
Dlocator_proxy.h39 explicit LocatorProxy(const sptr<IRemoteObject> &impl);
44 void RegisterSwitchCallback(const sptr<IRemoteObject> &callback, pid_t uid);
45 void UnregisterSwitchCallback(const sptr<IRemoteObject> &callback);
46 void RegisterGnssStatusCallback(const sptr<IRemoteObject> &callback, pid_t uid);
47 void UnregisterGnssStatusCallback(const sptr<IRemoteObject> &callback);
48 void RegisterNmeaMessageCallback(const sptr<IRemoteObject> &callback, pid_t uid);
49 void UnregisterNmeaMessageCallback(const sptr<IRemoteObject> &callback);
50 void RegisterCountryCodeCallback(const sptr<IRemoteObject> &callback, pid_t uid);
51 void UnregisterCountryCodeCallback(const sptr<IRemoteObject> &callback);
80 int SendRegisterMsgToRemote(const int msgId, const sptr<IRemoteObject>& callback, pid_t uid);
[all …]
Dlocator.h45 virtual bool RegisterSwitchCallback(const sptr<IRemoteObject>& callback, pid_t uid) = 0;
46 virtual bool UnregisterSwitchCallback(const sptr<IRemoteObject>& callback) = 0;
54 virtual bool RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid) = 0;
55 virtual bool UnregisterGnssStatusCallback(const sptr<IRemoteObject>& callback) = 0;
56 virtual bool RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t uid) = 0;
57 virtual bool UnregisterNmeaMessageCallback(const sptr<IRemoteObject>& callback) = 0;
58 virtual bool RegisterCountryCodeCallback(const sptr<IRemoteObject>& callback, pid_t uid) = 0;
59 virtual bool UnregisterCountryCodeCallback(const sptr<IRemoteObject>& callback) = 0;
85 virtual LocationErrCode RegisterSwitchCallbackV9(const sptr<IRemoteObject>& callback) = 0;
86 virtual LocationErrCode UnregisterSwitchCallbackV9(const sptr<IRemoteObject>& callback) = 0;
[all …]
Dlocator_impl.h46 bool RegisterSwitchCallback(const sptr<IRemoteObject>& callback, pid_t uid) override;
47 bool UnregisterSwitchCallback(const sptr<IRemoteObject>& callback) override;
48 bool RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid) override;
49 bool UnregisterGnssStatusCallback(const sptr<IRemoteObject>& callback) override;
50 bool RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t uid) override;
51 bool UnregisterNmeaMessageCallback(const sptr<IRemoteObject>& callback) override;
52 bool RegisterCountryCodeCallback(const sptr<IRemoteObject>& callback, pid_t uid) override;
53 bool UnregisterCountryCodeCallback(const sptr<IRemoteObject>& callback) override;
84 LocationErrCode RegisterSwitchCallbackV9(const sptr<IRemoteObject>& callback) override;
85 LocationErrCode UnregisterSwitchCallbackV9(const sptr<IRemoteObject>& callback) override;
[all …]
/base/account/os_account/frameworks/appaccount/native/include/
Diapp_account_authenticator.h30 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) = 0;
33 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) = 0;
35 …const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callba…
37 …const std::string &name, const std::vector<std::string> &labels, const sptr<IRemoteObject> &callba…
38 …virtual ErrCode SetProperties(const SetPropertiesOptions &options, const sptr<IRemoteObject> &call…
39 …virtual ErrCode IsAccountRemovable(const std::string &name, const sptr<IRemoteObject> &callback) =…
41 const CreateAccountImplicitlyOptions &options, const sptr<IRemoteObject> &callback) = 0;
43 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) = 0;
/base/powermgr/power_manager/services/native/include/
Drunning_lock_mgr.h36 using RunningLockMap = std::map<const sptr<IRemoteObject>, std::shared_ptr<RunningLockInner>>;
53 void Lock(const sptr<IRemoteObject>& remoteObj, const RunningLockInfo& runningLockInfo,
55 void UnLock(const sptr<IRemoteObject> remoteObj);
56 std::shared_ptr<RunningLockInner> CreateRunningLock(const sptr<IRemoteObject>& remoteObj,
58 bool ReleaseLock(const sptr<IRemoteObject> remoteObj);
61 …void SetWorkTriggerList(const sptr<IRemoteObject>& remoteObj, const WorkTriggerList& workTriggerLi…
64 std::shared_ptr<RunningLockInner> GetRunningLockInner(const sptr<IRemoteObject>& remoteObj);
74 bool IsUsed(const sptr<IRemoteObject>& remoteObj);
116 uint32_t Increase(const sptr<IRemoteObject>& remoteObj,
118 uint32_t Decrease(const sptr<IRemoteObject> remoteObj,
[all …]
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_authenticate_test.cpp52 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback);
55 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback);
57 …const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callba…
59 …const std::string &name, const std::vector<std::string> &labels, const sptr<IRemoteObject> &callba…
60 ErrCode SetProperties(const SetPropertiesOptions &options, const sptr<IRemoteObject> &callback);
61 ErrCode IsAccountRemovable(const std::string &name, const sptr<IRemoteObject> &callback);
63 const CreateAccountImplicitlyOptions &options, const sptr<IRemoteObject> &callback);
65 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback);
70 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) in AddAccountImplicitly()
78 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) in Authenticate()
[all …]
/base/location/services/location_locator/locator/include/
Dgnss_ability_proxy.h31 explicit GnssAbilityProxy(const sptr<IRemoteObject> &impl);
36 …LocationErrCode RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid) overrid…
37 LocationErrCode UnregisterGnssStatusCallback(const sptr<IRemoteObject>& callback) override;
38 …LocationErrCode RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t uid) overri…
39 LocationErrCode UnregisterNmeaMessageCallback(const sptr<IRemoteObject>& callback) override;
41 const sptr<IRemoteObject>& callback) override;
42 LocationErrCode UnregisterCachedCallback(const sptr<IRemoteObject>& callback) override;
/base/telephony/call_manager/frameworks/native/include/
Dcall_ability_callback_death_recipient.h23 class CallAbilityCallbackDeathRecipient : public IRemoteObject::DeathRecipient {
26 const std::function<void(const wptr<IRemoteObject> &object)> &deathCallback);
29 void OnRemoteDied(const wptr<IRemoteObject> &object) override;
32 std::function<void(const wptr<IRemoteObject> &object)> deathCallback_;
Dcellular_call_callback_death_recipient.h23 class CellularCallCallbackDeathRecipient : public IRemoteObject::DeathRecipient {
26 const std::function<void(const wptr<IRemoteObject> &object)> &deathCallback);
29 void OnRemoteDied(const wptr<IRemoteObject> &object) override;
32 std::function<void(const wptr<IRemoteObject> &object)> deathCallback_;
Dcall_manager_death_recipient.h23 class CallManagerDeathRecipient : public IRemoteObject::DeathRecipient {
25 …explicit CallManagerDeathRecipient(const std::function<void(const wptr<IRemoteObject> &object)> &d…
27 void OnRemoteDied(const wptr<IRemoteObject> &object) override;
30 std::function<void(const wptr<IRemoteObject> &object)> deathCallback_;
/base/account/os_account/services/accountmgr/test/mock/src/
Dmock_service_registry.cpp35 sptr<IRemoteObject> SystemAbilityManagerProxy::GetSystemAbility(int32_t systemAbilityId) in GetSystemAbility()
41 sptr<IRemoteObject> SystemAbilityManagerProxy::GetSystemAbility(int32_t systemAbilityId, in GetSystemAbility()
47 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbilityWrapper(int32_t code, MessageParce… in CheckSystemAbilityWrapper()
52 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId) in CheckSystemAbility()
57 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, const st… in CheckSystemAbility()
62 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, bool& is… in CheckSystemAbility()
114 …mAbilityManagerProxy::AddSystemAbility(int32_t systemAbilityId, const sptr<IRemoteObject>& ability, in AddSystemAbility()
126 const std::u16string& procName, const sptr<IRemoteObject>& procObject) in AddSystemProcess()
/base/notification/distributed_notification_service/services/ans/include/
Dremote_death_recipient.h25 class RemoteDeathRecipient : public IRemoteObject::DeathRecipient {
31 explicit RemoteDeathRecipient(std::function<void(const wptr<IRemoteObject> &)> callback) in RemoteDeathRecipient()
48 void OnRemoteDied(const wptr<IRemoteObject> &object) in OnRemoteDied()
56 std::function<void(const wptr<IRemoteObject> &)> callback_;
/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/
Ddump_manager_client.h37 class DumpManagerDeathRecipient : public IRemoteObject::DeathRecipient {
41 void OnRemoteDied(const wptr<IRemoteObject>& remote);
46 void ResetProxy(const wptr<IRemoteObject>& remote);
47 ErrCode OnDemandStart(sptr<ISystemAbilityManager> sam, sptr<IRemoteObject> &remoteObject);
50 sptr<IRemoteObject::DeathRecipient> deathRecipient_ {nullptr};
/base/notification/common_event_service/frameworks/core/include/
Dcommon_event_proxy.h31 explicit CommonEventProxy(const sptr<IRemoteObject> &object);
45 const sptr<IRemoteObject> &commonEventListener, const int32_t &userId) override;
59 … const sptr<IRemoteObject> &commonEventListener, const uid_t &uid, const int32_t &callerToken,
70 …const CommonEventSubscribeInfo &subscribeInfo, const sptr<IRemoteObject> &commonEventListener) ove…
78 int32_t UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) override;
110 …bool FinishReceiver(const sptr<IRemoteObject> &proxy, const int32_t &code, const std::string &rece…
/base/location/services/location_gnss/gnss/include/
Dgnss_ability_skeleton.h33 …virtual LocationErrCode RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid)…
34 virtual LocationErrCode UnregisterGnssStatusCallback(const sptr<IRemoteObject>& callback) = 0;
35 …virtual LocationErrCode RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t uid…
36 virtual LocationErrCode UnregisterNmeaMessageCallback(const sptr<IRemoteObject>& callback) = 0;
38 const sptr<IRemoteObject>& callback) = 0;
39 virtual LocationErrCode UnregisterCachedCallback(const sptr<IRemoteObject>& callback) = 0;
/base/security/access_token/services/test/mock/aafwk/
Dmock_service_registry.cpp62 sptr<IRemoteObject> SystemAbilityManagerProxy::GetSystemAbility(int32_t systemAbilityId) in GetSystemAbility()
68 sptr<IRemoteObject> remote = nullptr; in GetSystemAbility()
84 sptr<IRemoteObject> SystemAbilityManagerProxy::GetSystemAbility(int32_t systemAbilityId, in GetSystemAbility()
90 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbilityWrapper(int32_t code, MessageParce… in CheckSystemAbilityWrapper()
95 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId) in CheckSystemAbility()
100 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, const st… in CheckSystemAbility()
105 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, bool& is… in CheckSystemAbility()
157 …mAbilityManagerProxy::AddSystemAbility(int32_t systemAbilityId, const sptr<IRemoteObject>& ability, in AddSystemAbility()
169 const std::u16string& procName, const sptr<IRemoteObject>& procObject) in AddSystemProcess()
/base/security/device_security_level/interfaces/inner_api/src/standard/
Ddevice_security_level_loader.h36 sptr<IRemoteObject> LoadDslmService();
41 void OnLoadSystemAbilitySuccess(int32_t sid, const sptr<IRemoteObject> &object) override;
43 sptr<IRemoteObject> Promise();
46 std::promise<sptr<IRemoteObject>> promise_;
/base/location/test/location_gnss/mock/include/
Dmock_gnss_ability_stub.h39 …MOCK_METHOD(LocationErrCode, RegisterGnssStatusCallback, (const sptr<IRemoteObject>& callback, pid…
40 … MOCK_METHOD(LocationErrCode, UnregisterGnssStatusCallback, (const sptr<IRemoteObject>& callback));
41 …MOCK_METHOD(LocationErrCode, RegisterNmeaMessageCallback, (const sptr<IRemoteObject>& callback, pi…
42 …MOCK_METHOD(LocationErrCode, UnregisterNmeaMessageCallback, (const sptr<IRemoteObject>& callback));
44 const sptr<IRemoteObject>& callback));
45 MOCK_METHOD(LocationErrCode, UnregisterCachedCallback, (const sptr<IRemoteObject>& callback));
/base/security/access_token/services/privacymanager/include/active/
Dactive_status_callback_manager.h33 CallbackData(const std::vector<std::string>& permList, sptr<IRemoteObject> callback) in CallbackData()
38 sptr<IRemoteObject> callbackObject_;
48 const std::vector<std::string>& permList, const sptr<IRemoteObject>& callback);
49 int32_t RemoveCallback(const sptr<IRemoteObject>& callback);
57 sptr<IRemoteObject::DeathRecipient> callbackDeathRecipient_;
/base/security/access_token/services/accesstokenmanager/main/cpp/include/callback/
Dcallback_manager.h38 …CallbackRecord(std::shared_ptr<PermStateChangeScope> callbackScopePtr, sptr<IRemoteObject> callbac… in CallbackRecord()
43 sptr<IRemoteObject> callbackObject_;
53 …const std::shared_ptr<PermStateChangeScope>& callbackScopePtr, const sptr<IRemoteObject>& callback…
54 int32_t RemoveCallback(const sptr<IRemoteObject>& callback);
62 sptr<IRemoteObject::DeathRecipient> callbackDeathRecipient_;
/base/location/services/location_gnss/gnss/source/
Dgnss_ability_skeleton.cpp68 sptr<IRemoteObject> client = data.ReadObject<IRemoteObject>(); in OnRemoteRequest()
76 sptr<IRemoteObject> client = data.ReadObject<IRemoteObject>(); in OnRemoteRequest()
84 sptr<IRemoteObject> client = data.ReadObject<IRemoteObject>(); in OnRemoteRequest()
92 sptr<IRemoteObject> client = data.ReadObject<IRemoteObject>(); in OnRemoteRequest()
103 sptr<IRemoteObject> callback = data.ReadObject<IRemoteObject>(); in OnRemoteRequest()
111 sptr<IRemoteObject> callback = data.ReadObject<IRemoteObject>(); in OnRemoteRequest()

12345678910>>...35