Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java291 public AccessPoint(Context context, Bundle savedState) { in AccessPoint() argument
294 if (savedState.containsKey(KEY_CONFIG)) { in AccessPoint()
295 mConfig = savedState.getParcelable(KEY_CONFIG); in AccessPoint()
300 if (savedState.containsKey(KEY_SSID)) { in AccessPoint()
301 ssid = savedState.getString(KEY_SSID); in AccessPoint()
303 if (savedState.containsKey(KEY_SECURITY)) { in AccessPoint()
304 security = savedState.getInt(KEY_SECURITY); in AccessPoint()
306 if (savedState.containsKey(KEY_SPEED)) { in AccessPoint()
307 mSpeed = savedState.getInt(KEY_SPEED); in AccessPoint()
309 if (savedState.containsKey(KEY_PSKTYPE)) { in AccessPoint()
[all …]
/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/src/com/android/systemui/navigationbar/
DNavigationBarControllerImpl.java339 Bundle savedState = new Bundle(); in recreateNavigationBar() local
342 bar.onSaveInstanceState(savedState); in recreateNavigationBar()
345 createNavigationBar(mDisplayManager.getDisplay(displayId), savedState, null /* result */); in recreateNavigationBar() local
372 void createNavigationBar(Display display, Bundle savedState, in createNavigationBar() argument
395 context, savedState); in createNavigationBar()
DNavigationBarComponent.java50 @BindsInstance @Nullable Bundle savedState); in create() argument
DNavigationBar.java549 @Nullable Bundle savedState, in NavigationBar() argument
595 mSavedState = savedState; in NavigationBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java87 private void createFragmentHost(Parcelable savedState) { in createFragmentHost() argument
109 if (savedState != null) { in createFragmentHost()
110 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/opt/telephony/src/java/com/android/internal/telephony/
DCallWaitingController.java487 int savedState = getSavedState(subId); in updateCarrierConfig() local
493 + ", savedState=" + savedState); in updateCarrierConfig()
496 int desiredState = savedState; in updateCarrierConfig()
507 } else if (savedState == TERMINAL_BASED_NOT_SUPPORTED) { in updateCarrierConfig()
/frameworks/native/include/android/
Dnative_activity.h247 void* savedState, size_t savedStateSize);
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java3703 SavedState savedState = new SavedState();
3704 savedState.featureId = featureId;
3705 savedState.isOpen = isOpen;
3706 savedState.isInExpandedMode = isInExpandedMode;
3709 savedState.menuState = new Bundle();
3710 menu.savePresenterStates(savedState.menuState);
3713 return savedState;
3717 SavedState savedState = (SavedState) state;
3718 featureId = savedState.featureId;
3719 wasLastOpen = savedState.isOpen;
[all …]
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java543 SparseArray<Parcelable> savedState = new SparseArray<>(); in reapplyLastRemoteViews() local
544 saveHierarchyState(savedState); in reapplyLastRemoteViews()
546 restoreHierarchyState(savedState); in reapplyLastRemoteViews()
/frameworks/base/core/java/android/app/
DNativeActivity.java93 AssetManager assetMgr, byte[] savedState, ClassLoader classLoader, String libraryPath); in loadNativeCode() argument
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java910 final Bundle savedState = new Bundle(); in testUpdateSavedState() local
911 savedState.putString("test", "string"); in testUpdateSavedState()
912 activity.setSavedState(savedState); in testUpdateSavedState()
914 assertEquals(savedState, activity.getSavedState()); in testUpdateSavedState()
921 final Bundle savedState = new Bundle(); in testUpdateSavedState_activityStopped() local
922 savedState.putString("test", "string"); in testUpdateSavedState_activityStopped()
928 activity.activityStopped(savedState, persistentSavedState, "desc"); in testUpdateSavedState_activityStopped()
930 assertEquals(savedState, activity.getSavedState()); in testUpdateSavedState_activityStopped()
938 assertEquals(savedState, activity.getSavedState()); in testUpdateSavedState_activityStopped()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1451 void setSavedState(@Nullable Bundle savedState) { in setSavedState() argument
1452 mIcicle = savedState; in setSavedState()