Searched refs:device_credentials (Results 1 – 2 of 2) sorted by relevance
90 em::DeviceCredentials device_credentials; in LoadOnFileThread() local92 device_credentials.ParseFromArray(data.c_str(), data.size())) { in LoadOnFileThread()93 device_token = device_credentials.device_token(); in LoadOnFileThread()94 device_id = device_credentials.device_id(); in LoadOnFileThread()119 em::DeviceCredentials device_credentials; in StoreOnFileThread() local120 device_credentials.set_device_token(token); in StoreOnFileThread()121 device_credentials.set_device_id(device_id); in StoreOnFileThread()123 bool success = device_credentials.SerializeToString(&data); in StoreOnFileThread()
48 em::DeviceCredentials device_credentials; in LoadOnBackgroundThread() local50 device_credentials.ParseFromArray(data.c_str(), data.size())) { in LoadOnBackgroundThread()51 device_token = device_credentials.device_token(); in LoadOnBackgroundThread()52 device_id = device_credentials.device_id(); in LoadOnBackgroundThread()