Home
last modified time | relevance | path

Searched refs:tokenC (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_app_workflow_test/
H A Dams_workflow_test.cpp241 sptr<IRemoteObject> tokenC = new MockAbilityToken(); variable
277 sptr<IRemoteObject> tokenC = new MockAbilityToken(); variable
358 sptr<IRemoteObject> tokenC = new MockAbilityToken(); variable
404 sptr<IRemoteObject> tokenC = new MockAbilityToken(); variable
743 sptr<IRemoteObject> tokenC = new MockAbilityToken(); variable
753 std::shared_ptr<AbilityRunningRecord> abilityC = appA.GetAbility(tokenC);
765 EXPECT_NE(nullptr, abilities[tokenC]);
827 sptr<IRemoteObject> tokenC = new MockAbilityToken(); variable
858 EXPECT_NE(nullptr, abilitiesC[tokenC]);
877 sptr<IRemoteObject> tokenC = new MockAbilityToken(); variable
[all …]
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
H A Diso_protocol.c481 Uint8Buff tokenC = { tokenValC, SHA256_LEN }; in ClientGenTokenProcEvent() local
482 res = IsoCalToken(impl, &tokenC, true); in ClientGenTokenProcEvent()
487 if (DeepCopyUint8Buff(&tokenC, &impl->params.tokenSelf) != HC_SUCCESS) { in ClientGenTokenProcEvent()
531 Uint8Buff tokenC = { tokenCVal, ISO_TOKEN_LEN }; in ServerGenSessKeyParseEvent() local
532 if (GetByteFromJson(inputEvent, FIELD_TOKEN_CLIENT, tokenC.val, tokenC.length) != HC_SUCCESS) { in ServerGenSessKeyParseEvent()
536 if (DeepCopyUint8Buff(&tokenC, &params->tokenPeer) != HC_SUCCESS) { in ServerGenSessKeyParseEvent()
546 Uint8Buff tokenC = { tokenValC, SHA256_LEN }; in ServerGenSessKeyProcEvent() local
547 int32_t res = IsoCalToken(impl, &tokenC, false); in ServerGenSessKeyProcEvent()
552 if ((impl->params.tokenPeer.length != tokenC.length) || in ServerGenSessKeyProcEvent()
553 (memcmp(impl->params.tokenPeer.val, tokenC.val, tokenC.length) != 0)) { in ServerGenSessKeyProcEvent()