Returns if the specified service is available.
int offset = service / 8;
if (offset >= mServiceTable.length) {
// Note: Enums are zero-based, but the TS service numbering is one-based
Rlog.e(getTag(), "isAvailable for service " + (service + 1) + " fails, max service is " +
(mServiceTable.length * 8));
return false;
}
int bit = service % 8;
return (mServiceTable[offset] & (1 << bit)) != 0;