Home
last modified time | relevance | path

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

12345678

/cts/tests/tests/content/src/android/content/res/cts/
DConfigTest.java78 private static void checkValue(final Resources res, final int resId, in checkValue()
94 private static void checkValue(final Resources res, final int resId, in checkValue()
239 private static void checkPair(Resources res, int[] notResIds, in checkPair()
275 Resources res = config.getResources(); in testAllEmptyConfigs() local
507 Resources res = config.getResources(); in testAllClassicConfigs() local
716 Resources res = config.getResources(); in testDensity() local
784 Resources res = config.getResources(); in testScreenSize() local
829 Resources res = config.getResources(); in testNewScreenSize() local
965 Resources res = config.getResources(); in testPrecedence() local
1082 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_RelationTest.java53 int res = Relation.getTypeLabelResource(type); in assertGetTypeLabel() local
61 int res = Relation.getTypeLabelResource(Relation.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_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/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/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
DResumeOnRebootHostTest.java422 String res = getDevice().executeShellCommand("device_config is_sync_disabled_for_tests"); in deviceDisableDeviceConfigSync() local
435 String res = getDevice().executeShellCommand( in deviceSetupServerBasedParameter() local
447 String res = getDevice().executeShellCommand( in deviceCleanupServerBasedParameter() local
477 String res = getDevice().executeShellCommand("cmd recovery request-lskf " + clientName); in deviceRequestLskf() local
488 String res = getDevice().executeShellCommand("cmd recovery clear-lskf " + clientName); in deviceClearLskf() local
523 String res = getDevice().executeShellCommand("cmd recovery reboot-and-apply " + clientName in deviceRebootAndApply() local
/cts/tests/tests/media/src/android/media/cts/
DThumbnailUtilsTest.java153 public void testCreateImageThumbnail_sampleWithThumbnail(final String res) throws Exception { in testCreateImageThumbnail_sampleWithThumbnail()
162 public void testCreateImageThumbnail_strippedSample(final String res) throws Exception { in testCreateImageThumbnail_strippedSample()
171 public void testCreateImageThumbnail_HEICSample(final String res) throws Exception { in testCreateImageThumbnail_HEICSample()
207 private static File stageFile(final String res, File file) throws IOException { in stageFile()
/cts/tests/tests/security/src/android/security/cts/
DMediaServerCrashTest.java97 private void testIfMediaServerDied(int res) throws Exception { in testIfMediaServerDied()
123 private void checkIfMediaServerDiedForDrm(int res) throws Exception { in checkIfMediaServerDiedForDrm()
/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
/cts/tests/location/location_fine/src/android/location/cts/fine/
DScanningSettingsTest.java96 final Resources res = mPackageManager.getResourcesForApplication(SETTINGS_PACKAGE); in testWifiScanningSettings() local
149 final Resources res = mPackageManager.getResourcesForApplication(SETTINGS_PACKAGE); in launchScanningSettingsFragment() local
193 final Resources res = mPackageManager.getResourcesForApplication(SETTINGS_PACKAGE); in toggleSettingAndVerify() local
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DTextRunShaperTest.java198 PositionedGlyphs res = TextRunShaper.shapeTextRun("a", 0, 1, 0, 1, 0f, 0f, false, paint); in shapeText_FontCreateFromNative() local
243 PositionedGlyphs res = TextRunShaper.shapeTextRun( in positionedGlyphs_IllegalArgument_glyphID() local
256 PositionedGlyphs res = TextRunShaper.shapeTextRun( in resultTest_IllegalArgument_font() local
269 PositionedGlyphs res = TextRunShaper.shapeTextRun( in resultTest_IllegalArgument_X() local
282 PositionedGlyphs res = TextRunShaper.shapeTextRun( in resultTest_IllegalArgument_Y() local

12345678