Home
last modified time | relevance | path

Searched refs:oldStatus (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/storage/
DAsecTests.java586 boolean oldStatus = getMediaState(); in testUnmount()
587 Log.i(TAG, "oldStatus="+oldStatus); in testUnmount()
597 if (oldStatus != currStatus) { in testUnmount()
598 if (oldStatus) { in testUnmount()
624 boolean oldStatus = getMediaState(); in testUnmountMultiple()
653 if (oldStatus != currStatus) { in testUnmountMultiple()
654 if (oldStatus) { in testUnmountMultiple()
698 boolean oldStatus = getMediaState(); in testShutdown()
708 if (oldStatus != currStatus) { in testShutdown()
709 if (oldStatus) { in testShutdown()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DPowerStatusMonitorAction.java76 int oldStatus = mPowerStatus.get(sourceAddress, INVALID_POWER_STATUS); in handleReportPowerStatus() local
77 if (oldStatus == INVALID_POWER_STATUS) { in handleReportPowerStatus()
DHdmiCecLocalDeviceTv.java882 boolean oldStatus = mArcEstablished; in setArcStatus()
889 return oldStatus; in setArcStatus()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java749 Integer oldStatus = mDeviceStatus.put(id, status); in onStatusChangedLocked() local
751 if (oldStatus != null && oldStatus == status) { in onStatusChangedLocked()
773 if (oldStatus != null && isAvailable(status) == isAvailable(oldStatus)) { in onStatusChangedLocked()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1756 ICameraServiceListener::Status oldStatus = mStatusList[cameraId]; in updateStatus() local
1760 if (oldStatus != status) { in updateStatus()
1762 __FUNCTION__, cameraId, (uint32_t)oldStatus, (uint32_t)status); in updateStatus()
1764 if (oldStatus == ICameraServiceListener::STATUS_NOT_PRESENT && in updateStatus()
1770 mStatusList[cameraId] = oldStatus; in updateStatus()
1784 if (oldStatus == *it) { in updateStatus()
1788 mStatusList[cameraId] = oldStatus; in updateStatus()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java577 AcquiredConnectionStatus oldStatus = entry.getValue(); in markAcquiredConnectionsLocked() local
578 if (status != oldStatus in markAcquiredConnectionsLocked()
579 && oldStatus != AcquiredConnectionStatus.DISCARD) { in markAcquiredConnectionsLocked()
/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.cpp678 CacheStatus_t oldStatus = mCacheStatus; in getCacheRemaining() local
746 if (oldStatus != mCacheStatus) { in getCacheRemaining()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2077 final int oldStatus = oldPrinterState.getStatus(); in onChanged() local
2081 final boolean becameActive = (oldStatus == PrinterInfo.STATUS_UNAVAILABLE in onChanged()
2082 && oldStatus != newStatus); in onChanged()
2084 && oldStatus != newStatus); in onChanged()
/frameworks/base/core/java/android/os/
DBatteryStats.java3475 int oldStatus = -1; field in BatteryStats.HistoryPrinter
3485 oldStatus = -1; in reset()
3566 if (oldStatus != rec.batteryStatus) { in printNextItem()
3567 oldStatus = rec.batteryStatus; in printNextItem()
3569 switch (oldStatus) { in printNextItem()
3586 pw.print(oldStatus); in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java6817 final int oldStatus, final int level) { in setOnBatteryLocked() argument
6832 if (!mNoAutoReset && (oldStatus == BatteryManager.BATTERY_STATUS_FULL in setOnBatteryLocked()
6837 Slog.i(TAG, "Resetting battery stats: level=" + level + " status=" + oldStatus in setOnBatteryLocked()
6999 int oldStatus = mHistoryCur.batteryStatus; in setBatteryState() local
7013 oldStatus = status; in setBatteryState()
7038 setOnBatteryLocked(elapsedRealtime, uptime, onBattery, oldStatus, level); in setBatteryState()