Home
last modified time | relevance | path

Searched refs:savedState (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java280 public AccessPoint(Context context, Bundle savedState) { in AccessPoint() argument
283 if (savedState.containsKey(KEY_CONFIG)) { in AccessPoint()
284 mConfig = savedState.getParcelable(KEY_CONFIG); in AccessPoint()
289 if (savedState.containsKey(KEY_SSID)) { in AccessPoint()
290 ssid = savedState.getString(KEY_SSID); in AccessPoint()
292 if (savedState.containsKey(KEY_SECURITY)) { in AccessPoint()
293 security = savedState.getInt(KEY_SECURITY); in AccessPoint()
295 if (savedState.containsKey(KEY_SPEED)) { in AccessPoint()
296 mSpeed = savedState.getInt(KEY_SPEED); in AccessPoint()
298 if (savedState.containsKey(KEY_PSKTYPE)) { in AccessPoint()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java379 private void showDialog(SomeArgs args, boolean skipAnimation, Bundle savedState) { in showDialog() argument
407 + " savedState: " + savedState in showDialog()
424 mCurrentDialog.show(mWindowManager, savedState); in showDialog()
442 final Bundle savedState = new Bundle(); in onConfigurationChanged() local
443 mCurrentDialog.onSaveState(savedState); in onConfigurationChanged()
449 if (savedState.getInt(AuthDialog.KEY_CONTAINER_STATE) in onConfigurationChanged()
452 savedState.getBoolean(AuthDialog.KEY_CREDENTIAL_SHOWING); in onConfigurationChanged()
460 showDialog(mCurrentDialogArgs, true /* skipAnimation */, savedState); in onConfigurationChanged()
DAuthDialog.java82 void show(WindowManager wm, @Nullable Bundle savedState); in show() argument
DAuthContainerView.java462 public void show(WindowManager wm, @Nullable Bundle savedState) { in show() argument
464 mBiometricView.restoreState(savedState); in show()
DAuthBiometricView.java541 public void restoreState(@Nullable Bundle savedState) { in restoreState() argument
542 mSavedState = savedState; in restoreState()
/frameworks/base/core/tests/coretests/src/android/app/
DLoaderLifecycleTest.java89 final Parcelable savedState = fc1.saveAllState(); in loaderIdentityTest() local
110 fc2.restoreAllState(savedState, nonconf); in loaderIdentityTest()
171 final Parcelable savedState = fc1.saveAllState(); in backStackLoaderIdentityTest() local
190 fc2.restoreAllState(savedState, nonconf); in backStackLoaderIdentityTest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthControllerTest.java363 Bundle savedState = (Bundle) args[0]; in testConfigurationPersists_whenOnConfigurationChanged()
364 savedState.putInt( in testConfigurationPersists_whenOnConfigurationChanged()
394 Bundle savedState = (Bundle) args[0]; in testConfigurationPersists_whenBiometricFallbackToCredential()
395 savedState.putInt( in testConfigurationPersists_whenBiometricFallbackToCredential()
397 savedState.putBoolean(AuthDialog.KEY_CREDENTIAL_SHOWING, true); in testConfigurationPersists_whenBiometricFallbackToCredential()
DAuthBiometricViewTest.java308 Bundle savedState, MockInjector injector) { in initDialog() argument
312 mBiometricView.restoreState(savedState); in initDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java73 private void createFragmentHost(Parcelable savedState) { in createFragmentHost() argument
95 if (savedState != null) { in createFragmentHost()
96 mFragments.restoreAllState(savedState, (FragmentManagerNonConfig) null); in createFragmentHost()
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp275 jbyteArray savedState, jobject classLoader, jstring libraryPath) { in loadNativeCode_native() argument
379 if (savedState != NULL) { in loadNativeCode_native()
380 rawSavedState = env->GetByteArrayElements(savedState, NULL); in loadNativeCode_native()
381 rawSavedSize = env->GetArrayLength(savedState); in loadNativeCode_native()
387 env->ReleaseByteArrayElements(savedState, rawSavedState, 0); in loadNativeCode_native()
/frameworks/native/include/android/
Dnative_activity.h247 void* savedState, size_t savedStateSize);
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java3502 SavedState savedState = new SavedState();
3503 savedState.featureId = featureId;
3504 savedState.isOpen = isOpen;
3505 savedState.isInExpandedMode = isInExpandedMode;
3508 savedState.menuState = new Bundle();
3509 menu.savePresenterStates(savedState.menuState);
3512 return savedState;
3516 SavedState savedState = (SavedState) state;
3517 featureId = savedState.featureId;
3518 wasLastOpen = savedState.isOpen;
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java643 final Bundle savedState = new Bundle(); in testUpdateSavedState() local
644 savedState.putString("test", "string"); in testUpdateSavedState()
645 mActivity.setSavedState(savedState); in testUpdateSavedState()
647 assertEquals(savedState, mActivity.getSavedState()); in testUpdateSavedState()
653 final Bundle savedState = new Bundle(); in testUpdateSavedState_activityStopped() local
654 savedState.putString("test", "string"); in testUpdateSavedState_activityStopped()
660 mActivity.activityStopped(savedState, persistentSavedState, "desc"); in testUpdateSavedState_activityStopped()
662 assertEquals(savedState, mActivity.getSavedState()); in testUpdateSavedState_activityStopped()
670 assertEquals(savedState, mActivity.getSavedState()); in testUpdateSavedState_activityStopped()
/frameworks/base/core/java/android/app/
DNativeActivity.java93 AssetManager assetMgr, byte[] savedState, ClassLoader classLoader, String libraryPath); in loadNativeCode() argument
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1015 void setSavedState(@Nullable Bundle savedState) { in setSavedState() argument
1016 mIcicle = savedState; in setSavedState()