/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CameraDeviceState.java | 209 private void doStateTransition(int newState) { in doStateTransition() argument 210 doStateTransition(newState, /*timestamp*/0, NO_CAPTURE_ERROR); in doStateTransition() 213 private void doStateTransition(int newState, final long timestamp, final int error) { in doStateTransition() argument 214 if (newState != mCurrentState) { in doStateTransition() 216 if (newState >= 0 && newState < sStateNames.length) { in doStateTransition() 217 stateName = sStateNames[newState]; in doStateTransition() 223 if(newState != STATE_ERROR && newState != STATE_IDLE) { in doStateTransition() 224 if (mCurrentState != newState && mCurrentHandler != null && in doStateTransition() 235 switch(newState) { in doStateTransition() 317 throw new IllegalStateException("Transition to unknown state: " + newState); in doStateTransition()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | StatusTracker.cpp | 97 StateChange newState = { in markComponent() local 103 mPendingChangeQueue.add(newState); in markComponent() 176 const StateChange &newState = mPendingChangeQueue[i]; in threadLoop() local 177 ssize_t idx = mStates.indexOfKey(newState.id); in threadLoop() 181 mStates.replaceValueAt(idx, newState.state); in threadLoop() 183 mIdleFence, newState.fence); in threadLoop() 185 ComponentState newState = getDeviceStateLocked(); in threadLoop() local 186 if (newState != prevState) { in threadLoop() 187 mStateTransitions.add(newState); in threadLoop() 189 prevState = newState; in threadLoop()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccCardApplicationStatus.java | 133 AppState newState; in AppStateFromRILInt() local 136 case 0: newState = AppState.APPSTATE_UNKNOWN; break; in AppStateFromRILInt() 137 case 1: newState = AppState.APPSTATE_DETECTED; break; in AppStateFromRILInt() 138 case 2: newState = AppState.APPSTATE_PIN; break; in AppStateFromRILInt() 139 case 3: newState = AppState.APPSTATE_PUK; break; in AppStateFromRILInt() 140 case 4: newState = AppState.APPSTATE_SUBSCRIPTION_PERSO; break; in AppStateFromRILInt() 141 case 5: newState = AppState.APPSTATE_READY; break; in AppStateFromRILInt() 143 newState = AppState.APPSTATE_UNKNOWN; in AppStateFromRILInt() 146 return newState; in AppStateFromRILInt()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupHelperDispatcher.java | 46 ParcelFileDescriptor newState) throws IOException { in performBackup() argument 61 doOneBackup(oldState, data, newState, header, helper); in performBackup() 75 doOneBackup(oldState, data, newState, header, helper); in performBackup() 80 ParcelFileDescriptor newState, Header header, BackupHelper helper) in doOneBackup() argument 83 FileDescriptor newStateFD = newState.getFileDescriptor(); in doOneBackup() 94 helper.performBackup(oldState, data, newState); in doOneBackup() 105 ParcelFileDescriptor newState) in performRestore() argument 138 helper.writeNewStateDescription(newState); in performRestore()
|
D | BackupAgentHelper.java | 65 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 66 mDispatcher.performBackup(oldState, data, newState); in onBackup() 73 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore() argument 75 mDispatcher.performRestore(data, appVersionCode, newState); in onRestore()
|
D | RecentsBackupHelper.java | 81 ParcelFileDescriptor newState) { in performBackup() argument 82 FileBackupHelperBase.performBackup_checked(oldState, data, newState, in performBackup() 110 public void writeNewStateDescription(ParcelFileDescriptor newState) { in writeNewStateDescription() argument 111 mTaskFileHelper.writeNewStateDescription(newState); in writeNewStateDescription()
|
D | BackupHelper.java | 69 ParcelFileDescriptor newState); in performBackup() argument 102 public void writeNewStateDescription(ParcelFileDescriptor newState); in writeNewStateDescription() argument
|
D | FullBackupAgent.java | 32 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 37 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore() argument
|
D | FileBackupHelperBase.java | 54 ParcelFileDescriptor newState, String[] files, String[] keys) { in performBackup_checked() argument 71 FileDescriptor newStateFd = newState.getFileDescriptor(); in performBackup_checked() 122 long data, FileDescriptor newState, String[] files, String[] keys); in performBackup_native() argument
|
/frameworks/base/telecomm/java/android/telecom/ |
D | RemoteConference.java | 39 public void onStateChanged(RemoteConference conference, int oldState, int newState) {} in onStateChanged() argument 89 void setState(int newState) { in setState() argument 90 if (newState != Connection.STATE_ACTIVE && in setState() 91 newState != Connection.STATE_HOLDING && in setState() 92 newState != Connection.STATE_DISCONNECTED) { in setState() 94 Connection.stateToString(newState)); in setState() 98 if (mState != newState) { in setState() 100 mState = newState; in setState() 102 c.onStateChanged(this, oldState, newState); in setState()
|
D | Conference.java | 43 public void onStateChanged(Conference conference, int oldState, int newState) {} in onStateChanged() argument 463 private void setState(int newState) { in setState() argument 464 if (newState != Connection.STATE_ACTIVE && in setState() 465 newState != Connection.STATE_HOLDING && in setState() 466 newState != Connection.STATE_DISCONNECTED) { in setState() 468 Connection.stateToString(newState)); in setState() 472 if (mState != newState) { in setState() 474 mState = newState; in setState() 476 l.onStateChanged(this, oldState, newState); in setState()
|
/frameworks/base/core/java/android/os/storage/ |
D | IMountServiceListener.java | 82 String newState; in onTransact() local 83 newState = data.readString(); in onTransact() 84 this.onStorageStateChanged(path, oldState, newState); in onTransact() 136 public void onStorageStateChanged(String path, String oldState, String newState) in onStorageStateChanged() argument 144 _data.writeString(newState); in onStorageStateChanged() 174 public void onStorageStateChanged(String path, String oldState, String newState) in onStorageStateChanged() argument
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | Camera2ClientBase.cpp | 251 void Camera2ClientBase<TClientBase>::notifyAutoFocus(uint8_t newState, in notifyAutoFocus() argument 253 (void)newState; in notifyAutoFocus() 257 __FUNCTION__, newState, triggerId); in notifyAutoFocus() 262 void Camera2ClientBase<TClientBase>::notifyAutoExposure(uint8_t newState, in notifyAutoExposure() argument 264 (void)newState; in notifyAutoExposure() 268 __FUNCTION__, newState, triggerId); in notifyAutoExposure() 272 void Camera2ClientBase<TClientBase>::notifyAutoWhitebalance(uint8_t newState, in notifyAutoWhitebalance() argument 274 (void)newState; in notifyAutoWhitebalance() 278 __FUNCTION__, newState, triggerId); in notifyAutoWhitebalance()
|
D | Camera2ClientBase.h | 70 virtual void notifyAutoFocus(uint8_t newState, int triggerId); 71 virtual void notifyAutoExposure(uint8_t newState, int triggerId); 72 virtual void notifyAutoWhitebalance(uint8_t newState,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 76 final String oldState, final String newState) { in onStorageStateChanged() argument 80 onStorageStateChangedAsync(path, oldState, newState); in onStorageStateChanged() 123 private void onStorageStateChangedAsync(String path, String oldState, String newState) { in onStorageStateChangedAsync() argument 125 "Media {%s} state changed from {%s} -> {%s}", path, oldState, newState)); in onStorageStateChangedAsync() 126 if (newState.equals(Environment.MEDIA_SHARED)) { in onStorageStateChangedAsync() 138 } else if (newState.equals(Environment.MEDIA_CHECKING)) { in onStorageStateChangedAsync() 148 } else if (newState.equals(Environment.MEDIA_MOUNTED)) { in onStorageStateChangedAsync() 155 } else if (newState.equals(Environment.MEDIA_UNMOUNTED)) { in onStorageStateChangedAsync() 194 } else if (newState.equals(Environment.MEDIA_NOFS)) { in onStorageStateChangedAsync() 208 } else if (newState.equals(Environment.MEDIA_UNMOUNTABLE)) { in onStorageStateChangedAsync() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageListener.java | 34 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() argument 35 if (localLOGV) Log.i(TAG, "Storage state changed from " + oldState + " to " + newState); in onStorageStateChanged() 38 if (mTargetState.equals(newState)) { in onStorageStateChanged()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcController.java | 222 for (DataCallResponse newState : dcsList) { in onDataStateChanged() 224 DataConnection dc = mDcListActiveByCid.get(newState.cid); in onDataStateChanged() 236 if (DBG) log("onDataStateChanged: Found ConnId=" + newState.cid in onDataStateChanged() 237 + " newState=" + newState.toString()); in onDataStateChanged() 238 if (newState.active == DATA_CONNECTION_ACTIVE_PH_LINK_INACTIVE) { in onDataStateChanged() 243 DcFailCause failCause = DcFailCause.fromInt(newState.status); in onDataStateChanged() 258 UpdateLinkPropertyResult result = dc.updateLinkProperty(newState); in onDataStateChanged() 319 if (newState.active == DATA_CONNECTION_ACTIVE_PH_LINK_UP) { in onDataStateChanged() 322 if (newState.active == DATA_CONNECTION_ACTIVE_PH_LINK_DORMANT) { in onDataStateChanged()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaCall.java | 135 State newState; in update() local 138 newState = stateFromDCState(dc.state); in update() 140 if (newState != mState) { in update() 141 mState = newState; in update()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmCall.java | 136 State newState; in update() local 139 newState = stateFromDCState(dc.state); in update() 141 if (newState != mState) { in update() 142 mState = newState; in update()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionStack.java | 95 public boolean onPlaystateChange(MediaSessionRecord record, int oldState, int newState) { in onPlaystateChange() argument 96 if (shouldUpdatePriority(oldState, newState)) { in onPlaystateChange() 104 } else if (!MediaSession.isActiveState(newState)) { in onPlaystateChange() 337 private boolean shouldUpdatePriority(int oldState, int newState) { in shouldUpdatePriority() argument 338 if (containsState(newState, ALWAYS_PRIORITY_STATES)) { in shouldUpdatePriority() 342 && containsState(newState, TRANSITION_PRIORITY_STATES)) { in shouldUpdatePriority()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DockObserver.java | 122 private void setActualDockStateLocked(int newState) { in setActualDockStateLocked() argument 123 mActualDockState = newState; in setActualDockStateLocked() 125 setDockStateLocked(newState); in setActualDockStateLocked() 129 private void setDockStateLocked(int newState) { in setDockStateLocked() argument 130 if (newState != mReportedDockState) { in setDockStateLocked() 131 mReportedDockState = newState; in setDockStateLocked()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothHealthCallback.java | 62 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, in onHealthChannelStateChange() argument 65 "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd + in onHealthChannelStateChange()
|
/frameworks/native/services/sensorservice/ |
D | SensorFusion.cpp | 109 const bool newState = mClients.size() != 0; in activate() local 110 if (newState != mEnabled) { in activate() 111 mEnabled = newState; in activate() 112 if (newState) { in activate()
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
D | HugeAgent.java | 88 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 147 writeStateFile(newState); in onBackup() 221 ParcelFileDescriptor newState) throws IOException { in onRestore() argument 259 writeStateFile(newState); in onRestore()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | EventLogTags.logtags | 49 50113 gsm_data_state_change (oldState|3), (newState|3) 52 50114 gsm_service_state_change (oldState|1|5), (oldGprsState|1|5), (newState|1|5), (newGprsState|1|… 55 50115 cdma_data_state_change (oldState|3), (newState|3) 58 50116 cdma_service_state_change (oldState|1|5), (oldDataState|1|5), (newState|1|5), (newDataState|1…
|