Home
last modified time | relevance | path

Searched refs:configuration (Results 1 – 20 of 20) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityManagerGetConfigTests.java248 config.fontScale, resConfig.configuration.fontScale, Float.MIN_VALUE*5); in checkResourceConfig()
250 config.mcc, resConfig.configuration.mcc); in checkResourceConfig()
252 config.mnc, resConfig.configuration.mnc); in checkResourceConfig()
254 LocaleList lprotos = LocaleList.forLanguageTags(resConfig.configuration.localeList); in checkResourceConfig()
261 config.screenLayout, resConfig.configuration.screenLayout); in checkResourceConfig()
263 config.colorMode, resConfig.configuration.colorMode); in checkResourceConfig()
265 config.touchscreen, resConfig.configuration.touchscreen); in checkResourceConfig()
267 config.keyboard, resConfig.configuration.keyboard); in checkResourceConfig()
269 config.keyboardHidden, resConfig.configuration.keyboardHidden); in checkResourceConfig()
271 config.hardKeyboardHidden, resConfig.configuration.hardKeyboardHidden); in checkResourceConfig()
[all …]
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DScreenDeviceInfo.java46 Configuration configuration = getContext().getResources().getConfiguration(); in collectDeviceInfo() local
47 store.addResult("screen_size", getScreenSize(configuration)); in collectDeviceInfo()
48 store.addResult("smallest_screen_width_dp", configuration.smallestScreenWidthDp); in collectDeviceInfo()
51 private static String getScreenSize(Configuration configuration) { in getScreenSize() argument
52 int screenLayout = configuration.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; in getScreenSize()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAttachedContextActivity.java52 final Configuration configuration = resources.getConfiguration(); in applyLocale() local
53 configuration.setLocale(new Locale(language)); in applyLocale()
54 return context.createConfigurationContext(configuration); in applyLocale()
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/
DTestActivity.java61 final Configuration configuration = getResources().getConfiguration(); in onResume() local
62 dumpConfiguration(configuration); in onResume()
63 dumpAssetSeqNumber(configuration); in onResume()
/cts/tests/tests/drm/
DREADME1 - User of CTS code needs to edit configuration files in
4 - If new plug-in is added, user should add corresponding configuration
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDevicePolicyManagerParentSupportTest.java140 final PersistableBundle configuration = new PersistableBundle(); in testSetAndGetTrustAgentConfiguration_onParent() local
143 configuration.putString(key, value); in testSetAndGetTrustAgentConfiguration_onParent()
146 ADMIN_RECEIVER_COMPONENT, FAKE_COMPONENT, configuration); in testSetAndGetTrustAgentConfiguration_onParent()
/cts/tests/tests/media/src/android/media/cts/
DVolumeShaperTest.java239 public VolumeShaper createVolumeShaper(VolumeShaper.Configuration configuration); in createVolumeShaper() argument
266 public VolumeShaper createVolumeShaper(VolumeShaper.Configuration configuration) { in createVolumeShaper() argument
267 return mTrack.createVolumeShaper(configuration); in createVolumeShaper()
301 public VolumeShaper createVolumeShaper(VolumeShaper.Configuration configuration) { in createVolumeShaper() argument
302 return mPlayer.createVolumeShaper(configuration); in createVolumeShaper()
790 for (VolumeShaper.Configuration configuration : configurations) { in testPlayerCubicMonotonic()
797 volumeShaper.replace(configuration, in testPlayerCubicMonotonic()
817 new VolumeShaper.Configuration.Builder(configuration) in testPlayerCubicMonotonic()
840 new VolumeShaper.Configuration.Builder(configuration) in testPlayerCubicMonotonic()
864 new VolumeShaper.Configuration.Builder(configuration) in testPlayerCubicMonotonic()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiViewTest.java1158 OutputConfiguration configuration = new OutputConfiguration( in testSharedSurfacesConfigByCamera() local
1160 configuration.enableSurfaceSharing(); in testSharedSurfacesConfigByCamera()
1161 configuration.addSurface(outputSurface2); in testSharedSurfacesConfigByCamera()
1163 outputConfigurations.add(configuration); in testSharedSurfacesConfigByCamera()
1170 configuration = new OutputConfiguration(OutputConfiguration.SURFACE_GROUP_ID_NONE, in testSharedSurfacesConfigByCamera()
1172 configuration.enableSurfaceSharing(); in testSharedSurfacesConfigByCamera()
1173 configuration.addSurface(imageReader.getSurface()); in testSharedSurfacesConfigByCamera()
1193 configuration = new OutputConfiguration(previewSize, SurfaceTexture.class); in testSharedSurfacesConfigByCamera()
1194 configuration.addSurface(imageReader.getSurface()); in testSharedSurfacesConfigByCamera()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt92 if (resources.configuration.uiMode != mode) { in hashCode()
93 val newConfig = Configuration(resources.configuration) in hashCode()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt92 if (resources.configuration.uiMode != mode) { in hashCode()
93 val newConfig = Configuration(resources.configuration) in hashCode()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java412 final ViewConfiguration configuration = ViewConfiguration.get(view.getContext()); in emulateFlingGesture() local
413 final int flingVelocity = (configuration.getScaledMinimumFlingVelocity() + in emulateFlingGesture()
414 configuration.getScaledMaximumFlingVelocity()) / 2; in emulateFlingGesture()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsTouchUtils.java411 final ViewConfiguration configuration = ViewConfiguration.get(view.getContext()); in emulateFlingGesture() local
412 final int flingVelocity = (configuration.getScaledMinimumFlingVelocity() + in emulateFlingGesture()
413 configuration.getScaledMaximumFlingVelocity()) / 2; in emulateFlingGesture()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/
Dpoc.cpp113 const sp<VolumeShaper::Configuration> &configuration, in applyVolumeShaper() argument
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile9 # option multiple times (only on the command line, not in the configuration
35 # The configuration modes to activate (default: base).
50 # The configuration mode to use for tests (default: test).
335 # Use a custom configuration file for linting.
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java110 Configuration configuration = getContext().getResources().getConfiguration(); in onStart() local
111 addResult(SMALLEST_SCREEN_WIDTH_DP, configuration.smallestScreenWidthDp); in onStart()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java508 for (WifiConfiguration configuration : availableConfigurations) { in getOrAddLegacyNetwork()
509 if (mAccessPointSsid.equals(configuration.SSID)) { in getOrAddLegacyNetwork()
510 return configuration.networkId; in getOrAddLegacyNetwork()
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java556 Configuration configuration = mContext.getResources().getConfiguration(); in testFakeTouchFeatures() local
557 assertEquals(configuration.touchscreen, Configuration.TOUCHSCREEN_NOTOUCH); in testFakeTouchFeatures()
/cts/hostsidetests/theme/
DREADME45 emulator image from step 2. The exact configuration doesn't really matter;
/cts/tools/cts-api-coverage/proto/
Dcts_report.proto68 // Information about the device's memory configuration
/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java3292 Configuration configuration = Resources.getSystem().getConfiguration(); in changeJavaAndAndroidLocale() local
3293 configuration.locale = locale; in changeJavaAndAndroidLocale()
3294 Resources.getSystem().updateConfiguration(configuration, null); in changeJavaAndAndroidLocale()