/frameworks/base/core/java/android/app/backup/ |
H A D | BackupHelper.java | 42 * <code>data</code>, and fill in <code>newState</code> with the state as it 49 * written during this helper's previous backup operation, and the {@code newState} 54 * the {@code newState} file descriptors.</p> 64 * @param newState An open, read/write {@link android.os.ParcelFileDescriptor} pointing to an 70 ParcelFileDescriptor newState); 97 * <strong>Note:</strong> The helper should not close or seek the {@code newState} 100 * @param newState A {@link android.os.ParcelFileDescriptor} to which the new state will be 103 public void writeNewStateDescription(ParcelFileDescriptor newState); argument 69 performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
|
H A D | AbsoluteFileBackupHelper.java | 54 * need to be backed up, write them to the data stream, and fill in newState with the 58 ParcelFileDescriptor newState) { 60 performBackup_checked(oldState, data, newState, mFiles, mFiles); 57 performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
|
H A D | BackupAgentHelper.java | 59 ParcelFileDescriptor newState) throws IOException { 60 mDispatcher.performBackup(oldState, data, newState); 67 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument 69 mDispatcher.performRestore(data, appVersionCode, newState); 58 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
|
H A D | FileBackupHelper.java | 64 * stream, and fill in <code>newState</code> with the state as it exists 74 ParcelFileDescriptor newState) { 85 performBackup_checked(oldState, data, newState, fullPaths, files); 73 performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
|
H A D | SharedPreferencesBackupHelper.java | 95 ParcelFileDescriptor newState) { 107 performBackup_checked(oldState, data, newState, files, prefGroups); 94 performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
|
H A D | BackupAgent.java | 121 * <code>newState</code>. 138 * @param newState An open, read/write ParcelFileDescriptor pointing to an 144 ParcelFileDescriptor newState) throws IOException; 151 * the final state to the <code>newState</code> file descriptor. 172 * @param newState An open, read/write ParcelFileDescriptor pointing to an 177 ParcelFileDescriptor newState) 201 ParcelFileDescriptor newState, 209 BackupAgent.this.onBackup(oldState, output, newState); 227 ParcelFileDescriptor newState, 235 BackupAgent.this.onRestore(input, appVersionCode, newState); 143 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument 176 onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument 199 doBackup(ParcelFileDescriptor oldState, ParcelFileDescriptor data, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument 226 doRestore(ParcelFileDescriptor data, int appVersionCode, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument [all...] |
H A D | BackupHelperDispatcher.java | 46 ParcelFileDescriptor newState) throws IOException { 53 FileDescriptor newStateFD = newState.getFileDescriptor(); 62 doOneBackup(oldState, data, newState, header, helper); 76 doOneBackup(oldState, data, newState, header, helper); 81 ParcelFileDescriptor newState, Header header, BackupHelper helper) 84 FileDescriptor newStateFD = newState.getFileDescriptor(); 95 helper.performBackup(oldState, data, newState); 106 ParcelFileDescriptor newState) 139 helper.writeNewStateDescription(newState); 45 performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument 80 doOneBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState, Header header, BackupHelper helper) argument 105 performRestore(BackupDataInput input, int appVersionCode, ParcelFileDescriptor newState) argument
|
H A D | FileBackupHelperBase.java | 54 ParcelFileDescriptor newState, String[] files, String[] keys) { 71 FileDescriptor newStateFd = newState.getFileDescriptor(); 121 int data, FileDescriptor newState, String[] files, String[] keys); 53 performBackup_checked(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState, String[] files, String[] keys) argument 120 performBackup_native(FileDescriptor oldState, int data, FileDescriptor newState, String[] files, String[] keys) argument
|
/frameworks/base/core/java/android/os/storage/ |
H A D | MountServiceListener.java | 38 * @param newState The new state of the volume. 42 void onStorageStateChange(String path, String oldState, String newState) { argument
|
H A D | StorageEventListener.java | 35 * @param newState the old state as returned by {@link android.os.Environment#getExternalStorageState()}. 37 public void onStorageStateChanged(String path, String oldState, String newState) { argument
|
H A D | StorageManager.java | 84 public void onStorageStateChanged(String path, String oldState, String newState) { argument 87 mListeners.get(i).sendStorageStateChanged(path, oldState, newState); 131 public String newState; field in class:StorageManager.StorageStateChangedStorageEvent 137 newState = newS; 160 mStorageEventListener.onStorageStateChanged(ev.path, ev.oldState, ev.newState); 177 void sendStorageStateChanged(String path, String oldState, String newState) { argument 178 StorageStateChangedStorageEvent e = new StorageStateChangedStorageEvent(path, oldState, newState);
|
/frameworks/base/core/java/android/app/ |
H A D | FullBackupAgent.java | 45 ParcelFileDescriptor newState) { 70 helper.performBackup(oldState, data, newState); 74 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) { argument 44 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageListener.java | 27 String newState; field in class:StorageListener 31 public void onStorageStateChanged(String path, String oldState, String newState) { argument 32 if (localLOGV) Log.i(TAG, "Storage state changed from " + oldState + " to " + newState); 35 this.newState = newState;
|
H A D | AsecTests.java | 388 String newState; field in class:AsecTests.StorageListener 404 public void onStorageStateChanged(String path, String oldState, String newState) { argument 405 if (localLOGV) Log.i(TAG, "Storage state changed from " + oldState + " to " + newState); 407 this.newState = newState; 466 public void onStorageStateChanged(String path, String oldState, String newState) { argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | SystemBackupAgent.java | 46 ParcelFileDescriptor newState) throws IOException { 58 super.onBackup(oldState, data, newState); 62 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument 72 super.onRestore(data, appVersionCode, newState); 45 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
|
H A D | HeadsetObserver.java | 82 int newState = mHeadsetState; 87 newState = Integer.valueOf((new String(buffer, 0, len)).trim()); 99 update(newName, newState); 102 private synchronized final void update(String newName, int newState) { argument 104 int headsetState = newState & SUPPORTED_HEADSETS;
|
H A D | PackageManagerBackupAgent.java | 122 ParcelFileDescriptor newState) { 241 writeStateFile(mAllPackages, newState); 253 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument 121 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
|
/frameworks/base/awt/java/awt/event/ |
H A D | WindowEvent.java | 64 private int newState; field in class:WindowEvent 76 public WindowEvent(Window source, int id, int oldState, int newState) { 77 this(source, id, null, oldState, newState); 81 int oldState, int newState) { 86 this.newState = newState; 95 return newState; 163 ",oldState=" + oldState + ",newState=" + newState; //$NON-NLS-1$ //$NON-NLS-2$
|
/frameworks/base/core/jni/ |
H A D | android_backup_FileBackupHelperBase.cpp | 45 jobject newState, jobjectArray files, jobjectArray keys) 51 int newStateFD = env->GetIntField(newState, s_descriptorField); 44 performBackup_native(JNIEnv* env, jobject clazz, jobject oldState, int data, jobject newState, jobjectArray files, jobjectArray keys) argument
|
/frameworks/base/services/java/com/android/server/status/ |
H A D | StorageNotification.java | 116 public void onStorageStateChanged(String path, String oldState, String newState) { argument 118 "Media {%s} state changed from {%s} -> {%s}", path, oldState, newState)); 119 if (newState.equals(Environment.MEDIA_SHARED)) { 131 } else if (newState.equals(Environment.MEDIA_CHECKING)) { 141 } else if (newState.equals(Environment.MEDIA_MOUNTED)) { 148 } else if (newState.equals(Environment.MEDIA_UNMOUNTED)) { 181 } else if (newState.equals(Environment.MEDIA_NOFS)) { 195 } else if (newState.equals(Environment.MEDIA_UNMOUNTABLE)) { 209 } else if (newState.equals(Environment.MEDIA_REMOVED)) { 220 } else if (newState [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dtx_dec.cpp | 1581 newState = variable of type DTXStateType 1596 and sets up the decoder parameters according to newState. 1641 enum DTXStateType newState; 1654 newState = DTX; 1663 newState = DTX_MUTE; 1677 newState = DTX_MUTE; 1682 newState = SPEECH; 1713 (sub(newState, SPEECH) == 0)) 1751 if (sub(newState, SPEECH) != 0) 1777 return newState; 1809 enum DTXStateType newState; local [all...] |
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
H A D | dtx_decoder_amr_wb.cpp | 539 int16 newState; local 555 newState = DTX; 565 newState = DTX_MUTE; 575 newState = DTX_MUTE; 580 newState = SPEECH; 634 if (newState != SPEECH) 658 return newState; 659 /* newState is used by both SPEECH AND DTX synthesis routines */
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiMonitor.java | 339 int newState = -1; 362 newState = value; 366 if (newState == -1) return; 370 if (state.ordinal() == newState) { 376 Log.w(TAG, "Invalid supplicant state: " + newState); 382 private void handleNetworkStateChange(NetworkInfo.DetailedState newState, String data) { argument 385 if (newState == NetworkInfo.DetailedState.CONNECTED) { 398 mWifiStateTracker.notifyStateChange(newState, BSSID, networkId);
|
/frameworks/policies/base/phone/com/android/internal/policy/impl/ |
H A D | AccountUnlockScreen.java | 328 public void onPhoneStateChanged(String newState) { argument
|
H A D | PasswordUnlockScreen.java | 247 public void onPhoneStateChanged(String newState) { argument
|