code: int addMapping(final String packageName, byte packageId) {
      Byte index = mEntries.get(packageName);
      if (index == null) {
        return UNKNOWN_ERROR;
      }
      mLookupTable[index] = packageId;
      return NO_ERROR;
    }
docs: the given package.