Lines Matching refs:tokens
274 std::vector<std::string> tokens = base::SplitString( in OnMessage() local
276 switch (tokens.size()) { in OnMessage()
278 if (tokens[0] == kSetAdapterNameCommand) in OnMessage()
279 return OnSetAdapterName(tokens[1]); in OnMessage()
280 if (tokens[0] == kCreateServiceCommand) in OnMessage()
281 return OnCreateService(tokens[1]); in OnMessage()
282 if (tokens[0] == kDestroyServiceCommand) in OnMessage()
283 return OnDestroyService(tokens[1]); in OnMessage()
284 if (tokens[0] == kStartServiceCommand) in OnMessage()
285 return OnStartService(tokens[1]); in OnMessage()
286 if (tokens[0] == kStopServiceCommand) in OnMessage()
287 return OnStopService(tokens[1]); in OnMessage()
290 if (tokens[0] == kSetCharacteristicValueCommand) in OnMessage()
291 return OnSetCharacteristicValue(tokens[1], tokens[2], tokens[3]); in OnMessage()
294 if (tokens[0] == kAddCharacteristicCommand) in OnMessage()
295 return OnAddCharacteristic(tokens[1], tokens[2], tokens[3], tokens[4]); in OnMessage()
298 if (tokens[0] == kSetAdvertisementCommand) in OnMessage()
299 return OnSetAdvertisement(tokens[1], tokens[2], tokens[3], tokens[4], tokens[5]); in OnMessage()
300 if (tokens[0] == kSetScanResponseCommand) in OnMessage()
301 return OnSetScanResponse(tokens[1], tokens[2], tokens[3], tokens[4], tokens[5]); in OnMessage()