Searched refs:newState (Results 1 - 25 of 116) sorted by relevance

12345

/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothCallback.aidl27 void onBluetoothStateChange(int prevState, int newState);
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
H A DIBluetoothHealthCallback.aidl30 in BluetoothDevice device, int prevState, int newState, in
H A DBluetoothGattCallback.java31 * @param newState Returns the new connection state. Can be one of
36 int newState) {
35 onConnectionStateChange(BluetoothGatt gatt, int status, int newState) argument
/frameworks/base/core/java/android/app/backup/
H A DBackupHelper.java42 * <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 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 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 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 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 DFileBackupHelperBase.java54 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/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/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/hardware/camera2/legacy/
H A DCameraDeviceState.java209 private void doStateTransition(int newState) { argument
210 doStateTransition(newState, /*timestamp*/0, NO_CAPTURE_ERROR);
213 private void doStateTransition(int newState, final long timestamp, final int error) { argument
214 if (newState != mCurrentState) {
216 if (newState >= 0 && newState < sStateNames.length) {
217 stateName = sStateNames[newState];
223 if(newState != STATE_ERROR && newState != STATE_IDLE) {
224 if (mCurrentState != newState
[all...]
/frameworks/base/core/java/android/app/
H A DIBackupAgent.aidl41 * @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 int appVersionCode, in ParcelFileDescriptor newState,
/frameworks/av/services/camera/libcameraservice/device3/
H A DStatusTracker.cpp97 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/telecomm/java/android/telecom/
H A DRemoteConference.java39 public void onStateChanged(RemoteConference conference, int oldState, int newState) {} argument
87 void setState(int newState) { argument
88 if (newState != Connection.STATE_ACTIVE &&
89 newState != Connection.STATE_HOLDING &&
90 newState != Connection.STATE_DISCONNECTED) {
92 Connection.stateToString(newState));
96 if (mState != newState) {
98 mState = newState;
100 c.onStateChanged(this, oldState, newState);
H A DConference.java37 public void onStateChanged(Conference conference, int oldState, int newState) {} argument
352 private void setState(int newState) { argument
353 if (newState != Connection.STATE_ACTIVE &&
354 newState != Connection.STATE_HOLDING &&
355 newState != Connection.STATE_DISCONNECTED) {
357 Connection.stateToString(newState));
361 if (mState != newState) {
363 mState = newState;
365 l.onStateChanged(this, oldState, newState);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccCardApplicationStatus.java133 AppState newState;
136 case 0: newState = AppState.APPSTATE_UNKNOWN; break;
137 case 1: newState = AppState.APPSTATE_DETECTED; break;
138 case 2: newState = AppState.APPSTATE_PIN; break;
139 case 3: newState = AppState.APPSTATE_PUK; break;
140 case 4: newState = AppState.APPSTATE_SUBSCRIPTION_PERSO; break;
141 case 5: newState = AppState.APPSTATE_READY; break;
143 newState = AppState.APPSTATE_UNKNOWN;
146 return newState;
/frameworks/base/libs/storage/
H A DIMountServiceListener.cpp42 String16 newState = data.readString16(); local
43 onStorageStateChanged(path, oldState, newState);
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.h70 virtual void notifyAutoFocus(uint8_t newState, int triggerId);
71 virtual void notifyAutoExposure(uint8_t newState, int triggerId);
72 virtual void notifyAutoWhitebalance(uint8_t newState,
H A DCamera2ClientBase.cpp251 void Camera2ClientBase<TClientBase>::notifyAutoFocus(uint8_t newState, argument
253 (void)newState;
257 __FUNCTION__, newState, triggerId);
262 void Camera2ClientBase<TClientBase>::notifyAutoExposure(uint8_t newState, argument
264 (void)newState;
268 __FUNCTION__, newState, triggerId);
272 void Camera2ClientBase<TClientBase>::notifyAutoWhitebalance(uint8_t newState, argument
274 (void)newState;
278 __FUNCTION__, newState, triggerId);
/frameworks/base/include/storage/
H A DIMountServiceListener.h31 const String16& oldState, const String16& newState) = 0;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCall.java151 State newState;
154 newState = stateFromDCState(dc.state);
156 if (newState != mState) {
157 mState = newState;

Completed in 458 milliseconds

12345