Home
last modified time | relevance | path

Searched refs:oldStatus (Results 1 – 5 of 5) 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/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.cpp676 CacheStatus_t oldStatus = mCacheStatus; in getCacheRemaining() local
744 if (oldStatus != mCacheStatus) { in getCacheRemaining()
/frameworks/base/core/java/android/os/
DBatteryStats.java1981 int oldStatus = -1; field in BatteryStats.HistoryPrinter
2008 if (oldStatus != rec.batteryStatus) { in printNextItem()
2009 oldStatus = rec.batteryStatus; in printNextItem()
2011 switch (oldStatus) { in printNextItem()
2028 pw.print(oldStatus); in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4289 void setOnBattery(boolean onBattery, int oldStatus, int level) { in setOnBattery() argument
4291 setOnBatteryLocked(onBattery, oldStatus, level); in setOnBattery()
4295 void setOnBatteryLocked(boolean onBattery, int oldStatus, int level) { in setOnBatteryLocked() argument
4310 if (oldStatus == BatteryManager.BATTERY_STATUS_FULL in setOnBatteryLocked()
4369 int oldStatus = mHistoryCur.batteryStatus; in setBatteryState() local
4383 oldStatus = status; in setBatteryState()
4396 setOnBatteryLocked(onBattery, oldStatus, level); in setBatteryState()