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()
158 if (!isSupported()) return; in testAppIdleNetworkAccess_whenCharging()
184 if (!isSupported()) return; in testAppIdleNetworkAccess_idleWhitelisted()
203 if (!isSupported()) return; in testAppIdle_toast()
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.java54 if (!isSupported()) return; in tearDown()
69 protected boolean isSupported() throws Exception { in isSupported() method in DataSaverModeTest
74 return mIsDataSaverSupported && super.isSupported(); in isSupported()
78 if (!isSupported()) return; in testGetRestrictBackgroundStatus_disabled()
92 if (!isSupported()) return; in testGetRestrictBackgroundStatus_whitelisted()
111 if (!isSupported()) return; in testGetRestrictBackgroundStatus_enabled()
146 if (!isSupported()) return; in testGetRestrictBackgroundStatus_blacklisted()
184 if (!isSupported()) return; in testGetRestrictBackgroundStatus_requiredWhitelistedPackages()
207 if (isSupported()) return; in testBroadcastNotSentOnUnsupportedDevices()
DMixedModesTest.java36 if (!isSupported()) return; in setUp()
51 if (!isSupported()) return; in tearDown()
61 public boolean isSupported() throws Exception { in isSupported() method in MixedModesTest
79 if (!isSupported()) return; in testDataAndBatterySaverModes_meteredNetwork()
154 if (!isSupported()) return; in testDataAndBatterySaverModes_nonMeteredNetwork()
224 if (!isSupported()) { in testDozeAndBatterySaverMode_powerSaveWhitelists()
254 if (!isSupported()) { in testDozeAndAppIdle_powerSaveWhitelists()
280 if (!isSupported()) { in testAppIdleAndDoze_tempPowerSaveWhitelists()
308 if (!isSupported()) { in testAppIdleAndBatterySaver_tempPowerSaveWhitelists()
334 if (!isSupported()) { in testDozeAndAppIdle_appIdleWhitelist()
[all …]
DAbstractBatterySaverModeTestCase.java31 if (!isSupported()) return; in setUp()
45 if (!isSupported()) return; in tearDown()
55 protected boolean isSupported() throws Exception { in isSupported() method in AbstractBatterySaverModeTestCase
88 if (!isSupported()) return; in testBackgroundNetworkAccess_enabled()
122 if (!isSupported()) return; in testBackgroundNetworkAccess_whitelisted()
144 if (!isSupported()) return; in testBackgroundNetworkAccess_disabled()
DAbstractRestrictBackgroundNetworkTestCase.java314 protected boolean isSupported() throws Exception { in isSupported() method in AbstractRestrictBackgroundNetworkTestCase
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java97 if (!isSupported()) return; in setUpClass()
121 if (!isSupported()) return; in tearDownClass()
129 if (!isSupported()) return; in setUp()
142 if (!isSupported()) return; in testSanity()
157 if (!isSupported()) return; in testGetActiveSubscriptionInfoCount()
164 if (!isSupported()) return; in testIsActiveSubscriptionId()
170 if (!isSupported()) return; in testGetSubscriptionIds()
179 if (!isSupported()) return; in testIsUsableSubscriptionId()
185 if (!isSupported()) return; in testActiveSubscriptions()
206 if (!isSupported()) return;
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java117 assertTrue(HardwareBuffer.isSupported(1, 1, HardwareBuffer.RGBA_8888, in testIsSupported()
119 assertTrue(HardwareBuffer.isSupported(1, 1, HardwareBuffer.RGBA_8888, in testIsSupported()
121 assertFalse(HardwareBuffer.isSupported(1, 1, HardwareBuffer.BLOB, in testIsSupported()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java568 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in videoPreviewSurfaceSharingTestByCamera()
1061 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in recordingSizeTestByCamera()
1319 boolean isSupported = isStreamConfigurationSupported( in videoSnapshotTestByCamera()
1321 if (!isSupported) { in videoSnapshotTestByCamera()
1336 boolean isSupported = isStreamConfigurationSupported( in videoSnapshotTestByCamera()
1338 if (!isSupported) { in videoSnapshotTestByCamera()
2038 private boolean isSupported(Size sz, int captureRate, int encodingRate) throws Exception {
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java262 if (isSupported(type)) { in testGetNetworkInfo()
282 int desiredFoundCount = (isSupported(type) ? 1 : 0); in testGetAllNetworkInfo()
390 private boolean isSupported(int networkType) { in isSupported() method in ConnectivityManagerTest
400 if (isSupported(type)) { in testIsNetworkSupported()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecListTest.java336 boolean isSupported = false; in areRequiredCodecTypesSupported()
339 isSupported = true; in areRequiredCodecTypesSupported()
342 if (!isSupported) { in areRequiredCodecTypesSupported()
DMediaPlayerTest.java1034 boolean isSupported = false; in testRecordedVideoPlaybackWithAngle()
1053 isSupported = true; in testRecordedVideoPlaybackWithAngle()
1059 if (!isSupported) { in testRecordedVideoPlaybackWithAngle()
/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