Home
last modified time | relevance | path

Searched refs:isSupported (Results 1 – 14 of 14) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractAppIdleTestCase.java31 if (!isSupported()) return; in setUp()
46 if (!isSupported()) return; in tearDown()
57 protected boolean isSupported() throws Exception { in isSupported() method in AbstractAppIdleTestCase
75 if (!isSupported()) return; in testBackgroundNetworkAccess_enabled()
102 if (!isSupported()) return; in testBackgroundNetworkAccess_whitelisted()
131 if (!isSupported()) return; in testBackgroundNetworkAccess_tempWhitelisted()
144 if (!isSupported()) return; in testBackgroundNetworkAccess_disabled()
153 if (!isSupported()) return; in testAppIdleNetworkAccess_whenCharging()
179 if (!isSupported()) return; in testAppIdle_toast()
DAbstractBatterySaverModeTestCase.java30 if (!isSupported()) return; in setUp()
44 if (!isSupported()) return; in tearDown()
54 protected boolean isSupported() throws Exception { in isSupported() method in AbstractBatterySaverModeTestCase
80 if (!isSupported()) return; in testBackgroundNetworkAccess_enabled()
114 if (!isSupported()) return; in testBackgroundNetworkAccess_whitelisted()
136 if (!isSupported()) return; in testBackgroundNetworkAccess_disabled()
DAbstractDozeModeTestCase.java31 if (!isSupported()) return; in setUp()
45 if (!isSupported()) return; in tearDown()
55 protected boolean isSupported() throws Exception { in isSupported() method in AbstractDozeModeTestCase
81 if (!isSupported()) return; in testBackgroundNetworkAccess_enabled()
100 if (!isSupported()) return; in testBackgroundNetworkAccess_whitelisted()
122 if (!isSupported()) return; in testBackgroundNetworkAccess_disabled()
132 if (!isSupported() || isLowRamDevice()) return; in testBackgroundNetworkAccess_enabledButWhitelistedOnNotificationAction()
DDataSaverModeTest.java38 if (!isSupported()) return; in setUp()
53 if (!isSupported()) return; in tearDown()
68 protected boolean isSupported() throws Exception { in isSupported() method in DataSaverModeTest
73 return mIsDataSaverSupported && super.isSupported(); in isSupported()
94 if (!isSupported()) return; in testGetRestrictBackgroundStatus_disabled()
108 if (!isSupported()) return; in testGetRestrictBackgroundStatus_whitelisted()
127 if (!isSupported()) return; in testGetRestrictBackgroundStatus_enabled()
162 if (!isSupported()) return; in testGetRestrictBackgroundStatus_blacklisted()
200 if (!isSupported()) return; in testGetRestrictBackgroundStatus_requiredWhitelistedPackages()
DMixedModesTest.java36 if (!isSupported()) return; in setUp()
51 if (!isSupported()) return; in tearDown()
61 public boolean isSupported() throws Exception { in isSupported() method in MixedModesTest
74 if (!isSupported()) return; in testDataAndBatterySaverModes_meteredNetwork()
144 if (!isSupported()) return; in testDataAndBatterySaverModes_nonMeteredNetwork()
209 if (!isSupported()) { in testDozeAndBatterySaverMode_powerSaveWhitelists()
239 if (!isSupported()) { in testDozeAndAppIdle_powerSaveWhitelists()
265 if (!isSupported()) { in testAppIdleAndDoze_tempPowerSaveWhitelists()
288 if (!isSupported()) { in testAppIdleAndBatterySaver_tempPowerSaveWhitelists()
DAbstractRestrictBackgroundNetworkTestCase.java300 protected boolean isSupported() throws Exception { in isSupported() method in AbstractRestrictBackgroundNetworkTestCase
/cts/tests/tests/telephony/src/android/telephony/cts/
DSubscriptionManagerTest.java94 if (isSupported() && !hasCellular) { in testSanity()
97 } else if (!isSupported() && hasCellular) { in testSanity()
102 if (isSupported()) { in testSanity()
111 if (!isSupported()) return; in testGetActiveSubscriptionInfoCount()
119 if (!isSupported()) return; in testActiveSubscriptions()
133 if (!isSupported()) return; in testSubscriptionPlans()
163 if (!isSupported()) return; in testSubscriptionPlansOverrideCongested()
216 if (!isSupported()) return; in testSubscriptionPlansOverrideUnmetered()
251 if (!isSupported()) return; in testSubscriptionPlansInvalid()
346 private static boolean isSupported() { in isSupported() method in SubscriptionManagerTest
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecListTest.java323 boolean isSupported = false; in areRequiredCodecTypesSupported()
326 isSupported = true; in areRequiredCodecTypesSupported()
329 if (!isSupported) { in areRequiredCodecTypesSupported()
DMediaPlayer2Test.java841 boolean isSupported = false;
853 isSupported = true;
859 if (!isSupported) {
DMediaPlayerTest.java1025 boolean isSupported = false; in testRecordedVideoPlaybackWithAngle()
1037 isSupported = true; in testRecordedVideoPlaybackWithAngle()
1043 if (!isSupported) { in testRecordedVideoPlaybackWithAngle()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java252 if (isSupported(type)) { in testGetNetworkInfo()
272 int desiredFoundCount = (isSupported(type) ? 1 : 0); in testGetAllNetworkInfo()
409 private boolean isSupported(int networkType) { in isSupported() method in ConnectivityManagerTest
419 if (isSupported(type)) { in testIsNetworkSupported()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java515 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in videoPreviewSurfaceSharingTestByCamera()
992 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in recordingSizeTestByCamera()
1248 boolean isSupported = isStreamConfigurationSupported( in videoSnapshotTestByCamera()
1250 if (!isSupported) { in videoSnapshotTestByCamera()
1881 private boolean isSupported(Size sz, int captureRate, int encodingRate) throws Exception {
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureSurfaceView.java284 if (mCompressedTexture != null && !mCompressedTexture.isSupported()) { in onSurfaceCreated()
DCompressedTextureLoader.java75 public boolean isSupported() { return isFormatSupported(mFormatName); } in isSupported() method in CompressedTextureLoader.Texture