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

1234

/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.aidl45 void registerCallback(IBordeauxServiceCallback cb);
50 void unregisterCallback(IBordeauxServiceCallback cb);
H A DBordeauxService.java155 public void registerCallback(IBordeauxServiceCallback cb) {
156 if (cb != null) mCallbacks.register(cb);
159 public void unregisterCallback(IBordeauxServiceCallback cb) {
160 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/native/include/android/
H A Dstorage_manager.h104 AStorageManager_obbCallbackFunc cb, void* data);
110 AStorageManager_obbCallbackFunc cb, void* data);
/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);
137 ObbCallback* cb local
145 ObbCallback* cb = registerObbCallback(func, data); local
186 AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, AStorageManager_obbCallbackFunc cb, void* data) argument
191 AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, AStorageManager_obbCallbackFunc cb, void* data) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_image.h52 u8 *cb; member in struct:__anon832
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...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardUpdateMonitor.java414 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get();
415 if (cb != null) {
416 cb.onMusicClientIdChanged(clientGeneration, clearing, p);
429 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get();
430 if (cb != null) {
431 cb.onMusicPlaybackStateChanged(playbackState, eventTime);
441 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get();
442 if (cb != null) {
443 cb.onUserInfoChanged(userId);
546 KeyguardUpdateMonitorCallback cb
[all...]
/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);
113 int requestAudioFocus(int mainStreamType, int durationHint, IBinder cb, IAudioFocusDispatcher l,
196 void startBluetoothSco(IBinder cb, int targetSdkVersion);
197 void stopBluetoothSco(IBinder cb);
199 void forceVolumeControlStream(int streamType, IBinder cb);
/frameworks/native/include/utils/
H A Dmisc.h54 void add_sysprop_change_callback(sysprop_change_callback cb, int priority);
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DLocationController.java66 public void addStateChangedCallback(LocationGpsStateChangeCallback cb) { argument
67 mChangeCallbacks.add(cb);
125 for (LocationGpsStateChangeCallback cb : mChangeCallbacks) {
126 cb.onLocationGpsStateChanged(true, text);
133 for (LocationGpsStateChangeCallback cb : mChangeCallbacks) {
134 cb.onLocationGpsStateChanged(false, null);
H A DBatteryController.java63 public void addStateChangedCallback(BatteryStateChangeCallback cb) { argument
64 mChangeCallbacks.add(cb);
100 for (BatteryStateChangeCallback cb : mChangeCallbacks) {
101 cb.onBatteryLevelChanged(level, plugged);
H A DBluetoothController.java72 public void addStateChangedCallback(BluetoothStateChangeCallback cb) { argument
73 mChangeCallbacks.add(cb);
139 for (BluetoothStateChangeCallback cb : mChangeCallbacks) {
140 cb.onBluetoothStateChange(mEnabled);
/frameworks/base/core/java/android/app/
H A DIWallpaperManager.aidl41 ParcelFileDescriptor getWallpaper(IWallpaperManagerCallback cb,
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DBrightnessController.java90 for (BrightnessStateChangeCallback cb : mChangeCallbacks) {
91 cb.onBrightnessLevelChanged();
144 public void addStateChangedCallback(BrightnessStateChangeCallback cb) { argument
145 mChangeCallbacks.add(cb);
148 public boolean removeStateChangedCallback(BrightnessStateChangeCallback cb) { argument
149 return mChangeCallbacks.remove(cb);
182 for (BrightnessStateChangeCallback cb : mChangeCallbacks) {
183 cb.onBrightnessLevelChanged();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsModel.java300 void addSettingsTile(QuickSettingsTileView view, RefreshCallback cb) { argument
302 mSettingsCallback = cb;
312 void addUserTile(QuickSettingsTileView view, RefreshCallback cb) { argument
314 mUserCallback = cb;
324 void addTimeTile(QuickSettingsTileView view, RefreshCallback cb) { argument
326 mTimeCallback = cb;
331 void addAlarmTile(QuickSettingsTileView view, RefreshCallback cb) { argument
333 mAlarmCallback = cb;
354 void addAirplaneModeTile(QuickSettingsTileView view, RefreshCallback cb) { argument
366 mAirplaneModeCallback = cb;
397 addWifiTile(QuickSettingsTileView view, RefreshCallback cb) argument
452 addRSSITile(QuickSettingsTileView view, RefreshCallback cb) argument
485 addBluetoothTile(QuickSettingsTileView view, RefreshCallback cb) argument
532 addBatteryTile(QuickSettingsTileView view, RefreshCallback cb) argument
549 addLocationTile(QuickSettingsTileView view, RefreshCallback cb) argument
563 addBugreportTile(QuickSettingsTileView view, RefreshCallback cb) argument
582 addWifiDisplayTile(QuickSettingsTileView view, RefreshCallback cb) argument
602 addImeTile(QuickSettingsTileView view, RefreshCallback cb) argument
684 addRotationLockTile(QuickSettingsTileView view, RefreshCallback cb) argument
711 addBrightnessTile(QuickSettingsTileView view, RefreshCallback cb) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java924 public void setCallback(IBinder caller, ITextToSpeechCallback cb) {
930 mCallbacks.setCallback(caller, cb);
950 public void setCallback(IBinder caller, ITextToSpeechCallback cb) { argument
953 if (cb != null) {
954 register(cb, caller);
955 old = mCallerToCallback.put(caller, cb);
959 if (old != null && old != cb) {
966 ITextToSpeechCallback cb = getCallbackFor(callerIdentity);
967 if (cb == null) return;
969 cb
[all...]
/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/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuPresenter.java85 * @param cb Callback that will be notified of future events
87 public void setCallback(Callback cb); argument
/frameworks/native/libs/utils/
H A Dmisc.cpp101 void add_sysprop_change_callback(sysprop_change_callback cb, int priority) { argument
108 info.callback = cb;

Completed in 779 milliseconds

1234