Home
last modified time | relevance | path

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

123

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DTrustAgentInfoTest.java55 List<PersistableBundle> configs = in testSetAndGetTrustAgentConfiguration() local
58 assertPersistableBundleList(configs); in testSetAndGetTrustAgentConfiguration()
60 configs = mDevicePolicyManager in testSetAndGetTrustAgentConfiguration()
62 assertNull(configs); in testSetAndGetTrustAgentConfiguration()
64 configs = mDevicePolicyManager in testSetAndGetTrustAgentConfiguration()
66 assertNull(configs); in testSetAndGetTrustAgentConfiguration()
71 configs = mDevicePolicyManager in testSetAndGetTrustAgentConfiguration()
73 assertNull(configs); in testSetAndGetTrustAgentConfiguration()
74 configs = mDevicePolicyManager in testSetAndGetTrustAgentConfiguration()
76 assertPersistableBundleList(configs); in testSetAndGetTrustAgentConfiguration()
/cts/tests/tests/media/src/android/media/cts/
DAudioPlaybackConfigurationTest.java91 List<AudioPlaybackConfiguration> configs = am.getActivePlaybackConfigurations(); in testParcelableWriteToParcel() local
93 assertTrue("No playback reported", configs.size() > 0); in testParcelableWriteToParcel()
95 for (AudioPlaybackConfiguration config : configs) { in testParcelableWriteToParcel()
132 List<AudioPlaybackConfiguration> configs = am.getActivePlaybackConfigurations(); in testGetterMediaPlayer() local
133 final int nbActivePlayersBeforeStart = configs.size(); in testGetterMediaPlayer()
137 configs = am.getActivePlaybackConfigurations(); in testGetterMediaPlayer()
139 nbActivePlayersBeforeStart /*expected*/, configs.size()); in testGetterMediaPlayer()
143 configs = am.getActivePlaybackConfigurations(); in testGetterMediaPlayer()
146 configs.size()); in testGetterMediaPlayer()
147 assertTrue("Active player, attributes not found", hasAttr(configs, aa)); in testGetterMediaPlayer()
[all …]
DAudioRecordingConfigurationTest.java115 List<AudioRecordingConfiguration> configs = am.getActiveRecordingConfigurations(); in testAudioManagerGetActiveRecordConfigurations() local
116 assertNotNull("Invalid null array of record configurations before recording", configs); in testAudioManagerGetActiveRecordConfigurations()
124 configs = am.getActiveRecordingConfigurations(); in testAudioManagerGetActiveRecordConfigurations()
125 assertNotNull("Invalid null array of record configurations during recording", configs); in testAudioManagerGetActiveRecordConfigurations()
127 configs.size() > 0); in testAudioManagerGetActiveRecordConfigurations()
128 final int nbConfigsDuringRecording = configs.size(); in testAudioManagerGetActiveRecordConfigurations()
133 mAudioRecord.getFormat(), mAudioRecord.getRoutedDevice(), configs)); in testAudioManagerGetActiveRecordConfigurations()
136 verifyPrivilegedInfoIsSafe(configs.get(0)); in testAudioManagerGetActiveRecordConfigurations()
141 configs = am.getActiveRecordingConfigurations(); in testAudioManagerGetActiveRecordConfigurations()
143 configs.size(), 0); in testAudioManagerGetActiveRecordConfigurations()
[all …]
DOutputSurface.java143 EGLConfig[] configs = new EGLConfig[1]; in eglSetup() local
145 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, configs, 0, configs.length, in eglSetup()
155 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in eglSetup()
169 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DWifiConfigLockdownTest.java69 List<WifiConfiguration> configs = mWifiManager.getConfiguredNetworks(); in tearDown() local
70 for (WifiConfiguration config : configs) { in tearDown()
82 List<WifiConfiguration> configs = mWifiManager.getConfiguredNetworks(); in testDeviceOwnerCanUpdateConfig() local
84 for (WifiConfiguration config : configs) { in testDeviceOwnerCanUpdateConfig()
101 List<WifiConfiguration> configs = mWifiManager.getConfiguredNetworks(); in testDeviceOwnerCanRemoveConfig() local
103 for (WifiConfiguration config : configs) { in testDeviceOwnerCanRemoveConfig()
115 List<WifiConfiguration> configs = mWifiManager.getConfiguredNetworks(); in testRegularAppCannotUpdateDeviceOwnerConfig() local
117 for (WifiConfiguration config : configs) { in testRegularAppCannotUpdateDeviceOwnerConfig()
128 configs = mWifiManager.getConfiguredNetworks(); in testRegularAppCannotUpdateDeviceOwnerConfig()
130 for (WifiConfiguration config : configs) { in testRegularAppCannotUpdateDeviceOwnerConfig()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java248 protected void createSessionWithConfigs(String cameraId, List<OutputConfiguration> configs) in createSessionWithConfigs() argument
251 camera.createSessionWithConfigs(configs); in createSessionWithConfigs()
283 protected void finalizeOutputConfigs(String cameraId, List<OutputConfiguration> configs, in finalizeOutputConfigs() argument
287 camera.finalizeOutputConfigs(configs, listener); in finalizeOutputConfigs()
290 protected int updateRepeatingRequest(String cameraId, List<OutputConfiguration> configs, in updateRepeatingRequest() argument
294 return camera.updateRepeatingRequest(configs, listener); in updateRepeatingRequest()
305 List<OutputConfiguration> configs) { in isSessionConfigurationSupported() argument
308 return camera.isSessionConfigurationSupported(configs); in isSessionConfigurationSupported()
339 List<OutputConfiguration> configs) throws Exception { in verifyCreateSessionWithConfigsFailure() argument
341 camera.verifyCreateSessionWithConfigsFailure(configs); in verifyCreateSessionWithConfigsFailure()
[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.java176 final List<WifiConfiguration> configs = mWifiManager.getConfiguredNetworks(); in getNetworkForSsid() local
177 if (configs != null) { in getNetworkForSsid()
178 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()
DWrapperTest.java266 EGLConfig[] configs = new EGLConfig[1]; in eglSetup() local
268 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, configs, 0, configs.length, in eglSetup()
278 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in eglSetup()
291 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup()
/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/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()
DRenderTarget.java160 EGLConfig[] configs = new EGLConfig[1]; in setupThread() local
162 if (!eglChooseConfig(display, egl_attribs, 0, configs, 0, 1, num_configs, 0) in setupThread()
163 || num_configs[0] <= 0 || configs[0] == null) { in setupThread()
166 EGLConfig config = configs[0]; in setupThread()
DEGL14Test.java78 EGLConfig[] configs = new EGLConfig[1]; in setup() local
84 0, configs, 0, 1, numConfigs, 0)) { in setup()
92 mEglConfig = configs[0]; in setup()
/cts/tests/tests/car/src/android/car/cts/
DCarPropertyManagerTest.java126 List<CarPropertyConfig> configs = mCarPropertyManager.getPropertyList(mPropertyIds); in testGetProperty() local
127 for (CarPropertyConfig cfg : configs) { in testGetProperty()
160 List<CarPropertyConfig> configs = mCarPropertyManager.getPropertyList(mPropertyIds); in testIsPropertyAvailable() local
162 for (CarPropertyConfig cfg : configs) { in testIsPropertyAvailable()
172 List<CarPropertyConfig> configs = mCarPropertyManager.getPropertyList(); in testSetProperty() local
173 for (CarPropertyConfig cfg : configs) { in testSetProperty()
/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/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/drm/src/android/drm/cts/
DConfigFactory.java21 import android.drm.cts.configs.PassthruConfig;
22 import android.drm.cts.configs.FwdLockConfig;
/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/framework/base/windowmanager/src/android/server/wm/
DActivityManagerGetConfigTests.java173 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getGlExtensionsFromDriver() local
174 if (!egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getGlExtensionsFromDriver()
197 egl.eglGetConfigAttrib(display, configs[i], EGL10.EGL_CONFIG_CAVEAT, attrib); in getGlExtensionsFromDriver()
205 egl.eglGetConfigAttrib(display, configs[i], EGL10.EGL_SURFACE_TYPE, attrib); in getGlExtensionsFromDriver()
212 egl.eglGetConfigAttrib(display, configs[i], EGL10.EGL_RENDERABLE_TYPE, attrib); in getGlExtensionsFromDriver()
214 addExtensionsForConfig(egl, display, configs[i], surfaceSize, null, glExtensions); in getGlExtensionsFromDriver()
217 addExtensionsForConfig(egl, display, configs[i], surfaceSize, gles2, glExtensions); in getGlExtensionsFromDriver()
/cts/tests/tests/security/src/android/security/cts/
DRenderTarget.java163 EGLConfig[] configs = new EGLConfig[1]; in setupThread() local
165 if (!eglChooseConfig(display, egl_attribs, 0, configs, 0, 1, num_configs, 0) in setupThread()
166 || num_configs[0] <= 0 || configs[0] == null) { in setupThread()
169 EGLConfig config = configs[0]; in setupThread()

123