Lines Matching refs:message

51                 std::string* message) {  in GetVersion()  argument
52 *message = kFastbootProtocolVersion; in GetVersion()
57 std::string* message) { in GetBootloaderVersion() argument
58 *message = android::base::GetProperty("ro.bootloader", ""); in GetBootloaderVersion()
63 std::string* message) { in GetBasebandVersion() argument
64 *message = android::base::GetProperty("ro.build.expect.baseband", ""); in GetBasebandVersion()
69 std::string* message) { in GetOsVersion() argument
70 *message = android::base::GetProperty("ro.build.version.release", ""); in GetOsVersion()
75 std::string* message) { in GetVndkVersion() argument
76 *message = android::base::GetProperty("ro.vndk.version", ""); in GetVndkVersion()
81 std::string* message) { in GetProduct() argument
82 *message = android::base::GetProperty("ro.product.device", ""); in GetProduct()
87 std::string* message) { in GetSerial() argument
88 *message = android::base::GetProperty("ro.serialno", ""); in GetSerial()
93 std::string* message) { in GetSecure() argument
94 *message = android::base::GetBoolProperty("ro.secure", "") ? "yes" : "no"; in GetSecure()
99 std::string* message) { in GetVariant() argument
102 *message = "Fastboot HAL not found"; in GetVariant()
109 *message = "Unable to get device variant"; in GetVariant()
110 LOG(ERROR) << message->c_str() << status.getDescription(); in GetVariant()
114 *message = device_variant; in GetVariant()
134 std::string* message) { in GetBatterySoCOk() argument
137 *message = "Unable to read battery voltage"; in GetBatterySoCOk()
143 *message = "Fastboot HAL not found"; in GetBatterySoCOk()
150 *message = "Unable to get battery voltage flashing threshold"; in GetBatterySoCOk()
151 LOG(ERROR) << message->c_str() << status.getDescription(); in GetBatterySoCOk()
154 *message = battery_voltage >= voltage_threshold ? "yes" : "no"; in GetBatterySoCOk()
160 std::string* message) { in GetOffModeChargeState() argument
163 *message = "Fastboot HAL not found"; in GetOffModeChargeState()
169 *message = "Unable to get off mode charge state"; in GetOffModeChargeState()
170 LOG(ERROR) << message->c_str() << status.getDescription(); in GetOffModeChargeState()
173 *message = off_mode_charging_state ? "1" : "0"; in GetOffModeChargeState()
178 std::string* message) { in GetBatteryVoltage() argument
181 *message = std::to_string(battery_voltage); in GetBatteryVoltage()
184 *message = "Unable to get battery voltage"; in GetBatteryVoltage()
189 std::string* message) { in GetCurrentSlot() argument
191 *message = suffix.size() == 2 ? suffix.substr(1) : suffix; in GetCurrentSlot()
196 std::string* message) { in GetSlotCount() argument
199 *message = "0"; in GetSlotCount()
201 *message = std::to_string(boot_control_hal->GetNumSlots()); in GetSlotCount()
207 std::string* message) { in GetSlotSuccessful() argument
209 *message = "Missing argument"; in GetSlotSuccessful()
214 *message = "Invalid slot"; in GetSlotSuccessful()
219 *message = "Device has no slots"; in GetSlotSuccessful()
223 *message = "no"; in GetSlotSuccessful()
225 *message = "yes"; in GetSlotSuccessful()
231 std::string* message) { in GetSlotUnbootable() argument
233 *message = "Missing argument"; in GetSlotUnbootable()
238 *message = "Invalid slot"; in GetSlotUnbootable()
243 *message = "Device has no slots"; in GetSlotUnbootable()
247 *message = "yes"; in GetSlotUnbootable()
249 *message = "no"; in GetSlotUnbootable()
255 std::string* message) { in GetMaxDownloadSize() argument
256 *message = android::base::StringPrintf("0x%X", kMaxDownloadSizeDefault); in GetMaxDownloadSize()
261 std::string* message) { in GetUnlocked() argument
262 *message = GetDeviceLockStatus() ? "no" : "yes"; in GetUnlocked()
267 std::string* message) { in GetHasSlot() argument
269 *message = "Missing argument"; in GetHasSlot()
274 *message = "no"; in GetHasSlot()
279 *message = "yes"; in GetHasSlot()
281 *message = "no"; in GetHasSlot()
287 std::string* message) { in GetPartitionSize() argument
289 *message = "Missing argument"; in GetPartitionSize()
296 *message = "0x0"; in GetPartitionSize()
302 *message = "Could not open partition"; in GetPartitionSize()
306 *message = android::base::StringPrintf("0x%" PRIX64, size); in GetPartitionSize()
311 std::string* message) { in GetPartitionType() argument
313 *message = "Missing argument"; in GetPartitionType()
319 *message = "Invalid partition"; in GetPartitionType()
325 *message = "raw"; in GetPartitionType()
333 *message = "Unable to retrieve partition type"; in GetPartitionType()
334 LOG(ERROR) << message->c_str() << status.getDescription(); in GetPartitionType()
338 *message = "raw"; in GetPartitionType()
341 *message = "ext4"; in GetPartitionType()
344 *message = "f2fs"; in GetPartitionType()
347 *message = "Unknown file system type"; in GetPartitionType()
355 std::string* message) { in GetPartitionIsLogical() argument
357 *message = "Missing argument"; in GetPartitionIsLogical()
365 *message = "yes"; in GetPartitionIsLogical()
369 *message = "no"; in GetPartitionIsLogical()
372 *message = "Partition not found"; in GetPartitionIsLogical()
377 std::string* message) { in GetIsUserspace() argument
378 *message = "yes"; in GetIsUserspace()
383 std::string* message) { in GetIsForceDebuggable() argument
384 *message = android::base::GetBoolProperty("ro.force.debuggable", false) ? "yes" : "no"; in GetIsForceDebuggable()
423 std::string* message) { in GetHardwareRevision() argument
424 *message = android::base::GetProperty("ro.revision", ""); in GetHardwareRevision()
429 std::string* message) { in GetSuperPartitionName() argument
431 *message = fs_mgr_get_super_partition_name(slot_number); in GetSuperPartitionName()
436 std::string* message) { in GetSnapshotUpdateStatus() argument
441 *message = "not supported"; in GetSnapshotUpdateStatus()
448 *message = "snapshotted"; in GetSnapshotUpdateStatus()
451 *message = "merging"; in GetSnapshotUpdateStatus()
454 *message = "none"; in GetSnapshotUpdateStatus()
461 std::string* message) { in GetCpuAbi() argument
462 *message = android::base::GetProperty("ro.product.cpu.abi", ""); in GetCpuAbi()
467 std::string* message) { in GetSystemFingerprint() argument
468 *message = android::base::GetProperty("ro.system.build.fingerprint", ""); in GetSystemFingerprint()
469 if (message->empty()) { in GetSystemFingerprint()
470 *message = android::base::GetProperty("ro.build.fingerprint", ""); in GetSystemFingerprint()
476 std::string* message) { in GetVendorFingerprint() argument
477 *message = android::base::GetProperty("ro.vendor.build.fingerprint", ""); in GetVendorFingerprint()
482 std::string* message) { in GetDynamicPartition() argument
483 *message = android::base::GetProperty("ro.boot.dynamic_partitions", ""); in GetDynamicPartition()
488 std::string* message) { in GetFirstApiLevel() argument
489 *message = android::base::GetProperty("ro.product.first_api_level", ""); in GetFirstApiLevel()
494 std::string* message) { in GetSecurityPatchLevel() argument
495 *message = android::base::GetProperty("ro.build.version.security_patch", ""); in GetSecurityPatchLevel()
500 std::string* message) { in GetTrebleEnabled() argument
501 *message = android::base::GetProperty("ro.treble.enabled", ""); in GetTrebleEnabled()
506 std::string* message) { in GetMaxFetchSize() argument
508 *message = "fetch not supported on user builds"; in GetMaxFetchSize()
511 *message = android::base::StringPrintf("0x%X", kMaxFetchSizeDefault); in GetMaxFetchSize()