/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothCallback.aidl | 27 void onBluetoothStateChange(int prevState, int newState);
|
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 | IBluetoothHealthCallback.aidl | 30 in BluetoothDevice device, int prevState, int newState, in
|
/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. It is essential that when reading the helper's 67 * @param newState An open, read/write {@link android.os.ParcelFileDescriptor} pointing to an 73 ParcelFileDescriptor newState); 100 * <strong>Note:</strong> The helper should not close or seek the {@code newState} 103 * @param newState A {@link android.os.ParcelFileDescriptor} to which the new state will be 106 public void writeNewStateDescription(ParcelFileDescriptor newState); argument 72 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 | 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 | 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
|
/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/core/java/android/os/storage/ |
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
|
H A D | IStorageEventListener.aidl | 45 * @param newState The new state of the volume. Note: State is one of the 48 void onStorageStateChanged(in String path, in String oldState, in String newState) = 1; 50 void onVolumeStateChanged(in VolumeInfo vol, int oldState, int newState) = 2;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
H A D | DozeFalsingManagerAdapter.java | 33 public void transitionTo(DozeMachine.State oldState, DozeMachine.State newState) { argument 34 mFalsingManager.setShowingAod(isAodMode(newState));
|
H A D | DozeMachine.java | 214 State newState = transitionPolicy(requestedState); 217 Log.i(TAG, "transition: old=" + mState + " req=" + requestedState + " new=" + newState); 220 if (newState == mState) { 224 validateTransition(newState); 227 mState = newState; 229 DozeLog.traceState(newState); 230 Trace.traceCounter(Trace.TRACE_TAG_APP, "doze_machine_state", newState.ordinal()); 232 updatePulseReason(newState, oldState, pulseReason); 233 performTransitionOnComponents(oldState, newState); 234 updateWakeLockState(newState); 239 updatePulseReason(State newState, State oldState, int pulseReason) argument 247 performTransitionOnComponents(State oldState, State newState) argument 260 validateTransition(State newState) argument 308 updateWakeLockState(State newState) argument 349 transitionTo(State oldState, State newState) argument [all...] |
H A D | DozePauser.java | 41 public void transitionTo(DozeMachine.State oldState, DozeMachine.State newState) { argument 42 switch (newState) {
|
H A D | DozeScreenState.java | 38 public void transitionTo(DozeMachine.State oldState, DozeMachine.State newState) { argument 39 int screenState = newState.screenState(); 41 if (newState == DozeMachine.State.FINISH) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UserState.java | 70 public boolean setState(int oldState, int newState) { argument 72 setState(newState); 81 public void setState(int newState) { argument 82 if (newState == state) { 90 if (newState != STATE_SHUTDOWN) { 92 stateToString(newState) + " " + userId, userId); 95 + stateToString(state) + " to " + stateToString(newState)); 96 EventLogTags.writeAmUserStateChanged(userId, newState); 98 state = newState;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | FlashlightController.java | 23 void setFlashlight(boolean newState); argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | VoLteServiceStateTest.java | 41 VoLteServiceState newState = VoLteServiceState.CREATOR.createFromParcel(p); 42 assertEquals(state, newState); 64 VoLteServiceState newState = new VoLteServiceState(state); 65 assertEquals(state, 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/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccCardApplicationStatus.java | 133 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/core/java/android/app/ |
H A D | IBackupAgent.aidl | 41 * @param newState Read-write file, empty when onBackup() is called, 48 * data has been written to the data and newState files. 55 in ParcelFileDescriptor newState, 69 * @param newState Read-write file, empty when onRestore() is called, 82 int appVersionCode, in ParcelFileDescriptor newState,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
H A D | FakeFlashlightController.java | 34 public void setFlashlight(boolean newState) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | GsmCdmaCall.java | 115 State newState; 118 newState = stateFromDCState(dc.state); 120 if (newState != mState) { 121 mState = newState;
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | CameraDeviceState.java | 249 private void doStateTransition(int newState) { argument 250 doStateTransition(newState, /*timestamp*/0, NO_CAPTURE_ERROR); 253 private void doStateTransition(int newState, final long timestamp, final int error) { argument 254 if (newState != mCurrentState) { 256 if (newState >= 0 && newState < sStateNames.length) { 257 stateName = sStateNames[newState]; 263 if(newState != STATE_ERROR && newState != STATE_IDLE) { 264 if (mCurrentState != newState [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | PowerNotificationControlsFragment.java | 61 boolean newState = !isEnabled(); 63 MetricsEvent.ACTION_TUNER_POWER_NOTIFICATION_CONTROLS, newState); 65 KEY_SHOW_PNC, newState ? 1 : 0); 66 switchWidget.setChecked(newState); 67 switchText.setText(newState
|