/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ByteArrayRingBufferTest.java | 39 final ByteArrayRingBuffer rb = new ByteArrayRingBuffer(MAX_BYTES); in ctorCreatesEmptyRingBuffer() local 40 assertEquals(0, rb.getNumBuffers()); in ctorCreatesEmptyRingBuffer() 45 final ByteArrayRingBuffer rb = new ByteArrayRingBuffer(MAX_BYTES); in canAddAndRetrieveSingleElement() local 47 assertTrue(rb.appendBuffer(data)); in canAddAndRetrieveSingleElement() 48 assertEquals(1, rb.getNumBuffers()); in canAddAndRetrieveSingleElement() 49 assertSame(data, rb.getBuffer(0)); in canAddAndRetrieveSingleElement() 54 final ByteArrayRingBuffer rb = new ByteArrayRingBuffer(MAX_BYTES); in canAddAndRetrieveMultipleElements() local 57 assertTrue(rb.appendBuffer(data1)); in canAddAndRetrieveMultipleElements() 58 assertTrue(rb.appendBuffer(data2)); in canAddAndRetrieveMultipleElements() 59 assertEquals(2, rb.getNumBuffers()); in canAddAndRetrieveMultipleElements() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | pvamrwbdecoder_basic_op_gcc_armv5.h | 64 register int32 rb = (int32)var2; in sub_int16() local 74 "r"(rb)); in sub_int16() 85 register int32 rb = (int32)var2; in add_int16() local 95 "r"(rb)); in add_int16() 106 register int32 rb = (int32)lo; in mul_32by16() local 118 "r"(rb), in mul_32by16() 129 register int32 rb = L_var2; in sub_int32() local 135 "r"(rb)); in sub_int32() 144 register int32 rb = L_var2; in add_int32() local 150 "r"(rb)); in add_int32() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
D | basic_op_arm_gcc_v5.h | 124 register Word32 rb = L_var2; in L_add() local 131 : "r"(ra), "r"(rb) in L_add() 161 register Word32 rb = L_var2; in L_sub() local 168 : "r"(ra), "r"(rb) in L_sub() 200 register Word32 rb = var1; in L_mac() local 208 : "r"(rb), "r"(rc) in L_mac() 244 register Word32 rb = var2; in L_mult() local 252 : "r"(ra), "r"(rb) in L_mult() 289 register Word32 rb = var1; in L_msu() local 298 : "r"(rb), "r"(rc) in L_msu() [all …]
|
D | mpy_32.h | 151 register Word32 rb = L_var1_lo; 188 : "r"(rb), "r"(rc) 192 : "=r"(rb) 198 : "r"(L_product), "r"(rb)
|
D | l_sub.h | 129 register Word32 rb = L_var2; 136 : "r"(ra), "r"(rb)
|
D | l_add.h | 128 register Word32 rb = L_var2; 135 : "r"(ra), "r"(rb)
|
D | l_mult.h | 130 register Word32 rb = var2; 138 : "r"(ra), "r"(rb)
|
D | l_msu.h | 130 register Word32 rb = var1; 139 : "r"(rb), "r"(rc)
|
D | mult.h | 131 register Word32 rb = var2; 139 : "r"(ra), "r"(rb)
|
D | l_mac.h | 125 register Word32 rb = var1; 133 : "r"(rb), "r"(rc)
|
D | mpy_32_16.h | 122 register Word32 rb = L_var1_lo; 143 : "r"(rb), "r"(rc)
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pv_mp3dec_fxd_op_arm_gcc.h | 63 register int32 rb = (int32)b; in fxp_mul32_Q30() local 70 "r"(rb)); in fxp_mul32_Q30() 80 register int32 rb = (int32)b; in fxp_mac32_Q30() local 89 "r"(rb), in fxp_mac32_Q30() 102 register int32 rb = (int32)b; in fxp_mul32_Q32() local 108 "r"(rb)); in fxp_mul32_Q32() 119 register int32 rb = (int32)b; in fxp_mul32_Q29() local 126 "r"(rb)); in fxp_mul32_Q29() 137 register int32 rb = (int32)b; in fxp_mul32_Q28() local 144 "r"(rb)); in fxp_mul32_Q28() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/ |
D | EnableZenModeDialogTest.java | 113 assertTrue(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testForeverChecked() 115 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testForeverChecked() 118 EnableZenModeDialog.COUNTDOWN_ALARM_CONDITION_INDEX).rb.isChecked()); in testForeverChecked() 124 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testNoneChecked() 126 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testNoneChecked() 129 EnableZenModeDialog.COUNTDOWN_ALARM_CONDITION_INDEX).rb.isChecked()); in testNoneChecked() 138 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testAlarmChecked() 140 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlarmChecked() 143 EnableZenModeDialog.COUNTDOWN_ALARM_CONDITION_INDEX).rb.isChecked()); in testAlarmChecked() 152 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testCountdownChecked() [all …]
|
D | ZenDurationDialogTest.java | 66 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testAlwaysPrompt() 68 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlwaysPrompt() 71 ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.isChecked()); in testAlwaysPrompt() 80 assertTrue(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testForever() 82 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testForever() 85 ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.isChecked()); in testForever() 93 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testSpecificDuration() 95 assertTrue(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testSpecificDuration() 98 ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.isChecked()); in testSpecificDuration() 107 mController.getConditionTagAt(ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.setChecked( in testChooseAlwaysPromptSetting() [all …]
|
/frameworks/native/libs/ui/ |
D | Transform.cpp | 223 vec2 rb( bounds.right, bounds.bottom ); in transform() local 228 rb = transform(rb); in transform() 231 r.left = static_cast<int32_t>(floorf(std::min({lt[0], rt[0], lb[0], rb[0]}))); in transform() 232 r.top = static_cast<int32_t>(floorf(std::min({lt[1], rt[1], lb[1], rb[1]}))); in transform() 233 r.right = static_cast<int32_t>(ceilf(std::max({lt[0], rt[0], lb[0], rb[0]}))); in transform() 234 r.bottom = static_cast<int32_t>(ceilf(std::max({lt[1], rt[1], lb[1], rb[1]}))); in transform() 236 r.left = static_cast<int32_t>(floorf(std::min({lt[0], rt[0], lb[0], rb[0]}) + 0.5f)); in transform() 237 r.top = static_cast<int32_t>(floorf(std::min({lt[1], rt[1], lb[1], rb[1]}) + 0.5f)); in transform() 238 r.right = static_cast<int32_t>(floorf(std::max({lt[0], rt[0], lb[0], rb[0]}) + 0.5f)); in transform() 239 r.bottom = static_cast<int32_t>(floorf(std::max({lt[1], rt[1], lb[1], rb[1]}) + 0.5f)); in transform() [all …]
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | shadows.rscript | 109 int rb=0; 121 rb = ( rg = ( rr =( cv >> ABITS) )); 140 rb = m; 145 rb = m; 150 rb = X; 155 rb = cv; 160 rb = cv; 165 rb = X; 174 rgb.b = rb;
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | shadows_f.rscript | 109 int rb=0; 121 rb = ( rg = ( rr =( cv >> ABITS) )); 140 rb = m; 145 rb = m; 150 rb = X; 155 rb = cv; 160 rb = cv; 165 rb = X; 174 rgb.b = rb;
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | shadows.rscript | 109 int rb=0; 121 rb = ( rg = ( rr =( cv >> ABITS) )); 140 rb = m; 145 rb = m; 150 rb = X; 155 rb = cv; 160 rb = cv; 165 rb = X; 174 rgb.b = rb;
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | shadows.rscript | 109 int rb=0; 121 rb = ( rg = ( rr =( cv >> ABITS) )); 140 rb = m; 145 rb = m; 150 rb = X; 155 rb = cv; 160 rb = cv; 165 rb = X; 174 rgb.b = rb;
|
/frameworks/native/libs/ui/include/ui/ |
D | Rect.h | 68 inline Rect(const Point& lt, const Point& rb) { in Rect() argument 71 right = rb.x; in Rect() 72 bottom = rb.y; in Rect() 131 void setRightBottom(const Point& rb) { in setRightBottom() argument 132 right = rb.x; in setRightBottom() 133 bottom = rb.y; in setRightBottom()
|
/frameworks/native/include/ui/ |
D | Rect.h | 68 inline Rect(const Point& lt, const Point& rb) { in Rect() argument 71 right = rb.x; in Rect() 72 bottom = rb.y; in Rect() 131 void setRightBottom(const Point& rb) { in setRightBottom() argument 132 right = rb.x; in setRightBottom() 133 bottom = rb.y; in setRightBottom()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Rect.h | 68 inline Rect(const Point& lt, const Point& rb) { in Rect() argument 71 right = rb.x; in Rect() 72 bottom = rb.y; in Rect() 131 void setRightBottom(const Point& rb) { in setRightBottom() argument 132 right = rb.x; in setRightBottom() 133 bottom = rb.y; in setRightBottom()
|
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_buffer_queue-test.cpp | 155 DvrReadBuffer* rb = nullptr; in TEST_F() local 187 ret = api_.ReadBufferQueueAcquireBuffer(read_queue, /*timeout=*/10, &rb, in TEST_F() 190 ASSERT_NE(rb, nullptr); in TEST_F() 194 ASSERT_TRUE(api_.ReadBufferIsValid(rb)); in TEST_F() 200 "TestDequeuePostDequeueRelease, acquire buffer %p, fence_fd=%d", rb, in TEST_F() 205 ret = api_.ReadBufferQueueReleaseBuffer(read_queue, rb, &meta2, in TEST_F() 208 ASSERT_FALSE(api_.ReadBufferIsValid(rb)); in TEST_F() 209 rb = nullptr; in TEST_F() 535 DvrReadBuffer* rb = nullptr; in TEST_F() local 559 ret = api_.ReadBufferQueueAcquireBuffer(read_queue, /*timeout=*/10, &rb, in TEST_F() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | ZenDurationDialog.java | 174 getConditionTagAt(checkedIndex).rb.setChecked(true); in setupRadioButtons() 182 if (tag.rb == null) { in bindTag() 183 tag.rb = (RadioButton) mZenRadioGroup.getChildAt(rowIndex); in bindTag() 193 tag.rb.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { in bindTag() 197 tag.rb.setChecked(true); in bindTag() 226 tag.rb.setChecked(true); in setupUi() 323 tag.rb.setChecked(true); in onClickTimeButton() 329 public RadioButton rb; field in ZenDurationDialog.ConditionTag
|
D | EnableZenModeDialog.java | 194 final boolean first = tag.rb == null; in bind() 195 if (tag.rb == null) { in bind() 196 tag.rb = (RadioButton) mZenRadioGroup.getChildAt(rowId); in bind() 202 tag.rb.setEnabled(enabled); in bind() 203 tag.rb.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { in bind() 207 tag.rb.setChecked(true); in bind() 234 getConditionTagAt(FOREVER_CONDITION_INDEX).rb.setChecked(true); in bindConditions() 241 getConditionTagAt(COUNTDOWN_ALARM_CONDITION_INDEX).rb.setChecked(true); in bindConditions() 246 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true); in bindConditions() 357 tag.rb.setChecked(true); in updateUi() [all …]
|