/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsServTest.java | 43 TestServ(MockBatteryStatsImpl bsi) { in TestServ() argument 44 super(bsi); in TestServ() 104 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl(); in testConstructAndDetach() local 106 TestServ serv = new TestServ(bsi); in testConstructAndDetach() 107 Assert.assertTrue(bsi.getOnBatteryTimeBase().hasObserver(serv)); in testConstructAndDetach() 110 Assert.assertFalse(bsi.getOnBatteryTimeBase().hasObserver(serv)); in testConstructAndDetach() 118 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl(); in testParceling() local 119 TestServ orig = new TestServ(bsi); in testParceling() 127 TestServ serv = new TestServ(bsi); in testParceling() 147 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl(); in testLaunchTimeToNow() local [all …]
|
D | BatteryStatsNoteTest.java | 2455 ModemAndBatteryState(MockBatteryStatsImpl bsi, ModemActivityInfo mai, in ModemAndBatteryState() argument 2457 mBsi = bsi; in ModemAndBatteryState()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | BarringInfoTest.java | 93 BarringServiceInfo bsi = b.getBarringServiceInfo(service); in testEmptyConstructor() local 94 assertNotNull(bsi); in testEmptyConstructor() 95 assertEquals(bsi.getBarringType(), BarringServiceInfo.BARRING_TYPE_UNKNOWN); in testEmptyConstructor() 96 assertFalse(bsi.isBarred()); in testEmptyConstructor() 106 BarringServiceInfo bsi = b.getBarringServiceInfo(BarringInfo.BARRING_SERVICE_TYPE_MO_DATA); in testBarringService() local 107 assertEquals(bsi.getBarringType(), BarringServiceInfo.BARRING_TYPE_UNCONDITIONAL); in testBarringService() 110 bsi = b.getBarringServiceInfo(BarringInfo.BARRING_SERVICE_TYPE_MMTEL_VIDEO); in testBarringService() 111 assertEquals(bsi.getBarringType(), BarringServiceInfo.BARRING_TYPE_CONDITIONAL); in testBarringService() 112 assertFalse(bsi.isConditionallyBarred()); in testBarringService() 113 assertEquals(bsi.getConditionalBarringFactor(), CONDITIONAL_BARRING_FACTOR_PERCENT); in testBarringService() [all …]
|
D | TelephonyRegistryTest.java | 977 SparseArray<BarringInfo.BarringServiceInfo> bsi = new SparseArray(1); in checkBarringInfoWithLocationPermission() local 978 bsi.set(BarringInfo.BARRING_SERVICE_TYPE_MMTEL_VOICE, in checkBarringInfoWithLocationPermission() 985 new CellIdentityLte(777, 333, 12345, 222, 13579), bsi); in checkBarringInfoWithLocationPermission()
|
/frameworks/av/media/module/bqhelper/ |
D | GraphicBufferSource.cpp | 967 ssize_t bsi = mBufferSlots.indexOfKey(bi.mSlot); in acquireBuffer_l() local 970 ALOGV("acquireBuffer_l: %s buffer slot %d", bsi < 0 ? "setting" : "UPDATING", bi.mSlot); in acquireBuffer_l() 971 if (bsi >= 0) { in acquireBuffer_l() 972 discardBufferAtSlotIndex_l(bsi); in acquireBuffer_l() 974 bsi = mBufferSlots.add(bi.mSlot, nullptr); in acquireBuffer_l() 977 mBufferSlots.replaceValueAt(bsi, buffer); in acquireBuffer_l() 979 buffer = mBufferSlots.valueAt(bsi); in acquireBuffer_l() 1099 ssize_t bsi = mBufferSlots.indexOfKey(i); in discardBufferInSlot_l() local 1100 if (bsi < 0) { in discardBufferInSlot_l() 1103 discardBufferAtSlotIndex_l(bsi); in discardBufferInSlot_l() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | BarringInfo.java | 295 BarringServiceInfo bsi = mBarringServiceInfos.get(service); in getBarringServiceInfo() local 300 return (bsi != null) ? bsi : mBarringServiceInfos.size() > 0 in getBarringServiceInfo()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 322 final BatteryStatsInternal bsi = LocalServices.getService(BatteryStatsInternal.class); in onWakeupEvent() local 323 if (bsi != null) { in onWakeupEvent() 326 bsi.noteCpuWakingNetworkPacket(network, elapsedMs, event.uid); in onWakeupEvent()
|
/frameworks/av/media/module/bqhelper/include/media/stagefright/bqhelper/ |
D | GraphicBufferSource.h | 302 void discardBufferAtSlotIndex_l(ssize_t bsi);
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 8328 public Uid(BatteryStatsImpl bsi, int uid, long elapsedRealtimeMs, long uptimeMs) { in Uid() argument 8329 mBsi = bsi; in Uid() 10081 public Wakelock(BatteryStatsImpl bsi, Uid uid) { in Wakelock() argument 10082 mBsi = bsi; in Wakelock() 10194 public Sensor(BatteryStatsImpl bsi, Uid uid, int handle) { in Sensor() argument 10195 mBsi = bsi; in Sensor() 10304 public Proc(BatteryStatsImpl bsi, String name) { in Proc() argument 10305 mBsi = bsi; in Proc() 10495 public Pkg(BatteryStatsImpl bsi) { in Pkg() argument 10496 mBsi = bsi; in Pkg() [all …]
|