Home
last modified time | relevance | path

Searched refs:statusString (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java711 StringBuilder statusString = new StringBuilder(); in usbDataStatusToString() local
722 statusString.append("disabled-overheat, "); in usbDataStatusToString()
727 statusString.append("disabled-contaminant, "); in usbDataStatusToString()
731 statusString.append("disabled-dock, "); in usbDataStatusToString()
735 statusString.append("disabled-force, "); in usbDataStatusToString()
739 statusString.append("disabled-debug, "); in usbDataStatusToString()
744 statusString.append("disabled-host-dock, "); in usbDataStatusToString()
749 statusString.append("disabled-device-dock, "); in usbDataStatusToString()
751 return statusString.toString().replaceAll(", $", ""); in usbDataStatusToString()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java238 String statusString = res.getString(R.string.battery_info_status_unknown); in getBatteryStatus() local
242 statusString = in getBatteryStatus()
250 statusString = getRegularChargingStatusString(res); in getBatteryStatus()
254 statusString = getFastChargingStatusString(res); in getBatteryStatus()
257 statusString = getSlowChargingStatusString(res); in getBatteryStatus()
260 statusString = getRegularChargingStatusString(res); in getBatteryStatus()
264 statusString = getDockChargingStatusString(res); in getBatteryStatus()
266 statusString = getWirelessChargingStatusString(res); in getBatteryStatus()
269 statusString = res.getString(R.string.battery_info_status_discharging); in getBatteryStatus()
271 statusString = res.getString(R.string.battery_info_status_not_charging); in getBatteryStatus()
[all …]
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java622 String statusString; in postStatus() local
628 statusString = "NOT_STARTED"; in postStatus()
631 statusString = "IN_PROGRESS"; in postStatus()
634 statusString = "READY"; in postStatus()
637 statusString = "IN_USE"; in postStatus()
640 statusString = "UNKNOWN"; in postStatus()
667 msg.append("status: " + statusString + ", cause: " + causeString); in postStatus()
/frameworks/av/services/mediametrics/include/mediametricsservice/
DAudioAnalytics.h147 const std::string& statusString, uid_t uid, const std::string& message,
153 const std::string& statusString, uid_t uid, const std::string& message,
/frameworks/base/services/core/jni/
Dcom_android_server_utils_AnrTimer.cpp240 static const char* statusString(Status);
493 id, pid, uid, statusString(status)); in toString()
499 id, pid, uid, statusString(status), -ms); in toString()
832 const char* AnrTimerService::statusString(Status s) { in statusString() function in android::__anoncbc99b2b0111::AnrTimerService
/frameworks/av/services/mediametrics/
DAudioAnalytics.cpp619 const std::string statusString = extendedStatusToStatusString(status); in processStatus() local
623 mHeatMap.add(prefixKey, suffixKey, eventStr, statusString, uid, message, subCode); in processStatus()
626 if (reportAudioRecordStatus(item, key, eventStr, statusString, uid, message, subCode)) return; in processStatus()
627 if (reportAudioTrackStatus(item, key, eventStr, statusString, uid, message, subCode)) return; in processStatus()
633 const std::string& statusString, uid_t uid, const std::string& message, in reportAudioRecordStatus() argument
639 const int atom_status = types::lookup<types::STATUS, int32_t>(statusString); in reportAudioRecordStatus()
705 const std::string& statusString, uid_t uid, const std::string& message, in reportAudioTrackStatus() argument
711 const int atom_status = types::lookup<types::STATUS, int32_t>(statusString); in reportAudioTrackStatus()