Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java1286 Integer oldStatus; in onStatusChangedLocked() local
1288 oldStatus = mDeviceStatus.remove(id); in onStatusChangedLocked()
1290 oldStatus = mDeviceStatus.put(id, status); in onStatusChangedLocked()
1293 if (oldStatus != null && oldStatus == status) { in onStatusChangedLocked()
1315 if (oldStatus != null && isAvailable(status) == isAvailable(oldStatus)) { in onStatusChangedLocked()
1322 isAvailable(oldStatus), isAvailable(status))); in onStatusChangedLocked()
1356 Integer oldStatus = mTorchStatus.put(id, status); in onTorchStatusChangedLocked() local
1357 if (oldStatus != null && oldStatus == status) { in onTorchStatusChangedLocked()
/frameworks/base/services/core/java/com/android/server/hdmi/
DPowerStatusMonitorAction.java75 int oldStatus = mPowerStatus.get(sourceAddress, INVALID_POWER_STATUS); in handleReportPowerStatus() local
76 if (oldStatus == INVALID_POWER_STATUS) { in handleReportPowerStatus()
DHdmiCecLocalDeviceTv.java884 boolean oldStatus = mArcEstablished; in setArcStatus()
891 return oldStatus; in setArcStatus()
/frameworks/opt/car/services/src/com/android/internal/car/
DCarServiceHelperService.java242 Boolean oldStatus = mUserUnlockedStatus.get(userHandle); in handleUserLockStatusChange() local
243 if (oldStatus == null || oldStatus != unlocked) { in handleUserLockStatusChange()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp347 StatusInternal oldStatus = state->getStatus(); in onDeviceStatusChanged() local
349 if (oldStatus == newStatus) { in onDeviceStatusChanged()
355 logDeviceRemoved(id, String8::format("Device status changed from %d to %d", oldStatus, in onDeviceStatusChanged()
387 if (oldStatus == StatusInternal::NOT_PRESENT) { in onDeviceStatusChanged()
388 logDeviceAdded(id, String8::format("Device status changed from %d to %d", oldStatus, in onDeviceStatusChanged()
3368 StatusInternal oldStatus = mStatus; in updateStatus() local
3371 if (oldStatus == status) { in updateStatus()
3376 cameraId.string(), oldStatus, status); in updateStatus()
3378 if (oldStatus == StatusInternal::NOT_PRESENT && in updateStatus()
3384 mStatus = oldStatus; in updateStatus()
[all …]
/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.cpp683 CacheStatus_t oldStatus = mCacheStatus; in getCacheRemaining() local
751 if (oldStatus != mCacheStatus) { in getCacheRemaining()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java663 AcquiredConnectionStatus oldStatus = entry.getValue(); in markAcquiredConnectionsLocked() local
664 if (status != oldStatus in markAcquiredConnectionsLocked()
665 && oldStatus != AcquiredConnectionStatus.DISCARD) { in markAcquiredConnectionsLocked()
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp398 int32_t oldStatus = firstStatus ? in onStatusChangedLocked() local
403 isStatusAvailable(status) == isStatusAvailable(oldStatus)) { in onStatusChangedLocked()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp427 CameraDeviceStatus oldStatus = firstStatus ? in onStatusChangedLocked() local
432 isStatusAvailable(status) == isStatusAvailable(oldStatus)) { in onStatusChangedLocked()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2698 final int oldStatus = oldPrinterState.getStatus(); in onChanged() local
2702 final boolean becameActive = (oldStatus == PrinterInfo.STATUS_UNAVAILABLE in onChanged()
2703 && oldStatus != newStatus); in onChanged()
2705 && oldStatus != newStatus); in onChanged()
/frameworks/base/core/java/android/os/
DBatteryStats.java6252 int oldStatus = -1; field in HistoryPrinter
6265 oldStatus = -1; in reset()
6367 if (oldStatus != rec.batteryStatus) { in printNextItem()
6368 oldStatus = rec.batteryStatus; in printNextItem()
6370 switch (oldStatus) { in printNextItem()
6387 item.append(oldStatus); in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java12050 final boolean onBattery, final int oldStatus, final int level, final int chargeUAh) { in setOnBatteryLocked() argument
12065 if (!mNoAutoReset && (oldStatus == BatteryManager.BATTERY_STATUS_FULL in setOnBatteryLocked()
12068 Slog.i(TAG, "Resetting battery stats: level=" + level + " status=" + oldStatus in setOnBatteryLocked()
12258 int oldStatus = mHistoryCur.batteryStatus; in setBatteryStateLocked() local
12299 setOnBatteryLocked(elapsedRealtime, uptime, onBattery, oldStatus, level, chargeUAh); in setBatteryStateLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt48774 Landroid/os/BatteryStats$HistoryPrinter;->oldStatus:I