public static int getPackageIdentifier(int resId) {
    return (resId >>> 24);
  }
@Test
  public void testGetPackageIdentifier() {
    assertThat(ResourceIds.getPackageIdentifier(0x01000000)).isEqualTo(0x01);
    assertThat(ResourceIds.getPackageIdentifier(0x7F000000)).isEqualTo(0x7F);
  }