Home
last modified time | relevance | path

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

12

/cts/tests/tests/content/src/android/content/cts/
DIntent_ShortcutIconResourceTest.java32 final int resourceId = android.content.cts.R.string.notify; field in Intent_ShortcutIconResourceTest
43 resourceId); in testToString()
45 resourceId); in testToString()
53 resourceId); in testFromContext()
55 resourceId); in testFromContext()
DContextTest.java348 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() argument
350 resourceId); in getAttributeSet()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java360 Context context, int resourceId, int track, String mimePrefix) { in hasCodecsForResourceCombo() argument
365 afd = context.getResources().openRawResourceFd(resourceId); in hasCodecsForResourceCombo()
392 public static boolean hasCodecsForResource(Context context, int resourceId) { in hasCodecsForResource() argument
393 return hasCodecsForResourceCombo(context, resourceId, ALL_AV_TRACKS, null /* mimePrefix */); in hasCodecsForResource()
396 public static boolean checkCodecsForResource(Context context, int resourceId) { in checkCodecsForResource() argument
397 return check(hasCodecsForResource(context, resourceId), "no decoder found"); in checkCodecsForResource()
403 public static boolean hasCodecForResource(Context context, int resourceId, int track) { in hasCodecForResource() argument
404 return hasCodecsForResourceCombo(context, resourceId, track, null /* mimePrefix */); in hasCodecForResource()
407 public static boolean checkCodecForResource(Context context, int resourceId, int track) { in checkCodecForResource() argument
408 return check(hasCodecForResource(context, resourceId, track), "no decoder found"); in checkCodecForResource()
[all …]
/cts/tests/tests/print/src/android/print/cts/
DBasePrintTest.java401 UiObject destinationSpinner = mUiDevice.findObject(new UiSelector().resourceId( in selectPrinter()
445 button = uiDevice.findObject(new UiSelector().resourceId("android:id/button1")); in answerPrintServicesWarning()
447 button = uiDevice.findObject(new UiSelector().resourceId("android:id/button2")); in answerPrintServicesWarning()
455 UiObject orientationSpinner = mUiDevice.findObject(new UiSelector().resourceId( in changeOrientation()
468 UiObject orientationSpinner = mUiDevice.findObject(new UiSelector().resourceId( in getOrientation()
479 UiObject mediaSizeSpinner = mUiDevice.findObject(new UiSelector().resourceId( in changeMediaSize()
492 UiObject mediaSizeSpinner = mUiDevice.findObject(new UiSelector().resourceId( in getMediaSize()
503 UiObject colorSpinner = mUiDevice.findObject(new UiSelector().resourceId( in changeColor()
516 UiObject colorSpinner = mUiDevice.findObject(new UiSelector().resourceId( in getColor()
527 UiObject duplexSpinner = mUiDevice.findObject(new UiSelector().resourceId( in changeDuplex()
[all …]
DPageRangeAdjustmentTest.java637 UiObject pagesSpinner = getUiDevice().findObject(new UiSelector().resourceId( in selectPages()
644 UiObject pagesEditText = getUiDevice().findObject(new UiSelector().resourceId( in selectPages()
DPrinterInfoTest.java438 UiObject destinationSpinner = getUiDevice().findObject(new UiSelector().resourceId(
DCustomPrintOptionsTest.java95 UiObject pagesEditText = getUiDevice().findObject(new UiSelector().resourceId( in getPages()
DPrintServicesTest.java549 .findObject(new UiSelector().resourceId(
DPrinterCapabilitiesTest.java154 UiObject message = getUiDevice().findObject(new UiSelector().resourceId( in waitForPrinterUnavailable()
/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/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java44 final UiSelector rootsList = new UiSelector().resourceId( in findRoot()
46 new UiSelector().resourceId("com.android.documentsui:id/roots_list")); in findRoot()
51 final UiSelector hamburger = new UiSelector().resourceId( in findRoot()
67 final UiSelector docList = new UiSelector().resourceId( in findDocument()
69 new UiSelector().resourceId("com.android.documentsui:id/dir_list")); in findDocument()
81 return new UiObject(new UiSelector().resourceId("com.android.documentsui:id/container_save") in findSaveButton()
82 .childSelector(new UiSelector().resourceId("android:id/button1"))); in findSaveButton()
DScopedDirectoryAccessClientTest.java354 dialog = mDevice.findObject(new UiSelector().resourceId(id)); in UiAlertDialog()
357 new UiSelector().resourceId("com.android.documentsui:id/message")); in UiAlertDialog()
358 yesButton = dialog.getChild(new UiSelector().resourceId("android:id/button1")); in UiAlertDialog()
359 noButton = dialog.getChild(new UiSelector().resourceId("android:id/button2")); in UiAlertDialog()
364 new UiSelector().resourceId("com.android.documentsui:id/do_not_ask_checkbox")); in getDoNotAskAgainCheckBox()
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java105 .resourceId("com.android.settings:id/lock_pin")); in testSetUp()
112 .resourceId("com.android.settings:id/encrypt_dont_require_password")); in testSetUp()
120 .resourceId("com.android.settings:id/password_entry")); in testSetUp()
146 .resourceId("com.android.settings:id/password_entry")); in testTearDown()
159 .resourceId("com.android.settings:id/lock_none")); in testTearDown()
166 .resourceId("android:id/button1")); in testTearDown()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/
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/deviceadmin/uninstalltest/src/android/devicepolicy/cts/uiautomatertest/
DDeviceAdminUninstallTest.java63 .resourceId("com.android.settings:id/action_button");
65 .resourceId("com.android.settings:id/left_button");
69 .resourceId("android:id/button1");
/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/UsePermissionApp23/src/com/android/cts/usepermission/
DBasePermissionsTest.java208 getUiDevice().findObject(new UiSelector().resourceId( in clickAllowButton()
213 getUiDevice().findObject(new UiSelector().resourceId( in clickDenyButton()
218 getUiDevice().findObject(new UiSelector().resourceId( in clickDontAskAgainCheckbox()
223 getUiDevice().findObject(new UiSelector().resourceId( in clickDontAskAgainButton()
323 final int resourceId = mPlatformResources.getIdentifier(labelResName, null, null); in getPermissionLabel() local
324 return mPlatformResources.getString(resourceId); in getPermissionLabel()
/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/media/src/android/media/cts/
DAudioTrackSurroundTest.java427 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig, @RawRes int resourceId) in SamplePlayerShorts() argument
430 mData = loadRawResourceShorts(resourceId); in SamplePlayerShorts()
461 SamplePlayerBytes(int sampleRate, int encoding, int channelConfig, @RawRes int resourceId) in SamplePlayerBytes() argument
464 mData = loadRawResourceBytes(resourceId); in SamplePlayerBytes()
DVideoDecoderPerfTest.java81 private void decode(String name, int resourceId, MediaFormat format) throws Exception { in decode() argument
96 measuredFps[i] = doDecode(name, resourceId, width, height, s, i, maxTimeMs); in decode()
DMediaCodecTest.java1498 private MediaExtractor getMediaExtractorForMimeType(int resourceId, String mimeTypePrefix) in getMediaExtractorForMimeType() argument
1501 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(resourceId); in getMediaExtractorForMimeType()
DDecodeAccuracyTestBase.java422 public Bitmap generateBitmapFromImageResourceId(int resourceId) { in generateBitmapFromImageResourceId() argument
423 return BitmapFactory.decodeStream(context.getResources().openRawResource(resourceId)); in generateBitmapFromImageResourceId()
DVp8CodecTestBase.java689 private InputStream OpenFileOrResourceId(String filename, int resourceId) throws Exception { in OpenFileOrResourceId() argument
693 return mResources.openRawResource(resourceId); in OpenFileOrResourceId()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...

12