Home | History | Annotate | Download | only in server

Lines Matching defs:uncrypt

44  * triggers /system/bin/uncrypt via init to de-encrypt an OTA package on the
51 // The socket at /dev/socket/uncrypt to communicate with uncrypt.
52 private static final String UNCRYPT_SOCKET = "uncrypt";
54 // The init services that communicate with /system/bin/uncrypt.
55 private static final String INIT_SERVICE_UNCRYPT = "init.svc.uncrypt";
77 public boolean uncrypt(String filename, IRecoverySystemProgressListener listener) {
78 if (DEBUG) Slog.d(TAG, "uncrypt: " + filename);
85 Slog.e(TAG, "uncrypt service is unavailable.");
90 // uncrypt.
101 // Trigger uncrypt via init.
102 SystemProperties.set("ctl.start", "uncrypt");
104 // Connect to the uncrypt service socket.
107 Slog.e(TAG, "Failed to connect to uncrypt socket");
128 Slog.i(TAG, "uncrypt read status: " + status);
137 Slog.i(TAG, "uncrypt successfully finished.");
138 // Ack receipt of the final status code. uncrypt
145 // Error in /system/bin/uncrypt.
146 Slog.e(TAG, "uncrypt failed with status: " + status);
147 // Ack receipt of the final status code. uncrypt waits
199 * start a new uncrypt/setup-bcb/clear-bcb service right away; otherwise
201 * the socket (/dev/socket/uncrypt) on service start / exit.
212 " uncrypt: [" + uncryptService + "]" +
234 // The uncrypt socket will be created by init upon receiving the
252 Slog.e(TAG, "Timed out connecting to uncrypt socket");
263 Slog.e(TAG, "uncrypt service is unavailable.");
273 // Connect to the uncrypt service socket.
276 Slog.e(TAG, "Failed to connect to uncrypt socket");
297 // Ack receipt of the status code. uncrypt waits for the ack so
302 Slog.i(TAG, "uncrypt " + (isSetup ? "setup" : "clear") +
305 // Error in /system/bin/uncrypt.
306 Slog.e(TAG, "uncrypt failed with status: " + status);
310 Slog.e(TAG, "IOException when communicating with uncrypt:", e);