/frameworks/base/cmds/servicemanager/ |
D | bctest.c | 10 void *svcmgr_lookup(struct binder_state *bs, void *target, const char *name) in svcmgr_lookup() argument 20 if (binder_call(bs, &msg, &reply, target, SVC_MGR_CHECK_SERVICE)) in svcmgr_lookup() 26 binder_acquire(bs, ptr); in svcmgr_lookup() 28 binder_done(bs, &msg, &reply); in svcmgr_lookup() 33 int svcmgr_publish(struct binder_state *bs, void *target, const char *name, void *ptr) in svcmgr_publish() argument 45 if (binder_call(bs, &msg, &reply, target, SVC_MGR_ADD_SERVICE)) in svcmgr_publish() 50 binder_done(bs, &msg, &reply); in svcmgr_publish() 60 struct binder_state *bs; in main() local 63 bs = binder_open(128*1024); in main() 69 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 | 109 void svcinfo_death(struct binder_state *bs, void *ptr) in svcinfo_death() argument 114 binder_release(bs, si->ptr); in svcinfo_death() 125 void *do_find_service(struct binder_state *bs, uint16_t *s, unsigned len) in do_find_service() argument 138 int do_add_service(struct binder_state *bs, in do_add_service() argument 179 binder_acquire(bs, ptr); in do_add_service() 180 binder_link_to_death(bs, ptr, &si->death); in do_add_service() 184 int svcmgr_handler(struct binder_state *bs, in svcmgr_handler() argument 212 ptr = do_find_service(bs, s, len); in svcmgr_handler() 221 if (do_add_service(bs, s, len, ptr, txn->sender_euid)) in svcmgr_handler() 248 struct binder_state *bs; in main() local [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/services/java/com/android/server/ |
D | AlarmManagerService.java | 445 BroadcastStats bs = be.getValue(); in dump() local 447 pw.print(" "); pw.print(bs.aggregateTime); in dump() 448 pw.print("ms running, "); pw.print(bs.numWakeup); in dump() 451 : bs.filterStats.entrySet()) { in dump() 647 BroadcastStats bs = getStatsLocked(alarm.operation); in run() local 648 if (bs.nesting == 0) { in run() 649 bs.startTime = nowELAPSED; in run() 651 bs.nesting++; in run() 655 bs.numWakeup++; in run() 784 BroadcastStats bs = mBroadcastStats.get(pkg); in getStatsLocked() local [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/libs/rs/java/Rollo/src/com/android/rollo/ |
D | RolloRS.java | 149 ProgramStore.Builder bs = new ProgramStore.Builder(mRS, null, null); in initNamed() local 150 bs.setDepthFunc(ProgramStore.DepthFunc.LESS); in initNamed() 151 bs.setDitherEnable(false); in initNamed() 152 bs.setDepthMask(true); in initNamed() 153 bs.setBlendFunc(ProgramStore.BlendSrcFunc.SRC_ALPHA, in initNamed() 155 mPSBackground = bs.create(); in initNamed() 158 bs.setDepthFunc(ProgramStore.DepthFunc.ALWAYS); in initNamed() 159 bs.setDepthMask(false); in initNamed() 160 bs.setBlendFunc(ProgramStore.BlendSrcFunc.SRC_ALPHA, in initNamed() 162 mPSText = bs.create(); in initNamed()
|
/frameworks/base/libs/rs/java/Film/src/com/android/film/ |
D | FilmRS.java | 117 Sampler.Builder bs = new Sampler.Builder(mRS); in initPF() local 118 bs.setMin(Sampler.Value.LINEAR);//_MIP_LINEAR); in initPF() 119 bs.setMag(Sampler.Value.LINEAR); in initPF() 120 bs.setWrapS(Sampler.Value.CLAMP); in initPF() 121 bs.setWrapT(Sampler.Value.WRAP); in initPF() 122 mSampler = bs.create(); in initPF()
|
/frameworks/base/awt/java/awt/ |
D | BasicStroke.java | 418 BasicStroke bs = (BasicStroke)obj; in equals() local 419 return bs.width == width && bs.cap == cap && bs.join == join in equals() 420 && bs.miterLimit == miterLimit && bs.dashPhase == dashPhase in equals() 421 && java.util.Arrays.equals(bs.dash, dash); in equals()
|
/frameworks/base/awt/com/android/internal/awt/ |
D | AndroidGraphics2D.java | 626 BasicStroke bs = (BasicStroke) s; in setStroke() local 628 mP.setStrokeWidth(bs.getLineWidth()); in setStroke() 630 int cap = bs.getEndCap(); in setStroke() 639 int join = bs.getLineJoin(); in setStroke()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ActivityManagerService.java | 2015 BatteryStatsImpl bs = app.batteryStats.getBatteryStats(); in startProcessLocked() local 2016 synchronized (bs) { in startProcessLocked() 2017 if (bs.isOnBattery()) { in startProcessLocked() 11745 BatteryStatsImpl bs = mBatteryStatsService.getActiveStatistics(); in broadcastIntentLocked() local 11746 synchronized (bs) { in broadcastIntentLocked() 11747 bs.removeUidStatsLocked(uid); in broadcastIntentLocked()
|