/frameworks/base/core/java/android/os/storage/ |
H A D | MountServiceListener.java | 37 * @param oldState The old state of the volume. 42 void onStorageStateChange(String path, String oldState, String newState) { argument
|
H A D | StorageEventListener.java | 35 * @param oldState the old state as returned by {@link android.os.Environment#getExternalStorageState()}. 38 public void onStorageStateChanged(String path, String oldState, String newState) { argument
|
H A D | IMountServiceListener.java | 80 String oldState; 81 oldState = data.readString(); 84 this.onStorageStateChanged(path, oldState, newState); 131 * @param oldState The old state of the volume. 136 public void onStorageStateChanged(String path, String oldState, String newState) argument 143 _data.writeString(oldState); 170 * @param oldState The old state of the volume. 174 public void onStorageStateChanged(String path, String oldState, String newState) argument
|
H A D | StorageManager.java | 98 public void onStorageStateChanged(String path, String oldState, String newState) { argument 101 mListeners.get(i).sendStorageStateChanged(path, oldState, newState); 244 public String oldState; field in class:StorageManager.StorageStateChangedStorageEvent 250 oldState = oldS; 274 mStorageEventListener.onStorageStateChanged(ev.path, ev.oldState, ev.newState); 291 void sendStorageStateChanged(String path, String oldState, String newState) { argument 292 StorageStateChangedStorageEvent e = new StorageStateChangedStorageEvent(path, oldState, newState);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupHelper.java | 40 * Based on <code>oldState</code>, determine which of the files from the 48 * {@code oldState} descriptor points to the beginning of the state data 53 * <strong>Note:</strong> The helper should not close or seek either the {@code oldState} or 56 * @param oldState An open, read-only {@link android.os.ParcelFileDescriptor} pointing to the 69 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument
|
H A D | BackupAgentHelper.java | 64 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 66 mDispatcher.performBackup(oldState, data, newState);
|
H A D | FullBackupAgent.java | 31 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument
|
H A D | AbsoluteFileBackupHelper.java | 53 * Based on oldState, determine which of the files from the application's data directory 57 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 60 performBackup_checked(oldState, data, newState, mFiles, mFiles);
|
H A D | FileBackupHelperBase.java | 53 static void performBackup_checked(ParcelFileDescriptor oldState, BackupDataOutput data, argument 70 FileDescriptor oldStateFd = oldState != null ? oldState.getFileDescriptor() : null; 121 native private static int performBackup_native(FileDescriptor oldState, argument
|
H A D | BackupHelperDispatcher.java | 45 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 55 if (oldState != null) { 56 oldStateFD = oldState.getFileDescriptor(); 62 doOneBackup(oldState, data, newState, header, helper); 76 doOneBackup(oldState, data, newState, header, helper); 80 private void doOneBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 95 helper.performBackup(oldState, data, newState);
|
H A D | FileBackupHelper.java | 62 * Based on <code>oldState</code>, determine which of the files from the 65 * now. When <code>oldState</code> is <code>null</code>, all the files will 73 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 85 performBackup_checked(oldState, data, newState, fullPaths, files);
|
H A D | SharedPreferencesBackupHelper.java | 95 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 112 performBackup_checked(oldState, data, newState, files, prefGroups);
|
H A D | WallpaperBackupHelper.java | 103 * Based on oldState, determine which of the files from the application's data directory 107 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 109 performBackup_checked(oldState, data, newState, mFiles, mKeys);
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageListener.java | 34 public void onStorageStateChanged(String path, String oldState, String newState) { argument 35 if (localLOGV) Log.i(TAG, "Storage state changed from " + oldState + " to " + newState);
|
H A D | AsecTests.java | 528 String oldState; field in class:AsecTests.StorageListener 545 public void onStorageStateChanged(String path, String oldState, String newState) { argument 546 if (localLOGV) Log.i(TAG, "Storage state changed from " + oldState + " to " + newState); 547 this.oldState = oldState; 610 public void onStorageStateChanged(String path, String oldState, String newState) { argument
|
/frameworks/base/libs/storage/ |
H A D | IMountServiceListener.cpp | 41 String16 oldState = data.readString16(); local 43 onStorageStateChanged(path, oldState, newState);
|
/frameworks/base/include/storage/ |
H A D | IMountServiceListener.h | 31 const String16& oldState, const String16& newState) = 0;
|
/frameworks/base/core/java/android/app/ |
H A D | IBackupAgent.aidl | 33 * @param oldState Read-only file containing the description blob of the 51 void doBackup(in ParcelFileDescriptor oldState,
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
H A D | HugeAgent.java | 87 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 108 boolean doBackup = (oldState == null); 110 doBackup = compareStateFile(oldState); 157 boolean compareStateFile(ParcelFileDescriptor oldState) { argument 158 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor());
|
/frameworks/base/core/jni/ |
H A D | android_backup_FileBackupHelperBase.cpp | 41 performBackup_native(JNIEnv* env, jobject clazz, jobject oldState, int data, argument 47 int oldStateFD = oldState != NULL ? jniGetFDFromFileDescriptor(env, oldState) : -1;
|
/frameworks/base/services/java/com/android/server/ |
H A D | SystemBackupAgent.java | 63 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 78 super.onBackup(oldState, data, newState);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | BaseCommands.java | 675 RadioState oldState; 678 oldState = mState; 681 if (oldState == mState) { 688 if (mState.isAvailable() && !oldState.isAvailable()) { 693 if (!mState.isAvailable() && oldState.isAvailable()) { 697 if (mState.isOn() && !oldState.isOn()) { 702 && !((!oldState.isOn() || !oldState.isAvailable()))
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | StorageNotification.java | 76 final String oldState, final String newState) { 80 onStorageStateChangedAsync(path, oldState, newState); 123 private void onStorageStateChangedAsync(String path, String oldState, String newState) { argument 125 "Media {%s} state changed from {%s} -> {%s}", path, oldState, newState)); 162 if (oldState.equals(Environment.MEDIA_SHARED)) { 75 onStorageStateChanged(final String path, final String oldState, final String newState) argument
|
/frameworks/wilhelm/src/itf/ |
H A D | IPlay.c | 39 SLuint32 oldState = thiz->mState; local 40 if (state != oldState) { 47 switch ((oldState << 2) | state) { 52 // no-op, and unreachable due to earlier "if (state != oldState)"
|
/frameworks/base/core/java/com/android/internal/os/storage/ |
H A D | ExternalStorageFormatter.java | 56 public void onStorageStateChanged(String path, String oldState, String newState) { 58 path + " changed state from " + oldState +
|