HomeSort by relevance Sort by last modified time
    Searched refs:newState (Results 1 - 25 of 194) sorted by null

1 2 3 4 5 6 7 8

  /frameworks/base/core/java/android/app/backup/
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);
BackupAgentHelper.java 65 ParcelFileDescriptor newState) throws IOException {
66 mDispatcher.performBackup(oldState, data, newState);
73 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState)
75 mDispatcher.performRestore(data, appVersionCode, newState);
FullBackupAgent.java 32 ParcelFileDescriptor newState) throws IOException {
37 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState)
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);
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);
  /packages/apps/Phone/src/com/android/phone/
CdmaPhoneCallState.java 92 public void setCurrentCallState(PhoneCallState newState) {
94 mCurrentCallState = newState;
121 public void setThreeWayCallOrigState(boolean newState) {
122 mThreeWayCallOrigStateDialing = newState;
135 public void setAddCallMenuStateAfterCallWaiting(boolean newState) {
136 mAddCallMenuStateAfterCW = newState;
  /frameworks/base/core/tests/coretests/src/android/os/storage/
StorageListener.java 34 public void onStorageStateChanged(String path, String oldState, String newState) {
35 if (localLOGV) Log.i(TAG, "Storage state changed from " + oldState + " to " + newState);
38 if (mTargetState.equals(newState)) {
  /hardware/invensense/mlsdk/mllite/
mlstates.h 46 typedef inv_error_t(*state_change_callback_t) (unsigned char newState);
49 inv_error_t inv_state_transition(unsigned char newState);
53 inv_error_t inv_run_state_callbacks(unsigned char newState);
mlstates.c 110 * @brief Perform a transition from the current state to newState.
115 * @param newState state we are transitioning to.
118 inv_error_t inv_state_transition(unsigned char newState)
122 if (newState == INV_STATE_SERIAL_CLOSED) {
124 } else if (newState == INV_STATE_SERIAL_OPENED) {
126 } else if (((newState == INV_STATE_DMP_OPENED) &&
130 ((newState == INV_STATE_DMP_STARTED) &&
137 inv_state_name(newState));
145 inv_state_name(newState)));
146 result = inv_run_state_callbacks(newState);
    [all...]
  /frameworks/base/core/java/android/os/storage/
MountServiceListener.java 38 * @param newState The new state of the volume.
42 void onStorageStateChange(String path, String oldState, String newState) {
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) {
IMountServiceListener.java 82 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)
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)
  /development/samples/BackupRestore/src/com/example/android/backuprestore/
FileHelperExampleAgent.java 78 ParcelFileDescriptor newState) throws IOException {
81 super.onBackup(oldState, data, newState);
91 ParcelFileDescriptor newState) throws IOException {
95 super.onRestore(data, appVersionCode, newState);
  /external/webkit/LayoutTests/http/tests/appcache/resources/
fail-on-update-2.php 6 function setState($newState, $file)
8 file_put_contents($file, $newState);
fail-on-update.php 6 function setState($newState, $file)
8 file_put_contents($file, $newState);
  /frameworks/base/core/java/android/bluetooth/
BluetoothHealthCallback.java 56 * @param newState The new state of the channel.
62 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd,
65 "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd +
BluetoothProfileState.java 66 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0);
67 if (mProfile == HFP && (newState == BluetoothProfile.STATE_CONNECTED ||
68 newState == BluetoothProfile.STATE_DISCONNECTED)) {
72 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0);
73 if (mProfile == A2DP && (newState == BluetoothProfile.STATE_CONNECTED ||
74 newState == BluetoothProfile.STATE_DISCONNECTED)) {
78 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0);
79 if (mProfile == HID && (newState == BluetoothProfile.STATE_CONNECTED ||
80 newState == BluetoothProfile.STATE_DISCONNECTED)) {
IBluetoothHealthCallback.aidl 30 in BluetoothDevice device, int prevState, int newState, in
  /external/webkit/Source/WebCore/history/mac/
HistoryItemMac.mm 40 id newState = [statePList copy];
41 m_viewState = newState;
42 [newState release];
  /cts/tests/tests/app/src/android/app/backup/cts/
BackupAgentTest.java 39 ParcelFileDescriptor newState) throws IOException {
44 ParcelFileDescriptor newState) throws IOException {
  /frameworks/base/core/java/android/app/
IBackupAgent.aidl 41 * @param newState Read-write file, empty when onBackup() is called,
46 * data has been written to the data and newState files.
53 in ParcelFileDescriptor newState,
67 * @param newState Read-write file, empty when onRestore() is called,
80 in ParcelFileDescriptor newState, int token, IBackupManager callbackBinder);
  /external/webkit/LayoutTests/http/tests/resources/
tripmine.php 15 function setState($newState, $file)
17 file_put_contents($file, $newState);
  /frameworks/base/libs/storage/
IMountServiceListener.cpp 42 String16 newState = data.readString16();
43 onStorageStateChanged(path, oldState, newState);
  /frameworks/base/telephony/java/com/android/internal/telephony/
IccCardApplication.java 130 AppState newState;
133 case 0: newState = AppState.APPSTATE_UNKNOWN; break;
134 case 1: newState = AppState.APPSTATE_DETECTED; break;
135 case 2: newState = AppState.APPSTATE_PIN; break;
136 case 3: newState = AppState.APPSTATE_PUK; break;
137 case 4: newState = AppState.APPSTATE_SUBSCRIPTION_PERSO; break;
138 case 5: newState = AppState.APPSTATE_READY; break;
143 return newState;
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
IPolicyService.aidl 24 void setAccountHoldFlag(long accountId, boolean newState);

Completed in 2023 milliseconds

1 2 3 4 5 6 7 8