Home
last modified time | relevance | path

Searched refs:configs (Results 1 – 25 of 85) sorted by relevance

1234

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DWifiConfigLockdownTest.java72 List<WifiConfiguration> configs = getConfiguredNetworks(); in tearDown() local
73 logConfigs("tearDown()", configs); in tearDown()
74 for (WifiConfiguration config : configs) { in tearDown()
87 List<WifiConfiguration> configs = getConfiguredNetworks(); in testDeviceOwnerCanUpdateConfig() local
88 logConfigs("testDeviceOwnerCanUpdateConfig()", configs); in testDeviceOwnerCanUpdateConfig()
90 for (WifiConfiguration config : configs) { in testDeviceOwnerCanUpdateConfig()
115 List<WifiConfiguration> configs = getConfiguredNetworks(); in testDeviceOwnerCanRemoveConfig() local
116 logConfigs("testDeviceOwnerCanRemoveConfig()", configs); in testDeviceOwnerCanRemoveConfig()
118 for (WifiConfiguration config : configs) { in testDeviceOwnerCanRemoveConfig()
138 logConfigs("After removing " + removeCount, configs); in testDeviceOwnerCanRemoveConfig()
[all …]
DWifiNetworkConfigurationWithoutFineLocationPermissionTest.java72 List<WifiConfiguration> configs = mWifiManager.getCallerConfiguredNetworks(); in testAddAndRetrieveCallerConfiguredNetworks() local
73 assertWithMessage("configured networks").that(configs).isNotEmpty(); in testAddAndRetrieveCallerConfiguredNetworks()
74 assertWithMessage("SSID of configured networks").that(configs.get(0).SSID) in testAddAndRetrieveCallerConfiguredNetworks()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioRecordingConfigurationTest.java113 List<AudioRecordingConfiguration> configs = am.getActiveRecordingConfigurations(); in testAudioManagerGetActiveRecordConfigurations() local
114 assertNotNull("Invalid null array of record configurations before recording", configs); in testAudioManagerGetActiveRecordConfigurations()
122 configs = am.getActiveRecordingConfigurations(); in testAudioManagerGetActiveRecordConfigurations()
123 assertNotNull("Invalid null array of record configurations during recording", configs); in testAudioManagerGetActiveRecordConfigurations()
125 configs.size() > 0); in testAudioManagerGetActiveRecordConfigurations()
126 final int nbConfigsDuringRecording = configs.size(); in testAudioManagerGetActiveRecordConfigurations()
131 mAudioRecord.getFormat(), mAudioRecord.getRoutedDevice(), configs)); in testAudioManagerGetActiveRecordConfigurations()
134 verifyPrivilegedInfoIsSafe(configs.get(0)); in testAudioManagerGetActiveRecordConfigurations()
139 configs = am.getActiveRecordingConfigurations(); in testAudioManagerGetActiveRecordConfigurations()
141 configs.size(), 0); in testAudioManagerGetActiveRecordConfigurations()
[all …]
DAudioPlaybackConfigurationTest.java164 List<AudioPlaybackConfiguration> configs = am.getActivePlaybackConfigurations(); in testParcelableWriteToParcel() local
166 assertTrue("No playback reported", configs.size() > 0); in testParcelableWriteToParcel()
169 for (AudioPlaybackConfiguration config : configs) { in testParcelableWriteToParcel()
209 List<AudioPlaybackConfiguration> configs = am.getActivePlaybackConfigurations(); in testGetterMediaPlayer() local
210 final int nbActivePlayersBeforeStart = configs.size(); in testGetterMediaPlayer()
213 configs = am.getActivePlaybackConfigurations(); in testGetterMediaPlayer()
215 nbActivePlayersBeforeStart /*expected*/, configs.size()); in testGetterMediaPlayer()
220 configs = am.getActivePlaybackConfigurations(); in testGetterMediaPlayer()
223 configs.size()); in testGetterMediaPlayer()
224 assertTrue("Active player, attributes not found", hasAttr(configs, aa)); in testGetterMediaPlayer()
[all …]
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DTrustAgentInfoTest.java77 List<PersistableBundle> configs = in setTrustAgentConfiguration_isSet() local
81 assertThat(configs).hasSize(1); in setTrustAgentConfiguration_isSet()
82 PersistableBundle actual = configs.get(0); in setTrustAgentConfiguration_isSet()
120 Set<PersistableBundle> configs = in setTrustAgentConfiguration_trustAgentIsEnabled_isNotSet() local
122 assertThat(configs.stream().noneMatch( in setTrustAgentConfiguration_trustAgentIsEnabled_isNotSet()
143 Set<PersistableBundle> configs = in setTrustAgentConfiguration_trustAgentIsDisabled_isSet() local
145 assertThat(configs.stream().anyMatch( in setTrustAgentConfiguration_trustAgentIsDisabled_isSet()
169 Set<PersistableBundle> configs = in setTrustAgentConfiguration_trustAgentIsConfigured_isSet() local
171 assertThat(configs.stream().anyMatch( in setTrustAgentConfiguration_trustAgentIsConfigured_isSet()
214 Set<PersistableBundle> configs = in setTrustAgentConfiguration_doesNotApply_trustAgentIsConfigured_isNotSet() local
[all …]
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGLtestView.java173 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() local
174 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig()
177 printConfigs(egl, display, configs); in chooseConfig()
181 return chooseConfig(egl, display, configs); in chooseConfig()
185 EGLConfig[] configs) { in chooseConfig() argument
186 for(EGLConfig config : configs) { in chooseConfig()
222 EGLConfig[] configs) { in printConfigs() argument
223 int numConfigs = configs.length; in printConfigs()
227 printConfig(egl, display, configs[i]); in printConfigs()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DTrustAgentInfoTest.java115 List<PersistableBundle> configs = getDevicePolicyManager(isParent) in setAndGetTrustAgentConfigurationInternal() local
117 assertNull(configs); in setAndGetTrustAgentConfigurationInternal()
120 configs = getDevicePolicyManager(isParent) in setAndGetTrustAgentConfigurationInternal()
123 ASSERT_PARENT_CONFIG : ASSERT_CHILD_CONFIG, configs); in setAndGetTrustAgentConfigurationInternal()
147 List<PersistableBundle> configs = in setTrustAgentConfiguration() local
152 ASSERT_CHILD_CONFIG, configs); in setTrustAgentConfiguration()
DWifiTest.java153 final List<WifiConfiguration> configs = mWifiManager.getConfiguredNetworks(); in getNetworkForSsid() local
154 if (configs != null) { in getNetworkForSsid()
155 for (WifiConfiguration config : configs) { in getNetworkForSsid()
/cts/tests/tests/opengl/src/android/opengl/cts/
DEgl10Utils.java42 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() local
43 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, value)) { in chooseConfig()
46 EGLConfig config = chooseConfig(egl, display, configs, configSpec); in chooseConfig()
74 EGLConfig[] configs, int[] configSpec) { in chooseConfig() argument
83 for (EGLConfig config : configs) { in chooseConfig()
DEglConfigCtsActivity.java164 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getEglConfigIds() local
165 if (egl.eglChooseConfig(display, attributeList, configs, configs.length, in getEglConfigIds()
170 if (egl.eglGetConfigAttrib(display, configs[i], EGL10.EGL_CONFIG_ID, in getEglConfigIds()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java246 protected void createSessionWithConfigs(String cameraId, List<OutputConfiguration> configs) in createSessionWithConfigs() argument
249 camera.createSessionWithConfigs(configs); in createSessionWithConfigs()
281 protected void finalizeOutputConfigs(String cameraId, List<OutputConfiguration> configs, in finalizeOutputConfigs() argument
285 camera.finalizeOutputConfigs(configs, listener); in finalizeOutputConfigs()
288 protected int updateRepeatingRequest(String cameraId, List<OutputConfiguration> configs, in updateRepeatingRequest() argument
292 return camera.updateRepeatingRequest(configs, listener); in updateRepeatingRequest()
303 List<OutputConfiguration> configs) throws Exception { in isSessionConfigurationSupported() argument
306 return camera.isSessionConfigurationSupported(configs); in isSessionConfigurationSupported()
337 List<OutputConfiguration> configs) throws Exception { in verifyCreateSessionWithConfigsFailure() argument
339 camera.verifyCreateSessionWithConfigsFailure(configs); in verifyCreateSessionWithConfigsFailure()
[all …]
/cts/tests/tests/car/src/android/car/cts/
DCarOccupantZoneManagerTest.java471 List<DisplayConfig> configs; in testGetSupportedInputTypes_validatedInputTypes() local
473 configs = parseDisplayConfigsFromDumpProto(); in testGetSupportedInputTypes_validatedInputTypes()
477 configs = parseDisplayConfigsFromDump(dump); in testGetSupportedInputTypes_validatedInputTypes()
479 assumeTrue("No display config found for device", configs.size() > 0); in testGetSupportedInputTypes_validatedInputTypes()
482 for (DisplayConfig c : configs) { in testGetSupportedInputTypes_validatedInputTypes()
505 List<DisplayConfig> configs; in testGetSupportedInputTypes_validatedInputTypesForAndroidU() local
507 configs = parseDisplayConfigsFromDumpProto(); in testGetSupportedInputTypes_validatedInputTypesForAndroidU()
511 configs = parseDisplayConfigsFromDump(dump); in testGetSupportedInputTypes_validatedInputTypesForAndroidU()
513 assertWithMessage("Device's display config cannot be empty").that(configs).isNotEmpty(); in testGetSupportedInputTypes_validatedInputTypesForAndroidU()
515 for (DisplayConfig c : configs) { in testGetSupportedInputTypes_validatedInputTypesForAndroidU()
[all …]
/cts/tests/tests/drm/src/android/drm/cts/
DConfigFactory.java21 import android.drm.cts.configs.PassthruConfig;
22 import android.drm.cts.configs.FwdLockConfig;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaOutputSurface.java147 EGLConfig[] configs = new EGLConfig[1]; in eglSetup() local
149 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, configs, 0, configs.length, in eglSetup()
159 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in eglSetup()
173 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSyncTest.java77 EGLConfig[] configs = new EGLConfig[1]; in setup() local
84 0, configs, 0, 1, numConfigs, 0)) { in setup()
87 mEglConfig = configs[0]; in setup()
DASurfaceTextureTest.java67 EGLConfig[] configs = new EGLConfig[1]; in setup() local
73 0, configs, 0, 1, numConfigs, 0)) { in setup()
76 mEglConfig = configs[0]; in setup()
/cts/tests/tests/drm/
DREADME2 "src/android/drm/cts/configs/" according to the specification
5 file under "src/android/drm/cts/configs/" and update
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DXfermodeTest.java77 public static List<XfermodeTest.Config> configs(Object[][] modesAndExpectedColors) { in configs() method in XfermodeTest
78 List<XfermodeTest.Config> configs = new ArrayList<>(); in configs() local
81 configs.add(new XfermodeTest.Config(hardwareAccelerated, modeAndExpectedColors)); in configs()
84 return configs; in configs()
138 public static List<Config> configs() { in configs() method in XfermodeTest
139 return configs(MODES_AND_EXPECTED_COLORS); in configs()
/cts/tests/mediapc/src/android/mediapc/cts/
DOutputSurface.java149 EGLConfig[] configs = new EGLConfig[1]; in eglSetup() local
151 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, configs, 0, configs.length, in eglSetup()
161 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in eglSetup()
175 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup()
DExtYuvTargetSupportTest.java105 EGLConfig[] configs = new EGLConfig[1]; in eglSetup() local
107 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, configs, 0, configs.length, in eglSetup()
119 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in eglSetup()
137 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup()
/cts/tests/tests/effect/src/android/effect/cts/
DGLEnv.java52 EGLConfig[] configs = new EGLConfig[1]; in GLEnv() local
54 egl.eglChooseConfig(mEGLDisplay, configSpec, configs, 1, num_config); in GLEnv()
59 mEGLConfig = configs[0]; in GLEnv()
/cts/tests/tests/media/common/src/android/media/cts/
DOutputSurface.java176 EGLConfig[] configs = new EGLConfig[1]; in eglSetup() local
178 if (!EGL14.eglChooseConfig(mEGLDisplay, configAttribList, 0, configs, 0, configs.length, in eglSetup()
203 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in eglSetup()
228 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup()
/cts/tests/tests/view/src/android/view/cts/
DGLProducerThread.java100 EGLConfig[] configs = new EGLConfig[1]; in initGL() local
101 if (!mEgl.eglChooseConfig(mEglDisplay, configAttribs, configs, 1, numConfigs) in initGL()
111 configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs); in initGL()
114 configs[0], mSurfaceTexture, null); in initGL()
/cts/tests/media/common/src/android/mediav2/common/cts/
DOutputSurface.java173 EGLConfig[] configs = new EGLConfig[1]; in eglSetup() local
175 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, configs, 0, configs.length, in eglSetup()
193 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in eglSetup()
215 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup()
/cts/tests/tests/media/common/jni/
DNdkInputSurface-jni.cpp59 EGLConfig configs[1]; in Java_android_media_cts_NdkInputSurface_eglChooseConfig() local
61 …if (!eglChooseConfig(reinterpret_cast<EGLDisplay>(eglDisplay), attribList, configs, 1, numConfigs)… in Java_android_media_cts_NdkInputSurface_eglChooseConfig()
64 return reinterpret_cast<jlong>(configs[0]); in Java_android_media_cts_NdkInputSurface_eglChooseConfig()

1234