packages/apps/Settings/res/values/strings.xml: <string name="enter_password">Type password to decrypt storage</string>
packages/apps/Settings/res/layout-sw600dp-land/crypt_keeper_password_entry.xml: android:text="@string/crypt_keeper_enter_password"
packages/apps/Settings/res/layout/crypt_keeper_status.xml: android:text="@string/enter_password"
packages/apps/Settings/res/layout-sw600dp/crypt_keeper_password_entry.xml: android:text="@string/crypt_keeper_enter_password"
packages/apps/Settings/res/layout/crypt_keeper_password_entry.xml: <include layout="@layout/crypt_keeper_status" />
packages/apps/Settings/res/layout-land/crypt_keeper_password_entry.xml: <include layout="@layout/crypt_keeper_status" />
packages/apps/Settings/res/layout-sw600dp/crypt_keeper_password_entry.xml: <include layout="@layout/crypt_keeper_status" />
packages/apps/Settings/src/com/android/settings/CryptKeeper.java: setContentView(R.layout.crypt_keeper_password_entry);
String progress = SystemProperties.get("vold.encrypt_progress");
[ro.secure]: [1]
[ro.serialno]: []
[ro.sf.lcd_density]: [240]
[ro.wifi.channels]: []
[sys.boot_completed]: [1]
[sys.settings_secure_version]: [9]
[sys.usb.config]: [mass_storage,adb]
[sys.usb.state]: [mass_storage,adb]
[system_init.startsurfaceflinger]: [0]
[vold.decrypt]: [1]
[vold.post_fs_data_done]: [1]
packages/apps/Settings/src/com/android/settings/CryptKeeperSettings.java
frameworks/base/core/java/android/provider/Settings.java: public static final String SYS_PROP_SETTING_VERSION = "sys.settings_secure_version";
private boolean isDebugView() {
return getIntent().hasExtra(EXTRA_FORCE_VIEW);
}
private static final String EXTRA_FORCE_VIEW =
"com.android.settings.CryptKeeper.DEBUG_FORCE_VIEW";
frameworks/base/services/java/com/android/server/DevicePolicyManagerService.java: String status = SystemProperties.get("ro.crypto.state", "unsupported");
system/core/init/builtins.c
property_set("ro.crypto.state", unsupported); //jeff "encrypted");
property_set("vold.decrypt", "0"); //jeff "1"
packages/apps/Settings/src/com/android/settings/CryptKeeper.java
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// If we are not encrypted or encrypting, get out quickly.
String state = SystemProperties.get("vold.decrypt");
/*jeff. if (!isDebugView() && ("".equals(state) || DECRYPT_STATE.equals(state))) { */
......
//}
// Disable the status bar
/*jeff. StatusBarManager sbm = (StatusBarManager) getSystemService(Context.STATUS_BAR_SERVICE);
sbm.disable(StatusBarManager.DISABLE_EXPAND
| StatusBarManager.DISABLE_NOTIFICATION_ICONS
| StatusBarManager.DISABLE_NOTIFICATION_ALERTS
| StatusBarManager.DISABLE_SYSTEM_INFO
| StatusBarManager.DISABLE_HOME
| StatusBarManager.DISABLE_RECENT
| StatusBarManager.DISABLE_BACK);
// Check for (and recover) retained instance data
Object lastInstance = getLastNonConfigurationInstance();
if (lastInstance instanceof NonConfigurationInstanceState) {
NonConfigurationInstanceState retained = (NonConfigurationInstanceState) lastInstance;
mWakeLock = retained.wakelock;
Log.d(TAG, "Restoring wakelock from NonConfigurationInstanceState");
}*/