/frameworks/base/core/java/android/app/backup/ |
H A D | BackupHelper.java | 42 * <code>newState</code> with the complete state as it exists now. 48 * written during this helper's previous backup operation, and the {@code newState} 53 * the {@code newState} file descriptors.</p> 63 * @param newState An open, read/write {@link android.os.ParcelFileDescriptor} pointing to an 69 ParcelFileDescriptor newState); 96 * <strong>Note:</strong> The helper should not close or seek the {@code newState} 99 * @param newState A {@link android.os.ParcelFileDescriptor} to which the new state will be 102 public void writeNewStateDescription(ParcelFileDescriptor newState); argument 68 performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
|
H A D | FullBackupAgent.java | 32 ParcelFileDescriptor newState) throws IOException { 37 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument 31 onBackup(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 | 65 ParcelFileDescriptor newState) throws IOException { 66 mDispatcher.performBackup(oldState, data, newState); 73 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument 75 mDispatcher.performRestore(data, appVersionCode, newState); 64 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) { 111 performBackup_checked(oldState, data, newState, files, prefGroups); 94 performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
|
H A D | BackupHelperDispatcher.java | 46 ParcelFileDescriptor newState) throws IOException { 61 doOneBackup(oldState, data, newState, header, helper); 75 doOneBackup(oldState, data, newState, header, helper); 80 ParcelFileDescriptor newState, Header header, BackupHelper helper) 83 FileDescriptor newStateFD = newState.getFileDescriptor(); 94 helper.performBackup(oldState, data, newState); 105 ParcelFileDescriptor newState) 138 helper.writeNewStateDescription(newState); 45 performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument 79 doOneBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState, Header header, BackupHelper helper) argument 104 performRestore(BackupDataInput input, int appVersionCode, ParcelFileDescriptor newState) argument
|
H A D | WallpaperBackupHelper.java | 118 * need to be backed up, write them to the data stream, and fill in newState with the 122 ParcelFileDescriptor newState) { 123 performBackup_checked(oldState, data, newState, mFiles, mKeys); 121 performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
|
H A D | BlobBackupHelper.java | 231 final ArrayMap<String, Long> newState = new ArrayMap<String, Long>(); 237 newState.put(key, checksum); 259 newState.clear(); 262 writeBackupState(newState, newStateFd); 292 public void writeNewStateDescription(ParcelFileDescriptor newState) { argument 294 writeBackupState(null, newState);
|
H A D | FileBackupHelperBase.java | 54 ParcelFileDescriptor newState, String[] files, String[] keys) { 71 FileDescriptor newStateFd = newState.getFileDescriptor(); 122 long data, FileDescriptor newState, String[] files, String[] keys); 53 performBackup_checked(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState, String[] files, String[] keys) argument 121 performBackup_native(FileDescriptor oldState, long 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 | 36 * @param newState the old state as returned by {@link android.os.Environment#getExternalStorageState()}. 38 public void onStorageStateChanged(String path, String oldState, String newState) { argument 41 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { argument
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealthCallback.java | 58 * @param newState The new state of the channel. 65 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, 68 "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd + 64 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
|
H A D | BluetoothGattCallback.java | 31 * @param newState Returns the new connection state. Can be one of 36 int newState) { 35 onConnectionStateChange(BluetoothGatt gatt, int status, int newState) argument
|
H A D | BluetoothGattServerCallback.java | 31 * @param newState Returns the new connection state. Can be one of 36 int newState) { 35 onConnectionStateChange(BluetoothDevice device, int status, int newState) argument
|
/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); 38 if (mTargetState.equals(newState)) {
|
/frameworks/base/libs/storage/ |
H A D | IMountServiceListener.cpp | 42 String16 newState = data.readString16(); local 43 onStorageStateChanged(path, oldState, newState);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCallBase.java | 26 protected abstract void setState(State newState); argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ViewUtils.java | 60 * @param newState The new view state to combine. 64 public static int combineMeasuredStates(int curState, int newState) { argument 65 return curState | newState;
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
H A D | HugeAgent.java | 88 ParcelFileDescriptor newState) throws IOException { 147 writeStateFile(newState); 221 ParcelFileDescriptor newState) throws IOException { 259 writeStateFile(newState); 87 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument 220 onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
|
/frameworks/native/services/sensorservice/ |
H A D | SensorFusion.cpp | 109 const bool newState = mClients.size() != 0; local 110 if (newState != mEnabled) { 111 mEnabled = newState; 112 if (newState) {
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | StatusTracker.cpp | 97 StateChange newState = { local 103 mPendingChangeQueue.add(newState); 176 const StateChange &newState = mPendingChangeQueue[i]; local 177 ssize_t idx = mStates.indexOfKey(newState.id); 181 mStates.replaceValueAt(idx, newState.state); 183 mIdleFence, newState.fence); 185 ComponentState newState = getDeviceStateLocked(); local 186 if (newState != prevState) { 187 mStateTransitions.add(newState); 189 prevState = newState; [all...] |
/frameworks/base/core/java/com/android/server/backup/ |
H A D | AccountSyncSettingsBackupHelper.java | 90 ParcelFileDescriptor newState) { 112 writeNewMd5Checksum(newState, newMd5Checksum); 215 private void writeNewMd5Checksum(ParcelFileDescriptor newState, byte[] md5Checksum) argument 218 new BufferedOutputStream(new FileOutputStream(newState.getFileDescriptor()))); 357 public void writeNewStateDescription(ParcelFileDescriptor newState) { argument 89 performBackup(ParcelFileDescriptor oldState, BackupDataOutput output, ParcelFileDescriptor newState) argument
|
H A D | SystemBackupAgent.java | 71 ParcelFileDescriptor newState) throws IOException { 96 super.onBackup(oldState, data, newState); 117 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument 131 super.onRestore(data, appVersionCode, newState); 70 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
|
/frameworks/base/core/jni/ |
H A D | android_backup_FileBackupHelperBase.cpp | 42 jobject newState, jobjectArray files, jobjectArray keys) 48 int newStateFD = jniGetFDFromFileDescriptor(env, newState); 41 performBackup_native(JNIEnv* env, jobject clazz, jobject oldState, jlong data, jobject newState, jobjectArray files, jobjectArray keys) argument
|