Home
last modified time | relevance | path

Searched refs:token (Results 526 - 550 of 1276) sorted by relevance

1...<<21222324252627282930>>...52

/foundation/communication/netmanager_ext/test/networksharemanager/unittest/networkshare_manager_test/
H A Dnetworkshare_manager_usb_test.cpp55 NetManagerExtAccessToken token; in HWTEST_F() local
65 NetManagerExtAccessToken token; in HWTEST_F() local
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Drelational_db_sync_interface.h47 // return OK, when query finished. token will be set NULL; when query unfinished. token must not be null.
48 // return other errCode, some wrong, token will be set NULL.
50 ContinueToken &token) const = 0;
58 virtual void ReleaseRemoteQueryContinueToken(ContinueToken &token) const = 0;
/foundation/ability/ability_runtime/frameworks/native/ability/native/recovery/
H A Dability_recovery.cpp73 const std::shared_ptr<AbilityInfo>& abilityInfo, const sptr<IRemoteObject>& token) in InitAbilityInfo()
78 token_ = token; in InitAbilityInfo()
264 auto token = token_.promote(); in ScheduleSaveAbilityState() local
265 if (token == nullptr) { in ScheduleSaveAbilityState()
266 TAG_LOGE(AAFwkTag::RECOVERY, "token is nullptr"); in ScheduleSaveAbilityState()
275 abilityMgr->EnableRecoverAbility(token); in ScheduleSaveAbilityState()
278 abilityMgr->SubmitSaveRecoveryInfo(token); in ScheduleSaveAbilityState()
298 auto token = token_.promote(); in ScheduleRecoverAbility() local
299 if (token == nullptr) { in ScheduleRecoverAbility()
302 abilityMgr->ScheduleRecoverAbility(token, reaso in ScheduleRecoverAbility()
72 InitAbilityInfo(const std::shared_ptr<AbilityRuntime::UIAbility> ability, const std::shared_ptr<AbilityInfo>& abilityInfo, const sptr<IRemoteObject>& token) InitAbilityInfo() argument
[all...]
/foundation/communication/ipc/ipc/native/src/c_api/source/
H A Dipc_cparcel.cpp327 int OH_IPCParcel_WriteInterfaceToken(OHIPCParcel *parcel, const char *token) in OH_IPCParcel_WriteInterfaceToken() argument
329 if (!IsIPCParcelValid(parcel, __func__) || token == nullptr) { in OH_IPCParcel_WriteInterfaceToken()
333 int tokenLen = strlen(token); in OH_IPCParcel_WriteInterfaceToken()
337 std::u16string u16Token = OHOS::Str8ToStr16(std::string(token, tokenLen)); in OH_IPCParcel_WriteInterfaceToken()
339 ZLOGE(LOG_LABEL, "convert token to u16string failed: %{public}d", tokenLen); in OH_IPCParcel_WriteInterfaceToken()
344 ZLOGE(LOG_LABEL, "WriteInterfaceToken failed! token len:%{public}d", tokenLen); in OH_IPCParcel_WriteInterfaceToken()
351 int OH_IPCParcel_ReadInterfaceToken(const OHIPCParcel *parcel, char **token, int32_t *len, in OH_IPCParcel_ReadInterfaceToken() argument
354 if (!IsIPCParcelValid(parcel, __func__) || !IsMemoryParamsValid(token, len, allocator, __func__)) { in OH_IPCParcel_ReadInterfaceToken()
368 *token = static_cast<char*>(allocator(memLength)); in OH_IPCParcel_ReadInterfaceToken()
369 if (*token in OH_IPCParcel_ReadInterfaceToken()
[all...]
/foundation/communication/netstack/test/unittest/tls_test/client/
H A DTlsSocketUnilateralConnection.cpp140 AccessToken token; in HWTEST_F() local
152 AccessToken token; in HWTEST_F() local
169 AccessToken token; in HWTEST_F() local
188 AccessToken token; in HWTEST_F() local
215 AccessToken token; in HWTEST_F() local
245 AccessToken token; in HWTEST_F() local
274 AccessToken token; in HWTEST_F() local
303 AccessToken token; in HWTEST_F() local
340 AccessToken token; in HWTEST_F() local
/foundation/communication/netstack/test/unittest/tlssocket/client/
H A DTlsSocketUnilateralConnection.cpp140 AccessToken token; in HWTEST_F() local
152 AccessToken token; in HWTEST_F() local
169 AccessToken token; in HWTEST_F() local
188 AccessToken token; in HWTEST_F() local
215 AccessToken token; in HWTEST_F() local
245 AccessToken token; in HWTEST_F() local
274 AccessToken token; in HWTEST_F() local
303 AccessToken token; in HWTEST_F() local
340 AccessToken token; in HWTEST_F() local
/foundation/window/window_manager/wm/include/
H A Dwindow_adapter.h43 std::shared_ptr<RSSurfaceNode> surfaceNode, uint32_t& windowId, const sptr<IRemoteObject>& token);
105 SystemSessionConfig& systemConfig, sptr<IRemoteObject> token = nullptr);
108 sptr<WindowSessionProperty> property, sptr<ISession>& session, sptr<IRemoteObject> token = nullptr);
114 sptr<ISession>& session, sptr<WindowSessionProperty> property, sptr<IRemoteObject> token = nullptr);
123 const sptr<IRemoteObject>& token, uint64_t surfaceNodeId);
125 const sptr<IRemoteObject>& token);
126 virtual void UpdateModalExtensionRect(const sptr<IRemoteObject>& token, Rect rect);
127 virtual void ProcessModalExtensionPointDown(const sptr<IRemoteObject>& token, int32_t posX, int32_t posY);
129 virtual WMError UpdateExtWindowFlags(const sptr<IRemoteObject>& token, uint32_t extWindowFlags,
/foundation/window/window_manager/wmserver/include/zidl/
H A Dwindow_manager_interface.h97 uint32_t& windowId, sptr<IRemoteObject> token) = 0;
172 SystemSessionConfig& systemConfig, sptr<IRemoteObject> token = nullptr) { return WSError::WS_OK; } in CreateAndConnectSpecificSession()
175 sptr<WindowSessionProperty> property, sptr<ISession>& session, sptr<IRemoteObject> token = nullptr) in RecoverAndConnectSpecificSession()
184 sptr<ISession>& session, sptr<WindowSessionProperty> property, sptr<IRemoteObject> token = nullptr) in RecoverAndReconnectSceneSession()
206 const sptr<IRemoteObject>& token, uint64_t surfaceNodeId) {} in AddExtensionWindowStageToSCB()
208 const sptr<IRemoteObject>& token) {} in RemoveExtensionWindowStageFromSCB()
209 virtual void UpdateModalExtensionRect(const sptr<IRemoteObject>& token, Rect rect) {} in UpdateModalExtensionRect() argument
210 virtual void ProcessModalExtensionPointDown(const sptr<IRemoteObject>& token, int32_t posX, int32_t posY) {} in ProcessModalExtensionPointDown() argument
215 virtual WSError UpdateExtWindowFlags(const sptr<IRemoteObject>& token, uint32_t extWindowFlags, in UpdateExtWindowFlags() argument
205 AddExtensionWindowStageToSCB(const sptr<ISessionStage>& sessionStage, const sptr<IRemoteObject>& token, uint64_t surfaceNodeId) AddExtensionWindowStageToSCB() argument
207 RemoveExtensionWindowStageFromSCB(const sptr<ISessionStage>& sessionStage, const sptr<IRemoteObject>& token) RemoveExtensionWindowStageFromSCB() argument
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
H A Dstorage_daemon_stub.cpp454 std::vector<uint8_t> token; in HandleUpdateUserAuth() local
457 data.ReadUInt8Vector(&token); in HandleUpdateUserAuth()
461 int err = UpdateUserAuth(userId, secureUid, token, oldSecret, newSecret); in HandleUpdateUserAuth()
474 std::vector<uint8_t> token; in HandleUpdateUseAuthWithRecoveryKey() local
476 data.ReadUInt8Vector(&token); in HandleUpdateUseAuthWithRecoveryKey()
486 int err = UpdateUseAuthWithRecoveryKey(token, newSecret, secureUid, userId, plainText); in HandleUpdateUseAuthWithRecoveryKey()
498 std::vector<uint8_t> token; in HandleActiveUserKey() local
500 data.ReadUInt8Vector(&token); in HandleActiveUserKey()
503 int err = ActiveUserKey(userId, token, secret); in HandleActiveUserKey()
539 std::vector<uint8_t> token; in HandleUnlockUserScreen() local
600 std::vector<uint8_t> token; HandleCreateRecoverKey() local
[all...]
/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_device_manager_notify_three.cpp267 std::string token = "111"; in HWTEST_F() local
270 DeviceManagerNotify::GetInstance().OnAuthResult(pkgName, deviceId, token, status, reason); in HWTEST_F()
310 std::string token = "111"; in HWTEST_F() local
313 DeviceManagerNotify::GetInstance().OnAuthResult(testPkgName, deviceId, token, status, reason); in HWTEST_F()
353 std::string token = "111"; in HWTEST_F() local
356 DeviceManagerNotify::GetInstance().OnAuthResult(pkgName, testDeviceId, token, status, reason); in HWTEST_F()
395 std::string token = "111"; in HWTEST_F() local
398 DeviceManagerNotify::GetInstance().OnAuthResult(pkgName, deviceId, token, status, reason); in HWTEST_F()
440 std::string token = "111"; in HWTEST_F() local
443 DeviceManagerNotify::GetInstance().OnAuthResult(testPkaName, deviceId, token, statu in HWTEST_F()
485 std::string token = "111"; HWTEST_F() local
529 std::string token = "111"; HWTEST_F() local
1091 OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, int32_t reason) OnAuthResult() argument
[all...]
/foundation/window/window_manager/window_scene/session_manager/src/zidl/
H A Dscene_session_manager_lite_stub.cpp33 WLOGFE("Failed to check interface token!"); in OnRemoteRequest()
136 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleSetSessionLabel() local
142 WSError errCode = SetSessionLabel(token, label); in HandleSetSessionLabel()
150 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleSetSessionIcon() local
156 WSError errCode = SetSessionIcon(token, icon); in HandleSetSessionIcon()
176 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandlePendingSessionToForeground() local
177 if (token == nullptr) { in HandlePendingSessionToForeground()
178 WLOGFE("token is nullptr"); in HandlePendingSessionToForeground()
181 WSError errCode = PendingSessionToForeground(token); in HandlePendingSessionToForeground()
189 sptr<IRemoteObject> token in HandlePendingSessionToBackgroundForDelegator() local
357 sptr<IRemoteObject> token = nullptr; HandleGetFocusSessionToken() local
377 sptr <IRemoteObject> token = data.ReadRemoteObject(); HandleSetSessionContinueState() local
[all...]
/foundation/ability/idl_tool/idl_tool_2/
H A Dbuild_hdi_files_info.py373 token = lex.peek_token()
376 token.info(), token.value))
378 CodeGen.get_package_path(token.value) + ".idl")
414 lex.get_token() # package token
415 token = lex.peek_token()
416 if token.token_type != TokenType.ID:
418 token.info(), token.value))
419 token
435 lex.get_token() # import token global() namespace
[all...]
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_capi_parcel_unittest.cpp77 void ReadWriteInterfaceToken(const char *token, uint32_t &writeDuration, uint32_t &readDuration);
78 void ReadWriteInterfaceTokenCpp(const char *token, uint32_t &writeDuration, uint32_t &readDuration);
274 void IpcCApiParcelUnitTest::ReadWriteInterfaceToken(const char *token, in ReadWriteInterfaceToken() argument
280 ret = OH_IPCParcel_WriteInterfaceToken(dataCParcel, token); in ReadWriteInterfaceToken()
290 EXPECT_EQ(strcmp(token, readInterfaceToken), 0); in ReadWriteInterfaceToken()
291 EXPECT_EQ(readLen, strlen(token) + 1); in ReadWriteInterfaceToken()
297 void IpcCApiParcelUnitTest::ReadWriteInterfaceTokenCpp(const char *token, in ReadWriteInterfaceTokenCpp() argument
302 auto u16Token = OHOS::Str8ToStr16(token); in ReadWriteInterfaceTokenCpp()
311 EXPECT_EQ(strTokenRead.length(), strlen(token)); in ReadWriteInterfaceTokenCpp()
312 EXPECT_EQ(strTokenRead.compare(token), in ReadWriteInterfaceTokenCpp()
319 char token[MAX_INTERFACE_TOKEN_LEN] = {0}; ReadWriteInterfaceTokenPerformance() local
760 const char *token = "hello, world!"; HWTEST_F() local
[all...]
/foundation/communication/ipc/ipc/test/auxiliary/native/src/
H A Dtest_service_skeleton.cpp488 bool TestServiceProxy::CheckTokenSelf(uint64_t token, uint64_t tokenSelf, uint64_t ftoken, uint64_t ftoken_expected) in CheckTokenSelf() argument
490 if (token != tokenSelf) { in CheckTokenSelf()
491 ZLOGE(LABEL, "token != tokenSelf"); in CheckTokenSelf()
535 uint64_t token = IPCSkeleton::GetCallingFullTokenID(); in TestAccessTokenID64() local
541 if (!CheckTokenSelf(token, tokenSelf, ftoken, 0)) { in TestAccessTokenID64()
558 token = replyParcel1.ReadUint64(); in TestAccessTokenID64()
561 if (token != token_expected) { in TestAccessTokenID64()
562 ZLOGE(LABEL, "token != token_expected, token:%{public}" PRIu64, token); in TestAccessTokenID64()
583 int32_t token = (int32_t)IPCSkeleton::GetCallingTokenID(); TestAccessTokenID() local
839 std::string token = IPCSkeleton::ResetCallingIdentity(); ServerCallingUidAndPid() local
864 int32_t token = static_cast<int32_t>(IPCSkeleton::GetCallingTokenID()); ServerAccessTokenId() local
875 uint64_t token = IPCSkeleton::GetCallingFullTokenID(); ServerAccessTokenId64() local
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrappexitreasonhelper_fuzzer/
H A Dabilitymgrappexitreasonhelper_fuzzer.cpp54 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
61 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
63 return token; in GetFuzzAbilityToken()
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrcontrolinterceptor_fuzzer/
H A Dabilitymgrcontrolinterceptor_fuzzer.cpp53 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
60 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
62 return token; in GetFuzzAbilityToken()
/foundation/ability/ability_runtime/test/fuzztest/appmgrrest_fuzzer/
H A Dappmgrrest_fuzzer.cpp55 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
63 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
66 return token; in GetFuzzAbilityToken()
/foundation/ability/ability_runtime/utils/global/freeze/src/
H A Dfreeze_util.cpp68 void FreezeUtil::DeleteLifecycleEvent(sptr<IRemoteObject> token) in DeleteLifecycleEvent() argument
74 LifecycleFlow foregroundFlow = { token, TimeoutState::FOREGROUND }; in DeleteLifecycleEvent()
77 LifecycleFlow backgroundFlow = { token, TimeoutState::BACKGROUND }; in DeleteLifecycleEvent()
/foundation/ability/ability_runtime/frameworks/native/ability/native/continuation/remote_register_service/
H A Dremote_register_service_proxy.cpp27 int RemoteRegisterServiceProxy::Register(const std::string &bundleName, const sptr<IRemoteObject> &token, in Register() argument
30 if (bundleName.empty() || token == nullptr || callback == nullptr) { in Register()
37 !data.WriteRemoteObject(token) || !data.WriteInt32(1) || !extras.Marshalling(data) || in Register()
57 * @param registerToken token from register return value.
81 * @param registerToken token from register.
108 * @param registerToken token from register
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Dextension_impl.h50 * @param token the remote token.
55 std::shared_ptr<AppExecFwk::AbilityHandler> &handler, const sptr<IRemoteObject> &token);
218 ExtensionWindowLifeCycleImpl(const sptr<IRemoteObject>& token, const std::shared_ptr<ExtensionImpl>& owner) in ExtensionWindowLifeCycleImpl() argument
219 : token_(token), owner_(owner) {} in ExtensionWindowLifeCycleImpl()
/foundation/ability/ability_runtime/test/fuzztest/abilityinterfacesappmgrrenderstateobserverstub_fuzzer/
H A Dabilityinterfacesappmgrrenderstateobserverstub_fuzzer.cpp63 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
70 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
72 return token; in GetFuzzAbilityToken()
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrrdbparserutil_fuzzer/
H A Dabilitymgrrdbparserutil_fuzzer.cpp54 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
61 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
63 return token; in GetFuzzAbilityToken()
/foundation/ability/ability_runtime/test/fuzztest/abilityinterfacesappmgrchildschedulerstub_fuzzer/
H A Dabilityinterfacesappmgrchildschedulerstub_fuzzer.cpp67 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
74 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
76 return token; in GetFuzzAbilityToken()
/foundation/ability/ability_runtime/test/fuzztest/abilityframeworksnativejsworker_fuzzer/
H A Dabilityframeworksnativejsworker_fuzzer.cpp54 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
61 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
63 return token; in GetFuzzAbilityToken()
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrabilitymanagerstub_fuzzer/
H A Dabilitymgrabilitymanagerstub_fuzzer.cpp54 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
61 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
63 return token; in GetFuzzAbilityToken()

Completed in 16 milliseconds

1...<<21222324252627282930>>...52