/frameworks/base/cmds/servicemanager/ |
D | bctest.c | 10 void *svcmgr_lookup(struct binder_state *bs, void *target, const char *name) in svcmgr_lookup() argument 21 if (binder_call(bs, &msg, &reply, target, SVC_MGR_CHECK_SERVICE)) in svcmgr_lookup() 27 binder_acquire(bs, ptr); in svcmgr_lookup() 29 binder_done(bs, &msg, &reply); in svcmgr_lookup() 34 int svcmgr_publish(struct binder_state *bs, void *target, const char *name, void *ptr) in svcmgr_publish() argument 46 if (binder_call(bs, &msg, &reply, target, SVC_MGR_ADD_SERVICE)) in svcmgr_publish() 51 binder_done(bs, &msg, &reply); in svcmgr_publish() 61 struct binder_state *bs; in main() local 64 bs = binder_open(128*1024); in main() 70 void *ptr = svcmgr_lookup(bs, svcmgr, "alt_svc_mgr"); in main() [all …]
|
D | binder.c | 96 struct binder_state *bs; in binder_open() local 98 bs = malloc(sizeof(*bs)); in binder_open() 99 if (!bs) { in binder_open() 104 bs->fd = open("/dev/binder", O_RDWR); in binder_open() 105 if (bs->fd < 0) { in binder_open() 111 bs->mapsize = mapsize; in binder_open() 112 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0); in binder_open() 113 if (bs->mapped == MAP_FAILED) { in binder_open() 121 return bs; in binder_open() 124 close(bs->fd); in binder_open() [all …]
|
D | binder.h | 50 void (*func)(struct binder_state *bs, void *ptr); 66 typedef int (*binder_handler)(struct binder_state *bs, 72 void binder_close(struct binder_state *bs); 77 int binder_call(struct binder_state *bs, 86 void binder_done(struct binder_state *bs, 90 void binder_acquire(struct binder_state *bs, void *ptr); 91 void binder_release(struct binder_state *bs, void *ptr); 93 void binder_link_to_death(struct binder_state *bs, void *ptr, struct binder_death *death); 95 void binder_loop(struct binder_state *bs, binder_handler func); 97 int binder_become_context_manager(struct binder_state *bs);
|
D | service_manager.c | 115 void svcinfo_death(struct binder_state *bs, void *ptr) in svcinfo_death() argument 120 binder_release(bs, si->ptr); in svcinfo_death() 131 void *do_find_service(struct binder_state *bs, uint16_t *s, unsigned len) in do_find_service() argument 144 int do_add_service(struct binder_state *bs, in do_add_service() argument 165 svcinfo_death(bs, si); in do_add_service() 185 binder_acquire(bs, ptr); in do_add_service() 186 binder_link_to_death(bs, ptr, &si->death); in do_add_service() 190 int svcmgr_handler(struct binder_state *bs, in svcmgr_handler() argument 223 ptr = do_find_service(bs, s, len); in svcmgr_handler() 232 if (do_add_service(bs, s, len, ptr, txn->sender_euid)) in svcmgr_handler() [all …]
|
/frameworks/base/opengl/libagl/ |
D | mipmap.cpp | 53 int bs = base->stride; in buildAPyramid() local 62 size_t offset = (y*2) * bs; in buildAPyramid() 66 uint32_t p01 = src[offset+bs]; in buildAPyramid() 67 uint32_t p11 = src[offset+bs+1]; in buildAPyramid() 84 size_t offset = (y*2) * bs; in buildAPyramid() 88 uint32_t p01 = src[offset+bs]; in buildAPyramid() 89 uint32_t p11 = src[offset+bs+1]; in buildAPyramid() 104 size_t offset = (y*2) * bs; in buildAPyramid() 108 uint32_t p01 = src[offset+bs]; in buildAPyramid() 109 uint32_t p11 = src[offset+bs+1]; in buildAPyramid() [all …]
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | vop.cpp | 511 BitstreamEncVideo *bs, tmp; in EncodeVideoPacketHeader() local 519 bs = &tmp; in EncodeVideoPacketHeader() 522 bs = video->bitstream1; in EncodeVideoPacketHeader() 526 BitstreamPutGT16Bits(bs, 17, 1); /* resync_marker I_VOP */ in EncodeVideoPacketHeader() 530 BitstreamPutGT16Bits(bs, 16 + fcode, 1); /* resync_marker P_VOP */ in EncodeVideoPacketHeader() 538 BitstreamPutGT16Bits(bs, 16 + fcode, 1); /* resync_marker B_VOP */ in EncodeVideoPacketHeader() 541 BitstreamPutBits(bs, currVol->nBitsForMBID, MB_number); /* resync_marker */ in EncodeVideoPacketHeader() 542 BitstreamPutBits(bs, 5, quant_scale); /* quant_scale */ in EncodeVideoPacketHeader() 543 BitstreamPut1Bits(bs, 0); /* header_extension_code = 0 */ in EncodeVideoPacketHeader() 549 BitstreamPut1Bits(bs, 1); in EncodeVideoPacketHeader() [all …]
|
D | vlc_encode.cpp | 172 Void WriteMVcomponent(Int f_code, Int dmv, BitstreamEncVideo *bs); 1432 Void BlockCodeCoeff_RVLC(RunLevelBlock *RLB, BitstreamEncVideo *bs, Int j_start, Int j_stop, UChar … in BlockCodeCoeff_RVLC() argument 1451 length = PutCoeff_Intra_RVLC(run, level, bs); in BlockCodeCoeff_RVLC() 1453 length = PutCoeff_Inter_RVLC(run, level, bs); in BlockCodeCoeff_RVLC() 1460 BitstreamPutBits(bs, 5 + 1, 2); /* ESCAPE + Not Last Coefficient */ in BlockCodeCoeff_RVLC() 1462 BitstreamPutBits(bs, 6 + 1, (run << 1) | 1); /* RUN + MARKER BIT*/ in BlockCodeCoeff_RVLC() 1464 BitstreamPutGT8Bits(bs, 11, level); /* LEVEL */ in BlockCodeCoeff_RVLC() 1465 BitstreamPutBits(bs, 1 + 4, 16); /* MARKER BIT */ in BlockCodeCoeff_RVLC() 1468 BitstreamPutBits(bs, 1, RLB->s[i]); /* SIGN BIT */ in BlockCodeCoeff_RVLC() 1478 length = PutCoeff_Intra_RVLC_Last(run, level, bs); in BlockCodeCoeff_RVLC() [all …]
|
D | vlc_encode.h | 40 Void MB_CodeCoeff(VideoEncData *video, BitstreamEncVideo *bs); 41 Void BlockCodeCoeff(RunLevelBlock *RLB, BitstreamEncVideo *bs, Int j_start, UChar Mode, Int rvlc, I…
|
D | mp4enc_lib.h | 198 …void BlockCodeCoeff_ShortHeader(RunLevelBlock *RLB, BitstreamEncVideo *bs, Int j_start, Int j_stop… 199 …void BlockCodeCoeff_RVLC(RunLevelBlock *RLB, BitstreamEncVideo *bs, Int j_start, Int j_stop, UChar… 200 …void BlockCodeCoeff_Normal(RunLevelBlock *RLB, BitstreamEncVideo *bs, Int j_start, Int j_stop, UCh…
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_deblocking.c | 171 static u32 GetBoundaryStrengths(mbStorage_t *mb, bS_t *bs, u32 flags); 206 static u32 GetBoundaryStrengths(mbStorage_t *mb, u8 (*bs)[16], u32 flags); 213 u8 (*bs)[16], 221 u8 (*bs)[16], 2179 u8 (*bs)[16], in GetLumaEdgeThresholds() 2192 ASSERT(bs); in GetLumaEdgeThresholds() 2217 t1 = bs[i][0]; in GetLumaEdgeThresholds() 2218 t2 = bs[i][1]; in GetLumaEdgeThresholds() 2220 t1 = bs[i][2]; in GetLumaEdgeThresholds() 2222 t2 = bs[i][3]; in GetLumaEdgeThresholds() [all …]
|
/frameworks/base/libs/utils/ |
D | BufferedTextOutput.cpp | 267 BufferState* bs = ts->states[mIndex].get(); in getBuffer() local 268 if (bs != NULL && bs->seq == mSeq) return bs; in getBuffer() 271 bs = ts->states[mIndex].get(); in getBuffer() 272 if (bs != NULL) return bs; in getBuffer()
|
/frameworks/base/services/java/com/android/server/ |
D | AlarmManagerService.java | 471 BroadcastStats bs = be.getValue(); in dump() local 473 pw.print(" "); pw.print(bs.aggregateTime); in dump() 474 pw.print("ms running, "); pw.print(bs.numWakeup); in dump() 477 : bs.filterStats.entrySet()) { in dump() 676 BroadcastStats bs = getStatsLocked(alarm.operation); in run() local 677 if (bs.nesting == 0) { in run() 678 bs.startTime = nowELAPSED; in run() 680 bs.nesting++; in run() 684 bs.numWakeup++; in run() 850 BroadcastStats bs = mBroadcastStats.get(pkg); in getStatsLocked() local [all …]
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | SimpleModelRS.java | 89 Sampler.Builder bs = new Sampler.Builder(mRS); in initPF() local 90 bs.setMinification(Sampler.Value.LINEAR); in initPF() 91 bs.setMagnification(Sampler.Value.LINEAR); in initPF() 92 bs.setWrapS(Sampler.Value.CLAMP); in initPF() 93 bs.setWrapT(Sampler.Value.CLAMP); in initPF() 94 mSampler = bs.create(); in initPF()
|
D | SceneGraphRS.java | 105 Sampler.Builder bs = new Sampler.Builder(mRS); in initPF() local 106 bs.setMinification(Sampler.Value.LINEAR); in initPF() 107 bs.setMagnification(Sampler.Value.LINEAR); in initPF() 108 bs.setWrapS(Sampler.Value.CLAMP); in initPF() 109 bs.setWrapT(Sampler.Value.CLAMP); in initPF() 110 mSampler = bs.create(); in initPF()
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
D | FBOTestRS.java | 90 Sampler.Builder bs = new Sampler.Builder(mRS); in initPF() local 91 bs.setMinification(Sampler.Value.LINEAR); in initPF() 92 bs.setMagnification(Sampler.Value.LINEAR); in initPF() 93 bs.setWrapS(Sampler.Value.CLAMP); in initPF() 94 bs.setWrapT(Sampler.Value.CLAMP); in initPF() 95 mSampler = bs.create(); in initPF()
|
D | FBOSyncRS.java | 91 Sampler.Builder bs = new Sampler.Builder(mRS); in initPF() local 92 bs.setMinification(Sampler.Value.LINEAR); in initPF() 93 bs.setMagnification(Sampler.Value.LINEAR); in initPF() 94 bs.setWrapS(Sampler.Value.CLAMP); in initPF() 95 bs.setWrapT(Sampler.Value.CLAMP); in initPF() 96 mSampler = bs.create(); in initPF()
|
/frameworks/base/media/libstagefright/rtsp/ |
D | AMPEG4AudioAssembler.cpp | 233 ABitReader bs(dataStart, (totalNumBits + 7) / 8); in parseAudioSpecificConfig() local 242 bs.skipBits(8 - (bitpos & 7)); in parseAudioSpecificConfig() 247 *dstPtr++ = bs.getBits(8); in parseAudioSpecificConfig()
|
/frameworks/base/tools/obbtool/ |
D | mkobb.sh | 221 ${DDBIN} if=/dev/zero of=${tempfile} bs=${BLOCK_SIZE} count=$((${block_count} + ${SLOP})) > /dev/nu…
|
/frameworks/base/core/java/android/app/ |
D | FragmentManager.java | 612 BackStackRecord bs = mBackStack.get(i); in dump() local 614 writer.print(": "); writer.println(bs.toString()); in dump() 615 bs.dump(innerPrefix, fd, writer, args); in dump() 626 BackStackRecord bs = mBackStackIndices.get(i); in dump() local 628 writer.print(": "); writer.println(bs); in dump()
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | FragmentManager.java | 613 BackStackRecord bs = mBackStack.get(i); in dump() local 615 writer.print(": "); writer.println(bs.toString()); in dump() 616 bs.dump(innerPrefix, fd, writer, args); in dump() 627 BackStackRecord bs = mBackStackIndices.get(i); in dump() local 629 writer.print(": "); writer.println(bs); in dump()
|
/frameworks/media/libvideoeditor/vss/mcs/src/ |
D | M4MCS_API.c | 739 ComBitStreamMCS_t *p_bs, bs; in H264MCS_ProcessEncodedNALU() local 761 p_bs = &bs; in H264MCS_ProcessEncodedNALU() 1290 ComBitStreamMCS_t *p_bs, bs; in H264MCS_ProcessSPS_PPS() local 1333 p_bs = &bs; in H264MCS_ProcessSPS_PPS() 1749 ComBitStreamMCS_t *p_bs, bs; in H264MCS_ProcessNALU() local 1771 p_bs = &bs; in H264MCS_ProcessNALU()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ActivityManagerService.java | 1863 BatteryStatsImpl bs = app.batteryStats.getBatteryStats(); in startProcessLocked() local 1864 synchronized (bs) { in startProcessLocked() 1865 if (bs.isOnBattery()) { in startProcessLocked() 11540 BatteryStatsImpl bs = mBatteryStatsService.getActiveStatistics(); in broadcastIntentLocked() local 11541 synchronized (bs) { in broadcastIntentLocked() 11542 bs.removeUidStatsLocked(uid); in broadcastIntentLocked()
|