/frameworks/av/media/libmedia/ |
AudioSystem.cpp | 470 audio_error_callback cb = NULL; local 474 cb = gAudioErrorCallback; 480 if (cb) { 481 cb(DEAD_OBJECT); 665 /* static */ void AudioSystem::setErrorCallback(audio_error_callback cb) 668 gAudioErrorCallback = cb; 671 /*static*/ void AudioSystem::setDynPolicyCallback(dynamic_policy_callback cb) 674 gDynPolicyCallback = cb; 677 /*static*/ void AudioSystem::setRecordConfigCallback(record_config_callback cb) 680 gRecordConfigCallback = cb; 1259 dynamic_policy_callback cb = NULL; local 1274 record_config_callback cb = NULL; local [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
DngCreator.java | 522 float cb = yuvData[1] & 0xFF; // U channel local 527 float g = y - 0.34414f * (cb - 128) - 0.71414f * (cr - 128); 528 float b = y + 1.772f * (cb - 128);
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
LocalRenderer.java | 663 SurfaceHolder.Callback cb = new SurfaceHolder.Callback() { local 680 mHolderCB = cb; 681 holder.addCallback(cb); 702 SurfaceHolder.Callback cb = mHolderCB; local 706 if (holder != null && cb != null) { 707 holder.removeCallback(cb);
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
wifi_hal.cpp | 223 struct nl_cb *cb = nl_socket_get_cb(event_sock); local 224 if (cb == NULL) { 232 // ALOGI("cb->refcnt = %d", cb->cb_refcnt); 233 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, internal_no_seq_check, info); 234 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, internal_valid_message_handler, info); 235 nl_cb_put(cb); 381 struct nl_cb *cb = nl_socket_get_cb(info->event_sock); local 382 int res = nl_recvmsgs(info->event_sock, cb); 384 nl_cb_put(cb); [all...] |
/hardware/ti/omap4-aah/camera/ |
AppCallbackNotifier.cpp | 42 AppCallbackNotifier* cb = (AppCallbackNotifier*) cookie1; local 43 cb->EncoderDoneCb(main_jpeg, thumb_jpeg, type, cookie2, cookie3, cookie4); [all...] |
/hardware/ti/omap4xxx/camera/ |
AppCallbackNotifier.cpp | 45 AppCallbackNotifier* cb = (AppCallbackNotifier*) cookie1; local 46 cb->EncoderDoneCb(main_jpeg, thumb_jpeg, type, cookie2, cookie3); [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailServiceStub.java | 123 public void loadAttachment(final IEmailServiceCallback cb, final long accountId, 131 cb.loadAttachmentStatus(0, attachmentId, 140 cb.loadAttachmentStatus(messageId, attachmentId, 148 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.SUCCESS, 154 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.IN_PROGRESS, 0); 182 cb.loadAttachmentStatus(messageId, attachmentId, 220 new MessageRetrievalListenerBridge(messageId, attachmentId, cb)); 233 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.SUCCESS, 0); 243 cb.loadAttachmentStatus(0, attachmentId, EmailServiceStatus.CONNECTION_ERROR, 0);
|
/packages/apps/Gallery/src/com/android/camera/ |
MenuHelper.java | 235 UpdateLocationCallback cb = new UpdateLocationCallback( local 238 new ReverseGeocoderTask(geocoder, latlng, cb).execute(); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
fci.h | 149 ULONG cb; member in struct:__anon42602 167 typedef void *(DIAMONDAPI *PFNFCIALLOC)(ULONG cb); 168 #define FNFCIALLOC(fn) void *DIAMONDAPI fn(ULONG cb) 174 typedef UINT (DIAMONDAPI *PFNFCIREAD) (INT_PTR hf,void *memory,UINT cb,int *err,void *pv); 175 typedef UINT (DIAMONDAPI *PFNFCIWRITE)(INT_PTR hf,void *memory,UINT cb,int *err,void *pv); 181 #define FNFCIREAD(fn) UINT DIAMONDAPI fn(INT_PTR hf,void *memory,UINT cb,int *err,void *pv) 182 #define FNFCIWRITE(fn) UINT DIAMONDAPI fn(INT_PTR hf,void *memory,UINT cb,int *err,void *pv)
|
fdi.h | 196 typedef void *(DIAMONDAPI *PFNALLOC)(ULONG cb); 197 #define FNALLOC(fn) void *DIAMONDAPI fn(ULONG cb) 203 typedef UINT (DIAMONDAPI *PFNREAD) (INT_PTR hf,void *pv,UINT cb); 204 typedef UINT (DIAMONDAPI *PFNWRITE)(INT_PTR hf,void *pv,UINT cb); 209 #define FNREAD(fn) UINT DIAMONDAPI fn(INT_PTR hf,void *pv,UINT cb) 210 #define FNWRITE(fn) UINT DIAMONDAPI fn(INT_PTR hf,void *pv,UINT cb) 218 __LONG32 cb; member in struct:__anon42612
|
mapispi.h | 30 ULONG cb; member in struct:__anon43200 35 #define CbNOTIFKEY(_lpkey) (offsetof(NOTIFKEY,ab) + (_lpkey)->cb) 36 #define SizedNOTIFKEY(_cb,_name) struct _NOTIFKEY_ ## _name { ULONG cb; BYTE ab[_cb]; } _name
|
objbase.h | 308 WINOLEAPI_(LPVOID) CoTaskMemAlloc(SIZE_T cb); variable 309 WINOLEAPI_(LPVOID) CoTaskMemRealloc(LPVOID pv,SIZE_T cb);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_weakref.py | 529 # got tp_clear'ed by the time the c2.cb callback got invoked. 532 def cb(self, ignore): member in class:ReferencesTestCase.test_callback_in_cycle_3.C 541 c2.wr = weakref.ref(c1, c2.cb) 552 # c2's class (C) from getting tp_clear'ed before c2.cb is invoked. 557 def cb(self, ignore): member in class:ReferencesTestCase.test_callback_in_cycle_4.C 569 c2.wr = weakref.ref(c1, c2.cb) 629 def cb(self, ignore): member in class:ReferencesTestCase.test_callbacks_on_callback.C 630 alist.append("cb called") 635 callback = c.cb 637 d.wr = weakref.ref(callback, d.cb) # ditt 787 def cb(wparent): function in function:ReferencesTestCase.test_trashcan_16602.C.__init__ [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_weakref.py | 529 # got tp_clear'ed by the time the c2.cb callback got invoked. 532 def cb(self, ignore): member in class:ReferencesTestCase.test_callback_in_cycle_3.C 541 c2.wr = weakref.ref(c1, c2.cb) 552 # c2's class (C) from getting tp_clear'ed before c2.cb is invoked. 557 def cb(self, ignore): member in class:ReferencesTestCase.test_callback_in_cycle_4.C 569 c2.wr = weakref.ref(c1, c2.cb) 629 def cb(self, ignore): member in class:ReferencesTestCase.test_callbacks_on_callback.C 630 alist.append("cb called") 635 callback = c.cb 637 d.wr = weakref.ref(callback, d.cb) # ditt 787 def cb(wparent): function in function:ReferencesTestCase.test_trashcan_16602.C.__init__ [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_weakref.py | 529 # got tp_clear'ed by the time the c2.cb callback got invoked. 532 def cb(self, ignore): member in class:ReferencesTestCase.test_callback_in_cycle_3.C 541 c2.wr = weakref.ref(c1, c2.cb) 552 # c2's class (C) from getting tp_clear'ed before c2.cb is invoked. 557 def cb(self, ignore): member in class:ReferencesTestCase.test_callback_in_cycle_4.C 569 c2.wr = weakref.ref(c1, c2.cb) 629 def cb(self, ignore): member in class:ReferencesTestCase.test_callbacks_on_callback.C 630 alist.append("cb called") 635 callback = c.cb 637 d.wr = weakref.ref(callback, d.cb) # ditt 787 def cb(wparent): function in function:ReferencesTestCase.test_trashcan_16602.C.__init__ [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_weakref.py | 529 # got tp_clear'ed by the time the c2.cb callback got invoked. 532 def cb(self, ignore): member in class:ReferencesTestCase.test_callback_in_cycle_3.C 541 c2.wr = weakref.ref(c1, c2.cb) 552 # c2's class (C) from getting tp_clear'ed before c2.cb is invoked. 557 def cb(self, ignore): member in class:ReferencesTestCase.test_callback_in_cycle_4.C 569 c2.wr = weakref.ref(c1, c2.cb) 629 def cb(self, ignore): member in class:ReferencesTestCase.test_callbacks_on_callback.C 630 alist.append("cb called") 635 callback = c.cb 637 d.wr = weakref.ref(callback, d.cb) # ditt 787 def cb(wparent): function in function:ReferencesTestCase.test_trashcan_16602.C.__init__ [all...] |
/system/connectivity/shill/cellular/ |
cellular.cc | 267 ResultCallback cb = Bind(&Cellular::StartModemCallback, local 270 capability_->StartModem(error, cb); 277 ResultCallback cb = Bind(&Cellular::StopModemCallback, local 280 capability_->StopModem(error, cb); 547 ResultStringmapsCallback cb = Bind(&Cellular::OnScanReply, local 549 capability_->Scan(error, cb); 704 ResultCallback cb = Bind(&Cellular::OnConnectReply, local 707 capability_->Connect(properties, error, cb); 778 ResultCallback cb = Bind(&Cellular::OnDisconnectReply, local 780 capability_->Disconnect(error, cb); [all...] |
/system/core/include/system/ |
graphics.h | 81 * by (W/2) x (H/2) Cr and Cb planes. 455 * @y, @cb, and @cr point to the first byte of their respective planes. 470 void *cb; member in struct:android_ycbcr [all...] |
/system/core/libpixelflinger/ |
trap.cpp | 454 surface_t* cb = &(c->state.buffers.color); local 455 const GGLFormat* fp = &(c->formats[cb->format]); 456 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) + 457 (x + (cb->stride * y)) * fp->size; [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetMBCS.java | 1836 CharBuffer cb = ((CharBuffer) ARRAY(cx, EXT_TO_U_UCHARS_INDEX, char.class)); local [all...] |
/frameworks/base/core/java/android/hardware/ |
Camera.java | 764 * @param cb a callback object that receives a copy of each preview frame, 768 public final void setPreviewCallback(PreviewCallback cb) { 769 mPreviewCallback = cb; 772 if (cb != null) { 777 setHasPreviewCallback(cb != null, false); 1121 AutoFocusCallback cb = null; local [all...] |
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
WallpaperManagerService.java | 307 final IWallpaperManagerCallback cb = mKeyguardListener; local 308 if (cb != null) { 310 cb.onWallpaperChanged(); 1148 final IWallpaperManagerCallback cb = mKeyguardListener; local [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/ |
ImageReaderTest.java | 627 float cb = cbRow[cbPix] & 0xFF; local 633 Math.min(COLOR_RANGE, y - 0.34414f * (cb - 128) - 0.71414f * (cr - 128))); 634 int b = (int) Math.max(0.0f, Math.min(COLOR_RANGE, y + 1.772f * (cb - 128))); [all...] |
/device/generic/goldfish-opengl/system/egl/ |
egl.cpp | 1578 cb_handle_t *cb = (cb_handle_t *)(native_buffer->handle); local [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/ |
mm_camera.h | 127 mm_camera_cmd_cb_t cb; /* cb for cmd */ member in struct:__anon4494 128 void* user_data; /* user_data for cb */ 137 /* function ptr defined for poll notify CB, 150 /* array to store poll fd and cb info 197 mm_camera_buf_notify_t cb; member in struct:__anon4500 235 pthread_mutex_t cb_lock; /* cb lock to protect buf_cb */ 251 uint8_t num_stream_cb_times; /* how many times to register for other stream data CB */ 252 uint8_t local_buf_idx; /* idx to local buf that can be used for non-stream-on cb */ 394 /* cb thread for sending data cb * [all...] |