Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/backup/
DBackupHelperDispatcher.java45 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
55 if (oldState != null) { in performBackup()
56 oldStateFD = oldState.getFileDescriptor(); in performBackup()
62 doOneBackup(oldState, data, newState, header, helper); in performBackup()
76 doOneBackup(oldState, data, newState, header, helper); in performBackup()
80 private void doOneBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in doOneBackup() argument
95 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.java95 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
112 performBackup_checked(oldState, data, newState, files, prefGroups); in performBackup()
DWallpaperBackupHelper.java107 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
109 performBackup_checked(oldState, data, newState, mFiles, mKeys); in performBackup()
DBackupHelper.java69 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.java80 String oldState; in onTransact() local
81 oldState = data.readString(); in onTransact()
84 this.onStorageStateChanged(path, oldState, newState); in onTransact()
136 public void onStorageStateChanged(String path, String oldState, String newState) in onStorageStateChanged() argument
143 _data.writeString(oldState); in onStorageStateChanged()
174 public void onStorageStateChanged(String path, String oldState, String newState) in onStorageStateChanged() argument
DStorageManager.java95 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() argument
98 mListeners.get(i).sendStorageStateChanged(path, oldState, newState); in onStorageStateChanged()
241 public String oldState; field in StorageManager.StorageStateChangedStorageEvent
247 oldState = oldS; in StorageStateChangedStorageEvent()
271 … mStorageEventListener.onStorageStateChanged(ev.path, ev.oldState, ev.newState); in ListenerDelegate()
288 void sendStorageStateChanged(String path, String oldState, String newState) { in sendStorageStateChanged() argument
289 … StorageStateChangedStorageEvent e = new StorageStateChangedStorageEvent(path, oldState, newState); in sendStorageStateChanged()
DMountServiceListener.java42 void onStorageStateChange(String path, String oldState, String newState) { in onStorageStateChange() argument
DStorageEventListener.java38 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() 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/opt/telephony/src/java/com/android/internal/telephony/
DEventLogTags.logtags46 50113 gsm_data_state_change (oldState|3), (newState|3)
49 50114 gsm_service_state_change (oldState|1|5), (oldGprsState|1|5), (newState|1|5), (newGprsState|1|…
52 50115 cdma_data_state_change (oldState|3), (newState|3)
55 50116 cdma_service_state_change (oldState|1|5), (oldDataState|1|5), (newState|1|5), (newDataState|1…
DBaseCommands.java591 RadioState oldState; in setRadioState() local
599 oldState = mState; in setRadioState()
602 if (oldState == mState) { in setRadioState()
609 if (mState.isAvailable() && !oldState.isAvailable()) { in setRadioState()
615 if (!mState.isAvailable() && oldState.isAvailable()) { in setRadioState()
620 if (mState.isOn() && !oldState.isOn()) { in setRadioState()
626 && !((!oldState.isOn() || !oldState.isAvailable())) in setRadioState()
/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/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, int 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/usb/
DStorageNotification.java122 …public void onStorageStateChanged(final String path, final String oldState, final String newState)… in onStorageStateChanged() argument
126 onStorageStateChangedAsync(path, oldState, newState); in onStorageStateChanged()
131 private void onStorageStateChangedAsync(String path, String oldState, String newState) { in onStorageStateChangedAsync() argument
133 "Media {%s} state changed from {%s} -> {%s}", path, oldState, newState)); in onStorageStateChangedAsync()
170 if (oldState.equals(Environment.MEDIA_SHARED)) { in onStorageStateChangedAsync()
/frameworks/base/services/java/com/android/server/
DSystemBackupAgent.java63 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
78 super.onBackup(oldState, data, newState); in onBackup()
/frameworks/base/include/storage/
DIMountServiceListener.h31 const String16& oldState, const String16& newState) = 0;
/frameworks/wilhelm/src/itf/
DIPlay.c39 SLuint32 oldState = thiz->mState; in IPlay_SetPlayState() local
40 if (state != oldState) { in IPlay_SetPlayState()
47 switch ((oldState << 2) | state) { in IPlay_SetPlayState()
/frameworks/base/core/java/android/app/
DIBackupAgent.aidl51 void doBackup(in ParcelFileDescriptor oldState, in doBackup() argument

12