/cts/tests/tests/content/src/android/content/res/cts/ |
D | ConfigTest.java | 78 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 …]
|
D | ArrayTest.java | 34 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
|
D | Resources_ThemeTest.java | 126 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
|
D | ResourceNameTest.java | 29 final Resources res = mContext.getResources(); in testGetResourceName() local 46 final Resources res = mContext.getResources(); in testGetResourceIdentifier() local
|
D | PluralResourcesTest.java | 52 final Resources res = resourcesForLanguage("en"); in testPlurals() local 79 final Resources res = resourcesForLanguage("cs"); in testCzech() local
|
D | ColorStateListTest.java | 45 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/ |
D | ContactsContract_CommonDataKinds_ImTest.java | 56 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
|
D | ContactsContract_CommonDataKinds_PhoneTest.java | 59 int res = Phone.getTypeLabelResource(type); in assertGetTypeLabel() local 67 int res = Phone.getTypeLabelResource(Phone.TYPE_CUSTOM); in assertCustomTypeLabel() local
|
D | ContactsContract_CommonDataKinds_RelationTest.java | 53 int res = Relation.getTypeLabelResource(type); in assertGetTypeLabel() local 61 int res = Relation.getTypeLabelResource(Relation.TYPE_CUSTOM); in assertCustomTypeLabel() local
|
D | ContactsContract_CommonDataKinds_SipAddressTest.java | 42 int res = SipAddress.getTypeLabelResource(type); in assertGetTypeLabel() local 50 int res = SipAddress.getTypeLabelResource(SipAddress.TYPE_CUSTOM); in assertCustomTypeLabel() local
|
D | ContactsContract_CommonDataKinds_StructuredPostalTest.java | 42 int res = StructuredPostal.getTypeLabelResource(type); in assertGetTypeLabel() local 50 int res = StructuredPostal.getTypeLabelResource(StructuredPostal.TYPE_CUSTOM); in assertCustomTypeLabel() local
|
D | ContactsContract_CommonDataKinds_OrganizationTest.java | 45 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/ |
D | TestUtils.java | 83 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/ |
D | DocumentsContractTest.java | 350 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/ |
D | ResourcesLoaderFallthroughTest.kt | 36 "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/ |
D | ContentProviderOperationTest.java | 81 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/ |
D | BitmapDrawableTest.java | 71 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/ |
D | native-media-jni.cpp | 115 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/ |
D | NormalizeScreenStateRule.java | 67 CommandResult res = getDevice().executeShellV2Command("settings get secure " + key); in getSecureSetting() local 80 CommandResult res = getDevice().executeShellV2Command( in putSecureSetting() local
|
D | ResumeOnRebootHostTest.java | 422 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/ |
D | ThumbnailUtilsTest.java | 153 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/ |
D | MediaServerCrashTest.java | 97 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/ |
D | Settings_NameValueTableTest.java | 82 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/ |
D | ScanningSettingsTest.java | 96 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/ |
D | TextRunShaperTest.java | 198 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
|