/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsNoteTest.java | 112 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(new MockClock()); in testNoteBluetoothScanResultLocked() local 113 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testNoteBluetoothScanResultLocked() 114 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteBluetoothScanResultLocked() 116 bi.noteBluetoothScanResultsFromSourceLocked(WS, 1); in testNoteBluetoothScanResultLocked() 117 bi.noteBluetoothScanResultsFromSourceLocked(WS, 100); in testNoteBluetoothScanResultLocked() 119 bi.getUidStats().get(UID).getBluetoothScanResultCounter() in testNoteBluetoothScanResultLocked() 121 BatteryStats.Counter bgCntr = bi.getUidStats().get(UID).getBluetoothScanResultBgCounter(); in testNoteBluetoothScanResultLocked() 126 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testNoteBluetoothScanResultLocked() 127 bi.noteBluetoothScanResultsFromSourceLocked(WS, 17); in testNoteBluetoothScanResultLocked() 129 bi.getUidStats().get(UID).getBluetoothScanResultCounter() in testNoteBluetoothScanResultLocked() [all …]
|
D | BatteryStatsSensorTest.java | 51 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testSensorStartStop() local 52 bi.mForceOnBattery = true; in testSensorStartStop() 55 bi.getOnBatteryTimeBase().setRunning(true, 100_000, 100_000); in testSensorStartStop() 56 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in testSensorStartStop() 57 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testSensorStartStop() 58 bi.noteStartSensorLocked(UID, SENSOR_ID); in testSensorStartStop() 61 bi.noteStopSensorLocked(UID, SENSOR_ID); in testSensorStartStop() 63 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_RECEIVER); in testSensorStartStop() 64 bi.noteStartSensorLocked(UID, SENSOR_ID); in testSensorStartStop() 65 bi.noteStartSensorLocked(UID, SENSOR_ID); in testSensorStartStop() [all …]
|
D | BatteryStatsBackgroundStatsTest.java | 54 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testBgTimeBase() local 57 BatteryStatsImpl.TimeBase bgtb = bi.getOnBatteryBackgroundTimeBase(UID); in testBgTimeBase() 62 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); // off battery in testBgTimeBase() 69 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBgTimeBase() 76 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testBgTimeBase() 83 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur); // on battery in testBgTimeBase() 91 bi.updateTimeBasesLocked(true, Display.STATE_OFF, cur, cur); // on battery (again) in testBgTimeBase() 98 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_RECEIVER); // background too in testBgTimeBase() 105 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); // off battery in testBgTimeBase() 106 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBgTimeBase() [all …]
|
D | BatteryStatsBinderCallStatsTest.java | 58 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testNoteBinderCallStats() local 71 bi.noteBinderCallStats(workSourceUid, 42, callStats); in testNoteBinderCallStats() 81 bi.noteBinderCallStats(workSourceUid, 8, callStats); in testNoteBinderCallStats() 83 BatteryStatsImpl.Uid uid = bi.getUidStatsLocked(workSourceUid); in testNoteBinderCallStats() 100 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testProportionalSystemServiceUsage_noStatsForSomeMethods() local 122 bi.noteBinderCallStats(workSourceUid1, 65, callStats); in testProportionalSystemServiceUsage_noStatsForSomeMethods() 131 bi.noteBinderCallStats(workSourceUid2, 40, callStats); in testProportionalSystemServiceUsage_noStatsForSomeMethods() 135 bi.noteBinderCallStats(workSourceUid3, 50, callStats); in testProportionalSystemServiceUsage_noStatsForSomeMethods() 137 bi.updateSystemServiceCallStats(); in testProportionalSystemServiceUsage_noStatsForSomeMethods() 139 double prop1 = bi.getUidStatsLocked(workSourceUid1).getProportionalSystemServiceUsage(); in testProportionalSystemServiceUsage_noStatsForSomeMethods() [all …]
|
/frameworks/av/media/libstagefright/ |
D | FrameCaptureLayer.cpp | 68 BufferLayer(const BufferItem &bi) : mBufferItem(bi) {} in BufferLayer() 155 BufferItem bi; in capture() local 156 status_t err = acquireBuffer(&bi); in capture() 171 new BufferLayer(bi), sourceCrop, buffer); in capture() 176 (void)releaseBuffer(bi); in capture() 207 status_t FrameCaptureLayer::acquireBuffer(BufferItem *bi) { in acquireBuffer() argument 222 status_t err = mConsumer->acquireBuffer(bi, 0); in acquireBuffer() 228 if (bi->mGraphicBuffer != nullptr) { in acquireBuffer() 229 mSlotToBufferMap[bi->mSlot] = bi->mGraphicBuffer; in acquireBuffer() 231 bi->mGraphicBuffer = mSlotToBufferMap[bi->mSlot]; in acquireBuffer() [all …]
|
/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/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/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/av/media/libstagefright/include/ |
D | FrameCaptureLayer.h | 69 status_t acquireBuffer(BufferItem *bi); 70 status_t releaseBuffer(const BufferItem &bi);
|
/frameworks/base/telephony/java/android/telephony/ |
D | BarringInfo.java | 357 BarringInfo bi = (BarringInfo) rhs; in equals() 359 if (hashCode() != bi.hashCode()) return false; in equals() 361 if (mBarringServiceInfos.size() != bi.mBarringServiceInfos.size()) return false; in equals() 364 if (mBarringServiceInfos.keyAt(i) != bi.mBarringServiceInfos.keyAt(i)) return false; in equals() 366 bi.mBarringServiceInfos.valueAt(i))) { in equals()
|
/frameworks/av/media/module/bqhelper/ |
D | GraphicBufferSource.cpp | 953 BufferItem bi; in acquireBuffer_l() local 954 status_t err = mConsumer->acquireBuffer(&bi, 0); in acquireBuffer_l() 967 ssize_t bsi = mBufferSlots.indexOfKey(bi.mSlot); in acquireBuffer_l() 968 if (bi.mGraphicBuffer != NULL) { in acquireBuffer_l() 970 ALOGV("acquireBuffer_l: %s buffer slot %d", bsi < 0 ? "setting" : "UPDATING", bi.mSlot); in acquireBuffer_l() 974 bsi = mBufferSlots.add(bi.mSlot, nullptr); in acquireBuffer_l() 976 buffer = std::make_shared<CachedBuffer>(bi.mSlot, bi.mGraphicBuffer); in acquireBuffer_l() 981 int64_t frameNum = bi.mFrameNumber; in acquireBuffer_l() 1004 bi.mFence); in acquireBuffer_l() 1005 VideoBuffer videoBuffer{acquiredBuffer, bi.mTimestamp, bi.mDataSpace}; in acquireBuffer_l()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkResponse.java | 105 BarringInfo bi = new BarringInfo(RILUtils.convertHalCellIdentity(cellIdentity), in getBarringInfoResponse() local 108 RadioResponse.sendMessageResponse(rr.mResult, bi); in getBarringInfoResponse() 111 new AsyncResult(null, bi, null)); in getBarringInfoResponse() 113 mRil.processResponseDone(rr, responseInfo, bi); in getBarringInfoResponse()
|
D | RadioResponse.java | 2707 BarringInfo bi = new BarringInfo(RILUtils.convertHalCellIdentity(cellIdentity), in getBarringInfoResponse() local 2710 sendMessageResponse(rr.mResult, bi); in getBarringInfoResponse() 2713 new AsyncResult(null, bi, null)); in getBarringInfoResponse() 2715 mRil.processResponseDone(rr, responseInfo, bi); in getBarringInfoResponse()
|
/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/base/core/res/geoid_map_assets/ |
D | expiration-distance-disk-tile-9.textpb | 2 …\251\334\342S\002\3258\216\027E\311\002\325\312A\351xR\vU3\"\300\rD\004\226bi\246\346E\216f\"\n\b\…
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 4655 for (size_t bi = 0; bi < bagCount; bi++) { in modifyForCompat() local 4656 const uint32_t attrId = getResId(bag.keyAt(bi), &attr16); in modifyForCompat() 4659 AaptUtil::appendValue(attributesToRemove, sdkLevel, bag.keyAt(bi)); in modifyForCompat()
|
/frameworks/base/services/tests/mockingservicestests/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…
|
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/ |
D | index17 | 214 phG���P{D�S��],�!頃<��>gc�=T�s爵��3 �l�Q��C�Dj�&`�bi��C�rE�F�=��"w�ҥ�����P���W�]�fŠs… 267 …9?P�=����dq�������'m��Vx(3�~�wb����C�9�V�x���y��3F[��0��c�1�����bi����&BC�C@C�VDꗀ��t…
|
D | index9 | 214 phG���P{D�S��],�!頃<��>gc�=T�s爵��3 �l�Q��C�Dj�&`�bi��C�rE�F�=��"w�ҥ�����P���W�]�fŠs… 267 …9?P�=����dq�������'m��Vx(3�~�wb����C�9�V�x���y��3F[��0��c�1�����bi����&BC�C@C�VDꗀ��t… 1778 �EB,kpf���M��\����J�=Æ.�bi��(������K�3��l���&��,y��G�m�阴`��#�T��PG7��5���d��ު�����u���H…
|
D | index13 | 213 phG���P{D�S��],�!頃<��>gc�=T�s爵��3 �l�Q��C�Dj�&`�bi��C�rE�F�=��"w�ҥ�����P���W�]�fŠs… 266 …9?P�=����dq�������'m��Vx(3�~�wb����C�9�V�x���y��3F[��0��c�1�����bi����&BC�C@C�VDꗀ��t… 1777 �EB,kpf���M��\����J�=Æ.�bi��(������K�3��l���&��,y��G�m�阴`��#�T��PG7��5���d��ު�����u���H…
|
D | index15 | 226 phG���P{D�S��],�!頃<��>gc�=T�s爵��3 �l�Q��C�Dj�&`�bi��C�rE�F�=��"w�ҥ�����P���W�]�fŠs… 279 …9?P�=����dq�������'m��Vx(3�~�wb����C�9�V�x���y��3F[��0��c�1�����bi����&BC�C@C�VDꗀ��t… 1790 �EB,kpf���M��\����J�=Æ.�bi��(������K�3��l���&��,y��G�m�阴`��#�T��PG7��5���d��ު�����u���H…
|
D | index11 | 214 phG���P{D�S��],�!頃<��>gc�=T�s爵��3 �l�Q��C�Dj�&`�bi��C�rE�F�=��"w�ҥ�����P���W�]�fŠs… 267 …9?P�=����dq�������'m��Vx(3�~�wb����C�9�V�x���y��3F[��0��c�1�����bi����&BC�C@C�VDꗀ��t… 1778 �EB,kpf���M��\����J�=Æ.�bi��(������K�3��l���&��,y��G�m�阴`��#�T��PG7��5���d��ު�����u���H…
|
D | index10 | 218 phG���P{D�S��],�!頃<��>gc�=T�s爵��3 �l�Q��C�Dj�&`�bi��C�rE�F�=��"w�ҥ�����P���W�]�fŠs… 271 …9?P�=����dq�������'m��Vx(3�~�wb����C�9�V�x���y��3F[��0��c�1�����bi����&BC�C@C�VDꗀ��t… 1782 �EB,kpf���M��\����J�=Æ.�bi��(������K�3��l���&��,y��G�m�阴`��#�T��PG7��5���d��ު�����u���H…
|
D | index18 | 212 phG���P{D�S��],�!頃<��>gc�=T�s爵��3 �l�Q��C�Dj�&`�bi��C�rE�F�=��"w�ҥ�����P���W�]�fŠs… 265 …9?P�=����dq�������'m��Vx(3�~�wb����C�9�V�x���y��3F[��0��c�1�����bi����&BC�C@C�VDꗀ��t… 1776 �EB,kpf���M��\����J�=Æ.�bi��(������K�3��l���&��,y��G�m�阴`��#�T��PG7��5���d��ު�����u���H…
|