Lines Matching refs:service
38 * Returns if the specified service is available.
39 * @param service the service number as a zero-based offset (the enum ordinal)
40 * @return true if the service is available; false otherwise
42 protected boolean isAvailable(int service) {
43 int offset = service / 8;
45 // Note: Enums are zero-based, but the TS service numbering is one-based
46 Log.e(getTag(), "isAvailable for service " + (service + 1) + " fails, max service is " +
50 int bit = service % 8;
74 builder.append('#').append(ordinal + 1); // service number (one-based)