Lines Matching refs:IGsiService
48 using CommandCallback = std::function<int(sp<IGsiService>, int, char**)>;
50 static int Disable(sp<IGsiService> gsid, int argc, char** argv);
51 static int Enable(sp<IGsiService> gsid, int argc, char** argv);
52 static int Install(sp<IGsiService> gsid, int argc, char** argv);
53 static int CreatePartition(sp<IGsiService> gsid, int argc, char** argv);
54 static int Wipe(sp<IGsiService> gsid, int argc, char** argv);
55 static int WipeData(sp<IGsiService> gsid, int argc, char** argv);
56 static int Status(sp<IGsiService> gsid, int argc, char** argv);
57 static int Cancel(sp<IGsiService> gsid, int argc, char** argv);
73 int error_code = IGsiService::INSTALL_ERROR_GENERIC) { in ErrorMessage()
82 explicit ProgressBar(sp<IGsiService> gsid) : gsid_(gsid) {} in ProgressBar()
128 if (latest.status == IGsiService::STATUS_NO_OPERATION) { in UpdateProgress()
186 sp<IGsiService> gsid_;
194 static int Install(sp<IGsiService> gsid, int argc, char** argv) { in Install()
270 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install()
276 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install()
282 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install()
290 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install()
305 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install()
312 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install()
324 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install()
341 static int CreatePartition(sp<IGsiService> gsid, int argc, char** argv) { in CreatePartition()
405 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in CreatePartition()
412 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in CreatePartition()
434 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in CreatePartition()
440 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in CreatePartition()
458 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in CreatePartition()
468 static int Wipe(sp<IGsiService> gsid, int argc, char** /* argv */) { in Wipe()
489 static int WipeData(sp<IGsiService> gsid, int argc, char** /* argv */) { in WipeData()
526 static int Status(sp<IGsiService> gsid, int argc, char** /* argv */) { in Status()
601 static int Cancel(sp<IGsiService> gsid, int /* argc */, char** /* argv */) { in Cancel()
615 static int Enable(sp<IGsiService> gsid, int argc, char** argv) { in Enable()
660 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Enable()
668 static int Disable(sp<IGsiService> gsid, int argc, char** /* argv */) { in Disable()
717 android::sp<IGsiService> service = GetGsiService(); in main()