/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsNoteTest.java | 61 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(new MockClocks()); in testNoteBluetoothScanResultLocked() local 62 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testNoteBluetoothScanResultLocked() 63 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteBluetoothScanResultLocked() 65 bi.noteBluetoothScanResultsFromSourceLocked(WS, 1); in testNoteBluetoothScanResultLocked() 66 bi.noteBluetoothScanResultsFromSourceLocked(WS, 100); in testNoteBluetoothScanResultLocked() 68 bi.getUidStats().get(UID).getBluetoothScanResultCounter() in testNoteBluetoothScanResultLocked() 70 BatteryStats.Counter bgCntr = bi.getUidStats().get(UID).getBluetoothScanResultBgCounter(); in testNoteBluetoothScanResultLocked() 75 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testNoteBluetoothScanResultLocked() 76 bi.noteBluetoothScanResultsFromSourceLocked(WS, 17); in testNoteBluetoothScanResultLocked() 78 bi.getUidStats().get(UID).getBluetoothScanResultCounter() in testNoteBluetoothScanResultLocked() [all …]
|
D | BatteryStatsSensorTest.java | 38 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testSensorStartStop() local 39 bi.mForceOnBattery = true; in testSensorStartStop() 42 bi.getOnBatteryTimeBase().setRunning(true, 100_000, 100_000); in testSensorStartStop() 43 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in testSensorStartStop() 44 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testSensorStartStop() 45 bi.noteStartSensorLocked(UID, SENSOR_ID); in testSensorStartStop() 48 bi.noteStopSensorLocked(UID, SENSOR_ID); in testSensorStartStop() 50 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_RECEIVER); in testSensorStartStop() 51 bi.noteStartSensorLocked(UID, SENSOR_ID); in testSensorStartStop() 52 bi.noteStartSensorLocked(UID, SENSOR_ID); in testSensorStartStop() [all …]
|
D | BatteryStatsBackgroundStatsTest.java | 42 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testBgTimeBase() local 45 BatteryStatsImpl.TimeBase bgtb = bi.getOnBatteryBackgroundTimeBase(UID); in testBgTimeBase() 50 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); // off battery in testBgTimeBase() 57 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBgTimeBase() 64 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testBgTimeBase() 71 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur); // on battery in testBgTimeBase() 79 bi.updateTimeBasesLocked(true, Display.STATE_OFF, cur, cur); // on battery (again) in testBgTimeBase() 86 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_RECEIVER); // background too in testBgTimeBase() 93 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); // off battery in testBgTimeBase() 94 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBgTimeBase() [all …]
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | shadows_f.rscript | 57 int bi = rgb.b; 61 iMax = max (ri, bi); 62 iMin = min (gi, bi); 64 iMax = max (gi, bi); 65 iMin = min (ri, bi); 83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma)); 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 87 else // (bi == iMax )
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | shadows.rscript | 57 int bi = rgb.b; 61 iMax = max (ri, bi); 62 iMin = min (gi, bi); 64 iMax = max (gi, bi); 65 iMin = min (ri, bi); 83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma)); 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 87 else // (bi == iMax )
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | shadows.rscript | 57 int bi = rgb.b; 61 iMax = max (ri, bi); 62 iMin = min (gi, bi); 64 iMax = max (gi, bi); 65 iMin = min (ri, bi); 83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma)); 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 87 else // (bi == iMax )
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | shadows.rscript | 57 int bi = rgb.b; 61 iMax = max (ri, bi); 62 iMin = min (gi, bi); 64 iMax = max (gi, bi); 65 iMin = min (ri, bi); 83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma)); 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 87 else // (bi == iMax )
|
/frameworks/base/telephony/java/android/telephony/ |
D | BarringInfo.java | 377 BarringInfo bi = (BarringInfo) rhs; in equals() 379 if (hashCode() != bi.hashCode()) return false; in equals() 381 if (mBarringServiceInfos.size() != bi.mBarringServiceInfos.size()) return false; in equals() 384 if (mBarringServiceInfos.keyAt(i) != bi.mBarringServiceInfos.keyAt(i)) return false; in equals() 386 bi.mBarringServiceInfos.valueAt(i))) { in equals()
|
/frameworks/av/media/libstagefright/bqhelper/ |
D | GraphicBufferSource.cpp | 932 BufferItem bi; in acquireBuffer_l() local 933 status_t err = mConsumer->acquireBuffer(&bi, 0); in acquireBuffer_l() 946 ssize_t bsi = mBufferSlots.indexOfKey(bi.mSlot); in acquireBuffer_l() 947 if (bi.mGraphicBuffer != NULL) { in acquireBuffer_l() 949 ALOGV("acquireBuffer_l: %s buffer slot %d", bsi < 0 ? "setting" : "UPDATING", bi.mSlot); in acquireBuffer_l() 953 bsi = mBufferSlots.add(bi.mSlot, nullptr); in acquireBuffer_l() 955 buffer = std::make_shared<CachedBuffer>(bi.mSlot, bi.mGraphicBuffer); in acquireBuffer_l() 960 int64_t frameNum = bi.mFrameNumber; in acquireBuffer_l() 983 bi.mFence); in acquireBuffer_l() 984 VideoBuffer videoBuffer{acquiredBuffer, bi.mTimestamp, bi.mDataSpace}; in acquireBuffer_l()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
D | BackDropperFilter.java | 784 int bi = (int)(mask_average[3] & 0xFF); in process() local 789 bi, DEFAULT_LEARNING_DONE_THRESHOLD)); in process() 792 if (bi >= DEFAULT_LEARNING_DONE_THRESHOLD) { in process()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioResponse.java | 2662 BarringInfo bi = BarringInfo.create(cellIdentity, barringInfos); in getBarringInfoResponse() local 2664 sendMessageResponse(rr.mResult, bi); in getBarringInfoResponse() 2667 new AsyncResult(null, bi, null)); in getBarringInfoResponse() 2669 mRil.processResponseDone(rr, responseInfo, bi); in getBarringInfoResponse()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 4662 for (size_t bi = 0; bi < bagCount; bi++) { in modifyForCompat() local 4663 const uint32_t attrId = getResId(bag.keyAt(bi), &attr16); in modifyForCompat() 4666 AaptUtil::appendValue(attributesToRemove, sdkLevel, bag.keyAt(bi)); in modifyForCompat()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 3507 BigInteger bi = new BigInteger(key.getEncoded()); in handleExecute() local 3508 hashedKey = bi.toString(16); in handleExecute()
|
/frameworks/base/services/tests/servicestests/res/raw/ |
D | backup_telephony_with_password | 146 �[�<��͝�0�bJ�d�-�M��*�1/B[et�b�ㆁp�biL�M�5��@��d��V%�u�l��5��UK#�q��dT�|��IS�5It��g2…
|