Home
last modified time | relevance | path

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

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DPackageResourceTable.java33 int getPackageIdentifier() { in getPackageIdentifier() method in PackageResourceTable
113 int resIdPackageIdentifier = ResourceIds.getPackageIdentifier(resId); in addResource()
114 if (getPackageIdentifier() == 0) { in addResource()
116 } else if (getPackageIdentifier() != resIdPackageIdentifier) { in addResource()
117 …" + resIdPackageIdentifier + " to ResourceIndex with packageIdentifier " + getPackageIdentifier()); in addResource()
DRoutingResourceTable.java69 if (resourceTable.getPackageIdentifier() == ResourceIds.getPackageIdentifier(resId)) { in pickFor()
DResourceIds.java11 public static int getPackageIdentifier(int resId) { in getPackageIdentifier() method in ResourceIds
/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/
DResourceIdsTest.java22 assertThat(ResourceIds.getPackageIdentifier(0x01000000)).isEqualTo(0x01); in testGetPackageIdentifier()
23 assertThat(ResourceIds.getPackageIdentifier(0x7F000000)).isEqualTo(0x7F); in testGetPackageIdentifier()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResourceTableTest.java31 assertThat(resourceTable.getPackageIdentifier()).isEqualTo(0x02); in getPackageIdentifier_shouldReturnPackageIdentiferOfItsResources()