Searched defs:newState (Results 1 - 25 of 62) sorted by relevance

123

/frameworks/base/core/java/android/app/backup/
H A DBackupHelper.java42 * <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 DFullBackupAgent.java32 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 DAbsoluteFileBackupHelper.java54 * 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 DBackupAgentHelper.java65 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 DFileBackupHelper.java64 * 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 DSharedPreferencesBackupHelper.java96 ParcelFileDescriptor newState) {
112 performBackup_checked(oldState, data, newState, files, prefGroups);
95 performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
H A DBackupHelperDispatcher.java46 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 DWallpaperBackupHelper.java104 * need to be backed up, write them to the data stream, and fill in newState with the
108 ParcelFileDescriptor newState) {
109 performBackup_checked(oldState, data, newState, mFiles, mKeys);
107 performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
H A DFileBackupHelperBase.java54 ParcelFileDescriptor newState, String[] files, String[] keys) {
71 FileDescriptor newStateFd = newState.getFileDescriptor();
122 int 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, int data, FileDescriptor newState, String[] files, String[] keys) argument
/frameworks/base/core/java/android/os/storage/
H A DMountServiceListener.java38 * @param newState The new state of the volume.
42 void onStorageStateChange(String path, String oldState, String newState) { argument
H A DStorageEventListener.java36 * @param newState the old state as returned by {@link android.os.Environment#getExternalStorageState()}.
38 public void onStorageStateChanged(String path, String oldState, String newState) { argument
H A DIMountServiceListener.java82 String newState;
83 newState = data.readString();
84 this.onStorageStateChanged(path, oldState, newState);
132 * @param newState The new state of the volume. Note: State is one
136 public void onStorageStateChanged(String path, String oldState, String newState) argument
144 _data.writeString(newState);
171 * @param newState The new state of the volume. Note: State is one of the
174 public void onStorageStateChanged(String path, String oldState, String newState) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealthCallback.java56 * @param newState The new state of the channel.
62 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd,
65 "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd +
61 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageListener.java34 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 DIMountServiceListener.cpp42 String16 newState = data.readString16(); local
43 onStorageStateChanged(path, oldState, newState);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCallBase.java32 protected abstract void setState(State newState); argument
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
H A DHugeAgent.java88 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 DSensorFusion.cpp98 const bool newState = mClients.size() != 0; local
99 if (newState != mEnabled) {
100 mEnabled = newState;
101 if (newState) {
/frameworks/base/core/jni/
H A Dandroid_backup_FileBackupHelperBase.cpp42 jobject newState, jobjectArray files, jobjectArray keys)
48 int newStateFD = jniGetFDFromFileDescriptor(env, newState);
41 performBackup_native(JNIEnv* env, jobject clazz, jobject oldState, int data, jobject newState, jobjectArray files, jobjectArray keys) argument
/frameworks/base/services/java/com/android/server/
H A DSystemBackupAgent.java64 ParcelFileDescriptor newState) throws IOException {
78 super.onBackup(oldState, data, newState);
99 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
110 super.onRestore(data, appVersionCode, newState);
63 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java120 public void onStorageStateChanged(final String path, final String oldState, final String newState) { argument
124 onStorageStateChangedAsync(path, oldState, newState);
129 private void onStorageStateChangedAsync(String path, String oldState, String newState) { argument
131 "Media {%s} state changed from {%s} -> {%s}", path, oldState, newState));
132 if (newState.equals(Environment.MEDIA_SHARED)) {
144 } else if (newState.equals(Environment.MEDIA_CHECKING)) {
154 } else if (newState.equals(Environment.MEDIA_MOUNTED)) {
161 } else if (newState.equals(Environment.MEDIA_UNMOUNTED)) {
200 } else if (newState.equals(Environment.MEDIA_NOFS)) {
214 } else if (newState
[all...]
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp303 void MonoPipe::shutdown(bool newState) argument
305 mIsShutdown = newState;
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddtx_dec.cpp1581 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/av/media/libstagefright/codecs/amrwb/src/
H A Ddtx_decoder_amr_wb.cpp539 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/av/services/camera/libcameraservice/camera2/
H A DCaptureSequencer.cpp93 void CaptureSequencer::notifyAutoExposure(uint8_t newState, int triggerId) { argument
96 mAEState = newState;

Completed in 129 milliseconds

123