/bootable/recovery/tests/component/ |
uncrypt_test.cpp | 36 static const std::string UNCRYPT_SOCKET = "/dev/socket/uncrypt"; 39 static const std::string INIT_SVC_UNCRYPT = "init.svc.uncrypt"; 45 ASSERT_TRUE(android::base::SetProperty("ctl.stop", "uncrypt")); 51 std::string uncrypt = android::base::GetProperty(INIT_SVC_UNCRYPT, ""); local 53 << "] uncrypt: [" << uncrypt << "]"; local 54 if (setup_bcb != "running" && clear_bcb != "running" && uncrypt != "running") { 61 ASSERT_TRUE(success) << "uncrypt service is not available."; 97 // Connect to the uncrypt socket. 118 // 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 465 static int uncrypt(const char* input_path, const char* map_file, const int socket) { function [all...] |
/frameworks/base/core/java/android/os/ |
RecoverySystem.java | 111 * generated by uncrypt. 118 * UNCRYPT_PACKAGE_FILE stores the filename to be uncrypt'd, which will be 119 * read by uncrypt. 127 * of uncrypt. 417 * Process a given package with uncrypt. No-op if the package is not on the 474 if (!rs.uncrypt(filename, progressListener)) { 480 * Process a given package with uncrypt. No-op if the package is not on the 522 * If the package hasn't been processed (i.e. uncrypt'd), set up 523 * UNCRYPT_PACKAGE_FILE and delete BLOCK_MAP_FILE to trigger uncrypt during the 529 * @param processed if the package has been processed (uncrypt'd) 1130 private boolean uncrypt(String packageFile, IRecoverySystemProgressListener listener) { method in class:RecoverySystem [all...] |
/frameworks/base/services/core/java/com/android/server/power/ |
ShutdownThread.java | 267 // Path 1a: uncrypt needed 273 // device always calls uncrypt prior to reboot. 275 // Path 1b: uncrypt already done 288 // We need the progress bar if uncrypt will be invoked during the 528 // If it's to reboot to install an update and uncrypt hasn't been 530 uncrypt(); method 712 private void uncrypt() { method in class:ShutdownThread 713 Log.i(TAG, "Calling uncrypt and monitoring the progress..."); 760 Log.w(TAG, "Timed out waiting for uncrypt."); 767 Log.e(TAG, "Failed to write timeout message to uncrypt status", e) [all...] |
/prebuilts/misc/common/robolectric/android-all/ |
android-all-7.0.0_r1-robolectric-0.jar | |