Lines Matching refs:tokens
270 std::vector<std::string> tokens = base::SplitString( in OnMessage() local
272 switch (tokens.size()) { in OnMessage()
274 if (tokens[0] == kSetAdapterNameCommand) in OnMessage()
275 return OnSetAdapterName(tokens[1]); in OnMessage()
276 if (tokens[0] == kCreateServiceCommand) return OnCreateService(tokens[1]); in OnMessage()
277 if (tokens[0] == kDestroyServiceCommand) in OnMessage()
278 return OnDestroyService(tokens[1]); in OnMessage()
279 if (tokens[0] == kStartServiceCommand) return OnStartService(tokens[1]); in OnMessage()
280 if (tokens[0] == kStopServiceCommand) return OnStopService(tokens[1]); in OnMessage()
283 if (tokens[0] == kSetCharacteristicValueCommand) in OnMessage()
284 return OnSetCharacteristicValue(tokens[1], tokens[2], tokens[3]); in OnMessage()
287 if (tokens[0] == kAddCharacteristicCommand) in OnMessage()
288 return OnAddCharacteristic(tokens[1], tokens[2], tokens[3], tokens[4]); in OnMessage()
291 if (tokens[0] == kSetAdvertisementCommand) in OnMessage()
292 return OnSetAdvertisement(tokens[1], tokens[2], tokens[3], tokens[4], in OnMessage()
293 tokens[5]); in OnMessage()
294 if (tokens[0] == kSetScanResponseCommand) in OnMessage()
295 return OnSetScanResponse(tokens[1], tokens[2], tokens[3], tokens[4], in OnMessage()
296 tokens[5]); in OnMessage()