/test/xts/hats/kernel/syscalls/security/capget/ |
H A D | CapGetApiTest.cpp | 62 * @tc.desc : capget version 1 2 3 and data success. 73 hdr.version = _LINUX_CAPABILITY_VERSION_1; in HWTEST_F() 77 hdr.version = _LINUX_CAPABILITY_VERSION_2; in HWTEST_F() 81 hdr.version = _LINUX_CAPABILITY_VERSION_3; in HWTEST_F() 85 hdr.version = _LINUX_CAPABILITY_VERSION_2; in HWTEST_F() 93 * @tc.desc : capget invalid version return -1 errno EINVAL. 104 hdr.version = INVALID_VERSION; in HWTEST_F() 124 hdr.version = _LINUX_CAPABILITY_VERSION_2; in HWTEST_F() 145 hdr.version = _LINUX_CAPABILITY_VERSION_2; in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/capset/ |
H A D | CapsetApiTest.cpp | 62 * @tc.desc : capset version 1 2 3 success. 73 hdr.version = _LINUX_CAPABILITY_VERSION_1; in HWTEST_F() 78 hdr.version = _LINUX_CAPABILITY_VERSION_2; in HWTEST_F() 83 hdr.version = _LINUX_CAPABILITY_VERSION_3; in HWTEST_F() 91 * @tc.desc : capset invalid version return -1 errno EINVAL. 102 hdr.version = INVALID_VERSION; in HWTEST_F() 122 hdr.version = _LINUX_CAPABILITY_VERSION_2; in HWTEST_F() 143 hdr.version = _LINUX_CAPABILITY_VERSION_2; in HWTEST_F()
|
/test/xts/acts/ai_lite/ai_engine_posix/base/src/plugin_manager/ |
H A D | PluginManagerFunctionTest.cpp | 43 long long version = ALGORITHM_VERSION_VALID;
in TestPluginManager() local 45 int ret = pluginManager->GetPlugin(aid, version, plugin);
in TestPluginManager() 56 pluginManager->UnloadPlugin(aid, version);
in TestPluginManager() 65 long long version = ALGORITHM_VERSION_VALID;
in TestPluginManagerUnloadPlugin() local 67 pluginManager2->UnloadPlugin(aid, version);
in TestPluginManagerUnloadPlugin()
|
/test/testfwk/xdevice/plugins/devicetest/utils/ |
H A D | util.py | 171 def compare_version(version, base_version: tuple, rex: str): 172 """比较两个版本号的大小,若version版本大于等于base_version,返回True 174 version: str, version 175 rex: version style rex 178 version: "4.0.0.1" base_version:[4.0.0.0] 179 if version bigger than base_version or equal to base_version, return True, else return False 181 version = version.strip() 182 if re.match(rex, version) [all...] |
/test/xts/hats/hdf/audio/idl/common/manager/src/ |
H A D | audio_manager_common_test.cpp | 96 uint32_t version; in HWTEST_F() local 97 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, g_manager->GetVersion(nullptr, &version, &version)); in HWTEST_F() 102 uint32_t version; in HWTEST_F() local 103 EXPECT_EQ(HDF_ERR_INVALID_PARAM, g_manager->GetVersion(g_manager, nullptr, &version)); in HWTEST_F() 108 uint32_t version; in HWTEST_F() local 109 EXPECT_EQ(HDF_ERR_INVALID_PARAM, g_manager->GetVersion(g_manager, &version, nullptr)); in HWTEST_F()
|
/test/xts/hats/ |
H A D | check_hvigor.py | 71 version = get_hvigor_version(filename) 72 if version != baseline_version: 73 unmatch_prj_list.append((version, filename))
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | c_driver_lite.py | 169 version = get_test_component_version(self.config) 174 parser_instance.product_info.setdefault("Version", version) 217 version = get_test_component_version(self.config) 222 parser_instance.product_info.setdefault("Version", version) 284 version = get_test_component_version(self.config) 288 parser_instance.product_info.setdefault("Version", version) 339 version = get_test_component_version(self.config) 344 parser_instance.product_info.setdefault("Version", version)
|
/test/xts/acts/ |
H A D | check_hvigor.py | 71 version = get_hvigor_version(filename) 72 if version != baseline_version: 73 unmatch_prj_list.append((version, filename))
|
/test/xts/device_attest/services/core/adapter/ |
H A D | attest_adapter_hal.c | 74 if (memcpy_s(token + offset, sizeof(token), tokenInfo->version, sizeof(tokenInfo->version)) != 0) {
in AttestWriteToken() 122 if (memcpy_s(tokenInfo->version, VERSION_ENCRYPT_LEN, token + offset, VERSION_ENCRYPT_LEN) != 0) {
in AttestReadToken()
|
/test/xts/device_attest_lite/services/core/adapter/ |
H A D | attest_adapter_hal.c | 74 if (memcpy_s(token + offset, sizeof(token), tokenInfo->version, sizeof(tokenInfo->version)) != 0) {
in AttestWriteToken() 134 if (memcpy_s(tokenInfo->version, VERSION_ENCRYPT_LEN, token + offset, VERSION_ENCRYPT_LEN) != 0) {
in AttestReadToken()
|
/test/xts/acts/arkui/libuv/src/ |
H A D | ActsLibuvTest.cpp | 63 int version = uv_version(); in HWTEST_F() local 64 ASSERT_EQ(version, UV_VERSION_HEX); in HWTEST_F() 65 fprintf(stderr, "uv_version error: %d\n", version); in HWTEST_F()
|
/test/xts/hats/hdf/codec/hdi_omx/ |
H A D | codec_hdi_omx_test.cpp | 55 static void InitCodecBuffer(OmxCodecBuffer& buffer, CodecBufferType type, OMX_VERSIONTYPE& version) in InitCodecBuffer() argument 59 buffer.version = version; in InitCodecBuffer() 108 param.version = version_; in InitExtParam() 115 omxBuffer->version = version_; in InitCodecBufferWithAshMem() 211 omxBuffer->version = version_; in InitBufferHandle() 293 * @tc.desc Reads the version information of an open component 350 * @tc.desc The version information is not set for the input parameter. As a result, the parameter fails to be read 438 * @tc.desc The input parameter version information is not set. As a result, the parameter setting fails 791 omxBuffer->version in HWTEST_F() [all...] |
/test/xts/acts/security/certificate_framework/js_api_test_one/entry/src/ohosTest/js/test/utils/certificate/ |
H A D | publicCertificateCallback.js | 192 let version = gInstance.getVersion();
193 console.log(processType + " is : " + version);
194 expect(version != null).assertTrue();
546 let version = gInstance.getVersion();
547 console.log(processType + " is : " + version);
548 expect(version != null).assertTrue();
|
H A D | publicCertificatePromise.js | 180 let version = gInstance.getVersion();
181 console.log(processType + " is : " + version);
182 expect(version != null).assertTrue();
490 let version = gInstance.getVersion();
491 console.log(processType + " is : " + version);
492 expect(version != null).assertTrue();
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | constants.py | 316 version = "version" variable in ConfigConst 408 version = "version" variable in DeviceProperties 435 version = "version" variable in AdvanceDeviceOption
|
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/ |
H A D | egl_core.cpp | 24 EGLConfig getConfig(int version, EGLDisplay eglDisplay) in getConfig() argument 47 "#version 300 es\n" 58 "#version 300 es\n" 88 int version = 3; in GLContextInit() local 89 mEGLConfig = getConfig(version, mEGLDisplay); in GLContextInit()
|
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/entry/src/ohosTest/js/test/ |
H A D | RelationalStoreJsunit.test.js | 282 * @tc.desc relational version
289 store.version = 5
290 expect(5).assertEqual(store.version);
297 store.version = 2147483647
298 expect(2147483647).assertEqual(store.version);
315 * @tc.desc relational version
322 store.version = -2147483648;
329 store.version = 2147483647000;
336 store.version = 0;
353 * @tc.desc relational version
[all...] |
/test/xts/device_attest/services/core/security/ |
H A D | attest_security_token.c | 444 ATTEST_LOG_ERROR("[TransTokenVersion] Token version parameter is invalid"); in TransTokenVersion() 476 ret = TransTokenVersion(tokenInfo->version, sizeof(tokenInfo->version)); in GetDecryptedTokenValue() 478 ATTEST_LOG_ERROR("[GetDecryptedTokenValue] Update token version failed, ret = %d", ret); in GetDecryptedTokenValue() 515 ret = TransTokenVersion(tokenInfo->version, sizeof(tokenInfo->version)); in GetTokenIdDecrypted() 517 ATTEST_LOG_ERROR("[GetTokenIdDecrypted] Update token version failed, ret = %d", ret); in GetTokenIdDecrypted() 654 ret = memcpy_s(tokenInfo->version, sizeof(tokenInfo->version), g_tokenVersion, sizeof(tokenInfo->version)); in GetTokenInfo() [all...] |
/test/xts/device_attest_lite/services/core/security/ |
H A D | attest_security_token.c | 444 ATTEST_LOG_ERROR("[TransTokenVersion] Token version parameter is invalid"); in TransTokenVersion() 468 int32_t ret = TransTokenVersion(tokenInfo->version, sizeof(tokenInfo->version)); in GetDecryptedTokenValue() 470 ATTEST_LOG_ERROR("[GetDecryptedTokenValue] Update token version failed, ret = %d", ret); in GetDecryptedTokenValue() 500 int32_t ret = TransTokenVersion(tokenInfo->version, sizeof(tokenInfo->version)); in GetTokenIdDecrypted() 502 ATTEST_LOG_ERROR("[GetTokenIdDecrypted] Update token version failed, ret = %d", ret); in GetTokenIdDecrypted() 629 ret = memcpy_s(tokenInfo->version, sizeof(tokenInfo->version), g_tokenVersion, sizeof(tokenInfo->version)); in GetTokenInfo() [all...] |
H A D | attest_security.c | 135 static int32_t GetProductInfo(const char* version, SecurityParam* productInfoParam) in GetProductInfo() argument 146 if (strcmp(version, TOKEN_VER0_0) == 0) { // productInfo = Manufacturekey + productId in GetProductInfo() 158 } else if (strcmp(version, TOKEN_VER1_0) == 0) { // productInfo = Manufacturekey in GetProductInfo() 173 int32_t ret = GetProductInfo(versionData->version, &info); in GetAesKey()
|
/test/testfwk/xdevice/ |
H A D | run.bat | 21 @echo "Python3.7 or higher version required!" 28 @echo "Python3.7 or higher version required!"
|
/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
H A D | mock_idevice.cpp | 43 std::string version; in HDIDeviceV2_0Creator() local 70 std::string makeName = "Get version"; in HDIDeviceV2_0Creator() 74 version = 'v' + std::to_string(hdiVersion.first) + '_' + std::to_string(hdiVersion.second); in HDIDeviceV2_0Creator() 75 const std::string& backendName = GenUniqueName(deviceName, vendorName, version); in HDIDeviceV2_0Creator()
|
/test/xts/acts/ai/nncore/opstest/src/ |
H A D | mock_idevice.cpp | 43 std::string version; in HDIDeviceV2_1Creator() local 70 std::string makeName = "Get version"; in HDIDeviceV2_1Creator() 74 version = 'v' + std::to_string(hdiVersion.first) + '_' + std::to_string(hdiVersion.second); in HDIDeviceV2_1Creator() 75 const std::string& backendName = GenUniqueName(deviceName, vendorName, version); in HDIDeviceV2_1Creator()
|
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
H A D | mock_idevice.cpp | 32 std::string version; in HDIDeviceV1_0Creator() local 56 LOGW("Get version failed. ErrorCode=%d", hdiRet); in HDIDeviceV1_0Creator() 59 version = 'v' + std::to_string(hdiVersion.first) + '_' + std::to_string(hdiVersion.second); in HDIDeviceV1_0Creator() 60 const std::string& backendName = GenUniqueName(deviceName, vendorName, version); in HDIDeviceV1_0Creator()
|
/test/xts/acts/ai/nncore/common/ |
H A D | mock_idevice.cpp | 43 std::string version; in HDIDeviceV2_0Creator() local 70 std::string makeName = "Get version"; in HDIDeviceV2_0Creator() 74 version = 'v' + std::to_string(hdiVersion.first) + '_' + std::to_string(hdiVersion.second); in HDIDeviceV2_0Creator() 75 const std::string& backendName = GenUniqueName(deviceName, vendorName, version); in HDIDeviceV2_0Creator()
|