/cts/tests/tests/content/src/android/content/cts/ |
D | Intent_ShortcutIconResourceTest.java | 32 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()
|
D | ContextTest.java | 348 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() argument 350 resourceId); in getAttributeSet()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | MediaUtils.java | 360 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/ |
D | BasePrintTest.java | 401 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 …]
|
D | PageRangeAdjustmentTest.java | 637 UiObject pagesSpinner = getUiDevice().findObject(new UiSelector().resourceId( in selectPages() 644 UiObject pagesEditText = getUiDevice().findObject(new UiSelector().resourceId( in selectPages()
|
D | PrinterInfoTest.java | 438 UiObject destinationSpinner = getUiDevice().findObject(new UiSelector().resourceId(
|
D | CustomPrintOptionsTest.java | 95 UiObject pagesEditText = getUiDevice().findObject(new UiSelector().resourceId( in getPages()
|
D | PrintServicesTest.java | 549 .findObject(new UiSelector().resourceId(
|
D | PrinterCapabilitiesTest.java | 154 UiObject message = getUiDevice().findObject(new UiSelector().resourceId( in waitForPrinterUnavailable()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | TypedValueTest.java | 57 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/ |
D | DocumentsClientTest.java | 44 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()
|
D | ScopedDirectoryAccessClientTest.java | 354 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/ |
D | EncryptionAppTest.java | 105 .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/ |
D | Utils.java | 74 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/ |
D | DeviceAdminUninstallTest.java | 63 .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/ |
D | DigitalClockTest.java | 114 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() argument 115 XmlResourceParser parser = mActivity.getResources().getXml(resourceId); in getAttributeSet()
|
D | DatePickerTest.java | 153 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/ |
D | BasePermissionsTest.java | 208 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/ |
D | PackageManagerTest.java | 447 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/ |
D | AudioTrackSurroundTest.java | 427 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()
|
D | VideoDecoderPerfTest.java | 81 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()
|
D | MediaCodecTest.java | 1498 private MediaExtractor getMediaExtractorForMimeType(int resourceId, String mimeTypePrefix) in getMediaExtractorForMimeType() argument 1501 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(resourceId); in getMediaExtractorForMimeType()
|
D | DecodeAccuracyTestBase.java | 422 public Bitmap generateBitmapFromImageResourceId(int resourceId) { in generateBitmapFromImageResourceId() argument 423 return BitmapFactory.decodeStream(context.getResources().openRawResource(resourceId)); in generateBitmapFromImageResourceId()
|
D | Vp8CodecTestBase.java | 689 private InputStream OpenFileOrResourceId(String filename, int resourceId) throws Exception { in OpenFileOrResourceId() argument 693 return mResources.openRawResource(resourceId); in OpenFileOrResourceId()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |