Home
last modified time | relevance | path

Searched refs:oldState (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/core/java/android/app/backup/
DBackupHelperDispatcher.java45 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
54 if (oldState != null) { in performBackup()
55 oldStateFD = oldState.getFileDescriptor(); in performBackup()
61 doOneBackup(oldState, data, newState, header, helper); in performBackup()
75 doOneBackup(oldState, data, newState, header, helper); in performBackup()
79 private void doOneBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in doOneBackup() argument
94 helper.performBackup(oldState, data, newState); in doOneBackup()
DFileBackupHelperBase.java53 static void performBackup_checked(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup_checked() argument
70 FileDescriptor oldStateFd = oldState != null ? oldState.getFileDescriptor() : null; in performBackup_checked()
121 native private static int performBackup_native(FileDescriptor oldState, in performBackup_native() argument
DBackupAgentHelper.java64 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
66 mDispatcher.performBackup(oldState, data, newState); in onBackup()
DAbsoluteFileBackupHelper.java57 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
60 performBackup_checked(oldState, data, newState, mFiles, mFiles); in performBackup()
DFileBackupHelper.java73 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
85 performBackup_checked(oldState, data, newState, fullPaths, files); in performBackup()
DSharedPreferencesBackupHelper.java94 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
111 performBackup_checked(oldState, data, newState, files, prefGroups); in performBackup()
DWallpaperBackupHelper.java121 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
123 performBackup_checked(oldState, data, newState, mFiles, mKeys); in performBackup()
DBackupHelper.java68 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
DFullBackupAgent.java31 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
/frameworks/base/core/java/android/os/storage/
DIMountServiceListener.java79 final String oldState = data.readString(); in onTransact() local
81 this.onStorageStateChanged(path, oldState, newState); in onTransact()
88 final int oldState = data.readInt(); in onTransact() local
90 onVolumeStateChanged(vol, oldState, newState); in onTransact()
171 public void onStorageStateChanged(String path, String oldState, String newState) in onStorageStateChanged() argument
178 _data.writeString(oldState); in onStorageStateChanged()
190 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) in onVolumeStateChanged() argument
197 _data.writeInt(oldState); in onVolumeStateChanged()
298 public void onStorageStateChanged(String path, String oldState, String newState) in onStorageStateChanged() argument
301 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) in onVolumeStateChanged() argument
DStorageEventListener.java38 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() argument
41 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { in onVolumeStateChanged() argument
DMountServiceListener.java42 void onStorageStateChange(String path, String oldState, String newState) { in onStorageStateChange() argument
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeAgent.java87 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
108 boolean doBackup = (oldState == null); in onBackup()
110 doBackup = compareStateFile(oldState); in onBackup()
157 boolean compareStateFile(ParcelFileDescriptor oldState) { in compareStateFile() argument
158 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor()); in compareStateFile()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageListener.java34 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() argument
35 if (localLOGV) Log.i(TAG, "Storage state changed from " + oldState + " to " + newState); in onStorageStateChanged()
DAsecTests.java528 String oldState; field in AsecTests.StorageListener
545 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() argument
546 if (localLOGV) Log.i(TAG, "Storage state changed from " + oldState + " to " + newState); in onStorageStateChanged()
547 this.oldState = oldState; in onStorageStateChanged()
610 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DEventLogTags.logtags49 50113 gsm_data_state_change (oldState|3), (newState|3)
52 50114 gsm_service_state_change (oldState|1|5), (oldGprsState|1|5), (newState|1|5), (newGprsState|1|…
55 50115 cdma_data_state_change (oldState|3), (newState|3)
58 50116 cdma_service_state_change (oldState|1|5), (oldDataState|1|5), (newState|1|5), (newDataState|1…
DBaseCommands.java771 RadioState oldState; in setRadioState() local
774 oldState = mState; in setRadioState()
777 if (oldState == mState) { in setRadioState()
784 if (mState.isAvailable() && !oldState.isAvailable()) { in setRadioState()
789 if (!mState.isAvailable() && oldState.isAvailable()) { in setRadioState()
793 if (mState.isOn() && !oldState.isOn()) { in setRadioState()
798 && !((!oldState.isOn() || !oldState.isAvailable())) in setRadioState()
/frameworks/base/libs/storage/
DIMountServiceListener.cpp41 String16 oldState = data.readString16(); in onTransact() local
43 onStorageStateChanged(path, oldState, newState); in onTransact()
/frameworks/base/core/jni/
Dandroid_backup_FileBackupHelperBase.cpp41 performBackup_native(JNIEnv* env, jobject clazz, jobject oldState, jlong data, in performBackup_native() argument
47 int oldStateFD = oldState != NULL ? jniGetFDFromFileDescriptor(env, oldState) : -1; in performBackup_native()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockIcon.java212 private int getAnimationResForTransition(int oldState, int newState, boolean oldScreenOn, in getAnimationResForTransition() argument
214 if (oldState == STATE_FINGERPRINT && newState == STATE_FINGERPRINT_ERROR) { in getAnimationResForTransition()
216 } else if (oldState == STATE_FINGERPRINT_ERROR && newState == STATE_FINGERPRINT) { in getAnimationResForTransition()
218 } else if (oldState == STATE_FINGERPRINT && newState == STATE_LOCK_OPEN in getAnimationResForTransition()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java95 public boolean onPlaystateChange(MediaSessionRecord record, int oldState, int newState) { in onPlaystateChange() argument
96 if (shouldUpdatePriority(oldState, newState)) { in onPlaystateChange()
337 private boolean shouldUpdatePriority(int oldState, int newState) { in shouldUpdatePriority() argument
341 if (!containsState(oldState, TRANSITION_PRIORITY_STATES) in shouldUpdatePriority()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java221 Setting oldState = mSettings.get(name); in insertSettingLocked() local
222 String oldValue = (oldState != null) ? oldState.value : null; in insertSettingLocked()
224 if (oldState != null) { in insertSettingLocked()
225 if (!oldState.update(value, packageName)) { in insertSettingLocked()
252 Setting oldState = mSettings.remove(name); in deleteSettingLocked() local
254 updateMemoryUsagePerPackageLocked(oldState.packageName, oldState.value, null); in deleteSettingLocked()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DFullWidthDetailsOverviewRowPresenter.java670 protected void onLayoutLogo(ViewHolder viewHolder, int oldState, boolean logoChanged) { in onLayoutLogo() argument
714 protected void onLayoutOverviewFrame(ViewHolder viewHolder, int oldState, boolean logoChanged) { in onLayoutOverviewFrame() argument
715 boolean wasBanner = oldState == STATE_SMALL; in onLayoutOverviewFrame()
781 int oldState = viewHolder.getState(); in setState() local
783 onStateChanged(viewHolder, oldState); in setState()
794 protected void onStateChanged(ViewHolder viewHolder, int oldState) { in onStateChanged() argument
795 onLayoutOverviewFrame(viewHolder, oldState, false); in onStateChanged()
796 onLayoutLogo(viewHolder, oldState, false); in onStateChanged()
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java89 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput output, in performBackup() argument
100 byte[] oldMd5Checksum = readOldMd5Checksum(oldState); in performBackup()
186 private byte[] readOldMd5Checksum(ParcelFileDescriptor oldState) throws IOException { in readOldMd5Checksum() argument
188 new FileInputStream(oldState.getFileDescriptor())); in readOldMd5Checksum()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java323 final int oldState = mState; in requestDisplayStateLocked() local
341 int currentState = oldState; in requestDisplayStateLocked()
342 if (Display.isSuspendedState(oldState) in requestDisplayStateLocked()
343 || oldState == Display.STATE_UNKNOWN) { in requestDisplayStateLocked()
348 || oldState == Display.STATE_DOZE_SUSPEND) { in requestDisplayStateLocked()

123