/frameworks/base/core/java/android/content/pm/ |
D | PackageUserState.java | 377 final PackageUserState oldState = (PackageUserState) obj; in equals() local 378 if (ceDataInode != oldState.ceDataInode) { in equals() 381 if (installed != oldState.installed) { in equals() 384 if (stopped != oldState.stopped) { in equals() 387 if (notLaunched != oldState.notLaunched) { in equals() 390 if (hidden != oldState.hidden) { in equals() 393 if (distractionFlags != oldState.distractionFlags) { in equals() 396 if (suspended != oldState.suspended) { in equals() 400 if (!Objects.equals(suspendParams, oldState.suspendParams)) { in equals() 404 if (instantApp != oldState.instantApp) { in equals() [all …]
|
/frameworks/base/cmds/statsd/src/state/ |
D | StateTracker.cpp | 116 FieldValue oldState; in updateStateForPrimaryKey() local 117 oldState.mField = mField; in updateStateForPrimaryKey() 118 oldState.mValue.setInt(stateValueInfo->state); in updateStateForPrimaryKey() 134 notifyListeners(eventTimeNs, primaryKey, oldState, newState); in updateStateForPrimaryKey() 151 notifyListeners(eventTimeNs, primaryKey, oldState, newState); in updateStateForPrimaryKey() 156 notifyListeners(eventTimeNs, primaryKey, oldState, newState); in updateStateForPrimaryKey() 162 notifyListeners(eventTimeNs, primaryKey, oldState, newState); in updateStateForPrimaryKey() 168 const FieldValue& oldState, const FieldValue& newState) { in notifyListeners() argument 172 sl->onStateChanged(eventTimeNs, mField.getTag(), primaryKey, oldState, newState); in notifyListeners()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthBiometricFingerprintView.java | 103 private boolean shouldAnimateForTransition(int oldState, int newState) { in shouldAnimateForTransition() argument 110 if (oldState == STATE_ERROR || oldState == STATE_HELP) { in shouldAnimateForTransition() 122 private Drawable getAnimationForTransition(int oldState, int newState) { in getAnimationForTransition() argument 132 if (oldState == STATE_ERROR || oldState == STATE_HELP) { in getAnimationForTransition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenState.java | 72 public void transitionTo(DozeMachine.State oldState, DozeMachine.State newState) { in transitionTo() argument 92 final boolean pulseEnding = oldState == DOZE_PULSE_DONE && newState.isAlwaysOn(); in transitionTo() 93 final boolean turningOn = (oldState == DOZE_AOD_PAUSED || oldState == DOZE) in transitionTo() 95 final boolean turningOff = (oldState.isAlwaysOn() && newState == DOZE) in transitionTo() 96 || (oldState == DOZE_AOD_PAUSING && newState == DOZE_AOD_PAUSED); in transitionTo() 97 final boolean justInitialized = oldState == DozeMachine.State.INITIALIZED; in transitionTo()
|
D | DozeMachine.java | 275 State oldState = mState; in transitionTo() local 281 updatePulseReason(newState, oldState, pulseReason); in transitionTo() 282 performTransitionOnComponents(oldState, newState); in transitionTo() 288 private void updatePulseReason(State newState, State oldState, int pulseReason) { in updatePulseReason() argument 291 } else if (oldState == State.DOZE_PULSE_DONE) { in updatePulseReason() 296 private void performTransitionOnComponents(State oldState, State newState) { in performTransitionOnComponents() argument 298 p.transitionTo(oldState, newState); in performTransitionOnComponents() 419 void transitionTo(State oldState, State newState); in transitionTo() argument
|
D | DozeUi.java | 121 public void transitionTo(DozeMachine.State oldState, DozeMachine.State newState) { in transitionTo() argument 125 if (oldState == DOZE_AOD_PAUSED || oldState == DOZE) { in transitionTo()
|
D | DozeWallpaperState.java | 54 public void transitionTo(DozeMachine.State oldState, DozeMachine.State newState) { in transitionTo() argument 75 boolean wakingUpFromPulse = oldState == DozeMachine.State.DOZE_PULSING in transitionTo()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupHelperDispatcher.java | 48 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument 57 if (oldState != null) { in performBackup() 58 oldStateFD = oldState.getFileDescriptor(); in performBackup() 64 doOneBackup(oldState, data, newState, header, helper); in performBackup() 78 doOneBackup(oldState, data, newState, header, helper); in performBackup() 82 private void doOneBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in doOneBackup() argument 97 helper.performBackup(oldState, data, newState); in doOneBackup()
|
D | FileBackupHelperBase.java | 54 static void performBackup_checked(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup_checked() argument 71 FileDescriptor oldStateFd = oldState != null ? oldState.getFileDescriptor() : null; in performBackup_checked() 123 native private static int performBackup_native(FileDescriptor oldState, in performBackup_native() argument
|
D | BackupAgentHelper.java | 64 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument 66 mDispatcher.performBackup(oldState, data, newState); in onBackup()
|
D | AbsoluteFileBackupHelper.java | 57 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument 60 performBackup_checked(oldState, data, newState, mFiles, mFiles); in performBackup()
|
D | SharedPreferencesBackupHelper.java | 94 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument 111 performBackup_checked(oldState, data, newState, files, prefGroups); in performBackup()
|
D | FileBackupHelper.java | 73 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument 85 performBackup_checked(oldState, data, newState, fullPaths, files); in performBackup()
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
D | HugeAgent.java | 87 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument 108 boolean doBackup = (oldState == null); in onBackup() 110 doBackup = compareStateFile(oldState); in onBackup() 157 boolean compareStateFile(ParcelFileDescriptor oldState) { in compareStateFile() argument 158 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor()); in compareStateFile()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccSlot.java | 88 CardState oldState = mCardState; in update() local 101 if (absentStateUpdateNeeded(oldState)) { in update() 107 } else if ((oldState == null || oldState == CardState.CARDSTATE_ABSENT in update() 147 CardState oldState = mCardState; in update() local 167 if (absentStateUpdateNeeded(oldState)) { in update() 177 private boolean absentStateUpdateNeeded(CardState oldState) { in absentStateUpdateNeeded() argument 178 return (oldState != CardState.CARDSTATE_ABSENT || mUiccCard != null) in absentStateUpdateNeeded()
|
/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()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageEventListener.java | 47 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() argument 51 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { in onVolumeStateChanged() argument
|
D | IStorageEventListener.aidl | 48 void onStorageStateChanged(in String path, in String oldState, in String newState) = 1; in onStorageStateChanged() argument 50 void onVolumeStateChanged(in VolumeInfo vol, int oldState, int newState) = 2; in onVolumeStateChanged() argument
|
/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…
|
/frameworks/base/core/jni/ |
D | android_backup_FileBackupHelperBase.cpp | 41 performBackup_native(JNIEnv* env, jobject clazz, jobject oldState, jlong data, in performBackup_native() argument 47 int oldStateFD = oldState != NULL ? jniGetFDFromFileDescriptor(env, oldState) : -1; in performBackup_native()
|
/frameworks/base/libs/storage/ |
D | IMountServiceListener.cpp | 55 String16 oldState = data.readString16(); in onTransact() local 57 onStorageStateChanged(path, oldState, newState); in onTransact()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserState.java | 80 public boolean setState(int oldState, int newState) { in setState() argument 81 if (state == oldState) { in setState() 86 + stateToString(oldState) + " but was in state " + stateToString(state)); in setState()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 460 assertThat(agentMock.oldState).isEqualTo("oldState".getBytes()); in testRunTask_whenPackageWithOldStateAndIncremental_passesOldStateToAgent() 473 assertThat(agentMock.oldState).isEqualTo(new byte[0]); in testRunTask_whenPackageWithOldStateAndNonIncremental_passesEmptyOldStateToAgent() 711 (oldState, dataOutput, newState) -> { in testRunTask_whenCallingAgent_setsWakeLockWorkSource() 755 (oldState, dataOutput, newState) -> { in testRunTask_whenSecondAgentUnavailable_commitsFirstAgentState() 887 (oldState, dataOutput, newState) -> { in testRunTask_whenLocalAgentOnBackupThrows_setsNullWorkSource() 903 (oldState, dataOutput, newState) -> { in testRunTask_whenLocalAgentOnBackupThrows_reportsCorrectly() 928 (oldState, dataOutput, newState) -> { in testRunTask_whenLocalAgentOnBackupThrows_doesNotUpdateBookkeping() 944 (oldState, dataOutput, newState) -> { in testRunTask_whenAgentOnBackupThrows_reportsCorrectly() 960 (oldState, dataOutput, newState) -> { in testRunTask_whenAgentOnBackupThrows_updatesBookkeeping() 976 (oldState, dataOutput, newState) -> { in testRunTask_whenAgentOnBackupThrows_doesNotCallTransport() [all …]
|
/frameworks/base/services/robotests/backup/src/android/app/backup/ |
D | ForwardingBackupAgent.java | 57 ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) in onBackup() argument 59 mBackupAgent.onBackup(oldState, data, newState); in onBackup()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsState.java | 419 Setting oldState = mSettings.get(name); in insertSettingLocked() local 420 String oldValue = (oldState != null) ? oldState.value : null; in insertSettingLocked() 421 String oldDefaultValue = (oldState != null) ? oldState.defaultValue : null; in insertSettingLocked() 424 if (oldState != null) { in insertSettingLocked() 425 if (!oldState.update(value, makeDefault, packageName, tag, forceNonSystemPackage, in insertSettingLocked() 429 newState = oldState; in insertSettingLocked() 505 Setting oldState = mSettings.remove(key); in setSettingsLocked() local 508 /* value= */ "", /* newValue= */ "", oldState.value, /* tag */ "", false, in setSettingsLocked() 510 addHistoricalOperationLocked(HISTORICAL_OPERATION_DELETE, oldState); in setSettingsLocked() 560 Setting oldState = mSettings.remove(name); in deleteSettingLocked() local [all …]
|