Home
last modified time | relevance | path

Searched defs:resId (Results 1 – 25 of 64) sorted by relevance

123

/cts/tests/tests/graphics/src/android/graphics/cts/
DUtils.java39 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()
DImageDecoderTest.java85 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 …]
DAImageDecoderTest.java164 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/
DISensorTestStateContainer.java42 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/
DScanningSettingsTest.java97 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/
DFileCopyHelper.java63 public String copy(int resId, String fileName) throws IOException { in copy()
77 public void copyToExternalStorage(int resId, File path) throws IOException { in copyToExternalStorage()
DWidgetTestUtils.java136 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/
DSkiaICORecursiveDecodingTest.java49 public void doSkiaIcoRecursiveDecodingTest(int resId) { in doSkiaIcoRecursiveDecodingTest()
DCertBlacklistTest.java85 private X509Certificate loadCertificate(int resId) throws Exception { in loadCertificate()
89 private X509Certificate[] loadCertificates(int resId) throws Exception { in loadCertificates()
DBitmapFactorySecurityTests.java34 private FileDescriptor getResource(int resId) { in getResource()
DMovie33897722.java61 private void test_movie(int resId, int screenWidth, int screenHeight, in test_movie()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyFactoryTest.java336 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/
DNoRestartActivity.java56 final int resId = res.getIdentifier(RESOURCE_ID, null, null); in getResourceInFeature() local
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DChangeDefaultUris.java80 private void copyToExternalStorage(int resId, File path) in copyToExternalStorage()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DVectorDrawableSizeTest.java53 public VectorDrawableSizeTest(String name, int resId, int dp) throws Throwable { in VectorDrawableSizeTest()
DAnimatedVectorDrawableParameterizedTest.java207 int resId = R.drawable.avd_single_frame; in testSingleFrameAnimation() local
233 int resId = R.drawable.avd_empty_animator; in testEmptyAnimatorSet() local
DDrawableTestUtils.java113 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/
DActionModeTest.java169 public void setTitle(int resId) {} in setTitle()
175 public void setSubtitle(int resId) {} in setSubtitle()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodProvisioningTestActivity.java104 private Uri getResourceUri(int resId) { in getResourceUri()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTestCase.java186 private int getNormalizedDimensionResource(int resId) { in getNormalizedDimensionResource()
191 private int getIntResource(int resId) { in getIntResource()
/cts/tests/tests/media/src/android/media/cts/
DFaceView.java46 public FaceView(Context context, int resId) { in FaceView()
/cts/tests/tests/widget/src/android/widget/cts/
DRadioGroup_LayoutParamsTest.java160 private AttributeSet getAttributeSet(int resId) { in getAttributeSet()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DManualPackageInstallTest.java161 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/
DResourceSourceTest.java70 private Set<X509Certificate> loadCertificates(int resId) throws Exception { in loadCertificates()
/cts/tests/app/src/android/app/cts/
DTaskDescriptionTest.java99 private void assertTaskDescription(Activity activity, String label, int resId, Bitmap bitmap) { in assertTaskDescription()

123