Home
last modified time | relevance | path

Searched refs:br (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp33 unsigned parseUE(ABitReader *br) { in parseUE() argument
35 while (br->getBits(1) == 0) { in parseUE()
39 unsigned x = br->getBits(numZeroes); in parseUE()
44 unsigned parseUEWithFallback(ABitReader *br, unsigned fallback) { in parseUEWithFallback() argument
46 while (br->getBitsWithFallback(1, 1) == 0) { in parseUEWithFallback()
51 if (br->getBitsGraceful(numZeroes, &x)) { in parseUEWithFallback()
57 br->skipBits(numZeroes); in parseUEWithFallback()
62 signed parseSE(ABitReader *br) { in parseSE() argument
63 unsigned codeNum = parseUE(br); in parseSE()
68 signed parseSEWithFallback(ABitReader *br, signed fallback) { in parseSEWithFallback() argument
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp68 unsigned pid, ABitReader *br, status_t *err);
78 ABitReader *br, status_t *err, SyncEvent *event);
133 status_t parseProgramMap(ABitReader *br);
136 ABitReader *br, unsigned infoLength, CADescriptor *caDescriptor);
166 ABitReader *br,
234 uint32_t getPesScramblingControl(ABitReader *br, int32_t *pesOffset);
238 status_t parsePES(ABitReader *br, SyncEvent *event);
313 unsigned pid, ABitReader *br, status_t *err) { in parsePSISection() argument
320 *err = parseProgramMap(br); in parsePSISection()
330 ABitReader *br, status_t *err, SyncEvent *event) { in parsePID() argument
[all …]
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp287 ABitReader br(mBuffer->data(), n); in dequeuePES() local
289 unsigned packet_startcode_prefix = br.getBits(24); in dequeuePES()
305 unsigned stream_id = br.getBits(8); in dequeuePES()
308 /* unsigned PES_packet_length = */br.getBits(16); in dequeuePES()
319 /* unsigned current_next_indicator = */br.getBits(1); in dequeuePES()
320 /* unsigned reserved = */br.getBits(2); in dequeuePES()
321 /* unsigned program_stream_map_version = */br.getBits(5); in dequeuePES()
322 /* unsigned reserved = */br.getBits(7); in dequeuePES()
323 /* unsigned marker_bit = */br.getBits(1); in dequeuePES()
324 unsigned program_stream_info_length = br.getBits(16); in dequeuePES()
[all …]
/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp123 uint32_t br[32]; in binderTestReadEmpty() local
126 bwr.read_buffer = (uintptr_t)br; in binderTestReadEmpty()
127 bwr.read_size = sizeof(br); in binderTestReadEmpty()
132 EXPECT_EQ(BR_NOOP, br[i]); in binderTestReadEmpty()
260 } __attribute__((packed)) br; in TEST_F() local
265 bwr.read_buffer = (uintptr_t)&br; in TEST_F()
266 bwr.read_size = sizeof(br); in TEST_F()
273 if (bwr.read_consumed < offsetof(typeof(br), pad)) { in TEST_F()
278 EXPECT_EQ(offsetof(typeof(br), pad), bwr.read_consumed); in TEST_F()
279 if (bwr.read_consumed > offsetof(typeof(br), cmd0)) in TEST_F()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp255 NALBitReader br(data + 1, size - 1); in parseSEINalUnit() local
258 while (br.atLeastNumBitsLeft(16)) { // at least 16-bit for sei_message() in parseSEINalUnit()
264 last_byte = br.getBits(8); in parseSEINalUnit()
269 last_byte = br.getBits(8); in parseSEINalUnit()
274 || !br.atLeastNumBitsLeft(payload_size * 8)) { in parseSEINalUnit()
286 uint8_t itu_t_t35_country_code = br.getBits(8); in parseSEINalUnit()
287 uint16_t itu_t_t35_provider_code = br.getBits(16); in parseSEINalUnit()
288 uint32_t user_identifier = br.getBits(32); in parseSEINalUnit()
289 uint8_t user_data_type_code = br.getBits(8); in parseSEINalUnit()
300 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8); in parseSEINalUnit()
[all …]
/frameworks/rs/script_api/
Drs_value_types.spec46 For example, with <code>int4 myVar;</code> the following are equivalent:<code><br/>
47 myVar.x == myVar.r == myVar.s0 == myVar.S0<br/>
48 myVar.y == myVar.g == myVar.s1 == myVar.S1<br/>
49 myVar.z == myVar.b == myVar.s2 == myVar.S2<br/>
63 Here are examples of what can or can't be done:<code><br/>
64 float4 v4;<br/>
65 float3 v3;<br/>
66 float2 v2;<br/>
67 v2 = v4.xx; // Valid<br/>
68 v3 = v4.zxw; // Valid<br/>
[all …]
Drs_for_each.spec122 E.g.<code><br/>
123 float __attribute__((kernel)) square(float a) {<br/>
124 &nbsp;&nbsp;return a * a;<br/>
125 }<br/>
126 <br/>
127 void compute(rs_allocation ain, rs_allocation aout) {<br/>
128 &nbsp;&nbsp;rsForEach(square, ain, aout);<br/>
129 }<br/>
130 <br/></code>
206 E.g.,<code><br/>
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
Davc_utils.h52 unsigned parseUE(ABitReader *br);
56 signed parseSE(ABitReader *br);
61 unsigned parseUEWithFallback(ABitReader *br, unsigned fallback);
66 signed parseSEWithFallback(ABitReader *br, signed fallback);
69 inline void skipUE(ABitReader *br) { in skipUE() argument
70 (void)parseUEWithFallback(br, 0U); in skipUE()
74 inline void skipSE(ABitReader *br) { in skipSE() argument
75 (void)parseSEWithFallback(br, 0); in skipSE()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DBroadcastRecordTest.java155 final BroadcastRecord br = createBootCompletedBroadcastRecord(ACTION_TIME_CHANGED); in testNoDeferOtherBroadcast() local
156 final int origReceiversSize = br.receivers.size(); in testNoDeferOtherBroadcast()
158 SparseArray<BroadcastRecord> deferred = br.splitDeferredBootCompletedBroadcastLocked( in testNoDeferOtherBroadcast()
162 assertEquals(origReceiversSize, br.receivers.size()); in testNoDeferOtherBroadcast()
167 final BroadcastRecord br = createBroadcastRecord(receivers, UserHandle.USER_ALL, in createBootCompletedBroadcastRecord() local
169 assertEquals(PACKAGE_LIST.length * USER_LIST.length, br.receivers.size()); in createBootCompletedBroadcastRecord()
170 return br; in createBootCompletedBroadcastRecord()
175 final BroadcastRecord br = createBootCompletedBroadcastRecord(action); in testDeferBootCompletedBroadcast_defer_none() local
176 final int origReceiversSize = br.receivers.size(); in testDeferBootCompletedBroadcast_defer_none()
178 SparseArray<BroadcastRecord> deferred = br.splitDeferredBootCompletedBroadcastLocked( in testDeferBootCompletedBroadcast_defer_none()
[all …]
/frameworks/base/packages/SystemUI/docs/device-entry/
Dglossary.md8 | Lock screen<br><br>![ss_aod](imgs/lockscreen.png) | The first screen available w…
9 | Bouncer, [bouncer.md][2]<br><br>![ss_aod](imgs/bouncer_pin.png) | The component responsible fo…
10br><br>Split shade is automatically activated - using resources - for big screens in landscape, se…
11 | Ambient display (AOD), [doze.md][6]<br><br>![ss_aod](imgs/aod.png) | UI shown when the device is …
22br><br>For example, face authentication is triggered immediately when waking the device; however, …
24 | Bypass User Journey <br><br>![ss_bypass](imgs/bypass.png) | Once the user successfully authentica…
30 … screen and on AOD. Users cannot authenticate from the screen-off state.<br><br>Supported SystemUI…
/frameworks/av/media/libstagefright/mpeg2ts/include/mpeg2ts/
DATSParser.h222 void parseProgramAssociationTable(ABitReader *br);
223 void parseProgramMap(ABitReader *br);
227 void parsePES(ABitReader *br, SyncEvent *event);
235 ABitReader *br, unsigned PID,
243 ABitReader *br, unsigned PID, unsigned *random_access_indicator);
246 status_t parseTS(ABitReader *br, SyncEvent *event);
/frameworks/base/core/tests/coretests/BinderProxyCountingTestApp/src/com/android/frameworks/coretests/binderproxycountingtestapp/
DBpcTestAppCmdService.java59 BroadcastReceiver br = new BroadcastReceiver() {
67 mBrList.add(br);
69 registerReceiver(br, filt);
77 BroadcastReceiver br;
79 br = mBrList.remove(0);
81 unregisterReceiver(br);
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastDispatcher.java71 void add(BroadcastRecord br) { in add() argument
72 broadcasts.add(br); in add()
84 for (BroadcastRecord br : broadcasts) { in dumpDebug()
85 br.dumpDebug(proto, fieldId); in dumpDebug()
90 for (BroadcastRecord br : broadcasts) { in dumpLocked()
91 d.dump(br); in dumpLocked()
146 void dump(BroadcastRecord br) { in dump() argument
147 if (mDumpPackage == null || mDumpPackage.equals(br.callerPackage)) { in dump()
159 br.dump(mPw, " ", mSdf); in dump()
350 final BroadcastRecord br = uid2br.valueAt(i); in dequeueDeferredBootCompletedBroadcast() local
[all …]
DBroadcastQueue.java399 final BroadcastRecord br = mPendingBroadcast; in sendPendingBroadcastsLocked() local
400 if (br != null && br.curApp.getPid() > 0 && br.curApp.getPid() == app.getPid()) { in sendPendingBroadcastsLocked()
401 if (br.curApp != app) { in sendPendingBroadcastsLocked()
403 + app.processName + ", intended target is " + br.curApp.processName); in sendPendingBroadcastsLocked()
408 br.mIsReceiverAppRunning = false; in sendPendingBroadcastsLocked()
409 processCurBroadcastLocked(br, app); in sendPendingBroadcastsLocked()
413 + br.curComponent.flattenToShortString(), e); in sendPendingBroadcastsLocked()
414 logBroadcastReceiverDiscardLocked(br); in sendPendingBroadcastsLocked()
415 finishReceiverLocked(br, br.resultCode, br.resultData, in sendPendingBroadcastsLocked()
416 br.resultExtras, br.resultAbort, false); in sendPendingBroadcastsLocked()
[all …]
/frameworks/compile/libbcc/tests/libbcc/
Dtest_reduce_general_cleanup.ll98 br i1 %3, label %4, label %6
104 br label %6
110 br i1 %9, label %10, label %12
116 br label %12
160 br i1 %1, label %2, label %3
164 br label %3
174 br i1 %2, label %3, label %4
178 br label %4
193 br i1 %1, label %2, label %5
199 br label %5
[all …]
Dtest_reduce_general_metadata.ll103 br i1 %3, label %4, label %6
109 br label %6
115 br i1 %9, label %10, label %12
121 br label %12
165 br i1 %1, label %2, label %3
169 br label %3
179 br i1 %2, label %3, label %4
183 br label %4
205 br i1 %1, label %2, label %5
211 br label %5
[all …]
/frameworks/rs/toolkit/
DColorMatrix_advsimd.S90 br x5
107 br x5
125 br x6
142 br x6
160 br x7
177 br x7
195 br x8
212 br x8
226 br x5
240 br x5
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_advsimd_ColorMatrix.S90 br x5
107 br x5
125 br x6
142 br x6
160 br x7
177 br x7
195 br x8
212 br x8
226 br x5
240 br x5
[all …]
/frameworks/native/opengl/tools/glgen/src/
DGenerateEGL.java27 BufferedReader br = new BufferedReader(new FileReader(filename)); in copy() local
29 while ((s = br.readLine()) != null) { in copy()
58 BufferedReader br = in emit() local
61 while ((nfunc = br.readLine()) != null) { in emit()
DGenerateGLES.java27 BufferedReader br = new BufferedReader(new FileReader(filename)); in copy() local
29 while ((s = br.readLine()) != null) { in copy()
57 BufferedReader br = in emit() local
60 while ((nfunc = br.readLine()) != null) { in emit()
DGenerateGL.java27 BufferedReader br = new BufferedReader(new FileReader(filename)); in copy() local
29 while ((s = br.readLine()) != null) { in copy()
61 BufferedReader br = in emit() local
64 while ((nfunc = br.readLine()) != null) { in emit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt76 private lateinit var br: View in <lambda>() variable
94 get() = if (!this::tl.isInitialized) sequenceOf() else sequenceOf(tl, tr, br, bl) in <lambda>()
290 rot = activeRotationForCorner(br, rtl) in <lambda>()
292 br.setPadding(0, state.paddingTop, 0, 0) in <lambda>()
293 (br.layoutParams as FrameLayout.LayoutParams).apply { in <lambda>()
324 1 -> if (isRtl) tr else br in <lambda>()
325 2 -> if (isRtl) br else bl in <lambda>()
365 br -> BOTTOM_RIGHT in <lambda>()
385 br -> if (rtl) ROTATION_UPSIDE_DOWN else ROTATION_LANDSCAPE in <lambda>()
400 this::bl.isInitialized && this::br.isInitialized) { in <lambda>()
[all …]
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp3267 ABitReader br(chunk, dsiSize); in parseAC4SpecificBox() local
3268 AC4DSIParser parser(br); in parseAC4SpecificBox()
3394 ABitReader br(chunk, size); in parseEAC3SpecificBox() local
3398 if (br.numBitsLeft() < 16) { in parseEAC3SpecificBox()
3402 unsigned data_rate = br.getBits(13); in parseEAC3SpecificBox()
3405 unsigned num_ind_sub = br.getBits(3) + 1; in parseEAC3SpecificBox()
3407 if (br.numBitsLeft() < (num_ind_sub * 23)) { in parseEAC3SpecificBox()
3414 unsigned fscod = br.getBits(2); in parseEAC3SpecificBox()
3428 unsigned bsid = br.getBits(5); in parseEAC3SpecificBox()
3438 br.skipBits(2); in parseEAC3SpecificBox()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DSystemActionPerformerTest.java230 TestBroadcastReceiver br = new TestBroadcastReceiver(latch); in testPerformSystemActionNewAction() local
231 br.register(InstrumentationRegistry.getTargetContext()); in testPerformSystemActionNewAction()
238 br.unregister(InstrumentationRegistry.getTargetContext()); in testPerformSystemActionNewAction()
250 TestBroadcastReceiver br = new TestBroadcastReceiver(latch); in testPerformSystemActionOverrideLegacyActionUsingLegacyActionId() local
251 br.register(InstrumentationRegistry.getTargetContext()); in testPerformSystemActionOverrideLegacyActionUsingLegacyActionId()
258 br.unregister(InstrumentationRegistry.getTargetContext()); in testPerformSystemActionOverrideLegacyActionUsingLegacyActionId()
/frameworks/base/media/java/android/media/
DSRTRenderer.java114 BufferedReader br = new BufferedReader(r); in onData() local
117 while ((header = br.readLine()) != null) { in onData()
119 header = br.readLine(); in onData()
132 while (!((s = br.readLine()) == null || s.trim().equals(""))) { in onData()

123