Home
last modified time | relevance | path

Searched refs:rb (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DByteArrayRingBufferTest.java39 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/
Dpvamrwbdecoder_basic_op_gcc_armv5.h64 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/
Dbasic_op_arm_gcc_v5.h124 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 …]
Dmpy_32.h151 register Word32 rb = L_var1_lo;
188 : "r"(rb), "r"(rc)
192 : "=r"(rb)
198 : "r"(L_product), "r"(rb)
Dl_sub.h129 register Word32 rb = L_var2;
136 : "r"(ra), "r"(rb)
Dl_add.h128 register Word32 rb = L_var2;
135 : "r"(ra), "r"(rb)
Dl_mult.h130 register Word32 rb = var2;
138 : "r"(ra), "r"(rb)
Dl_msu.h130 register Word32 rb = var1;
139 : "r"(rb), "r"(rc)
Dmult.h131 register Word32 rb = var2;
139 : "r"(ra), "r"(rb)
Dl_mac.h125 register Word32 rb = var1;
133 : "r"(rb), "r"(rc)
Dmpy_32_16.h122 register Word32 rb = L_var1_lo;
143 : "r"(rb), "r"(rc)
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpv_mp3dec_fxd_op_arm_gcc.h63 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/
DEnableZenModeDialogTest.java113 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 …]
DZenDurationDialogTest.java66 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/
DTransform.cpp223 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/
Dshadows.rscript109 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/
Dshadows_f.rscript109 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/
Dshadows.rscript109 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/
Dshadows.rscript109 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/
DRect.h68 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/
DRect.h68 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/
DRect.h68 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/
Ddvr_buffer_queue-test.cpp155 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/
DZenDurationDialog.java174 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
DEnableZenModeDialog.java194 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 …]

12