Home
last modified time | relevance | path

Searched defs:res (Results 1 – 25 of 229) sorted by relevance

12345678910

/cts/tests/tests/content/src/android/content/res/cts/
DConfigTest.java79 private static void checkValue(final Resources res, final int resId, in checkValue()
95 private static void checkValue(final Resources res, final int resId, in checkValue()
243 private static void checkPair(Resources res, int[] notResIds, in checkPair()
280 Resources res = config.getResources(); in testAllEmptyConfigs() local
536 Resources res = config.getResources(); in testAllClassicConfigs() local
740 Resources res = config.getResources(); in testDensity() local
794 Resources res = config.getResources(); in testScreenSize() local
839 Resources res = config.getResources(); in testNewScreenSize() local
975 Resources res = config.getResources(); in testPrecedence() local
1099 Resources res = config.getResources(); in testCombinations() local
[all …]
DArrayTest.java34 private void checkEntry(final int resid, final int index, final Object res, in checkEntry()
41 final String[] res = mResources.getStringArray(resid); in checkStringArray() local
49 final CharSequence[] res = mResources.getTextArray(resid); in checkTextArray() local
57 final int[] res = mResources.getIntArray(resid); in checkIntArray() local
DResources_ThemeTest.java126 Resources res = getContext().getResources(); in testRebase() local
156 final Resources res = getContext().getResources(); in testGetDrawable() local
166 final Resources res = getContext().getResources(); in testGetResources() local
173 final Resources res = getContext().getResources(); in testEmptyDoesNotGetOverriden() local
DResourceNameTest.java29 final Resources res = mContext.getResources(); in testGetResourceName() local
46 final Resources res = mContext.getResources(); in testGetResourceIdentifier() local
DPluralResourcesTest.java52 final Resources res = resourcesForLanguage("en"); in testPlurals() local
79 final Resources res = resourcesForLanguage("cs"); in testCzech() local
DColorStateListTest.java45 final Resources res = getContext().getResources(); in testCreateFromXml() local
58 final Resources res = getContext().getResources(); in testCreateFromXmlThemed() local
71 final Resources res = getContext().getResources(); in testGetChangingConfigurations() local
115 final Resources res = getContext().getResources(); in testCreateFromXmlWithLStar() local
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_CommonDataKinds_ImTest.java56 int res = Im.getProtocolLabelResource(type); in assertGetProtocolLabel() local
64 int res = Im.getProtocolLabelResource(Im.PROTOCOL_CUSTOM); in assertCustomProtocolLabel() local
70 int res = Im.getTypeLabelResource(type); in assertGetTypeLabel() local
78 int res = Im.getTypeLabelResource(Im.TYPE_CUSTOM); in assertCustomTypeLabel() local
DContactsContract_CommonDataKinds_PhoneTest.java59 int res = Phone.getTypeLabelResource(type); in assertGetTypeLabel() local
67 int res = Phone.getTypeLabelResource(Phone.TYPE_CUSTOM); in assertCustomTypeLabel() local
DContactsContract_CommonDataKinds_SipAddressTest.java42 int res = SipAddress.getTypeLabelResource(type); in assertGetTypeLabel() local
50 int res = SipAddress.getTypeLabelResource(SipAddress.TYPE_CUSTOM); in assertCustomTypeLabel() local
DContactsContract_CommonDataKinds_RelationTest.java53 int res = Relation.getTypeLabelResource(type); in assertGetTypeLabel() local
61 int res = Relation.getTypeLabelResource(Relation.TYPE_CUSTOM); in assertCustomTypeLabel() local
DContactsContract_CommonDataKinds_EmailTest.java43 int res = Email.getTypeLabelResource(type); in assertGetTypeLabel() local
51 int res = Email.getTypeLabelResource(Email.TYPE_CUSTOM); in assertCustomTypeLabel() local
DContactsContract_CommonDataKinds_StructuredPostalTest.java42 int res = StructuredPostal.getTypeLabelResource(type); in assertGetTypeLabel() local
50 int res = StructuredPostal.getTypeLabelResource(StructuredPostal.TYPE_CUSTOM); in assertCustomTypeLabel() local
DContactsContract_CommonDataKinds_OrganizationTest.java45 int res = Organization.getTypeLabelResource(type); in assertGetTypeLabel() local
53 int res = Organization.getTypeLabelResource(Im.TYPE_CUSTOM); in assertCustomTypeLabel() local
/cts/tests/tests/content/HelloWorldApp/src_res_hardening_lib/com/example/helloworld/lib/
DTestUtils.java83 public static void checkGetIdentifier(Resources res, AssertionType type) throws Exception { in checkGetIdentifier()
91 public static void checkGetResourceName(Resources res, AssertionType type) throws Exception { in checkGetResourceName()
99 public static void checkGetString(Resources res, AssertionType type) throws Exception { in checkGetString()
107 public static void checkGetStringArray(Resources res, AssertionType type) throws Exception { in checkGetStringArray()
115 public static void checkOpenXmlResourceParser(Resources res, AssertionType type) in checkOpenXmlResourceParser()
133 public static void checkApplyStyle(Resources res, AssertionType type) throws Exception { in checkApplyStyle()
151 public static void checkXmlAttributes(Resources res, AssertionType type) throws Exception { in checkXmlAttributes()
173 public static void checkOpenMissingFile(Resources res, AssertionType type) throws Exception { in checkOpenMissingFile()
186 public static void checkOpenMissingFdFile(Resources res, AssertionType type) throws Exception { in checkOpenMissingFdFile()
202 public static void checkOpen(Resources res, AssertionType type) throws Exception { in checkOpen()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DDocumentsContractTest.java350 final Path res = new Path(null, Arrays.asList("red", "blue")); in testFindDocumentPath() local
360 final IntentSender res = PendingIntent in testCreateWebLinkIntent() local
377 final String[] res = new String[] { MIME_TYPE }; in testGetDocumentStreamTypes() local
391 final ParcelFileDescriptor res = ParcelFileDescriptor.open(new File("/dev/null"), in testOpenDocument() local
400 final AssetFileDescriptor res = new AssetFileDescriptor( in testOpenDocumentThumbnail() local
415 final AssetFileDescriptor res = new AssetFileDescriptor( in testOpenTypedDocument() local
427 final Cursor res = new MatrixCursor(new String[0]); in testQueryDocument() local
435 final Cursor res = new MatrixCursor(new String[0]); in testQueryRoots() local
443 final Cursor res = new MatrixCursor(new String[0]); in testQueryChildDocuments() local
452 final Cursor res = new MatrixCursor(new String[0]); in testQueryRecentDocuments() local
[all …]
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/
DResourcesLoaderFallthroughTest.kt36 "getString" to { res -> in <lambda>() method
39 "openAsset" to { res -> in <lambda>() method
42 "openAssetFd" to { res -> in <lambda>() method
94 "layout" to { res -> in <lambda>() method
98 "openAsset" to { res -> in <lambda>() method
101 "openAssetFd" to { res -> in <lambda>() method
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmExtractorTest.java61 protected AssetFileDescriptor getAssetFileDescriptorFor(final String res) in getAssetFileDescriptorFor()
70 protected TestMediaDataSource getDataSourceFor(final String res) throws Exception { in getDataSourceFor()
75 protected TestMediaDataSource setDataSource(final String res) throws Exception { in setDataSource()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20223/src/android/security/cts/CVE_2022_20223/
DDeviceTest.java76 Resources res = mPackageManager.getResourcesForApplication(settingsPackageName); in testAppRestrictionsFragment() local
102 Resources res = mPackageManager.getResourcesForApplication(settingsPackageName); in testAppRestrictionsFragment() local
120 Resources res = mPackageManager.getResourcesForApplication(androidPackageName); in testAppRestrictionsFragment() local
/cts/tests/tests/content/src/android/content/cts/
DContentProviderOperationTest.java81 private ContentProviderResult res; field in ContentProviderOperationTest
186 final String[] res = op.resolveSelectionArgsBackReferences(TEST_RESULTS, in testBackReferenceSelection() local
209 final ContentValues res = op.resolveValueBackReferences(TEST_RESULTS, in testBackReferenceValue() local
232 final Bundle res = op.resolveExtrasBackReferences(TEST_RESULTS, in testBackReferenceExtra() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapDrawableTest.java71 final Resources res = mContext.getResources(); in testPreloadDensity() local
82 private void verifyPreloadDensityInner(Resources res, int sourceResId, int[] densities) in verifyPreloadDensityInner()
142 private static void setResourcesDensity(Resources res, int densityDpi) { in setResourcesDensity()
/cts/tests/PhotoPicker/src/android/photopicker/cts/
DActionPickImagesOnlyTest.java99 final GetResultActivity.Result res = mActivity.getResult(); in testMultiSelect_invalidParam() local
108 final GetResultActivity.Result res = mActivity.getResult(); in testMultiSelect_invalidNegativeParam() local
178 final GetResultActivity.Result res = mActivity.getResult(); in testExtraMimeTypeFilter() local
/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp115 XAresult res = (*playerBQItf)->Enqueue(playerBQItf, NULL /*pBufferContext*/, in enqueueInitialBuffers() local
133 XAresult res; in AndroidBufferQueueCallback() local
214 XAresult res; in StreamChangeCallback() local
287 XAresult res; in Java_android_mediastress_cts_NativeMediaActivity_createEngine() local
317 XAresult res; in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer() local
425 XAresult res; in Java_android_mediastress_cts_NativeMediaActivity_playOrPauseMediaPlayer() local
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DNormalizeScreenStateRule.java67 CommandResult res = getDevice().executeShellV2Command("settings get secure " + key); in getSecureSetting() local
80 CommandResult res = getDevice().executeShellV2Command( in putSecureSetting() local
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DThumbnailUtilsTest.java156 public void testCreateImageThumbnail_sampleWithThumbnail(final String res) throws Exception { in testCreateImageThumbnail_sampleWithThumbnail()
165 public void testCreateImageThumbnail_strippedSample(final String res) throws Exception { in testCreateImageThumbnail_strippedSample()
174 public void testCreateImageThumbnail_HEICSample(final String res) throws Exception { in testCreateImageThumbnail_HEICSample()
210 private static File stageFile(final String res, File file) throws IOException { in stageFile()
/cts/tests/tests/provider/src/android/provider/cts/settings/
DSettings_NameValueTableTest.java82 Uri res = NameValueTable.getUriFor(uri, name); in testGetUriFor() local
84 assertEquals(Uri.withAppendedPath(uri, name), res); in testGetUriFor() local

12345678910