Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 13 of 13) sorted by relevance

/cts/tests/vr/src/android/vr/cts/
DRendererProtectedTexturesTest.java71 int loc = GLES20.glGetUniformLocation(mProgram, "protectedTexture"); in onSurfaceCreated() local
72 GLES20.glUniform1i(loc, 2); in onSurfaceCreated()
/cts/tests/media/src/android/mediav2/cts/
DMuxerTest.java433 String loc = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_LOCATION); in verifyLocationInFile() local
434 assertTrue(loc != null); in verifyLocationInFile()
435 int minusIndex = loc.lastIndexOf('-'); in verifyLocationInFile()
436 int plusIndex = loc.lastIndexOf('+'); in verifyLocationInFile()
438 assertTrue("+ or - is not found or found only at the beginning [" + loc + "]", in verifyLocationInFile()
442 float latitude = Float.parseFloat(loc.substring(0, index - 1)); in verifyLocationInFile()
443 int lastIndex = loc.lastIndexOf('/', index); in verifyLocationInFile()
445 lastIndex = loc.length(); in verifyLocationInFile()
447 float longitude = Float.parseFloat(loc.substring(index, lastIndex - 1)); in verifyLocationInFile()
448 assertTrue("Incorrect latitude: " + latitude + " [" + loc + "]", in verifyLocationInFile()
[all …]
/cts/tests/tests/selinux/common/src/android/security/
DSELinuxTargetSdkTestBase.java95 for (String loc : locations) { in checkDex2oatAccess()
96 File dex2oatBinary = new File(loc + "/dex2oat"); in checkDex2oatAccess()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java459 InetSocketAddress loc = new InetSocketAddress(s.getLocalAddress(), s.getLocalPort()); in checkConnectionOwnerUidUdp() local
461 int uid = mCM.getConnectionOwnerUid(OsConstants.IPPROTO_UDP, loc, rem); in checkConnectionOwnerUidUdp()
467 InetSocketAddress loc = new InetSocketAddress(s.getLocalAddress(), s.getLocalPort()); in checkConnectionOwnerUidTcp() local
469 int uid = mCM.getConnectionOwnerUid(OsConstants.IPPROTO_TCP, loc, rem); in checkConnectionOwnerUidTcp()
763 InetSocketAddress loc = new InetSocketAddress(s.getLocalAddress(), s.getLocalPort()); in testGetConnectionOwnerUidSecurity() local
766 int uid = mCM.getConnectionOwnerUid(OsConstants.IPPROTO_TCP, loc, rem); in testGetConnectionOwnerUidSecurity()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigurationTest.java646 Locale loc = Locale.forLanguageTag("en"); in testSetLocales_oneLtr() local
647 LocaleList ll = new LocaleList(loc); in testSetLocales_oneLtr()
649 assertEquals(loc, config.locale); in testSetLocales_oneLtr()
656 Locale loc = Locale.forLanguageTag("az-Arab"); in testSetLocales_oneRtl() local
657 LocaleList ll = new LocaleList(loc); in testSetLocales_oneRtl()
659 assertEquals(loc, config.locale); in testSetLocales_oneRtl()
/cts/suite/cts/utils/
Dgrapher.py72 ax.legend(loc='upper right').get_frame().set_fill(False)
/cts/tests/fragment/src/android/fragment/cts/
DFragmentTransitionTest.java1046 final int[] loc = new int[2]; in getBoundsOnScreen() local
1047 view.getLocationOnScreen(loc); in getBoundsOnScreen()
1048 return new Rect(loc[0], loc[1], loc[0] + view.getWidth(), loc[1] + view.getHeight()); in getBoundsOnScreen()
/cts/apps/CameraITS/tests/scene1/
Dtest_param_shading_mode.py126 pylab.legend(loc='upper center', numpoints=1, fancybox=True)
Dtest_dng_noise_model.py133 pylab.legend(loc=2)
/cts/tests/tests/location/src/android/location/cts/
DLocationTest.java442 Location loc = createTestLocation(); in testSet() local
444 location.set(loc); in testSet()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java415 private static Object serializeLocation(Location loc) in serializeLocation() argument
417 return loc.toString(); in serializeLocation()
/cts/apps/CameraITS/tools/
Ddng_noise_model.py300 color_plane_plots[s][pidx].legend(loc='upper left')
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java258 private static Object serializeLocation(Location loc) in serializeLocation() argument
260 return loc.toString(); in serializeLocation()