Home
last modified time | relevance | path

Searched refs:bound (Results 1 – 10 of 10) sorted by relevance

/cts/tests/app/ShortFgsTest/ShortFgsTestHelper/
DAndroid.bp40 // Second test package, it's used only to host a bound service that's bound by ShortFgsTestHelper.
/cts/tests/tests/assist/service/src/android/assist/service/
DMainInteractionSession.java147 Rect bound = windowMetrics.getBounds(); in onShow()
158 ? bound.height() - min.top - min.bottom : in onShow()
159 bound.height() - displayCutoutInsets.top - displayCutoutInsets.bottom; in onShow()
161 bound.width() - min.left - min.right : in onShow()
162 bound.width() - displayCutoutInsets.left - displayCutoutInsets.right; in onShow()
/cts/tests/tests/libcorefileio/src/android/cts/
DFileChannelInterProcessLockTest.java750 static volatile boolean bound = false;
767 bound = false;
798 bound = true;
805 bound = false;
811 bound = false;
849 if (bound) {
856 bound = false;
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DNinePatchDrawableTest.java620 final int bound = 40; in verifyOutlinePreloadDensityInner() local
622 preloadedDrawable.setBounds(0, 0, bound, bound); in verifyOutlinePreloadDensityInner()
627 assertEquals(new Rect(expectedInset, expectedInset, bound - expectedInset, in verifyOutlinePreloadDensityInner()
628 bound - expectedInset), origOutlineRect); in verifyOutlinePreloadDensityInner()
639 int scaledBound = (int) (bound * scale); in verifyOutlinePreloadDensityInner()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2076 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedPreviewSizes() argument
2086 if (bound == null) { in getSupportedPreviewSizes()
2092 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes()
2131 CameraManager cameraManager, int format, Size bound) throws CameraAccessException { in getSortedSizesForFormat() argument
2133 bound); in getSortedSizesForFormat()
2142 CameraManager cameraManager, int format, boolean maxResolution, Size bound) in getSortedSizesForFormat() argument
2147 if (bound != null) { in getSortedSizesForFormat()
2150 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
2175 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedVideoSizes() argument
2185 if (bound == null) { in getSupportedVideoSizes()
[all …]
/cts/tests/sensor/src/android/hardware/cts/
DSensorManagerStaticTest.java606 private static void assertRoughlyEqual(String message, float a, float b, float bound) { in assertRoughlyEqual() argument
607 assertTrue(message, Math.abs(a-b) < bound); in assertRoughlyEqual()
611 float bound) { in assertVectorRoughlyEqual() argument
618 assertRoughlyEqual(message, (float)Math.sqrt(sum), 0.f, bound); in assertVectorRoughlyEqual()
/cts/hostsidetests/appsecurity/test-apps/KeyRotationTest/
DAndroid.bp33 // key. This app exports the bound service from the cts_signature_query_service
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java702 boolean bound = dpm.bindDeviceAdminServiceAsUser( in pingTargetUser()
708 assertWithMessage("bound to user %s using intent %s", target, serviceIntent).that(bound) in pingTargetUser()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java2313 public List<Size> getSortedSizesForInputFormat(int format, Size bound) { in getSortedSizesForInputFormat() argument
2315 if (bound == null) { in getSortedSizesForInputFormat()
2322 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSortedSizesForInputFormat()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java1279 final boolean bound = bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE); in bindService()
1281 result.putBoolean(EXTRA_RETURN_RESULT, bound); in bindService()
1286 if (!bound) finish(); in bindService()