/ohos5.0/foundation/ai/ai_engine/services/client/communication_adapter/source/ |
H A D | sa_client_proxy.cpp | 54 if (owner == nullptr) { in Callback() 67 if (owner == nullptr) { in CallbackBuff() 177 return owner.retCode; in DestroyEngineProxy() 221 return owner.retCode; in SyncExecAlgorithmProxy() 242 return owner.retCode; in AsyncExecuteAlgorithmProxy() 273 return owner.retCode; in LoadAlgorithmProxy() 295 return owner.retCode; in UnloadAlgorithmProxy() 316 return owner.retCode; in SetOptionProxy() 350 return owner.retCode; in GetOptionProxy() 380 return owner.retCode; in RegisterCallbackProxy() [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_device_proxy_lite.cpp | 384 if (owner.exception) { in EnableWifi() 417 if (owner.exception) { in DisableWifi() 452 if (owner.exception) { in InitWifiProtect() 487 if (owner.exception) { in GetWifiProtectRef() 521 if (owner.exception) { in PutWifiProtectRef() 644 if (owner.exception) { in AddDeviceConfig() 679 if (owner.exception) { in UpdateDeviceConfig() 713 if (owner.exception) { in RemoveDevice() 746 if (owner.exception) { in RemoveAllDevice() 781 if (owner.exception) { in GetDeviceConfigs() [all …]
|
H A D | wifi_scan_proxy_lite.cpp | 244 if (owner.exception) { in SetScanControlInfo() 247 return ErrCode(owner.retCode); in SetScanControlInfo() 277 if (owner.exception) { in Scan() 318 if (owner.exception) { in AdvanceScan() 343 owner.variable = &bOpen; in IsWifiClosedScan() 353 if (owner.exception) { in IsWifiClosedScan() 377 owner.variable = &result; in GetScanInfoList() 387 if (owner.exception) { in GetScanInfoList() 436 if (owner.exception) { in RegisterCallBack() 461 owner.variable = &features; in GetSupportedFeatures() [all …]
|
/ohos5.0/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_server_proxy_lite.cpp | 193 if (owner.exception) { in RegisterDhcpServerCallBack() 231 if (owner.exception) { in StartDhcpServer() 235 return ErrCode(owner.retCode); in StartDhcpServer() 269 if (owner.exception) { in StopDhcpServer() 314 if (owner.exception) { in SetDhcpRange() 354 if (owner.exception) { in SetDhcpName() 398 if (owner.exception) { in PutDhcpRange() 436 if (owner.exception) { in RemoveAllDhcpRange() 474 if (owner.exception) { in UpdateLeasesTime() 518 if (owner.exception) { in RemoveDhcpRange() [all …]
|
H A D | dhcp_client_proxy_lite.cpp | 60 static int IpcCallback(void *owner, int code, IpcIo *reply) in IpcCallback() argument 64 code, owner == nullptr, reply == nullptr); in IpcCallback() 68 struct IpcOwner *data = (struct IpcOwner *)owner; in IpcCallback() 122 &req, &owner, IpcCallback); in RegisterDhcpClientCallBack() 128 if (owner.exception) { in RegisterDhcpClientCallBack() 161 &owner, IpcCallback); in StartDhcpClient() 167 if (owner.exception) { in StartDhcpClient() 200 &owner, IpcCallback); in SetConfiguration() 206 if (owner.exception) { in SetConfiguration() 237 &owner, IpcCallback); in StopDhcpClient() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/connectionobs_manager/src/ |
H A D | connection_observer_stub_impl.cpp | 24 auto owner = owner_.lock(); in OnExtensionConnected() local 25 if (!owner) { in OnExtensionConnected() 28 owner->HandleExtensionConnected(data); in OnExtensionConnected() 33 auto owner = owner_.lock(); in OnExtensionDisconnected() local 34 if (!owner) { in OnExtensionDisconnected() 43 auto owner = owner_.lock(); in OnDlpAbilityOpened() local 44 if (!owner) { in OnDlpAbilityOpened() 47 owner->HandleDlpAbilityOpened(data); in OnDlpAbilityOpened() 52 auto owner = owner_.lock(); in OnDlpAbilityClosed() local 53 if (!owner) { in OnDlpAbilityClosed() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | attachment_container.cpp | 68 const auto owner = owner_.lock(); in Replace() local 88 if (!owner) { in Initialize() 91 owner_ = owner; in Initialize() 108 if (const auto owner = owner_.lock()) { in Attach() local 112 if (current == owner) { in Attach() 140 if (current != owner) { in Detach() 179 attachment->Detaching(owner); in RemovedFromContainer() 191 const auto owner = owner_.lock(); in RemoveAllAttachments() local 196 att->Detaching(owner); in RemoveAllAttachments() 210 if (const auto owner = owner_.lock(); attachment && owner) { in AlreadyAttached() local [all …]
|
/ohos5.0/base/account/os_account/frameworks/appaccount/native/src/ |
H A D | app_account_manager.cpp | 32 owner, authType, options, callback); in AddAccountImplicitly() 40 ErrCode AppAccountManager::CreateAccountImplicitly(const std::string &owner, in CreateAccountImplicitly() argument 43 return AppAccount::GetInstance().CreateAccountImplicitly(owner, options, callback); in CreateAccountImplicitly() 117 return AppAccount::GetInstance().GetOAuthToken(name, owner, authType, token); in GetOAuthToken() 123 return AppAccount::GetInstance().GetAuthToken(name, owner, authType, token); in GetAuthToken() 141 return AppAccount::GetInstance().DeleteAuthToken(name, owner, authType, token); in DeleteAuthToken() 174 return AppAccount::GetInstance().GetAuthenticatorInfo(owner, info); in GetAuthenticatorInfo() 180 return AppAccount::GetInstance().GetAllOAuthTokens(name, owner, tokenInfos); in GetAllOAuthTokens() 202 return AppAccount::GetInstance().GetAllAccounts(owner, appAccounts); in GetAllAccounts() 211 const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in QueryAllAccessibleAccounts() argument [all …]
|
H A D | app_account.cpp | 108 return proxy->CreateAccountImplicitly(owner, options, callback); in CreateAccountImplicitly() 279 return proxy->GetOAuthToken(name, owner, authType, token); in GetOAuthToken() 292 return proxy->GetAuthToken(name, owner, authType, token); in GetAuthToken() 319 return proxy->DeleteOAuthToken(name, owner, authType, token); in DeleteOAuthToken() 333 return proxy->DeleteAuthToken(name, owner, authType, token); in DeleteAuthToken() 411 return proxy->GetAuthenticatorInfo(owner, info); in GetAuthenticatorInfo() 423 return proxy->GetAllOAuthTokens(name, owner, tokenInfos); in GetAllOAuthTokens() 469 return proxy->GetAllAccounts(owner, appAccounts); in GetAllAccounts() 569 return proxy->QueryAllAccessibleAccounts(owner, appAccounts); in QueryAllAccessibleAccounts() 608 for (auto owner : owners) { in SubscribeAppAccount() local [all …]
|
/ohos5.0/base/account/os_account/services/accountmgr/src/appaccount/ |
H A D | app_account_manager_service.cpp | 70 request.owner = owner; in AddAccountImplicitly() 102 request.owner = owner; in CreateAccountImplicitly() 296 request.owner = owner; in Authenticate() 316 request.owner = owner; in GetOAuthToken() 330 request.owner = owner; in GetAuthToken() 359 request.owner = owner; in DeleteOAuthToken() 374 request.owner = owner; in DeleteAuthToken() 458 request.owner = owner; in GetAuthenticatorInfo() 471 request.owner = owner; in GetAllOAuthTokens() 632 request.owner = owner; in VerifyCredential() [all …]
|
H A D | app_account_subscribe_manager.cpp | 160 for (auto owner : owners) { in CheckAppAccess() local 161 if (owner == bundleName) { in CheckAppAccess() 167 [owner](const std::string &account) { in CheckAppAccess() 168 auto position = account.find(owner); in CheckAppAccess() 199 for (auto owner : owners) { in InsertSubscribeRecord() local 200 auto item = ownerSubscribeRecords_.find(owner); in InsertSubscribeRecord() 234 for (auto owner : owners) { in RemoveSubscribeRecord() local 235 …for (auto it = ownerSubscribeRecords_[owner].begin(); it != ownerSubscribeRecords_[owner].end(); +… in RemoveSubscribeRecord() 244 ownerSubscribeRecords_.erase(owner); in RemoveSubscribeRecord() 333 std::string owner; in GetAccessibleAccountsBySubscribeInfo() local [all …]
|
H A D | app_account_authenticator_manager.cpp | 27 static ErrCode QueryAbilityInfos(const std::string &owner, int32_t userId, in QueryAbilityInfos() argument 32 want.SetBundle(owner); in QueryAbilityInfos() 57 const std::string &owner, int32_t userId, AuthenticatorInfo &info) in GetAuthenticatorInfo() argument 61 ErrCode ret = QueryAbilityInfos(owner, userId, abilityInfos, extensionInfos); in GetAuthenticatorInfo() 71 info.owner = owner; in GetAuthenticatorInfo() 83 info.owner = owner; in GetAuthenticatorInfo()
|
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | window_focus_changed_listener.cpp | 25 …wFocusChangedListener::WindowFocusChangedListener(const std::shared_ptr<AppMgrServiceInner> &owner, in WindowFocusChangedListener() argument 26 … const std::shared_ptr<AAFwk::TaskHandlerWrap>& handler) : owner_(owner), taskHandler_(handler) {} in WindowFocusChangedListener() 39 auto owner = inner.lock(); in OnFocused() local 40 if (!owner) { in OnFocused() 44 owner->HandleFocused(focusChangeInfo); in OnFocused() 59 auto owner = inner.lock(); in OnUnfocused() local 60 if (!owner) { in OnUnfocused() 64 owner->HandleUnfocused(focusChangeInfo); in OnUnfocused()
|
/ohos5.0/foundation/communication/ipc/ipc/test/ipc/client/ |
H A D | ipc_test_client.c | 51 static int ServerAddCallback(IOwner owner, int code, IpcIo *reply) in ServerAddCallback() argument 59 ReadInt32(reply, (int *)owner); in ServerAddCallback() 61 RPC_LOG_INFO("ServerAddCallback return[%d].", *(int32_t*)owner); in ServerAddCallback() 62 EXPECT_EQ(*(int32_t*)owner, tmpSum); in ServerAddCallback() 85 static int ServerMultiCallback(IOwner owner, int code, IpcIo *reply) in ServerMultiCallback() argument 92 ReadInt32(reply, (int *)owner); in ServerMultiCallback() 95 EXPECT_EQ(*(int32_t*)owner, tmpMulti); in ServerMultiCallback() 116 static int ServerSubCallback(IOwner owner, int code, IpcIo *reply) in ServerSubCallback() argument 123 ReadInt32(reply, (int *)owner); in ServerSubCallback() 125 RPC_LOG_INFO("ServerSubCallback return[%d].", *(int32_t*)owner); in ServerSubCallback() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler_impl/ |
H A D | event_queue.cpp | 161 if (!owner) { in Remove() 166 auto filter = [&owner](const InnerEvent::Pointer &p) { return (p->GetOwner() == owner); }; in Remove() 173 if (!owner) { in Remove() 187 if (!owner) { in Remove() 202 if ((!owner) || (name.empty())) { in Remove() 207 auto filter = [&owner, &name](const InnerEvent::Pointer &p) { in Remove() 228 if (!owner) { in HasInnerEvent() 240 if (!owner) { in HasInnerEvent() 244 auto filter = [&owner, param](const InnerEvent::Pointer &p) { in HasInnerEvent() 393 if (!owner) { in RemoveFileDescriptorListener() [all …]
|
/ohos5.0/base/account/os_account/interfaces/innerkits/appaccount/native/include/ |
H A D | app_account_manager.h | 68 static ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 88 …static ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOpti… 231 …static ErrCode Authenticate(const std::string &name, const std::string &owner, const std::string &… 242 …static ErrCode GetOAuthToken(const std::string &name, const std::string &owner, const std::string … 253 …static ErrCode GetAuthToken(const std::string &name, const std::string &owner, const std::string &… 352 static ErrCode GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info); 361 static ErrCode GetAllOAuthTokens(const std::string &name, const std::string &owner, 415 … static ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts); 484 static ErrCode VerifyCredential(const std::string &name, const std::string &owner, 494 static ErrCode CheckAccountLabels(const std::string &name, const std::string &owner, [all …]
|
/ohos5.0/base/account/os_account/frameworks/appaccount/native/include/ |
H A D | app_account_proxy.h | 30 ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 33 …ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &op… 57 …ErrCode Authenticate(const std::string &name, const std::string &owner, const std::string &authTyp… 65 …ErrCode DeleteOAuthToken(const std::string &name, const std::string &owner, const std::string &aut… 67 …ErrCode DeleteAuthToken(const std::string &name, const std::string &owner, const std::string &auth… 77 ErrCode GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) override; 79 …const std::string &name, const std::string &owner, std::vector<OAuthTokenInfo> &tokenInfos) overri… 86 …ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) overrid… 92 ErrCode VerifyCredential(const std::string &name, const std::string &owner, 94 ErrCode CheckAccountLabels(const std::string &name, const std::string &owner, [all …]
|
H A D | iapp_account.h | 34 virtual ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 37 …virtual ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOpt… 61 …virtual ErrCode Authenticate(const std::string &name, const std::string &owner, const std::string … 64 …const std::string &name, const std::string &owner, const std::string &authType, std::string &token… 66 …const std::string &name, const std::string &owner, const std::string &authType, std::string &token… 81 virtual ErrCode GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) = 0; 82 virtual ErrCode GetAllOAuthTokens(const std::string &name, const std::string &owner, 90 …virtual ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts)… 95 virtual ErrCode VerifyCredential(const std::string &name, const std::string &owner, 97 virtual ErrCode CheckAccountLabels(const std::string &name, const std::string &owner, [all …]
|
H A D | app_account.h | 37 ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 40 …ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &op… 61 …ErrCode Authenticate(const std::string &name, const std::string &owner, const std::string &authTyp… 64 …const std::string &name, const std::string &owner, const std::string &authType, std::string &token… 66 …const std::string &name, const std::string &owner, const std::string &authType, std::string &token… 80 ErrCode GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info); 82 const std::string &name, const std::string &owner, std::vector<OAuthTokenInfo> &tokenInfos); 89 ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts); 96 ErrCode VerifyCredential(const std::string &name, const std::string &owner, 98 ErrCode CheckAccountLabels(const std::string &name, const std::string &owner, [all …]
|
/ohos5.0/base/security/device_security_level/services/sa/standard/ |
H A D | dslm_ipc_process.cpp | 43 static void ProcessCallback(uint32_t owner, uint32_t cookie, uint32_t result, const DslmCallbackInf… in ProcessCallback() argument 48 auto object = Singleton<DslmIpcProcess::RemoteHolder>::GetInstance().Pop(owner, cookie); in ProcessCallback() 166 auto owner = IPCSkeleton::GetCallingPid(); in DslmProcessGetDeviceSecurityLevel() local 167 Singleton<RemoteHolder>::GetInstance().Push(owner, cookie, callback); in DslmProcessGetDeviceSecurityLevel() 169 ret = OnRequestDeviceSecLevelInfo(&identity, &option, owner, cookie, ProcessCallback); in DslmProcessGetDeviceSecurityLevel() 171 Singleton<RemoteHolder>::GetInstance().Pop(owner, cookie); in DslmProcessGetDeviceSecurityLevel() 178 Singleton<RemoteHolder>::GetInstance().Pop(owner, cookie); in DslmProcessGetDeviceSecurityLevel() 185 bool DslmIpcProcess::RemoteHolder::Push(uint32_t owner, uint32_t cookie, const sptr<IRemoteObject> … in Push() argument 188 uint64_t key = (static_cast<uint64_t>(owner) << COOKIE_SHIFT) | cookie; in Push() 196 sptr<IRemoteObject> DslmIpcProcess::RemoteHolder::Pop(uint32_t owner, uint32_t cookie) in Pop() argument [all …]
|
/ohos5.0/base/account/os_account/services/accountmgr/test/mock/app_account/ |
H A D | mock_app_account_stub.h | 28 ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 31 …ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &op… 54 …ErrCode Authenticate(const std::string &name, const std::string &owner, const std::string &authTyp… 62 ErrCode DeleteOAuthToken(const std::string &name, const std::string &owner, 64 ErrCode DeleteAuthToken(const std::string &name, const std::string &owner, 74 … ErrCode GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &authenticator) override; 75 ErrCode GetAllOAuthTokens(const std::string &name, const std::string &owner, 83 …ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) overrid… 91 ErrCode VerifyCredential(const std::string &name, const std::string &owner, 93 ErrCode CheckAccountLabels(const std::string &name, const std::string &owner, [all …]
|
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | window_focus_changed_listener.cpp | 33 auto owner = inner.lock(); in OnFocused() local 34 if (!owner) { in OnFocused() 38 owner->HandleFocused(focusChangeInfo); in OnFocused() 53 auto owner = inner.lock(); in OnUnfocused() local 54 if (!owner) { in OnUnfocused() 58 owner->HandleUnfocused(focusChangeInfo); in OnUnfocused()
|
/ohos5.0/base/security/device_security_level/services/sa/lite/mini/ |
H A D | dslm_inner_process.c | 60 static BOOL DslmPushRemoteStub(uint32_t owner, uint32_t cookie, const DeviceIdentify *identify, in DslmPushRemoteStub() argument 66 uint64_t key = ((uint64_t)owner << COOKIE_SHIFT) | cookie; in DslmPushRemoteStub() 84 static DslmRemoteStubListNode *DslmPopRemoteStub(uint32_t owner, uint32_t cookie) in DslmPopRemoteStub() argument 91 uint64_t key = ((uint64_t)owner << COOKIE_SHIFT) | cookie; in DslmPopRemoteStub() 109 static void ProcessCallback(uint32_t owner, uint32_t cookie, uint32_t result, const DslmCallbackInf… in ProcessCallback() argument 115 DslmRemoteStubListNode *item = DslmPopRemoteStub(owner, cookie); in ProcessCallback() 143 uint64_t owner = SINGLE_OWNER; in DslmProcessGetDeviceSecurityLevel() local 144 DslmPushRemoteStub(owner, req->cookie, req->identity, callback); in DslmProcessGetDeviceSecurityLevel() 145 …int32_t ret = OnRequestDeviceSecLevelInfo(req->identity, req->option, owner, req->cookie, ProcessC… in DslmProcessGetDeviceSecurityLevel() 149 DslmRemoteStubListNode *item = DslmPopRemoteStub(owner, req->cookie); in DslmProcessGetDeviceSecurityLevel()
|
/ohos5.0/base/security/device_security_level/services/sa/lite/small/ |
H A D | dslm_ipc_process.c | 85 static BOOL DslmPushRemoteStub(uint32_t owner, uint32_t cookie, IpcIo *reply) in DslmPushRemoteStub() argument 90 uint64_t key = ((uint64_t)owner << COOKIE_SHIFT) | cookie; in DslmPushRemoteStub() 107 static IpcIo *DslmPopRemoteStub(uint32_t owner, uint32_t cookie) in DslmPopRemoteStub() argument 114 uint64_t key = ((uint64_t)owner << COOKIE_SHIFT) | cookie; in DslmPopRemoteStub() 134 static void ProcessCallback(uint32_t owner, uint32_t cookie, uint32_t result, const DslmCallbackInf… in ProcessCallback() argument 141 reply = DslmPopRemoteStub(owner, cookie); in ProcessCallback() 168 uint64_t owner = GetCallingPid(); in DslmProcessGetDeviceSecurityLevel() local 169 DslmPushRemoteStub(owner, cookie, reply); in DslmProcessGetDeviceSecurityLevel() 170 ret = OnRequestDeviceSecLevelInfo(&identity, &option, owner, cookie, ProcessCallback); in DslmProcessGetDeviceSecurityLevel() 174 DslmPopRemoteStub(owner, cookie); in DslmProcessGetDeviceSecurityLevel()
|
/ohos5.0/base/account/os_account/services/accountmgr/include/appaccount/ |
H A D | app_account_manager_service.h | 33 const std::string &owner, const std::string &authType, const AAFwk::Want &options, 36 …ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &op… 61 …ErrCode Authenticate(const std::string &name, const std::string &owner, const std::string &authTyp… 69 ErrCode DeleteOAuthToken(const std::string &name, const std::string &owner, 71 ErrCode DeleteAuthToken(const std::string &name, const std::string &owner, 81 ErrCode GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) override; 82 ErrCode GetAllOAuthTokens(const std::string &name, const std::string &owner, 90 …ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) overrid… 95 ErrCode VerifyCredential(const std::string &name, const std::string &owner, 97 ErrCode CheckAccountLabels(const std::string &name, const std::string &owner, [all …]
|