Home
last modified time | relevance | path

Searched refs:bsi (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsServTest.java33 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/bqhelper/
DGraphicBufferSource.cpp892 ssize_t bsi = mBufferSlots.indexOfKey(bi.mSlot); in acquireBuffer_l() local
895 ALOGV("acquireBuffer_l: %s buffer slot %d", bsi < 0 ? "setting" : "UPDATING", bi.mSlot); in acquireBuffer_l()
896 if (bsi >= 0) { in acquireBuffer_l()
897 discardBufferAtSlotIndex_l(bsi); in acquireBuffer_l()
899 bsi = mBufferSlots.add(bi.mSlot, nullptr); in acquireBuffer_l()
902 mBufferSlots.replaceValueAt(bsi, buffer); in acquireBuffer_l()
904 buffer = mBufferSlots.valueAt(bsi); in acquireBuffer_l()
1024 ssize_t bsi = mBufferSlots.indexOfKey(i); in discardBufferInSlot_l() local
1025 if (bsi < 0) { in discardBufferInSlot_l()
1028 discardBufferAtSlotIndex_l(bsi); in discardBufferInSlot_l()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java85 BatterySaverIcon bsi = new BatterySaverIcon(); in handleUpdateState() local
86 bsi.mState = state.state; in handleUpdateState()
87 state.icon = bsi; in handleUpdateState()
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
DGraphicBufferSource.h279 void discardBufferAtSlotIndex_l(ssize_t bsi);
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java6846 public Uid(BatteryStatsImpl bsi, int uid) { in Uid() argument
6847 mBsi = bsi; in Uid()
8903 public Wakelock(BatteryStatsImpl bsi, Uid uid) { in Wakelock() argument
8904 mBsi = bsi; in Wakelock()
9020 public Sensor(BatteryStatsImpl bsi, Uid uid, int handle) { in Sensor() argument
9021 mBsi = bsi; in Sensor()
9186 public Proc(BatteryStatsImpl bsi, String name) { in Proc() argument
9187 mBsi = bsi; in Proc()
9432 public Pkg(BatteryStatsImpl bsi) { in Pkg() argument
9433 mBsi = bsi; in Pkg()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java1628 BatteryStatsImpl bsi = mService.mBatteryStatsService.getActiveStatistics(); in completePauseLocked() local
1629 synchronized (bsi) { in completePauseLocked()
1631 bsi.getProcessStatsLocked(prev.info.applicationInfo.uid, in completePauseLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java5246 Parcel p, int ni, int si, int bsi, int lon, int lat, String al, String as, in writeToParcelForCdma() argument
5248 new CellIdentityCdma(ni, si, bsi, lon, lat, al, as).writeToParcel(p, 0); in writeToParcelForCdma()