/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | ScreenDeviceInfo.java | 46 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/framework/base/activitymanager/src/android/server/am/ |
D | ActivityManagerGetConfigTests.java | 247 config.fontScale, resConfig.configuration.fontScale, Float.MIN_VALUE*5); in checkResourceConfig() 249 config.mcc, resConfig.configuration.mcc); in checkResourceConfig() 251 config.mnc, resConfig.configuration.mnc); in checkResourceConfig() 253 LocaleProto[] lprotos = resConfig.configuration.locales; in checkResourceConfig() 265 config.screenLayout, resConfig.configuration.screenLayout); in checkResourceConfig() 267 config.colorMode, resConfig.configuration.colorMode); in checkResourceConfig() 269 config.touchscreen, resConfig.configuration.touchscreen); in checkResourceConfig() 271 config.keyboard, resConfig.configuration.keyboard); in checkResourceConfig() 273 config.keyboardHidden, resConfig.configuration.keyboardHidden); in checkResourceConfig() 275 config.hardKeyboardHidden, resConfig.configuration.hardKeyboardHidden); in checkResourceConfig() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AttachedContextActivity.java | 52 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/tests/drm/ |
D | README | 1 - User of CTS code needs to edit configuration files in 4 - If new plug-in is added, user should add corresponding configuration
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VolumeShaperTest.java | 240 public VolumeShaper createVolumeShaper(VolumeShaper.Configuration configuration); in createVolumeShaper() argument 267 public VolumeShaper createVolumeShaper(VolumeShaper.Configuration configuration) { in createVolumeShaper() argument 268 return mTrack.createVolumeShaper(configuration); in createVolumeShaper() 302 public VolumeShaper createVolumeShaper(VolumeShaper.Configuration configuration) { in createVolumeShaper() argument 303 return mPlayer.createVolumeShaper(configuration); in createVolumeShaper() 791 for (VolumeShaper.Configuration configuration : configurations) { in testPlayerCubicMonotonic() 798 volumeShaper.replace(configuration, in testPlayerCubicMonotonic() 818 new VolumeShaper.Configuration.Builder(configuration) in testPlayerCubicMonotonic() 841 new VolumeShaper.Configuration.Builder(configuration) in testPlayerCubicMonotonic() 865 new VolumeShaper.Configuration.Builder(configuration) in testPlayerCubicMonotonic() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | MultiViewTest.java | 943 OutputConfiguration configuration = new OutputConfiguration( in testSharedSurfacesConfigByCamera() local 945 configuration.enableSurfaceSharing(); in testSharedSurfacesConfigByCamera() 946 configuration.addSurface(outputSurface2); in testSharedSurfacesConfigByCamera() 948 outputConfigurations.add(configuration); in testSharedSurfacesConfigByCamera() 955 configuration = new OutputConfiguration(OutputConfiguration.SURFACE_GROUP_ID_NONE, in testSharedSurfacesConfigByCamera() 957 configuration.enableSurfaceSharing(); in testSharedSurfacesConfigByCamera() 958 configuration.addSurface(imageReader.getSurface()); in testSharedSurfacesConfigByCamera() 978 configuration = new OutputConfiguration(previewSize, SurfaceTexture.class); in testSharedSurfacesConfigByCamera() 979 configuration.addSurface(imageReader.getSurface()); in testSharedSurfacesConfigByCamera()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsTouchUtils.java | 377 final ViewConfiguration configuration = ViewConfiguration.get(view.getContext()); in emulateFlingGesture() local 378 final int flingVelocity = (configuration.getScaledMinimumFlingVelocity() + in emulateFlingGesture() 379 configuration.getScaledMaximumFlingVelocity()) / 2; in emulateFlingGesture()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | MultiNetworkConnectivityTestActivity.java | 414 for (WifiConfiguration configuration : availableConfigurations) { in addOrUpdateNetwork() 415 if (mAccessPointSsid.equals(configuration.SSID)) { in addOrUpdateNetwork() 416 return configuration.networkId; in addOrUpdateNetwork()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 108 Configuration configuration = getContext().getResources().getConfiguration(); in onStart() local 109 addResult(SMALLEST_SCREEN_WIDTH_DP, configuration.smallestScreenWidthDp); in onStart()
|
/cts/apps/CameraITS/build/scripts/ |
D | gpylint_rcfile | 9 # option multiple times (only on the command line, not in the configuration 32 # The configuration modes to activate (default: base). 47 # The configuration mode to use for tests (default: test). 332 # Use a custom configuration file for linting.
|
/cts/hostsidetests/theme/ |
D | README | 45 emulator image from step 2. The exact configuration doesn't really matter;
|
/cts/tools/cts-api-coverage/proto/ |
D | cts_report.proto | 68 // Information about the device's memory configuration
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | TimeTest.java | 3000 Configuration configuration = Resources.getSystem().getConfiguration(); in changeJavaAndAndroidLocale() local 3001 configuration.locale = locale; in changeJavaAndAndroidLocale() 3002 Resources.getSystem().updateConfiguration(configuration, null); in changeJavaAndAndroidLocale()
|