Searched defs:bs (Results 1 - 15 of 15) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DPowerHAL.cpp38 sp<IBinder> bs = defaultServiceManager()->checkService(serviceName); local
39 if (bs == NULL) {
42 mPowerManager = interface_cast<IPowerManager>(bs);
/frameworks/native/cmds/servicemanager/
H A Dbctest.c11 uint32_t svcmgr_lookup(struct binder_state *bs, uint32_t target, const char *name) argument
22 if (binder_call(bs, &msg, &reply, target, SVC_MGR_CHECK_SERVICE))
28 binder_acquire(bs, handle);
30 binder_done(bs, &msg, &reply);
35 int svcmgr_publish(struct binder_state *bs, uint32_t target, const char *name, void *ptr) argument
47 if (binder_call(bs, &msg, &reply, target, SVC_MGR_ADD_SERVICE))
52 binder_done(bs, &msg, &reply);
61 struct binder_state *bs; local
65 bs = binder_open("/dev/binder", 128*1024);
66 if (!bs) {
[all...]
H A Dservice_manager.c161 void svcinfo_death(struct binder_state *bs, void *ptr) argument
167 binder_release(bs, si->handle);
202 int do_add_service(struct binder_state *bs, argument
226 svcinfo_death(bs, si);
247 binder_acquire(bs, handle);
248 binder_link_to_death(bs, handle, &si->death);
252 int svcmgr_handler(struct binder_state *bs, argument
317 if (do_add_service(bs, s, len, handle, txn->sender_euid,
364 struct binder_state *bs; local
374 bs
[all...]
H A Dbinder.c99 struct binder_state *bs; local
102 bs = malloc(sizeof(*bs));
103 if (!bs) {
108 bs->fd = open(driver, O_RDWR | O_CLOEXEC);
109 if (bs->fd < 0) {
115 if ((ioctl(bs->fd, BINDER_VERSION, &vers) == -1) ||
123 bs->mapsize = mapsize;
124 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs
140 binder_close(struct binder_state *bs) argument
147 binder_become_context_manager(struct binder_state *bs) argument
152 binder_write(struct binder_state *bs, void *data, size_t len) argument
171 binder_free_buffer(struct binder_state *bs, binder_uintptr_t buffer_to_free) argument
183 binder_send_reply(struct binder_state *bs, struct binder_io *reply, binder_uintptr_t buffer_to_free, int status) argument
217 binder_parse(struct binder_state *bs, struct binder_io *bio, uintptr_t ptr, size_t size, binder_handler func) argument
306 binder_acquire(struct binder_state *bs, uint32_t target) argument
314 binder_release(struct binder_state *bs, uint32_t target) argument
322 binder_link_to_death(struct binder_state *bs, uint32_t target, struct binder_death *death) argument
335 binder_call(struct binder_state *bs, struct binder_io *msg, struct binder_io *reply, uint32_t target, uint32_t code) argument
389 binder_loop(struct binder_state *bs, binder_handler func) argument
468 binder_done(struct binder_state *bs, __unused struct binder_io *msg, struct binder_io *reply) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvop.cpp511 BitstreamEncVideo *bs, tmp; local
519 bs = &tmp;
522 bs = video->bitstream1;
526 BitstreamPutGT16Bits(bs, 17, 1); /* resync_marker I_VOP */
530 BitstreamPutGT16Bits(bs, 16 + fcode, 1); /* resync_marker P_VOP */
538 BitstreamPutGT16Bits(bs, 16 + fcode, 1); /* resync_marker B_VOP */
541 BitstreamPutBits(bs, currVol->nBitsForMBID, MB_number); /* resync_marker */
542 BitstreamPutBits(bs, 5, quant_scale); /* quant_scale */
543 BitstreamPut1Bits(bs, 0); /* header_extension_code = 0 */
549 BitstreamPut1Bits(bs,
[all...]
H A Dvlc_encode.cpp172 Void WriteMVcomponent(Int f_code, Int dmv, BitstreamEncVideo *bs);
1432 Void BlockCodeCoeff_RVLC(RunLevelBlock *RLB, BitstreamEncVideo *bs, Int j_start, Int j_stop, UChar Mode) argument
1451 length = PutCoeff_Intra_RVLC(run, level, bs);
1453 length = PutCoeff_Inter_RVLC(run, level, bs);
1460 BitstreamPutBits(bs, 5 + 1, 2); /* ESCAPE + Not Last Coefficient */
1461 //BitstreamPutBits(bs,1,0); /* Not Last Coefficient */
1462 BitstreamPutBits(bs, 6 + 1, (run << 1) | 1); /* RUN + MARKER BIT*/
1463 //BitstreamPutBits(bs,1,1); /* MARKER BIT */
1464 BitstreamPutGT8Bits(bs, 11, level); /* LEVEL */
1465 BitstreamPutBits(bs,
1504 BlockCodeCoeff_ShortHeader(RunLevelBlock *RLB, BitstreamEncVideo *bs, Int j_start, Int j_stop, UChar Mode) argument
1573 BlockCodeCoeff_Normal(RunLevelBlock *RLB, BitstreamEncVideo *bs, Int j_start, Int j_stop, UChar Mode) argument
2732 WriteMVcomponent(Int f_code, Int dmv, BitstreamEncVideo *bs) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DHealthStatsBatteryStatsWriter.java50 public void writeUid(HealthStatsWriter uidWriter, BatteryStats bs, BatteryStats.Uid uid) { argument
66 bs.computeBatteryRealtime(mNowRealtimeMs*1000, STATS_SINCE_UNPLUGGED)/1000);
70 bs.computeBatteryUptime(mNowUptimeMs*1000, STATS_SINCE_UNPLUGGED)/1000);
74 bs.computeBatteryScreenOffRealtime(
79 bs.computeBatteryScreenOffUptime(mNowUptimeMs*1000, STATS_SINCE_UNPLUGGED)/1000);
/frameworks/native/opengl/libagl/
H A Dmipmap.cpp53 int bs = base->stride; local
62 size_t offset = (y*2) * bs;
66 uint32_t p01 = src[offset+bs];
67 uint32_t p11 = src[offset+bs+1];
84 size_t offset = (y*2) * bs;
88 uint32_t p01 = src[offset+bs];
89 uint32_t p11 = src[offset+bs+1];
104 size_t offset = (y*2) * bs;
108 uint32_t p01 = src[offset+bs];
109 uint32_t p11 = src[offset+bs
[all...]
/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp270 BufferState* bs = ts->states[mIndex].get(); local
271 if (bs != NULL && bs->seq == mSeq) return bs;
274 bs = ts->states[mIndex].get();
275 if (bs != NULL) return bs;
/frameworks/base/core/java/android/nfc/
H A DNdefRecord.java1052 private static StringBuilder bytesToString(byte[] bs) { argument
1054 for (byte b : bs) {
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c171 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],
326 Function to calculate boundary strength value bs for an inner
361 Function to calculate boundary strength value bs for an inner
389 Function to calculate boundary strength value bs for left- or
419 Function to calculate boundary strength value bs for
486 Function to calculate boundary strength value bs for left-
2179 u8 (*bs)[1
2174 GetLumaEdgeThresholds( mbStorage_t *mb, u8 (*alpha)[2], u8 (*beta)[2], u8 (*threshold)[16], u8 (*bs)[16], u32 filteringFlags ) argument
2304 GetChromaEdgeThresholds( mbStorage_t *mb, u8 (*alpha)[2], u8 (*beta)[2], u8 (*threshold)[8], u8 (*bs)[16], u32 filteringFlags, i32 chromaQpIndexOffset) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHelper.java451 BatterySipper bs = mUsageList.get(i);
452 bs.computeMobilemspp();
453 if (bs.mobilemspp != 0) {
454 mMobilemsppList.add(bs);
461 BatterySipper bs = user.get(j);
462 bs.computeMobilemspp();
463 if (bs.mobilemspp != 0) {
464 mMobilemsppList.add(bs);
499 BatterySipper bs = new BatterySipper(DrainType.UNACCOUNTED, null, amount);
502 int index = Collections.binarySearch(mUsageList, bs);
653 aggregateSippers(BatterySipper bs, List<BatterySipper> from, String tag) argument
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dremote_method_tests.cpp240 BasicStruct SendBasicStruct(const BasicStruct& bs) { argument
242 InvokeRemoteMethod<TestInterface::SendBasicStruct>(bs);
/frameworks/base/media/java/android/media/
H A DClosedCaptionRenderer.java360 getMemory().bs();
421 getMemory().bs();
797 void bs() { method in class:Cea608CCParser.CCMemory
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiVendorHal.java487 for (WifiNative.BucketSettings bs : settings.buckets) {
488 param.buckets.add(makeStaBackgroundScanBucketParametersFromBucketSettings(bs));
497 * @param bs WifiNative.BucketSettings
498 * @return Hal flavor of bs
502 makeStaBackgroundScanBucketParametersFromBucketSettings(WifiNative.BucketSettings bs) { argument
504 pa.bucketIdx = bs.bucket;
505 pa.band = makeWifiBandFromFrameworkBand(bs.band);
506 if (bs.channels != null) {
507 for (WifiNative.ChannelSettings cs : bs.channels) {
511 pa.periodInMs = bs
[all...]

Completed in 446 milliseconds