/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ByteArrayRingBufferTest.java | 37 final ByteArrayRingBuffer rb = new ByteArrayRingBuffer(MAX_BYTES); in ctorCreatesEmptyRingBuffer() local 38 assertEquals(0, rb.getNumBuffers()); in ctorCreatesEmptyRingBuffer() 43 final ByteArrayRingBuffer rb = new ByteArrayRingBuffer(MAX_BYTES); in canAddAndRetrieveSingleElement() local 45 assertTrue(rb.appendBuffer(data)); in canAddAndRetrieveSingleElement() 46 assertEquals(1, rb.getNumBuffers()); in canAddAndRetrieveSingleElement() 47 assertSame(data, rb.getBuffer(0)); in canAddAndRetrieveSingleElement() 52 final ByteArrayRingBuffer rb = new ByteArrayRingBuffer(MAX_BYTES); in canAddAndRetrieveMultipleElements() local 55 assertTrue(rb.appendBuffer(data1)); in canAddAndRetrieveMultipleElements() 56 assertTrue(rb.appendBuffer(data2)); in canAddAndRetrieveMultipleElements() 57 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_add.h | 128 register Word32 rb = L_var2; 135 : "r"(ra), "r"(rb)
|
D | l_sub.h | 129 register Word32 rb = L_var2; 136 : "r"(ra), "r"(rb)
|
D | l_mult.h | 130 register Word32 rb = var2; 138 : "r"(ra), "r"(rb)
|
D | mult.h | 131 register Word32 rb = var2; 139 : "r"(ra), "r"(rb)
|
D | l_msu.h | 130 register Word32 rb = var1; 139 : "r"(rb), "r"(rc)
|
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 | 214 vec2 rb( bounds.right, bounds.bottom ); in transform() local 219 rb = transform(rb); in transform() 222 r.left = static_cast<int32_t>(floorf(std::min({lt[0], rt[0], lb[0], rb[0]}))); in transform() 223 r.top = static_cast<int32_t>(floorf(std::min({lt[1], rt[1], lb[1], rb[1]}))); in transform() 224 r.right = static_cast<int32_t>(ceilf(std::max({lt[0], rt[0], lb[0], rb[0]}))); in transform() 225 r.bottom = static_cast<int32_t>(ceilf(std::max({lt[1], rt[1], lb[1], rb[1]}))); in transform() 227 r.left = static_cast<int32_t>(floorf(std::min({lt[0], rt[0], lb[0], rb[0]}) + 0.5f)); in transform() 228 r.top = static_cast<int32_t>(floorf(std::min({lt[1], rt[1], lb[1], rb[1]}) + 0.5f)); in transform() 229 r.right = static_cast<int32_t>(floorf(std::max({lt[0], rt[0], lb[0], rb[0]}) + 0.5f)); in transform() 230 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/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/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/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/native/libs/ui/include/ui/ |
D | Rect.h | 66 inline Rect(const Point& lt, const Point& rb) { in Rect() argument 69 right = rb.x; in Rect() 70 bottom = rb.y; in Rect() 129 void setRightBottom(const Point& rb) { in setRightBottom() argument 130 right = rb.x; in setRightBottom() 131 bottom = rb.y; in setRightBottom()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Rect.h | 66 inline Rect(const Point& lt, const Point& rb) { in Rect() argument 69 right = rb.x; in Rect() 70 bottom = rb.y; in Rect() 129 void setRightBottom(const Point& rb) { in setRightBottom() argument 130 right = rb.x; in setRightBottom() 131 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 | 173 getConditionTagAt(checkedIndex).rb.setChecked(true); in setupRadioButtons() 181 if (tag.rb == null) { in bindTag() 182 tag.rb = (RadioButton) mZenRadioGroup.getChildAt(rowIndex); in bindTag() 192 tag.rb.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { in bindTag() 196 tag.rb.setChecked(true); in bindTag() 225 tag.rb.setChecked(true); in setupUi() 319 tag.rb.setChecked(true); in onClickTimeButton() 325 public RadioButton rb; field in ZenDurationDialog.ConditionTag
|
D | EnableZenModeDialog.java | 193 final boolean first = tag.rb == null; in bind() 194 if (tag.rb == null) { in bind() 195 tag.rb = (RadioButton) mZenRadioGroup.getChildAt(rowId); in bind() 201 tag.rb.setEnabled(enabled); in bind() 202 tag.rb.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { in bind() 206 tag.rb.setChecked(true); in bind() 233 getConditionTagAt(FOREVER_CONDITION_INDEX).rb.setChecked(true); in bindConditions() 240 getConditionTagAt(COUNTDOWN_ALARM_CONDITION_INDEX).rb.setChecked(true); in bindConditions() 245 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true); in bindConditions() 357 tag.rb.setChecked(true); in updateUi() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | ZenModePanel.java | 367 final View rb = mInflater.inflate(mZenModeButtonLayoutId, mEdit, false); in addZenConditions() local 368 rb.setId(i); in addZenConditions() 369 mZenRadioGroup.addView(rb); in addZenConditions() 528 getConditionTagAt(FOREVER_CONDITION_INDEX).rb.setChecked(true); 535 getConditionTagAt(COUNTDOWN_ALARM_CONDITION_INDEX).rb.setChecked(true); 540 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true); 649 final boolean first = tag.rb == null; in bind() 650 if (tag.rb == null) { in bind() 651 tag.rb = (RadioButton) mZenRadioGroup.getChildAt(rowId); in bind() 657 tag.rb.setEnabled(enabled); in bind() [all …]
|