Searched refs:resourceName (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/content/src/android/content/cts/ |
D | Intent_ShortcutIconResourceTest.java | 42 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/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | AbstractApiTest.java | 113 private Stream<VirtualPath> readResource(String resourceName) { in readResource() argument 116 VirtualPath.get(getClass().getClassLoader(), resourceName); in readResource() 117 if (resourceName.endsWith(".zip")) { in readResource() 119 Path file = extractResourceToFile(resourceName, resourcePath.newInputStream()); in readResource() 129 Path extractResourceToFile(String resourceName, InputStream is) throws IOException { in extractResourceToFile() argument 131 Path file = tempDirectory.resolve(resourceName); in extractResourceToFile() 132 Log.i(TAG, "extractResourceToFile: extracting " + resourceName + " to " + file); in extractResourceToFile()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | Install.java | 223 for (String resourceName : app.getResourceNames()) { in createSingleInstallSession() 224 try (OutputStream os = session.openWrite(resourceName, 0, -1); in createSingleInstallSession() 225 InputStream is = app.getResourceStream(resourceName);) { in createSingleInstallSession() 227 throw new IOException("Resource " + resourceName + " not found"); in createSingleInstallSession()
|
/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | VirtualPath.java | 51 public static ResourcePath get(ClassLoader classLoader, String resourceName) in get() argument 53 return new ResourcePath(classLoader, resourceName); in get()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | TestHelper.java | 131 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/ |
D | SplitAppTest.java | 260 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/ |
D | CtsTestServer.java | 628 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()
|