/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Utils.java | 39 private static InputStream obtainInputStream(int resId) { in obtainInputStream() 43 public static Uri getAsResourceUri(int resId) { in getAsResourceUri() 60 static String obtainPath(int resId, long offset) { in obtainPath() 71 static File obtainFile(int resId, long offset) { in obtainFile()
|
D | ImageDecoderTest.java | 85 public final int resId; field in ImageDecoderTest.Record 93 Record(int resId, int width, int height, String mimeType, boolean isGray, in Record() 129 private static byte[] getAsByteArray(int resId, int offset, int extra) { in getAsByteArray() 135 static void writeToStream(OutputStream output, int resId, int offset, int extra) { in writeToStream() 158 static byte[] getAsByteArray(int resId) { in getAsByteArray() 162 private ByteBuffer getAsByteBufferWrap(int resId) { in getAsByteBufferWrap() 167 private ByteBuffer getAsDirectByteBuffer(int resId) { in getAsDirectByteBuffer() 175 private ByteBuffer getAsReadOnlyByteBuffer(int resId) { in getAsReadOnlyByteBuffer() 179 private File getAsFile(int resId) { in getAsFile() 201 private Uri getAsFileUri(int resId) { in getAsFileUri() [all …]
|
D | AImageDecoderTest.java | 164 private static ParcelFileDescriptor open(int resId, int offset) throws FileNotFoundException { in open() 174 private static ParcelFileDescriptor open(int resId) throws FileNotFoundException { in open() 301 private static Bitmap decode(int resId, boolean unpremul) { in decode()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | ISensorTestStateContainer.java | 42 String getString(int resId); in getString() 49 String getString(int resId, Object ... params); in getString()
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | ScanningSettingsTest.java | 97 final int resId = res.getIdentifier(WIFI_SCANNING_TITLE_RES, "string", SETTINGS_PACKAGE); in testWifiScanningSettings() local 150 int resId = res.getIdentifier(name, "string", SETTINGS_PACKAGE); in launchScanningSettingsFragment() local 194 final int resId = res.getIdentifier(prefTitleRes, "string", SETTINGS_PACKAGE); in toggleSettingAndVerify() local
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | FileCopyHelper.java | 63 public String copy(int resId, String fileName) throws IOException { in copy() 77 public void copyToExternalStorage(int resId, File path) throws IOException { in copyToExternalStorage()
|
D | WidgetTestUtils.java | 136 public static Bitmap getUnscaledBitmap(Resources resources, int resId) { in getUnscaledBitmap() 149 int resId, Bitmap.Config config) { in getUnscaledAndDitheredBitmap()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | SkiaICORecursiveDecodingTest.java | 49 public void doSkiaIcoRecursiveDecodingTest(int resId) { in doSkiaIcoRecursiveDecodingTest()
|
D | CertBlacklistTest.java | 85 private X509Certificate loadCertificate(int resId) throws Exception { in loadCertificate() 89 private X509Certificate[] loadCertificates(int resId) throws Exception { in loadCertificates()
|
D | BitmapFactorySecurityTests.java | 34 private FileDescriptor getResource(int resId) { in getResource()
|
D | Movie33897722.java | 61 private void test_movie(int resId, int screenWidth, int screenHeight, in test_movie()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyFactoryTest.java | 336 int resId; in testGeneratePrivateRejectsPKCS8EncodedKeySpec() local 364 int resId; in testGeneratePublicRejectsX509EncodedKeySpec() local 392 int resId; in testGeneratePrivateRejectsTransparentKeySpec() local 421 int resId; in testGeneratePublicRejectsTransparentKeySpec() local
|
/cts/hostsidetests/appsecurity/test-apps/NoRestartApp/src/com/android/cts/norestart/ |
D | NoRestartActivity.java | 56 final int resId = res.getIdentifier(RESOURCE_ID, null, null); in getResourceInFeature() local
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
D | ChangeDefaultUris.java | 80 private void copyToExternalStorage(int resId, File path) in copyToExternalStorage()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | VectorDrawableSizeTest.java | 53 public VectorDrawableSizeTest(String name, int resId, int dp) throws Throwable { in VectorDrawableSizeTest()
|
D | AnimatedVectorDrawableParameterizedTest.java | 207 int resId = R.drawable.avd_single_frame; in testSingleFrameAnimation() local 233 int resId = R.drawable.avd_empty_animator; in testEmptyAnimatorSet() local
|
D | DrawableTestUtils.java | 113 public static XmlResourceParser getResourceParser(Resources res, int resId) in getResourceParser() 230 @IntegerRes int resId, @Nullable String extras) in saveAutoNamedVectorDrawableIntoPNG()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ActionModeTest.java | 169 public void setTitle(int resId) {} in setTitle() 175 public void setSubtitle(int resId) {} in setSubtitle()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodProvisioningTestActivity.java | 104 private Uri getResourceUri(int resId) { in getResourceUri()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTestCase.java | 186 private int getNormalizedDimensionResource(int resId) { in getNormalizedDimensionResource() 191 private int getIntResource(int resId) { in getIntResource()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceView.java | 46 public FaceView(Context context, int resId) { in FaceView()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RadioGroup_LayoutParamsTest.java | 160 private AttributeSet getAttributeSet(int resId) { in getAttributeSet()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | ManualPackageInstallTest.java | 161 final String resId = mIsAutomotive ? "car_ui_alert_icon" : "admin_support_icon"; in getPopUpImageSelector() local
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/ |
D | ResourceSourceTest.java | 70 private Set<X509Certificate> loadCertificates(int resId) throws Exception { in loadCertificates()
|
/cts/tests/app/src/android/app/cts/ |
D | TaskDescriptionTest.java | 99 private void assertTaskDescription(Activity activity, String label, int resId, Bitmap bitmap) { in assertTaskDescription()
|