/frameworks/base/core/java/android/content/pm/ |
D | PackageUserState.java | 211 final PackageUserState oldState = (PackageUserState) obj; in equals() local 212 if (ceDataInode != oldState.ceDataInode) { in equals() 215 if (installed != oldState.installed) { in equals() 218 if (stopped != oldState.stopped) { in equals() 221 if (notLaunched != oldState.notLaunched) { in equals() 224 if (hidden != oldState.hidden) { in equals() 227 if (distractionFlags != oldState.distractionFlags) { in equals() 230 if (suspended != oldState.suspended) { in equals() 235 || !suspendingPackage.equals(oldState.suspendingPackage)) { in equals() 238 if (!Objects.equals(dialogInfo, oldState.dialogInfo)) { in equals() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | FingerprintDialogView.java | 82 protected boolean shouldAnimateForTransition(int oldState, int newState) { in shouldAnimateForTransition() argument 85 } else if (oldState == STATE_ERROR && newState == STATE_AUTHENTICATING) { in shouldAnimateForTransition() 87 } else if (oldState == STATE_AUTHENTICATING && newState == STATE_AUTHENTICATED) { in shouldAnimateForTransition() 90 } else if (oldState == STATE_ERROR && newState == STATE_AUTHENTICATED) { in shouldAnimateForTransition() 110 protected Drawable getAnimationForTransition(int oldState, int newState) { in getAnimationForTransition() argument 114 } else if (oldState == STATE_ERROR && newState == STATE_AUTHENTICATING) { in getAnimationForTransition() 116 } else if (oldState == STATE_AUTHENTICATING && newState == STATE_AUTHENTICATED) { in getAnimationForTransition() 119 } else if (oldState == STATE_ERROR && newState == STATE_AUTHENTICATED) { in getAnimationForTransition()
|
D | FaceDialogView.java | 398 protected void updateIcon(int oldState, int newState) { in updateIcon() argument 410 } else if (oldState == STATE_PENDING_CONFIRMATION && newState == STATE_AUTHENTICATED) { in updateIcon() 414 } else if (oldState == STATE_ERROR && newState == STATE_IDLE) { in updateIcon() 418 } else if (oldState == STATE_ERROR && newState == STATE_AUTHENTICATED) { in updateIcon() 434 } else if (oldState == STATE_AUTHENTICATING && newState == STATE_AUTHENTICATED) { in updateIcon() 448 Log.w(TAG, "Unknown animation from " + oldState + " -> " + newState); in updateIcon() 453 if (oldState == STATE_ERROR && newState == STATE_ERROR) { in updateIcon()
|
/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 | FileBackupHelper.java | 73 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument 85 performBackup_checked(oldState, data, newState, fullPaths, files); 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenState.java | 64 public void transitionTo(DozeMachine.State oldState, DozeMachine.State newState) { in transitionTo() argument 83 boolean pulseEnding = oldState == DozeMachine.State.DOZE_PULSE_DONE in transitionTo() 85 boolean turningOn = (oldState == DozeMachine.State.DOZE_AOD_PAUSED in transitionTo() 86 || oldState == DozeMachine.State.DOZE) && newState == DozeMachine.State.DOZE_AOD; in transitionTo() 87 boolean justInitialized = oldState == DozeMachine.State.INITIALIZED; in transitionTo()
|
D | DozeMachine.java | 247 State oldState = mState; in transitionTo() local 253 updatePulseReason(newState, oldState, pulseReason); in transitionTo() 254 performTransitionOnComponents(oldState, newState); in transitionTo() 260 private void updatePulseReason(State newState, State oldState, int pulseReason) { in updatePulseReason() argument 263 } else if (oldState == State.DOZE_PULSE_DONE) { in updatePulseReason() 268 private void performTransitionOnComponents(State oldState, State newState) { in performTransitionOnComponents() argument 270 p.transitionTo(oldState, newState); in performTransitionOnComponents() 384 void transitionTo(State oldState, State newState); in transitionTo() argument
|
D | DozeUi.java | 118 public void transitionTo(DozeMachine.State oldState, DozeMachine.State newState) { in transitionTo() argument 121 if (oldState == DOZE_AOD_PAUSED || oldState == DOZE) { in transitionTo()
|
/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/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/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/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/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 458 assertThat(agentMock.oldState).isEqualTo("oldState".getBytes()); in testRunTask_whenPackageWithOldStateAndIncremental_passesOldStateToAgent() 471 assertThat(agentMock.oldState).isEqualTo(new byte[0]); in testRunTask_whenPackageWithOldStateAndNonIncremental_passesEmptyOldStateToAgent() 709 (oldState, dataOutput, newState) -> { in testRunTask_whenCallingAgent_setsWakeLockWorkSource() 753 (oldState, dataOutput, newState) -> { in testRunTask_whenSecondAgentUnavailable_commitsFirstAgentState() 884 (oldState, dataOutput, newState) -> { in testRunTask_whenLocalAgentOnBackupThrows_setsNullWorkSource() 900 (oldState, dataOutput, newState) -> { in testRunTask_whenLocalAgentOnBackupThrows_reportsCorrectly() 925 (oldState, dataOutput, newState) -> { in testRunTask_whenLocalAgentOnBackupThrows_doesNotUpdateBookkeping() 941 (oldState, dataOutput, newState) -> { in testRunTask_whenAgentOnBackupThrows_reportsCorrectly() 957 (oldState, dataOutput, newState) -> { in testRunTask_whenAgentOnBackupThrows_updatesBookkeeping() 973 (oldState, dataOutput, newState) -> { in testRunTask_whenAgentOnBackupThrows_doesNotCallTransport() [all …]
|
/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/core/java/com/android/server/media/ |
D | MediaSessionStack.java | 161 public void onPlaystateChanged(MediaSessionRecord record, int oldState, int newState) { in onPlaystateChanged() argument 162 if (shouldUpdatePriority(oldState, newState)) { in onPlaystateChanged() 373 private boolean shouldUpdatePriority(int oldState, int newState) { in shouldUpdatePriority() argument 377 if (!containsState(oldState, TRANSITION_PRIORITY_STATES) in shouldUpdatePriority()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsState.java | 394 Setting oldState = mSettings.get(name); in insertSettingLocked() local 395 String oldValue = (oldState != null) ? oldState.value : null; in insertSettingLocked() 396 String oldDefaultValue = (oldState != null) ? oldState.defaultValue : null; in insertSettingLocked() 399 if (oldState != null) { in insertSettingLocked() 400 if (!oldState.update(value, makeDefault, packageName, tag, forceNonSystemPackage)) { in insertSettingLocked() 403 newState = oldState; in insertSettingLocked() 435 Setting oldState = mSettings.remove(name); in deleteSettingLocked() local 438 oldState.value, /* tag */ "", false, getUserIdFromKey(mKey), in deleteSettingLocked() 441 updateMemoryUsagePerPackageLocked(oldState.packageName, oldState.value, in deleteSettingLocked() 442 null, oldState.defaultValue, null); in deleteSettingLocked() [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()
|