/frameworks/base/core/java/com/android/internal/policy/ |
IFaceLockInterface.aidl | 26 void registerCallback(IFaceLockCallback cb); 27 void unregisterCallback(IFaceLockCallback cb);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
IBordeauxService.aidl | 45 void registerCallback(IBordeauxServiceCallback cb); 50 void unregisterCallback(IBordeauxServiceCallback cb);
|
/libcore/luni/src/main/java/java/lang/ |
Readable.java | 32 * @param cb 39 int read(CharBuffer cb) throws IOException;
|
/device/generic/goldfish/opengl/system/gralloc/ |
gralloc.cpp | 90 static int map_buffer(cb_handle_t *cb, void **vaddr) 92 if (cb->fd < 0 || cb->ashmemSize <= 0) { 96 void *addr = mmap(0, cb->ashmemSize, PROT_READ | PROT_WRITE, 97 MAP_SHARED, cb->fd, 0); 102 cb->ashmemBase = intptr_t(addr); 103 cb->ashmemBasePid = getpid(); 300 cb_handle_t *cb = new cb_handle_t(fd, ashmem_size, usage, local 309 int err = map_buffer(cb, &vaddr); 312 delete cb; 366 const cb_handle_t *cb = (const cb_handle_t *)handle; local 443 cb_handle_t *cb = (cb_handle_t *)buffer; local 529 cb_handle_t *cb = (cb_handle_t *)handle; local 566 cb_handle_t *cb = (cb_handle_t *)handle; local 608 cb_handle_t *cb = (cb_handle_t *)handle; local 718 cb_handle_t *cb = (cb_handle_t *)handle; local 790 cb_handle_t *cb = (cb_handle_t *)handle; local [all...] |
/external/chromium/net/url_request/ |
view_cache_helper_unittest.cc | 50 TestCompletionCallback cb; local 51 int rv = entry->WriteData(0, 0, buf, len, &cb, true); 52 ASSERT_EQ(len, cb.GetResult(rv)); 63 TestCompletionCallback cb; local 64 int rv = entry->WriteData(index, 0, buf, len, &cb, true); 65 ASSERT_EQ(len, cb.GetResult(rv)); 71 TestCompletionCallback cb; local 73 int rv = cache->CreateEntry(key, &entry, &cb); 74 rv = cb.GetResult(rv); 76 rv = cache->OpenEntry(key, &entry, &cb); 88 TestCompletionCallback cb; local 106 TestCompletionCallback cb; local 120 TestCompletionCallback cb; local 142 TestCompletionCallback cb; local 168 TestCompletionCallback cb; local 183 TestCompletionCallback cb; local [all...] |
/external/chromium_org/sql/test/ |
error_callback_support.cc | 17 const sql::Connection::ErrorCallback& cb) 21 db_->set_error_callback(cb);
|
/external/iptables/extensions/ |
libxt_length.c | 23 static void length_parse(struct xt_option_call *cb) 25 struct xt_length_info *info = cb->data; 27 xtables_option_parse(cb); 28 info->min = cb->val.u16_range[0]; 29 info->max = cb->val.u16_range[0]; 30 if (cb->nvals >= 2) 31 info->max = cb->val.u16_range[1]; 32 if (cb->invert)
|
libxt_devgroup.c | 45 static void devgroup_parse(struct xt_option_call *cb) 47 struct xt_devgroup_info *info = cb->data; 51 xtables_option_parse(cb); 52 switch (cb->entry->id) { 54 info->src_group = strtoul(cb->arg, &end, 0); 55 if (end != cb->arg && (*end == '/' || *end == '\0')) { 60 if (*end != '\0' || end == cb->arg) 63 cb->arg); 65 id = xtables_lmap_name2id(devgroups, cb->arg); 69 cb->arg) [all...] |
libxt_AUDIT.c | 30 static void audit_parse(struct xt_option_call *cb) 32 struct xt_audit_info *einfo = cb->data; 34 xtables_option_parse(cb); 35 if (strcasecmp(cb->arg, "accept") == 0) 37 else if (strcasecmp(cb->arg, "drop") == 0) 39 else if (strcasecmp(cb->arg, "reject") == 0) 43 "Bad action type value \"%s\"", cb->arg);
|
libxt_tcpmss.c | 23 static void tcpmss_parse(struct xt_option_call *cb) 25 struct xt_tcpmss_match_info *mssinfo = cb->data; 27 xtables_option_parse(cb); 28 mssinfo->mss_min = cb->val.u16_range[0]; 30 if (cb->nvals == 2) 31 mssinfo->mss_max = cb->val.u16_range[1]; 32 if (cb->invert)
|
libxt_dscp.c | 52 static void dscp_parse(struct xt_option_call *cb) 54 struct xt_dscp_info *dinfo = cb->data; 56 xtables_option_parse(cb); 57 switch (cb->entry->id) { 59 if (cb->invert) 63 dinfo->dscp = class_to_dscp(cb->arg); 64 if (cb->invert) 70 static void dscp_check(struct xt_fcheck_call *cb) 72 if (cb->xflags == 0)
|
libipt_REJECT.c | 94 static void REJECT_parse(struct xt_option_call *cb) 96 struct ipt_reject_info *reject = cb->data; 99 xtables_option_parse(cb); 102 cb->arg, strlen(cb->arg)) == 0 || 104 cb->arg, strlen(cb->arg)) == 0) { 109 if (strncasecmp("echo-reply", cb->arg, strlen(cb->arg)) == 0 || 110 strncasecmp("echoreply", cb->arg, strlen(cb->arg)) == 0 [all...] |
libxt_MARK.c | 83 static void MARK_parse_v0(struct xt_option_call *cb) 85 struct xt_mark_target_info *markinfo = cb->data; 87 xtables_option_parse(cb); 88 switch (cb->entry->id) { 90 markinfo->mark = cb->val.mark; 95 cb->entry->name); 99 static void MARK_check(struct xt_fcheck_call *cb) 101 if (cb->xflags == 0) 107 static void MARK_parse_v1(struct xt_option_call *cb) 109 struct xt_mark_target_info_v1 *markinfo = cb->data [all...] |
libxt_cluster.c | 52 static void cluster_parse(struct xt_option_call *cb) 54 struct xt_cluster_match_info *info = cb->data; 56 xtables_option_parse(cb); 57 switch (cb->entry->id) { 59 if (cb->invert) 61 info->node_mask = 1 << (cb->val.u32 - 1); 64 if (cb->invert) 70 static void cluster_check(struct xt_fcheck_call *cb) 72 const struct xt_cluster_match_info *info = cb->data; 76 if ((cb->xflags & test) == test) [all...] |
libxt_connmark.c | 50 static void connmark_mt_parse(struct xt_option_call *cb) 52 struct xt_connmark_mtinfo1 *info = cb->data; 54 xtables_option_parse(cb); 55 if (cb->invert) 57 info->mark = cb->val.mark; 58 info->mask = cb->val.mask; 61 static void connmark_parse(struct xt_option_call *cb) 63 struct xt_connmark_info *markinfo = cb->data; 65 xtables_option_parse(cb); 66 markinfo->mark = cb->val.mark [all...] |
libxt_mark.c | 28 static void mark_mt_parse(struct xt_option_call *cb) 30 struct xt_mark_mtinfo1 *info = cb->data; 32 xtables_option_parse(cb); 33 if (cb->invert) 35 info->mark = cb->val.mark; 36 info->mask = cb->val.mask; 39 static void mark_parse(struct xt_option_call *cb) 41 struct xt_mark_info *markinfo = cb->data; 43 xtables_option_parse(cb); 44 if (cb->invert [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_dequantize_sample.cpp | 194 int32 cb = 0; local 230 cb++; /* critical band counter */ 239 cb = 3; 243 next_cb_boundary = mp3_sfBandIndex[sfreq].l[cb+1]; 247 next_cb_boundary = mp3_sfBandIndex[sfreq].s[cb+1] * 3; 249 cb_width = cb; 250 cb_begin = mp3_sfBandIndex[sfreq].s[cb] * 3; 257 (scalefac->l[cb] + gr_info->preflag * pretab[cb]) << 1; 265 next_cb_boundary = mp3_sfBandIndex[sfreq].s[cb+1] * 3 [all...] |
/packages/apps/Nfc/nci/jni/ |
IntervalTimer.cpp | 32 bool IntervalTimer::set(int ms, TIMER_FUNC cb) 36 if (cb == NULL) 39 if (!create(cb)) 42 if (cb != mCb) 45 if (!create(cb)) 81 bool IntervalTimer::create(TIMER_FUNC cb) 92 se.sigev_notify_function = cb; 94 mCb = cb;
|
/external/chromium_org/media/base/ |
bind_to_loop_unittest.cc | 52 base::Closure cb = BindToLoop(proxy_, base::Bind( local 54 cb.Run(); 62 base::Callback<void(bool)> cb = BindToLoop(proxy_, base::Bind( local 64 cb.Run(true); 73 base::Closure cb = BindToLoop(proxy_, base::Bind( local 75 cb.Run(); 84 base::Callback<void(scoped_ptr<bool>)> cb = BindToLoop(proxy_, base::Bind( local 86 cb.Run(scoped_ptr_bool.Pass()); 96 base::Closure cb = BindToLoop(proxy_, base::Bind( local 99 cb.Run() 109 base::Callback<void(scoped_ptr<bool[]>)> cb = BindToLoop(proxy_, base::Bind( local 122 base::Closure cb = BindToLoop(proxy_, base::Bind( local 136 base::Callback<void(scoped_ptr_malloc<bool>)> cb = BindToLoop( local 148 base::Closure cb = BindToLoop(proxy_, base::Bind( local 159 base::Callback<void(int, int)> cb = BindToLoop(proxy_, base::Bind( local [all...] |
/external/chromium/net/tools/crash_cache/ |
crash_cache.cc | 125 TestCompletionCallback cb; local 127 reinterpret_cast<disk_cache::BackendImpl*>(cache)->FlushQueueForTest(&cb); 128 cb.GetResult(rv); // Ignore the result; 134 TestCompletionCallback cb; local 138 NULL, &cache, &cb); 139 if (cb.GetResult(rv) != net::OK || cache->GetEntryCount()) 150 rv = cache->CreateEntry(test_name, &entry, &cb); 151 if (cb.GetResult(rv) != net::OK) 161 rv = cache->CreateEntry(test_name, &entry, &cb); 162 if (cb.GetResult(rv) != net::OK 174 TestCompletionCallback cb; local 217 TestCompletionCallback cb; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/pem/ |
pem_pk8.c | 72 pem_password_cb *cb, void *u); 76 pem_password_cb *cb, void *u); 86 pem_password_cb *cb, void *u) 88 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u); 93 pem_password_cb *cb, void *u) 95 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u); 100 pem_password_cb *cb, void *u) 102 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u); 107 pem_password_cb *cb, void *u) 109 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u) [all...] |
/external/openssl/crypto/pem/ |
pem_pk8.c | 72 pem_password_cb *cb, void *u); 76 pem_password_cb *cb, void *u); 86 pem_password_cb *cb, void *u) 88 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u); 93 pem_password_cb *cb, void *u) 95 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u); 100 pem_password_cb *cb, void *u) 102 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u); 107 pem_password_cb *cb, void *u) 109 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u) [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
Charsets.java | 53 CharBuffer cb = CharBuffer.allocate(length); local 54 cb.put(chars, offset, length); 55 return US_ASCII.encode(cb).array(); 63 CharBuffer cb = CharBuffer.allocate(length); local 64 cb.put(chars, offset, length); 65 return ISO_8859_1.encode(cb).array(); 73 CharBuffer cb = CharBuffer.allocate(length); local 74 cb.put(chars, offset, length); 75 return UTF_8.encode(cb).array();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowRemoteCallbackList.java | 50 Callback cb = new Callback(callback, cookie); local 51 binder.linkToDeath(cb, 0); 52 callbacks.put(binder, cb); 63 Callback cb = callbacks.remove(callback.asBinder()); local 64 if (cb != null) { 65 cb.callback.asBinder().unlinkToDeath(cb, 0); 75 for (Callback cb : callbacks.values()) { 76 cb.callback.asBinder().unlinkToDeath(cb, 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.iterators/ |
crbegin.pass.cpp | 23 typename S::const_reverse_iterator cb = s.crbegin(); local 26 assert(*cb == s.back()); 28 assert(cb == s.rbegin());
|