Searched refs:cb (Results 1 - 25 of 62) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/policy/
H A DIFaceLockInterface.aidl26 void registerCallback(IFaceLockCallback cb);
27 void unregisterCallback(IFaceLockCallback cb);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DIBordeauxService.aidl39 void registerCallback(IBordeauxServiceCallback cb);
44 void unregisterCallback(IBordeauxServiceCallback cb);
H A DBordeauxService.java134 public void registerCallback(IBordeauxServiceCallback cb) {
135 if (cb != null) mCallbacks.register(cb);
138 public void unregisterCallback(IBordeauxServiceCallback cb) {
139 if (cb != null) mCallbacks.unregister(cb);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_dequantize_sample.cpp194 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
[all...]
/frameworks/base/core/java/android/os/
H A DRemoteCallbackList.java114 Callback cb = new Callback(callback, cookie);
115 binder.linkToDeath(cb, 0);
116 mCallbacks.put(binder, cb);
143 Callback cb = mCallbacks.remove(callback.asBinder());
144 if (cb != null) {
145 cb.mCallback.asBinder().unlinkToDeath(cb, 0);
162 for (Callback cb : mCallbacks.values()) {
163 cb.mCallback.asBinder().unlinkToDeath(cb,
[all...]
/frameworks/base/native/android/
H A Dstorage_manager.cpp52 , cb(_cb)
57 AStorageManager_obbCallbackFunc cb; member in class:ObbCallback
74 ObbCallback* cb = new ObbCallback(getNextNonce(), func, data); local
77 mCallbacks.push(cb);
79 return cb;
111 ObbCallback* cb = mCallbacks.editItemAt(i); local
112 if (cb->nonce == nonce) {
113 target = cb;
121 target->cb(filename, state, target->data);
129 ObbCallback* cb local
136 ObbCallback* cb = registerObbCallback(func, data); local
177 AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, AStorageManager_obbCallbackFunc cb, void* data) argument
182 AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, AStorageManager_obbCallbackFunc cb, void* data) argument
[all...]
/frameworks/native/include/android/
H A Dstorage_manager.h104 AStorageManager_obbCallbackFunc cb, void* data);
110 AStorageManager_obbCallbackFunc cb, void* data);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_image.h52 u8 *cb; member in struct:__anon865
H A Dh264bsd_image.c87 u32 *lum, *cb, *cr; local
99 /*lint -save -e826 lum, cb and cr used to copy 4 bytes at the time, disable
102 cb = (u32*)image->cb;
105 ASSERT(!((u32)cb&0x3));
129 *cb++ = tmp1;
130 *cb++ = tmp2;
131 cb += width-2;
179 u8 *lum, *cb, *cr; local
204 cb
[all...]
H A Dh264bsd_util.c282 image->cb = (u8*)(image->data + picSize * 256 + tmp * 64 + col * 8);
283 image->cr = (u8*)(image->cb + picSize * 64);
/frameworks/base/media/java/android/media/
H A DIAudioService.aidl53 void setStreamSolo(int streamType, boolean state, IBinder cb);
55 void setStreamMute(int streamType, boolean state, IBinder cb);
59 void setMasterMute(boolean state, int flags, IBinder cb);
85 void setMode(int mode, IBinder cb);
111 int requestAudioFocus(int mainStreamType, int durationHint, IBinder cb, IAudioFocusDispatcher l,
141 void startBluetoothSco(IBinder cb);
142 void stopBluetoothSco(IBinder cb);
144 void forceVolumeControlStream(int streamType, IBinder cb);
H A DMediaRouter.java248 * @param cb Callback to add
250 public void addCallback(int types, Callback cb) { argument
254 if (info.cb == cb) {
259 sStatic.mCallbacks.add(new CallbackInfo(cb, types, this));
265 * @param cb Callback to remove
267 public void removeCallback(Callback cb) { argument
270 if (sStatic.mCallbacks.get(i).cb == cb) {
275 Log.w(TAG, "removeCallback(" + cb
1497 public final Callback cb; field in class:MediaRouter.CallbackInfo
1500 CallbackInfo(Callback cb, int type, MediaRouter router) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
H A Dh264bsdWriteMacroblock.s29 cb RN 4 label
95 LDR cb, [image, #0x10]
118 VLD1 {qRow0, qRow1}, [data]! ;cb rows 0,1,2,3
120 VLD1 {qRow2, qRow3}, [data]! ;cb rows 4,5,6,7
126 VST1 {dRow0}, [cb@64], cwidth
129 VST1 {dRow1}, [cb@64], cwidth
132 VST1 {dRow2}, [cb@64], cwidth
135 VST1 {dRow3}, [cb@64], cwidth
138 VST1 {dRow4}, [cb@64], cwidth
141 VST1 {dRow5}, [cb
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dh264bsdWriteMacroblock.S31 #define cb r4 define
97 LDR cb, [image, #0x10]
120 VLD1 {qRow0, qRow1}, [data]! ;//cb rows 0,1,2,3
122 VLD1 {qRow2, qRow3}, [data]! ;//cb rows 4,5,6,7
128 VST1 {dRow0}, [cb,:64], cwidth
131 VST1 {dRow1}, [cb,:64], cwidth
134 VST1 {dRow2}, [cb,:64], cwidth
137 VST1 {dRow3}, [cb,:64], cwidth
140 VST1 {dRow4}, [cb,:64], cwidth
143 VST1 {dRow5}, [cb,
[all...]
/frameworks/base/core/java/android/app/
H A DIWallpaperManager.aidl41 ParcelFileDescriptor getWallpaper(IWallpaperManagerCallback cb,
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java869 public void setCallback(IBinder caller, ITextToSpeechCallback cb) {
875 mCallbacks.setCallback(caller, cb);
895 public void setCallback(IBinder caller, ITextToSpeechCallback cb) { argument
898 if (cb != null) {
899 register(cb, caller);
900 old = mCallerToCallback.put(caller, cb);
904 if (old != null && old != cb) {
911 ITextToSpeechCallback cb = getCallbackFor(callerIdentity);
912 if (cb == null) return;
914 cb
[all...]
H A DITextToSpeechService.aidl151 * @param cb The callback.
153 void setCallback(in IBinder caller, ITextToSpeechCallback cb);
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditLayout.java53 public ActionMode startActionModeForChild(View sourceView, ActionMode.Callback cb) { argument
54 final ExtractActionMode mode = new ExtractActionMode(cb);
100 public ExtractActionMode(Callback cb) { argument
103 mCallback = cb;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuPresenter.java82 * @param cb Callback that will be notified of future events
84 public void setCallback(Callback cb); argument
/frameworks/native/include/utils/
H A Dmisc.h92 void add_sysprop_change_callback(sysprop_change_callback cb, int priority);
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp75 JSAMPROW cb[8]; local
79 planes[1] = cb;
103 cb[i/2] = uRows + offset;
129 // cb and cr are horizontally downsampled and vertically downsampled as well.
148 JSAMPROW cb[16]; local
152 planes[1] = cb;
174 cb[i] = uRows + offset;
203 // cb and cr are horizontally downsampled and vertically downsampled as well.
/frameworks/av/media/libstagefright/codecs/aacdec/
H A Dgetics.cpp241 cb = sect[i].sect_cb;
247 *pCodebookMap++ = cb
444 Int cb; local
525 cb = sect[i].sect_cb;
531 *pCodebookMap++ = cb; /* cannot use memset for Int */
/frameworks/base/core/tests/coretests/src/android/os/
H A DBinderThreadPriorityTest.java54 public void setPriorityAndCallBack(int p, IBinderThreadPriorityService cb) { fail(); } argument
55 public void callBack(IBinderThreadPriorityService cb) { fail(); } argument
133 public void callBack(IBinderThreadPriorityService cb) {
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java257 final Callback cb = getCallback();
258 if (cb != null && !isDestroyed()) {
259 cb.onContentChanged();
276 final Callback cb = getCallback();
277 if (cb != null && !isDestroyed()) {
278 cb.onContentChanged();
288 final Callback cb = getCallback();
289 if (cb != null && !isDestroyed()) {
290 cb.onContentChanged();
366 final Callback cb
3366 getListMenuView(Context context, MenuPresenter.Callback cb) argument
3390 getIconMenuView(Context context, MenuPresenter.Callback cb) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java543 * @param cb a callback object that receives a copy of each preview frame,
547 public final void setPreviewCallback(PreviewCallback cb) { argument
548 mPreviewCallback = cb;
553 setHasPreviewCallback(cb != null, false);
566 * @param cb a callback object that receives a copy of the next preview frame,
570 public final void setOneShotPreviewCallback(PreviewCallback cb) { argument
571 mPreviewCallback = cb;
574 setHasPreviewCallback(cb != null, false);
600 * @param cb a callback object that receives a copy of the preview frame,
605 public final void setPreviewCallbackWithBuffer(PreviewCallback cb) { argument
892 autoFocus(AutoFocusCallback cb) argument
958 setAutoFocusMoveCallback(AutoFocusMoveCallback cb) argument
1394 setErrorCallback(ErrorCallback cb) argument
[all...]

Completed in 580 milliseconds

123