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

123

/frameworks/base/core/java/com/android/internal/policy/
H A DIFaceLockInterface.aidl25 void registerCallback(IFaceLockCallback cb);
26 void unregisterCallback(IFaceLockCallback cb);
/frameworks/base/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/base/media/java/android/media/
H A DIAudioService.aidl38 void setStreamSolo(int streamType, boolean state, IBinder cb);
40 void setStreamMute(int streamType, boolean state, IBinder cb);
60 void setMode(int mode, IBinder cb);
82 int requestAudioFocus(int mainStreamType, int durationHint, IBinder cb, IAudioFocusDispatcher l,
101 void startBluetoothSco(IBinder cb);
103 void stopBluetoothSco(IBinder cb);
H A DAudioService.java660 public void setStreamSolo(int streamType, boolean state, IBinder cb) { argument
664 mStreamStates[stream].mute(cb, state);
669 public void setStreamMute(int streamType, boolean state, IBinder cb) { argument
671 mStreamStates[streamType].mute(cb, state);
813 SetModeDeathHandler(IBinder cb, int pid) { argument
814 mCb = cb;
854 public void setMode(int mode, IBinder cb) { argument
868 newModeOwnerPid = setModeInt(mode, cb, Binder.getCallingPid());
880 int setModeInt(int mode, IBinder cb, int pid) { argument
882 if (cb
961 handleFocusForCalls(int oldMode, int newMode, IBinder cb) argument
1299 startBluetoothSco(IBinder cb) argument
1309 stopBluetoothSco(IBinder cb) argument
1325 ScoClient(IBinder cb) argument
1482 getScoClient(IBinder cb, boolean create) argument
1936 mute(IBinder cb, boolean state) argument
1959 VolumeDeathHandler(IBinder cb) argument
2037 getDeathHandler(IBinder cb, boolean state) argument
2857 removeFocusStackEntryForClient(IBinder cb) argument
2902 AudioFocusDeathHandler(IBinder cb) argument
2920 requestAudioFocus(int mainStreamType, int focusChangeHint, IBinder cb, IAudioFocusDispatcher fd, String clientId, String callingPackageName) argument
3100 RcClientDeathHandler(IBinder cb, PendingIntent pi) argument
[all...]
H A DAudioSystem.java159 * @param cb the callback to run
161 public static void setErrorCallback(ErrorCallback cb) argument
164 mErrorCallback = cb;
/frameworks/base/native/include/android/
H A Dstorage_manager.h104 AStorageManager_obbCallbackFunc cb, void* data);
110 AStorageManager_obbCallbackFunc cb, void* data);
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_image.h52 u8 *cb; member in struct:__anon873
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/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/base/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.java842 public void setCallback(String packageName, ITextToSpeechCallback cb) {
848 mCallbacks.setCallback(packageName, cb);
869 public void setCallback(String packageName, ITextToSpeechCallback cb) { argument
872 if (cb != null) {
873 register(cb, packageName);
874 old = mAppToCallback.put(packageName, cb);
878 if (old != null && old != cb) {
885 ITextToSpeechCallback cb = getCallbackFor(packageName);
886 if (cb == null) return;
888 cb
[all...]
H A DITextToSpeechService.aidl151 * @param cb The callback.
153 void setCallback(in String callingApp, 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
H A DBaseMenuPresenter.java143 public void setCallback(Callback cb) { argument
144 mCallback = cb;
H A DMenuDialogHelper.java128 public void setPresenterCallback(MenuPresenter.Callback cb) { argument
129 mPresenterCallback = cb;
/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/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/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/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java252 final Callback cb = getCallback();
253 if (cb != null && !isDestroyed()) {
254 cb.onContentChanged();
271 final Callback cb = getCallback();
272 if (cb != null && !isDestroyed()) {
273 cb.onContentChanged();
283 final Callback cb = getCallback();
284 if (cb != null && !isDestroyed()) {
285 cb.onContentChanged();
361 final Callback cb
3286 getListMenuView(Context context, MenuPresenter.Callback cb) argument
3310 getIconMenuView(Context context, MenuPresenter.Callback cb) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DColor.java133 final float cb = (V - b) / vtemp;
136 H = cb - cg;
138 H = 2 + cr - cb;

Completed in 537 milliseconds

123