Home
last modified time | relevance | path

Searched refs:targetApiVersion (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/netmanager_base/utils/bundle_utils/src/
H A Dnet_bundle_impl.cpp114 auto targetApiVersion = bundleInfo.applicationInfo.apiTargetVersion % API_VERSION_MOD; in ObtainTargetApiVersionForSelf() local
115 NETMGR_LOG_I("Got target API version %{public}d.", targetApiVersion); in ObtainTargetApiVersionForSelf()
116 return targetApiVersion; in ObtainTargetApiVersionForSelf()
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnet_conn_client.cpp969 bool NetConnClient::IsAPIVersionSupported(int targetApiVersion) in IsAPIVersionSupported() argument
973 return currentApiVersion.value_or(targetApiVersion) >= targetApiVersion; in IsAPIVersionSupported()
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dnet_conn_client.h440 * than {@link targetApiVersion}, which meaning the caller process has same or later
443 * @param targetApiVersion target API version.
447 static bool IsAPIVersionSupported(int targetApiVersion);
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/
H A Dnet_conn_client_test.cpp1447 int targetApiVersion = 1; in HWTEST_F() local
1448 EXPECT_TRUE(NetConnClient::IsAPIVersionSupported(targetApiVersion)); in HWTEST_F()

Completed in 6 milliseconds