/cts/tests/vr/src/android/vr/cts/ |
D | RendererProtectedTexturesTest.java | 71 int loc = GLES20.glGetUniformLocation(mProgram, "protectedTexture"); in onSurfaceCreated() local 72 GLES20.glUniform1i(loc, 2); in onSurfaceCreated()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | MuxerTest.java | 433 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/ |
D | SELinuxTargetSdkTestBase.java | 95 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/ |
D | VpnTest.java | 459 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/ |
D | ConfigurationTest.java | 646 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/ |
D | grapher.py | 72 ax.legend(loc='upper right').get_frame().set_fill(False)
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTransitionTest.java | 1046 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/ |
D | test_param_shading_mode.py | 126 pylab.legend(loc='upper center', numpoints=1, fancybox=True)
|
D | test_dng_noise_model.py | 133 pylab.legend(loc=2)
|
/cts/tests/tests/location/src/android/location/cts/ |
D | LocationTest.java | 442 Location loc = createTestLocation(); in testSet() local 444 location.set(loc); in testSet()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 415 private static Object serializeLocation(Location loc) in serializeLocation() argument 417 return loc.toString(); in serializeLocation()
|
/cts/apps/CameraITS/tools/ |
D | dng_noise_model.py | 300 color_plane_plots[s][pidx].legend(loc='upper left')
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 258 private static Object serializeLocation(Location loc) in serializeLocation() argument 260 return loc.toString(); in serializeLocation()
|