HomeSort by relevance Sort by last modified time
    Searched defs:uncrypt (Results 1 - 5 of 5) sorted by null

  /bootable/recovery/tests/component/
uncrypt_test.cpp 34 static const std::string UNCRYPT_SOCKET = "/dev/socket/uncrypt";
37 static const std::string INIT_SVC_UNCRYPT = "init.svc.uncrypt";
47 ASSERT_TRUE(android::base::SetProperty("ctl.stop", "uncrypt"));
53 std::string uncrypt = android::base::GetProperty(INIT_SVC_UNCRYPT, ""); variable
54 LOG(INFO) << "setup-bcb: [" << setup_bcb << "] clear-bcb: [" << clear_bcb << "] uncrypt: ["
55 << uncrypt << "]"; variable
56 if (setup_bcb != "running" && clear_bcb != "running" && uncrypt != "running") {
63 ASSERT_TRUE(success) << "uncrypt service is not available.";
90 // Connect to the uncrypt socket.
111 // Check the status code from uncrypt
    [all...]
  /frameworks/base/services/core/java/com/android/server/
RecoverySystemService.java 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) { method in class:RecoverySystemService.BinderService
78 if (DEBUG) Slog.d(TAG, "uncrypt: " + filename);
85 Slog.e(TAG, "uncrypt service is unavailable.");
90 // uncrypt
    [all...]
  /bootable/recovery/uncrypt/
uncrypt.cpp 43 * In addition to the uncrypt work, uncrypt also takes care of setting and
46 * uncrypt is triggered as init services on demand. It uses socket to
48 * init (i.e. created prior to the service starts, and destroyed when uncrypt
51 * Below is the uncrypt protocol.
53 * a. caller b. init c. uncrypt
58 * uncrypt
61 * /dev/socket/uncrypt
124 // uncrypt provides three services: SETUP_BCB, CLEAR_BCB and UNCRYPT
448 static int uncrypt(const char* input_path, const char* map_file, const int socket) { function
    [all...]
  /frameworks/base/core/java/android/os/
RecoverySystem.java 96 * generated by uncrypt.
103 * UNCRYPT_PACKAGE_FILE stores the filename to be uncrypt'd, which will be
104 * read by uncrypt.
112 * of uncrypt.
402 * Process a given package with uncrypt. No-op if the package is not on the
459 if (!rs.uncrypt(filename, progressListener)) {
465 * Process a given package with uncrypt. No-op if the package is not on the
507 * If the package hasn't been processed (i.e. uncrypt'd), set up
508 * UNCRYPT_PACKAGE_FILE and delete BLOCK_MAP_FILE to trigger uncrypt during the
514 * @param processed if the package has been processed (uncrypt'd)
1012 private boolean uncrypt(String packageFile, IRecoverySystemProgressListener listener) { method in class:RecoverySystem
    [all...]
  /frameworks/base/services/core/java/com/android/server/power/
ShutdownThread.java 261 // Path 1a: uncrypt needed
267 // device always calls uncrypt prior to reboot.
269 // Path 1b: uncrypt already done
282 // We need the progress bar if uncrypt will be invoked during the
498 // If it's to reboot to install an update and uncrypt hasn't been
500 uncrypt(); method
677 private void uncrypt() { method in class:ShutdownThread
678 Log.i(TAG, "Calling uncrypt and monitoring the progress...");
725 Log.w(TAG, "Timed out waiting for uncrypt.");
732 Log.e(TAG, "Failed to write timeout message to uncrypt status", e)
    [all...]

Completed in 505 milliseconds