Home
last modified time | relevance | path

Searched refs:resourceName (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DIntent_ShortcutIconResourceTest.java42 String resourceName = mContext.getResources().getResourceName( in testToString() local
52 String resourceName = mContext.getResources().getResourceName( in testFromContext() local
58 assertEquals(resourceName, mShortcutIconResource.resourceName); in testFromContext()
74 assertEquals(mShortcutIconResource.resourceName, target.resourceName); in testWriteToParcel()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DInstall.java108 for (String resourceName : app.getResourceNames()) { in createInstallSession()
109 try (OutputStream os = session.openWrite(resourceName, 0, -1); in createInstallSession()
110 InputStream is = loader.getResourceAsStream(resourceName);) { in createInstallSession()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DTestHelper.java131 UiObject2 findUiObject(String resourceName) { in findUiObject() argument
132 return mUiDevice.findObject(By.res(resourceName)); in findUiObject()
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/
DSplitAppTest.java260 for (String resourceName : resourceNames) { in assertResourcesDoNotExist()
261 final int resid = resources.getIdentifier(resourceName, null, null); in assertResourcesDoNotExist()
263 fail("Found resource '" + resourceName + "' with ID " + Integer.toHexString(resid)); in assertResourcesDoNotExist()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java628 String resourceName = path.substring(RAW_PREFIX.length()); in getResponse() local
629 int id = mResources.getIdentifier(resourceName, "raw", mContext.getPackageName()); in getResponse()
631 Log.w(TAG, "Can't find raw resource " + resourceName); in getResponse()