Searched refs:protocolIndex (Results 1 – 2 of 2) sorted by relevance
71 int protocolIndex = Utility.arrayIndex(PROTOCOLS, account.getProtocol(context)); in getSyncFlags() local72 return (int)account.mId | REASON_SYNC | (protocolIndex << PROTOCOL_SHIFT); in getSyncFlags()83 int protocolIndex = Utility.arrayIndex(PROTOCOLS, account.getProtocol(context)); in getAttachmentFlags() local84 return (int)account.mId | REASON_ATTACHMENT_USER | (protocolIndex << PROTOCOL_SHIFT); in getAttachmentFlags()
325 int protocolIndex = protocol.findIndexOfValue(raw); in protocolDescription() local326 if (protocolIndex == -1) { in protocolDescription()331 return values[protocolIndex]; in protocolDescription()