• Home
  • Raw
  • Download

Lines Matching refs:base

73 static void UiLogger(android::base::LogId /* id */, android::base::LogSeverity severity,  in UiLogger()
77 if (severity >= android::base::ERROR && ui != nullptr) { in UiLogger()
121 std::vector<std::string> tokens = android::base::Split(boot_recovery, "\n"); in get_args()
137 android::base::ReadFileToString(COMMAND_FILE, &content)) { in get_args()
138 std::vector<std::string> tokens = android::base::Split(content, "\n"); in get_args()
175 if (!android::base::ReadFileToString(LOCALE_FILE, &content)) { in load_locale_from_cache()
180 return android::base::Trim(content); in load_locale_from_cache()
185 android::base::SetProperty("sys.usb.config", state); in SetUsbConfig()
186 return android::base::WaitForProperty("sys.usb.state", state); in SetUsbConfig()
190 android::base::unique_fd sock_fd(android_get_control_socket("recovery")); in ListenRecoverySocket()
198 android::base::unique_fd connection_fd; in ListenRecoverySocket()
228 android::base::unique_fd pipe_read, pipe_write; in redirect_stdio()
230 if (!android::base::Pipe(&pipe_read, &pipe_write)) { in redirect_stdio()
270 FILE* pipe_fp = android::base::Fdopen(std::move(pipe_read), "r"); in redirect_stdio()
316 android::base::InitLogging(argv, &UiLogger); in main()
363 android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) { in main()
409 if (android::base::GetBoolProperty("ro.boot.quiescent", false)) { in main()
424 if (!android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) { in main()
452 std::string usb_state = android::base::GetProperty("sys.usb.state", "none"); in main()
476 android::base::SetProperty(ANDROID_RB_PROPERTY, "shutdown,"); in main()
481 android::base::SetProperty(ANDROID_RB_PROPERTY, "reboot,bootloader"); in main()
486 android::base::SetProperty(ANDROID_RB_PROPERTY, "reboot,fastboot"); in main()
513 android::base::SetProperty(ANDROID_RB_PROPERTY, "reboot,fastboot"); in main()