/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | TrustAgentInfoTest.java | 55 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/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | WifiConfigLockdownTest.java | 65 List<WifiConfiguration> configs = mWifiConfigCreator.getConfiguredNetworks(); in tearDown() local 66 logConfigs("tearDown()", configs); in tearDown() 67 for (WifiConfiguration config : configs) { in tearDown() 80 List<WifiConfiguration> configs = mWifiConfigCreator.getConfiguredNetworks(); in testDeviceOwnerCanUpdateConfig() local 81 logConfigs("testDeviceOwnerCanUpdateConfig()", configs); in testDeviceOwnerCanUpdateConfig() 83 for (WifiConfiguration config : configs) { in testDeviceOwnerCanUpdateConfig() 108 List<WifiConfiguration> configs = mWifiConfigCreator.getConfiguredNetworks(); in testRegularAppCannotUpdateDeviceOwnerConfig() local 109 logConfigs("testRegularAppCannotUpdateDeviceOwnerConfig()", configs); in testRegularAppCannotUpdateDeviceOwnerConfig() 111 for (WifiConfiguration config : configs) { in testRegularAppCannotUpdateDeviceOwnerConfig() 124 configs = mWifiConfigCreator.getConfiguredNetworks(); in testRegularAppCannotUpdateDeviceOwnerConfig() [all …]
|
D | WifiNetworkConfigurationWithoutFineLocationPermissionTest.java | 72 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/src/android/media/cts/ |
D | AudioRecordingConfigurationTest.java | 116 List<AudioRecordingConfiguration> configs = am.getActiveRecordingConfigurations(); in testAudioManagerGetActiveRecordConfigurations() local 117 assertNotNull("Invalid null array of record configurations before recording", configs); in testAudioManagerGetActiveRecordConfigurations() 125 configs = am.getActiveRecordingConfigurations(); in testAudioManagerGetActiveRecordConfigurations() 126 assertNotNull("Invalid null array of record configurations during recording", configs); in testAudioManagerGetActiveRecordConfigurations() 128 configs.size() > 0); in testAudioManagerGetActiveRecordConfigurations() 129 final int nbConfigsDuringRecording = configs.size(); in testAudioManagerGetActiveRecordConfigurations() 134 mAudioRecord.getFormat(), mAudioRecord.getRoutedDevice(), configs)); in testAudioManagerGetActiveRecordConfigurations() 137 verifyPrivilegedInfoIsSafe(configs.get(0)); in testAudioManagerGetActiveRecordConfigurations() 142 configs = am.getActiveRecordingConfigurations(); in testAudioManagerGetActiveRecordConfigurations() 144 configs.size(), 0); in testAudioManagerGetActiveRecordConfigurations() [all …]
|
D | AudioPlaybackConfigurationTest.java | 105 List<AudioPlaybackConfiguration> configs = am.getActivePlaybackConfigurations(); in testParcelableWriteToParcel() local 107 assertTrue("No playback reported", configs.size() > 0); in testParcelableWriteToParcel() 109 for (AudioPlaybackConfiguration config : configs) { in testParcelableWriteToParcel() 146 List<AudioPlaybackConfiguration> configs = am.getActivePlaybackConfigurations(); in testGetterMediaPlayer() local 147 final int nbActivePlayersBeforeStart = configs.size(); in testGetterMediaPlayer() 153 configs = am.getActivePlaybackConfigurations(); in testGetterMediaPlayer() 155 nbActivePlayersBeforeStart /*expected*/, configs.size()); in testGetterMediaPlayer() 159 configs = am.getActivePlaybackConfigurations(); in testGetterMediaPlayer() 162 configs.size()); in testGetterMediaPlayer() 163 assertTrue("Active player, attributes not found", hasAttr(configs, aa)); in testGetterMediaPlayer() [all …]
|
D | OutputSurface.java | 143 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/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 235 protected void createSessionWithConfigs(String cameraId, List<OutputConfiguration> configs) in createSessionWithConfigs() argument 238 camera.createSessionWithConfigs(configs); in createSessionWithConfigs() 270 protected void finalizeOutputConfigs(String cameraId, List<OutputConfiguration> configs, in finalizeOutputConfigs() argument 274 camera.finalizeOutputConfigs(configs, listener); in finalizeOutputConfigs() 277 protected int updateRepeatingRequest(String cameraId, List<OutputConfiguration> configs, in updateRepeatingRequest() argument 281 return camera.updateRepeatingRequest(configs, listener); in updateRepeatingRequest() 292 List<OutputConfiguration> configs) { in isSessionConfigurationSupported() argument 295 return camera.isSessionConfigurationSupported(configs); in isSessionConfigurationSupported() 326 List<OutputConfiguration> configs) throws Exception { in verifyCreateSessionWithConfigsFailure() argument 328 camera.verifyCreateSessionWithConfigsFailure(configs); in verifyCreateSessionWithConfigsFailure() [all …]
|
/cts/hostsidetests/sustainedperf/shadertoy_android/src/ |
D | GLtestView.java | 173 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/ |
D | TrustAgentInfoTest.java | 115 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()
|
D | WifiTest.java | 163 final List<WifiConfiguration> configs = mWifiManager.getConfiguredNetworks(); in getNetworkForSsid() local 164 if (configs != null) { in getNetworkForSsid() 165 for (WifiConfiguration config : configs) { in getNetworkForSsid()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | Egl10Utils.java | 42 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()
|
D | EglConfigCtsActivity.java | 164 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()
|
D | WrapperTest.java | 266 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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | CtsMediaOutputSurface.java | 147 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/uirendering/src/android/uirendering/cts/testclasses/ |
D | XfermodeTest.java | 77 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/media/src/android/mediav2/cts/ |
D | OutputSurface.java | 149 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()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SyncTest.java | 77 EGLConfig[] configs = new EGLConfig[1]; in setup() local 84 0, configs, 0, 1, numConfigs, 0)) { in setup() 87 mEglConfig = configs[0]; in setup()
|
D | ASurfaceTextureTest.java | 67 EGLConfig[] configs = new EGLConfig[1]; in setup() local 73 0, configs, 0, 1, numConfigs, 0)) { in setup() 76 mEglConfig = configs[0]; in setup()
|
D | RenderTarget.java | 160 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()
|
D | EGL14Test.java | 78 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/drm/src/android/drm/cts/ |
D | ConfigFactory.java | 21 import android.drm.cts.configs.PassthruConfig; 22 import android.drm.cts.configs.FwdLockConfig;
|
/cts/tests/tests/drm/ |
D | README | 2 "src/android/drm/cts/configs/" according to the specification 5 file under "src/android/drm/cts/configs/" and update
|
/cts/tests/tests/effect/src/android/effect/cts/ |
D | GLEnv.java | 52 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/view/src/android/view/cts/ |
D | GLProducerThread.java | 100 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/security/src/android/security/cts/ |
D | RenderTarget.java | 163 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()
|