/cts/tests/tests/libsystemhealthndk/src/android/systemhealth/cts/ |
D | NativeSystemHealthTest.java | 55 private void checkResult(String res, String methodName) { in checkResult() 80 String res = nativeTestGetMaxCpuHeadroomTidsSize(); in testGetMaxCpuHeadroomTidsSize() local 86 String res = nativeTestGetCpuHeadroomDefault(); in testGetCpuHeadroom_default() local 92 String res = nativeTestGetCpuHeadroomAverage(); in testGetCpuHeadroom_average() local 98 String res = nativeTestGetCpuHeadroomCustomWindow(); in testGetCpuHeadroom_customWindow() local 104 String res = nativeTestGetCpuHeadroomCustomTids(); in testGetCpuHeadroom_customTids() local 110 String res = nativeTestGetGpuHeadroomDefault(); in testGetGpuHeadroom_default() local 116 String res = nativeTestGetGpuHeadroomAverage(); in testGetGpuHeadroom_average() local 122 String res = nativeTestGetGpuHeadroomCustomWindow(); in testGetGpuHeadroom_customWindow() 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_EmailTest.java | 43 int res = Email.getTypeLabelResource(type); in assertGetTypeLabel() local 51 int res = Email.getTypeLabelResource(Email.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_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_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_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_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/src/android/content/res/cts/ |
D | ConfigTest.java | 81 private static void checkValue(final Resources res, final int resId, in checkValue() 97 private static void checkValue(final Resources res, final int resId, in checkValue() 245 private static void checkPair(Resources res, int[] notResIds, in checkPair() 286 Resources res = config.getResources(); in testAllEmptyConfigs() local 542 Resources res = config.getResources(); in testAllClassicConfigs() local 746 Resources res = config.getResources(); in testDensity() local 800 Resources res = config.getResources(); in testScreenSize() local 845 Resources res = config.getResources(); in testNewScreenSize() local 981 Resources res = config.getResources(); in testPrecedence() local 1105 Resources res = config.getResources(); in testCombinations() local [all …]
|
D | ArrayTest.java | 48 private void checkEntry(final int resid, final int index, final Object res, in checkEntry() 55 final String[] res = mResources.getStringArray(resid); in checkStringArray() local 63 final CharSequence[] res = mResources.getTextArray(resid); in checkTextArray() local 71 final int[] res = mResources.getIntArray(resid); in checkIntArray() local
|
D | Resources_ThemeTest.java | 150 Resources res = getContext().getResources(); in testRebase() local 182 final Resources res = getContext().getResources(); in testGetDrawable() local 193 final Resources res = getContext().getResources(); in testGetResources() local 201 final Resources res = getContext().getResources(); in testEmptyDoesNotGetOverriden() local
|
D | ResourceNameTest.java | 43 final Resources res = getContext().getResources(); in testGetResourceName() local 61 final Resources res = getContext().getResources(); in testGetResourceIdentifier() local
|
D | PluralResourcesTest.java | 66 final Resources res = resourcesForLanguage("en"); in testPlurals() local 94 final Resources res = resourcesForLanguage("cs"); in testCzech() local
|
D | ColorStateListTest.java | 64 final Resources res = getContext().getResources(); in testCreateFromXml() local 78 final Resources res = getContext().getResources(); in testCreateFromXmlThemed() local 92 final Resources res = getContext().getResources(); in testGetChangingConfigurations() local 139 final Resources res = getContext().getResources(); in testCreateFromXmlWithLStar() 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/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmExtractorTest.java | 63 protected AssetFileDescriptor getAssetFileDescriptorFor(final String res) in getAssetFileDescriptorFor() 72 protected TestMediaDataSource getDataSourceFor(final String res) throws Exception { in getDataSourceFor() 77 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/ |
D | DeviceTest.java | 76 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/ |
D | ContentProviderOperationTest.java | 83 private ContentProviderResult res; field in ContentProviderOperationTest 188 final String[] res = op.resolveSelectionArgsBackReferences(TEST_RESULTS, in testBackReferenceSelection() local 211 final ContentValues res = op.resolveValueBackReferences(TEST_RESULTS, in testBackReferenceValue() local 234 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/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | HapticsDeviceInfo.java | 174 Resources res = getContext().getResources(); in collectConfigInt() local 184 Resources res = getContext().getResources(); in collectConfigDimension() local 194 Resources res = getContext().getResources(); in collectConfigArraySize() local 204 Resources res = getContext().getResources(); in collectConfigBoolean() local
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | ActionPickImagesOnlyTest.java | 104 final GetResultActivity.Result res = mActivity.getResult(); in testMultiSelect_invalidParam() local 113 final GetResultActivity.Result res = mActivity.getResult(); in testMultiSelect_invalidNegativeParam() local 213 final GetResultActivity.Result res = mActivity.getResult(); in testExtraMimeTypeFilter() local 241 final GetResultActivity.Result res = mActivity.getResult(); in testExtraPickerLaunchTabInvalidOption() local
|
/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | TextRunShaperTest.java | 207 PositionedGlyphs res = TextRunShaper.shapeTextRun("a", 0, 1, 0, 1, 0f, 0f, false, paint); in shapeText_FontCreateFromNative() local 236 PositionedGlyphs res = TextRunShaper.shapeTextRun("a", 0, 1, 0, 1, 0f, 0f, false, paint); in shapeText_FontCreateFromNative_Override() local 281 PositionedGlyphs res = TextRunShaper.shapeTextRun( in positionedGlyphs_IllegalArgument_glyphID() local 294 PositionedGlyphs res = TextRunShaper.shapeTextRun( in resultTest_IllegalArgument_font() local 307 PositionedGlyphs res = TextRunShaper.shapeTextRun( in resultTest_IllegalArgument_X() local 320 PositionedGlyphs res = TextRunShaper.shapeTextRun( in resultTest_IllegalArgument_Y() local
|
/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
|