Home
last modified time | relevance | path

Searched refs:oldState (Results 1 – 25 of 80) sorted by relevance

1234

/frameworks/base/core/java/android/content/pm/
DPackageUserState.java177 final PackageUserState oldState = (PackageUserState) obj; in equals() local
178 if (ceDataInode != oldState.ceDataInode) { in equals()
181 if (installed != oldState.installed) { in equals()
184 if (stopped != oldState.stopped) { in equals()
187 if (notLaunched != oldState.notLaunched) { in equals()
190 if (hidden != oldState.hidden) { in equals()
193 if (suspended != oldState.suspended) { in equals()
196 if (instantApp != oldState.instantApp) { in equals()
199 if (virtualPreload != oldState.virtualPreload) { in equals()
202 if (enabled != oldState.enabled) { in equals()
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupHelperDispatcher.java45 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
54 if (oldState != null) { in performBackup()
55 oldStateFD = oldState.getFileDescriptor(); in performBackup()
61 doOneBackup(oldState, data, newState, header, helper); in performBackup()
75 doOneBackup(oldState, data, newState, header, helper); in performBackup()
79 private void doOneBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in doOneBackup() argument
94 helper.performBackup(oldState, data, newState); in doOneBackup()
DFileBackupHelperBase.java53 static void performBackup_checked(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup_checked() argument
70 FileDescriptor oldStateFd = oldState != null ? oldState.getFileDescriptor() : null; in performBackup_checked()
121 native private static int performBackup_native(FileDescriptor oldState, in performBackup_native() argument
DBackupAgentHelper.java64 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
66 mDispatcher.performBackup(oldState, data, newState); in onBackup()
DAbsoluteFileBackupHelper.java57 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
60 performBackup_checked(oldState, data, newState, mFiles, mFiles); in performBackup()
DSharedPreferencesBackupHelper.java94 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
111 performBackup_checked(oldState, data, newState, files, prefGroups); in performBackup()
DFileBackupHelper.java73 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
85 performBackup_checked(oldState, data, newState, fullPaths, files); in performBackup()
DBackupHelper.java72 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() argument
DFullBackupAgent.java31 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java226 State oldState = mState; in transitionTo() local
232 updatePulseReason(newState, oldState, pulseReason); in transitionTo()
233 performTransitionOnComponents(oldState, newState); in transitionTo()
239 private void updatePulseReason(State newState, State oldState, int pulseReason) { in updatePulseReason() argument
242 } else if (oldState == State.DOZE_PULSE_DONE) { in updatePulseReason()
247 private void performTransitionOnComponents(State oldState, State newState) { in performTransitionOnComponents() argument
249 p.transitionTo(oldState, newState); in performTransitionOnComponents()
349 void transitionTo(State oldState, State newState); in transitionTo() argument
DDozeScreenState.java38 public void transitionTo(DozeMachine.State oldState, DozeMachine.State newState) { in transitionTo() argument
56 if (messagePending || oldState == DozeMachine.State.INITIALIZED) { in transitionTo()
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeAgent.java87 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/base/core/java/android/os/storage/
DStorageEventListener.java38 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() argument
41 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { in onVolumeStateChanged() argument
DIStorageEventListener.aidl48 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockIcon.java272 private int getAnimationResForTransition(int oldState, int newState, in getAnimationResForTransition() argument
275 if (oldState == STATE_FINGERPRINT && newState == STATE_FINGERPRINT_ERROR) { in getAnimationResForTransition()
277 } else if (oldState == STATE_LOCK_OPEN && newState == STATE_FINGERPRINT_ERROR) { in getAnimationResForTransition()
279 } else if (oldState == STATE_FINGERPRINT_ERROR && newState == STATE_LOCK_OPEN) { in getAnimationResForTransition()
281 } else if (oldState == STATE_FINGERPRINT_ERROR && newState == STATE_FINGERPRINT) { in getAnimationResForTransition()
283 } else if (oldState == STATE_FINGERPRINT && newState == STATE_LOCK_OPEN in getAnimationResForTransition()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageListener.java34 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()
DAsecTests.java528 String oldState; field in AsecTests.StorageListener
545 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() argument
546 if (localLOGV) Log.i(TAG, "Storage state changed from " + oldState + " to " + newState); in onStorageStateChanged()
547 this.oldState = oldState; in onStorageStateChanged()
610 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DEventLogTags.logtags49 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/services/core/java/com/android/server/am/
DUserState.java70 public boolean setState(int oldState, int newState) { in setState() argument
71 if (state == oldState) { in setState()
76 + stateToString(oldState) + " but was in state " + stateToString(state)); in setState()
/frameworks/base/core/jni/
Dandroid_backup_FileBackupHelperBase.cpp41 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/
DIMountServiceListener.cpp55 String16 oldState = data.readString16(); in onTransact() local
57 onStorageStateChanged(path, oldState, newState); in onTransact()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java323 Setting oldState = mSettings.get(name); in insertSettingLocked() local
324 String oldValue = (oldState != null) ? oldState.value : null; in insertSettingLocked()
325 String oldDefaultValue = (oldState != null) ? oldState.defaultValue : null; in insertSettingLocked()
328 if (oldState != null) { in insertSettingLocked()
329 if (!oldState.update(value, makeDefault, packageName, tag, false)) { in insertSettingLocked()
332 newState = oldState; in insertSettingLocked()
360 Setting oldState = mSettings.remove(name); in deleteSettingLocked() local
362 updateMemoryUsagePerPackageLocked(oldState.packageName, oldState.value, in deleteSettingLocked()
363 null, oldState.defaultValue, null); in deleteSettingLocked()
365 addHistoricalOperationLocked(HISTORICAL_OPERATION_DELETE, oldState); in deleteSettingLocked()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DFullWidthDetailsOverviewRowPresenter.java650 protected void onLayoutLogo(ViewHolder viewHolder, int oldState, boolean logoChanged) { in onLayoutLogo() argument
694 protected void onLayoutOverviewFrame(ViewHolder viewHolder, int oldState, boolean logoChanged) { in onLayoutOverviewFrame() argument
695 boolean wasBanner = oldState == STATE_SMALL; in onLayoutOverviewFrame()
761 int oldState = viewHolder.getState(); in setState() local
763 onStateChanged(viewHolder, oldState); in setState()
774 protected void onStateChanged(ViewHolder viewHolder, int oldState) { in onStateChanged() argument
775 onLayoutOverviewFrame(viewHolder, oldState, false); in onStateChanged()
776 onLayoutLogo(viewHolder, oldState, false); in onStateChanged()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java146 public void onPlaystateChanged(MediaSessionRecord record, int oldState, int newState) { in onPlaystateChanged() argument
147 if (shouldUpdatePriority(oldState, newState)) { in onPlaystateChanged()
358 private boolean shouldUpdatePriority(int oldState, int newState) { in shouldUpdatePriority() argument
362 if (!containsState(oldState, TRANSITION_PRIORITY_STATES) in shouldUpdatePriority()
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java94 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput output, in performBackup() argument
105 byte[] oldMd5Checksum = readOldMd5Checksum(oldState); in performBackup()
191 private byte[] readOldMd5Checksum(ParcelFileDescriptor oldState) throws IOException { in readOldMd5Checksum() argument
193 new FileInputStream(oldState.getFileDescriptor())); in readOldMd5Checksum()

1234