Searched refs:bsi (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsServTest.java | 33 TestServ(MockBatteryStatsImpl bsi) { in TestServ() argument 34 super(bsi); in TestServ() 139 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl(); in testConstructAndDetach() local 141 TestServ serv = new TestServ(bsi); in testConstructAndDetach() 142 Assert.assertTrue(bsi.getOnBatteryTimeBase().hasObserver(serv)); in testConstructAndDetach() 145 Assert.assertFalse(bsi.getOnBatteryTimeBase().hasObserver(serv)); in testConstructAndDetach() 153 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl(); in testOnTimeStarted() local 154 TestServ serv = new TestServ(bsi); in testOnTimeStarted() 176 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl(); in testParceling() local 177 TestServ orig = new TestServ(bsi); in testParceling() [all …]
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.cpp | 852 ssize_t bsi = mBufferSlots.indexOfKey(bi.mSlot); in acquireBuffer_l() local 855 ALOGV("acquireBuffer_l: %s buffer slot %d", bsi < 0 ? "setting" : "UPDATING", bi.mSlot); in acquireBuffer_l() 856 if (bsi >= 0) { in acquireBuffer_l() 857 discardBufferAtSlotIndex_l(bsi); in acquireBuffer_l() 859 bsi = mBufferSlots.add(bi.mSlot, nullptr); in acquireBuffer_l() 862 mBufferSlots.replaceValueAt(bsi, buffer); in acquireBuffer_l() 864 buffer = mBufferSlots.valueAt(bsi); in acquireBuffer_l() 973 ssize_t bsi = mBufferSlots.indexOfKey(i); in discardBufferInSlot_l() local 974 if (bsi < 0) { in discardBufferInSlot_l() 977 discardBufferAtSlotIndex_l(bsi); in discardBufferInSlot_l() [all …]
|
D | GraphicBufferSource.h | 265 void discardBufferAtSlotIndex_l(ssize_t bsi);
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 5708 public Uid(BatteryStatsImpl bsi, int uid) { in Uid() argument 5709 mBsi = bsi; in Uid() 7407 public Wakelock(BatteryStatsImpl bsi, Uid uid) { in Wakelock() argument 7408 mBsi = bsi; in Wakelock() 7524 public Sensor(BatteryStatsImpl bsi, Uid uid, int handle) { in Sensor() argument 7525 mBsi = bsi; in Sensor() 7690 public Proc(BatteryStatsImpl bsi, String name) { in Proc() argument 7691 mBsi = bsi; in Proc() 7940 public Pkg(BatteryStatsImpl bsi) { in Pkg() argument 7941 mBsi = bsi; in Pkg() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStack.java | 1471 BatteryStatsImpl bsi = mService.mBatteryStatsService.getActiveStatistics(); in completePauseLocked() local 1472 synchronized (bsi) { in completePauseLocked() 1474 bsi.getProcessStatsLocked(prev.info.applicationInfo.uid, in completePauseLocked()
|