Home
last modified time | relevance | path

Searched refs:resourceId (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DIntent_ShortcutIconResourceTest.java32 final int resourceId = com.android.cts.content.R.string.notify; field in Intent_ShortcutIconResourceTest
43 resourceId); in testToString()
45 resourceId); in testToString()
53 resourceId); in testFromContext()
55 resourceId); in testFromContext()
DContextTest.java203 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() argument
205 resourceId); in getAttributeSet()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java250 Context context, int resourceId, int track, String mimePrefix) { in hasCodecsForResourceCombo() argument
255 afd = context.getResources().openRawResourceFd(resourceId); in hasCodecsForResourceCombo()
282 public static boolean hasCodecsForResource(Context context, int resourceId) { in hasCodecsForResource() argument
283 return hasCodecsForResourceCombo(context, resourceId, ALL_AV_TRACKS, null /* mimePrefix */); in hasCodecsForResource()
286 public static boolean checkCodecsForResource(Context context, int resourceId) { in checkCodecsForResource() argument
287 return check(hasCodecsForResource(context, resourceId), "no decoder found"); in checkCodecsForResource()
293 public static boolean hasCodecForResource(Context context, int resourceId, int track) { in hasCodecForResource() argument
294 return hasCodecsForResourceCombo(context, resourceId, track, null /* mimePrefix */); in hasCodecForResource()
297 public static boolean checkCodecForResource(Context context, int resourceId, int track) { in checkCodecForResource() argument
298 return check(hasCodecForResource(context, resourceId, track), "no decoder found"); in checkCodecForResource()
[all …]
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java75 final UiSelector rootsList = new UiSelector().resourceId( in findRoot()
77 new UiSelector().resourceId("android:id/list")); in findRoot()
82 final UiSelector hamburger = new UiSelector().resourceId( in findRoot()
98 final UiSelector docList = new UiSelector().resourceId( in findDocument()
100 new UiSelector().resourceId("com.android.documentsui:id/list")); in findDocument()
112 return new UiObject(new UiSelector().resourceId("com.android.documentsui:id/container_save") in findSaveButton()
113 .childSelector(new UiSelector().resourceId("android:id/button1"))); in findSaveButton()
/cts/tests/tests/util/src/android/util/cts/
DTypedValueTest.java57 tv1.resourceId = 4; in testSetTo()
66 assertEquals(4, tv2.resourceId); in testSetTo()
119 tv.resourceId = 4; in testToString()
155 tv.resourceId = 4; in testCoerceToString1()
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/
DUtils.java74 public static void showToast(Context context, int resourceId) { in showToast() argument
75 Toast.makeText(context, context.getString(resourceId), Toast.LENGTH_LONG).show(); in showToast()
/cts/tests/tests/print/src/android/print/cts/
DBasePrintTest.java277 UiObject destinationSpinner = new UiObject(new UiSelector().resourceId( in selectPrinter()
290 UiObject orientationSpinner = new UiObject(new UiSelector().resourceId( in changeOrientation()
303 UiObject mediaSizeSpinner = new UiObject(new UiSelector().resourceId( in changeMediaSize()
316 UiObject colorSpinner = new UiObject(new UiSelector().resourceId( in changeColor()
329 UiObject duplexSpinner = new UiObject(new UiSelector().resourceId( in changeDuplex()
342 UiObject printButton = new UiObject(new UiSelector().resourceId( in clickPrintButton()
368 UiObject expandHandle = new UiObject(new UiSelector().resourceId( in openPrintOptions()
DPageRangeAdjustmentTest.java620 UiObject pagesSpinner = getUiDevice().findObject(new UiSelector().resourceId( in selectPages()
627 UiObject pagesEditText = getUiDevice().findObject(new UiSelector().resourceId( in selectPages()
/cts/tests/tests/widget/src/android/widget/cts/
DDigitalClockTest.java114 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() argument
115 XmlResourceParser parser = mActivity.getResources().getXml(resourceId); in getAttributeSet()
DDatePickerTest.java153 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() argument
154 final XmlResourceParser parser = mContext.getResources().getXml(resourceId); in getAttributeSet()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp/src/com/android/cts/usepermission/
DUsePermissionTest.java98 .resourceId("com.android.packageinstaller:id/permission_allow_button")).click(); in testInteractiveGrant()
142 .resourceId("com.android.packageinstaller:id/permission_allow_button")).click(); in testRuntimeGroupGrantSpecificity()
179 .resourceId("com.android.packageinstaller:id/permission_allow_button")).click(); in testRuntimeGroupGrantExpansion()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java447 int resourceId = R.xml.pm_test; in testGetResources() local
450 assertNotNull(mPackageManager.getXml(PACKAGE_NAME, resourceId, appInfo)); in testGetResources()
452 .getResourceName(resourceId)); in testGetResources()
454 resourceId)); in testGetResources()
456 .getResourceName(resourceId)); in testGetResources()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTest.java68 UiScrollable listView = new UiScrollable(new UiSelector().resourceId( in testWindowContentFrameStats()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java1408 private MediaExtractor getMediaExtractorForMimeType(int resourceId, String mimeTypePrefix) in getMediaExtractorForMimeType() argument
1411 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(resourceId); in getMediaExtractorForMimeType()
DVp8CodecTestBase.java689 private InputStream OpenFileOrResourceId(String filename, int resourceId) throws Exception { in OpenFileOrResourceId() argument
693 return mResources.openRawResource(resourceId); in OpenFileOrResourceId()
/cts/tests/uiautomator/src/com/android/cts/uiautomatortest/
DCtsUiAutomatorTest.java768 new UiSelector().resourceId("com.android.cts.uiautomator:id/test_5_toggleButton"); in testSelectorResourceId()
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...