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

12345678

/frameworks/base/core/java/android/service/vr/
H A DIVrManager.aidl29 * @param cb the callback instance to add.
31 void registerListener(in IVrStateCallbacks cb);
36 * @param cb the callback to remove.
38 void unregisterListener(in IVrStateCallbacks cb);
43 * @param cb the callback instance to add.
45 void registerPersistentVrStateListener(in IPersistentVrStateCallbacks cb);
50 * @param cb the callback to remove.
52 void unregisterPersistentVrStateListener(in IPersistentVrStateCallbacks cb);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuHelper.java23 void setPresenterCallback(MenuPresenter.Callback cb); argument
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DIBordeauxService.aidl45 void registerCallback(IBordeauxServiceCallback cb);
50 void unregisterCallback(IBordeauxServiceCallback cb);
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuHelper.java23 void setPresenterCallback(MenuPresenter.Callback cb); argument
/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/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DCharsets.java53 CharBuffer cb = CharBuffer.allocate(length);
54 cb.put(chars, offset, length);
55 return US_ASCII.encode(cb).array();
63 CharBuffer cb = CharBuffer.allocate(length);
64 cb.put(chars, offset, length);
65 return ISO_8859_1.encode(cb).array();
73 CharBuffer cb = CharBuffer.allocate(length);
74 cb.put(chars, offset, length);
75 return UTF_8.encode(cb).array();
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DIPlayerService.aidl27 void registerCallback(in IPlayerCallback cb);
28 void unregisterCallback(in IPlayerCallback cb);
29 void sendRequest(String action, in Bundle params, in IRequestCallback cb);
H A DPlayerService.java124 public void sendRequest(String action, Bundle params, IRequestCallback cb) { argument
133 public void registerCallback(final IPlayerCallback cb) throws RemoteException { argument
134 if (!mCbs.contains(cb)) {
135 mCbs.add(cb);
136 cb.asBinder().linkToDeath(new IBinder.DeathRecipient() {
139 mCbs.remove(cb);
144 cb.onSessionChanged(getSessionToken());
146 mCbs.remove(cb);
152 public void unregisterCallback(IPlayerCallback cb) throws RemoteException { argument
153 mCbs.remove(cb);
[all...]
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
H A DUpstreamNetworkMonitorTest.java291 public void requestNetwork(NetworkRequest req, NetworkCallback cb, Handler h) { argument
292 assertFalse(allCallbacks.containsKey(cb));
293 allCallbacks.put(cb, h);
294 assertFalse(requested.containsKey(cb));
295 requested.put(cb, req);
299 public void requestNetwork(NetworkRequest req, NetworkCallback cb) { argument
304 public void requestNetwork(NetworkRequest req, NetworkCallback cb, argument
306 assertFalse(allCallbacks.containsKey(cb));
307 allCallbacks.put(cb, h);
308 assertFalse(requested.containsKey(cb));
317 registerNetworkCallback(NetworkRequest req, NetworkCallback cb, Handler h) argument
325 registerNetworkCallback(NetworkRequest req, NetworkCallback cb) argument
330 registerDefaultNetworkCallback(NetworkCallback cb, Handler h) argument
338 registerDefaultNetworkCallback(NetworkCallback cb) argument
343 unregisterNetworkCallback(NetworkCallback cb) argument
[all...]
/frameworks/hardware/interfaces/displayservice/1.0/vts/functional/
H A DVtsFwkDisplayServiceV1_0TargetTest.cpp89 cb = new TestCallback();
90 EXPECT_SUCCESS(receiver->init(cb));
97 sp<TestCallback> cb; member in class:DisplayServiceTest
105 EXPECT_EQ(0, cb->vsyncs);
110 EXPECT_EQ(1, cb->vsyncs);
117 ASSERT_EQ(0, cb->vsyncs);
121 int at1 = cb->vsyncs;
123 cb->vsyncs = 0;
126 int at2 = cb->vsyncs;
128 cb
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DAccessibilityController.java58 public void addStateChangedCallback(AccessibilityStateChangedCallback cb) { argument
59 mChangeCallbacks.add(cb);
60 cb.onStateChanged(mAccessibilityEnabled, mTouchExplorationEnabled);
63 public void removeStateChangedCallback(AccessibilityStateChangedCallback cb) { argument
64 mChangeCallbacks.remove(cb);
H A DNextAlarmControllerImpl.java54 public void addCallback(NextAlarmChangeCallback cb) { argument
55 mChangeCallbacks.add(cb);
56 cb.onNextAlarmChanged(mNextAlarm);
59 public void removeCallback(NextAlarmChangeCallback cb) { argument
60 mChangeCallbacks.remove(cb);
/frameworks/native/include/android/
H A Dstorage_manager.h129 AStorageManager_obbCallbackFunc cb, void* data);
135 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...]
H A Dchoreographer.cpp52 void postFrameCallback(AChoreographer_frameCallback cb, void* data);
53 void postFrameCallbackDelayed(AChoreographer_frameCallback cb, void* data, nsecs_t delay);
107 void Choreographer::postFrameCallback(AChoreographer_frameCallback cb, void* data) { argument
108 postFrameCallbackDelayed(cb, data, 0);
112 AChoreographer_frameCallback cb, void* data, nsecs_t delay) {
114 FrameCallback callback{cb, data, now + delay};
158 for (const auto& cb : callbacks) {
159 cb.callback(timestamp, cb.data);
111 postFrameCallbackDelayed( AChoreographer_frameCallback cb, void* data, nsecs_t delay) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_image.h52 u8 *cb; member in struct:__anon744
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/native/include/vr/vr_manager/
H A Dvr_manager.h72 virtual void registerListener(const sp<IVrStateCallbacks>& cb) = 0;
73 virtual void unregisterListener(const sp<IVrStateCallbacks>& cb) = 0;
75 const sp<IPersistentVrStateCallbacks>& cb) = 0;
77 const sp<IPersistentVrStateCallbacks>& cb) = 0;
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardUpdateMonitor.java321 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get();
322 if (cb != null) {
323 cb.onTrustChanged(userId);
325 cb.onTrustGrantedWithFlags(flags, userId);
359 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get();
360 if (cb != null) {
361 cb.onSimStateChanged(data.subId, data.slotId, data.simState);
366 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get();
367 if (cb != null) {
368 cb
[all...]
/frameworks/base/core/java/android/os/
H A DRemoteCallbackList.java122 Callback cb = new Callback(callback, cookie);
123 binder.linkToDeath(cb, 0);
124 mCallbacks.put(binder, cb);
151 Callback cb = mCallbacks.remove(callback.asBinder());
152 if (cb != null) {
153 cb.mCallback.asBinder().unlinkToDeath(cb, 0);
171 Callback cb = mCallbacks.valueAt(cbi);
172 cb.mCallback.asBinder().unlinkToDeath(cb,
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DDecorContentParent.java32 void setWindowCallback(Window.Callback cb); argument
48 void setMenu(Menu menu, MenuPresenter.Callback cb); argument
/frameworks/native/libs/vr/libvr_manager/
H A Dvr_manager.cpp97 void registerListener(const sp<IVrStateCallbacks>& cb) override {
100 data.writeStrongBinder(IInterface::asBinder(cb));
104 void unregisterListener(const sp<IVrStateCallbacks>& cb) override {
107 data.writeStrongBinder(IInterface::asBinder(cb));
112 const sp<IPersistentVrStateCallbacks>& cb) override {
115 data.writeStrongBinder(IInterface::asBinder(cb));
120 const sp<IPersistentVrStateCallbacks>& cb) override {
123 data.writeStrongBinder(IInterface::asBinder(cb));
/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/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DWifiTile.java140 CallbackInfo cb = (CallbackInfo) arg;
141 if (cb == null) {
142 cb = mSignalCallback.mInfo;
145 boolean wifiConnected = cb.enabled && (cb.wifiSignalIconId > 0) && (cb.enabledDesc != null);
146 boolean wifiNotConnected = (cb.wifiSignalIconId > 0) && (cb.enabledDesc == null);
147 boolean enabledChanging = state.value != cb.enabled;
149 mDetailAdapter.setItemsVisible(cb
[all...]
H A DCellularTile.java117 CallbackInfo cb = (CallbackInfo) arg;
118 if (cb == null) {
119 cb = mSignalCallback.mInfo;
123 state.activityIn = cb.enabled && cb.activityIn;
124 state.activityOut = cb.enabled && cb.activityOut;
125 state.isOverlayIconWide = cb.isDataTypeIconWide;
126 state.overlayIconId = cb.dataTypeIconId;
130 final String signalContentDesc = cb
[all...]

Completed in 662 milliseconds

12345678