Home
last modified time | relevance | path

Searched refs:mVcnManager (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/vcn/src/android/net/vcn/cts/
DVcnManagerTest.java141 private final VcnManager mVcnManager; field in VcnManagerTest
150 mVcnManager = mContext.getSystemService(VcnManager.class); in VcnManagerTest()
176 assumeTrue(hasTelephonyFlag || mVcnManager != null); in setUp()
232 mVcnManager.setVcnConfig(new ParcelUuid(UUID.randomUUID()), buildVcnConfig()); in testSetVcnConfig_noCarrierPrivileges()
240 mVcnManager.setVcnConfig(subGrp, buildVcnConfig()); in testSetVcnConfig_withCarrierPrivileges()
249 mVcnManager.clearVcnConfig(new ParcelUuid(UUID.randomUUID())); in testClearVcnConfig_noCarrierPrivileges()
258 mVcnManager.clearVcnConfig(subGrp); in testClearVcnConfig_withCarrierPrivileges()
288 mVcnManager.addVcnNetworkPolicyChangeListener(INLINE_EXECUTOR, listener); in testAddVcnNetworkPolicyChangeListener_noNetworkFactoryPermission()
290 mVcnManager.removeVcnNetworkPolicyChangeListener(listener); in testAddVcnNetworkPolicyChangeListener_noNetworkFactoryPermission()
299 mVcnManager.removeVcnNetworkPolicyChangeListener(listener); in testRemoveVcnNetworkPolicyChangeListener_noNetworkFactoryPermission()
[all …]
DVcnSystemRequirementsTest.java43 private final VcnManager mVcnManager = mContext.getSystemService(VcnManager.class); field in VcnSystemRequirementsTest
72 assertNotNull("VcnManager must be present on this device", mVcnManager); in testVcnAndDependenciesOnVOrNewerDevices()
DTestNetworkWrapper.java93 private final VcnManager mVcnManager; field in TestNetworkWrapper
111 mVcnManager = context.getSystemService(VcnManager.class); in TestNetworkWrapper()
136 final VcnNetworkPolicyResult policy = mVcnManager.applyVcnNetworkPolicy(nc, lp); in TestNetworkWrapper()
299 mVcnManager.addVcnNetworkPolicyChangeListener(INLINE_EXECUTOR, mPolicyListener); in TestNetworkAgent()
321 mVcnManager.removeVcnNetworkPolicyChangeListener(mPolicyListener); in teardown()
347 mVcnManager.applyVcnNetworkPolicy( in onPolicyChanged()