Searched refs:DEFAULT_TOKEN_VERSION (Results 1 – 10 of 10) sorted by relevance
54 if (idInner->version != DEFAULT_TOKEN_VERSION || idInner->type != type) { in RegisterTokenId()80 innerId.version = DEFAULT_TOKEN_VERSION; in CreateTokenId()
35 tokenInfoBasic_.ver = DEFAULT_TOKEN_VERSION; in HapTokenInfoInner()50 tokenInfoBasic_.ver = DEFAULT_TOKEN_VERSION; in HapTokenInfoInner()152 if (tokenInfoBasic_.ver != DEFAULT_TOKEN_VERSION) { in RestoreHapTokenBasicInfo()
34 tokenInfoBasic_.ver = DEFAULT_TOKEN_VERSION; in NativeTokenInfoInner()143 if (tokenInfoBasic_.ver != DEFAULT_TOKEN_VERSION) { in RestoreNativeTokenInfo()
98 if (native.ver != DEFAULT_TOKEN_VERSION) { in from_json()
713 } else if (hapSync.baseInfo.ver != DEFAULT_TOKEN_VERSION) { in IsRemoteHapTokenValid()778 nativeToken.baseInfo.ver != DEFAULT_TOKEN_VERSION || in SetRemoteNativeTokenInfo()
49 hapTokenInfo_.baseInfo.ver = DEFAULT_TOKEN_VERSION; in SyncRemoteHapTokenCommand()64 hapTokenInfo_.baseInfo.ver = DEFAULT_TOKEN_VERSION; in SyncRemoteHapTokenCommand()
24 static const int DEFAULT_TOKEN_VERSION = 1; variable
388 return DEFAULT_TOKEN_VERSION; in GetVersion()
1353 info.ver = DEFAULT_TOKEN_VERSION;
3897 ASSERT_EQ(DEFAULT_TOKEN_VERSION, res);