/frameworks/base/core/java/android/os/ |
RemoteCallbackList.java | 50 /*package*/ ArrayMap<IBinder, Callback> mCallbacks 66 synchronized (mCallbacks) { 67 mCallbacks.remove(mCallback.asBinder()); 108 synchronized (mCallbacks) { 116 mCallbacks.put(binder, cb); 142 synchronized (mCallbacks) { 143 Callback cb = mCallbacks.remove(callback.asBinder()); 161 synchronized (mCallbacks) { 162 for (int cbi=mCallbacks.size()-1; cbi>=0; cbi--) { 163 Callback cb = mCallbacks.valueAt(cbi) [all...] |
/frameworks/support/v4/honeycomb_mr2/android/support/v4/os/ |
ParcelableCompatHoneycombMR2.java | 29 private final ParcelableCompatCreatorCallbacks<T> mCallbacks; 32 mCallbacks = callbacks; 36 return mCallbacks.createFromParcel(in, null); 40 return mCallbacks.createFromParcel(in, loader); 44 return mCallbacks.newArray(size);
|
/frameworks/support/v4/java/android/support/v4/os/ |
ParcelableCompat.java | 43 final ParcelableCompatCreatorCallbacks<T> mCallbacks; 46 mCallbacks = callbacks; 51 return mCallbacks.createFromParcel(source, null); 56 return mCallbacks.newArray(size);
|
/packages/services/Telephony/src/com/android/phone/ |
NetworkQueryService.java | 95 final RemoteCallbackList<INetworkQueryServiceCallback> mCallbacks = 113 synchronized (mCallbacks) { 114 mCallbacks.register(cb); 149 synchronized (mCallbacks) { 151 mCallbacks.unregister(cb); 188 synchronized (mCallbacks) { 203 for (int i = (mCallbacks.beginBroadcast() - 1); i >= 0; i--) { 204 INetworkQueryServiceCallback cb = mCallbacks.getBroadcastItem(i); 213 mCallbacks.finishBroadcast();
|
/frameworks/support/v4/java/android/support/v4/media/ |
TransportMediator.java | 50 final TransportPerformer mCallbacks; 65 mCallbacks.onAudioFocusChange(focusChange); 70 return mCallbacks.onGetCurrentPosition(); 75 mCallbacks.onSeekTo(newPositionMs); 133 return isMediaKey(keyCode) ? mCallbacks.onMediaButtonDown(keyCode, event) : false; 142 return isMediaKey(keyCode) ? mCallbacks.onMediaButtonUp(keyCode, event) : false; 161 mCallbacks = callbacks; 240 mController.refreshState(mCallbacks.onIsPlaying(), 241 mCallbacks.onGetCurrentPosition(), 242 mCallbacks.onGetTransportControlFlags()) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SecureConversationViewController.java | 54 private final SecureConversationViewControllerCallbacks mCallbacks; 69 mCallbacks = callbacks; 93 mCallbacks.getFragment(), mCallbacks.getHandler()); 97 mWebView.setWebViewClient(mCallbacks.getWebViewClient()); 104 ConversationViewUtils.setTextZoom(mCallbacks.getFragment().getResources(), settings); 116 mCallbacks.setupConversationHeaderView(mConversationHeaderView); 118 final Fragment fragment = mCallbacks.getFragment(); 122 mCallbacks.getConversationAccountController(), mCallbacks.getAddressCache()) [all...] |
ConversationPositionTracker.java | 47 private final Callbacks mCallbacks; 53 mCallbacks = callbacks; 58 final ConversationCursor cursor = mCallbacks.getConversationListCursor(); 69 final ConversationCursor cursor = mCallbacks.getConversationListCursor(); 140 final ConversationCursor cursor = mCallbacks.getConversationListCursor(); 168 final ConversationCursor cursor = mCallbacks.getConversationListCursor();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
CommandQueue.java | 68 private Callbacks mCallbacks; 104 mCallbacks = callbacks; 248 mCallbacks.addIcon(mList.getSlot(index), index, viewIndex, icon); 251 mCallbacks.updateIcon(mList.getSlot(index), index, viewIndex, 259 mCallbacks.removeIcon(mList.getSlot(index), index, viewIndex); 267 mCallbacks.addNotification(ne.key, ne.notification); 272 mCallbacks.updateNotification(ne.key, ne.notification); 276 mCallbacks.removeNotification((IBinder)msg.obj); 280 mCallbacks.disable(msg.arg1); 283 mCallbacks.animateExpandNotificationsPanel() [all...] |
ServiceMonitor.java | 155 private final Callbacks mCallbacks; 167 mCallbacks = callbacks; 228 mCallbacks.onNoService(); 230 long delay = mCallbacks.onServiceStartAttempt(); 246 mCallbacks.onNoService();
|
/frameworks/base/core/java/com/android/internal/view/ |
BaseSurfaceHolder.java | 34 public final ArrayList<SurfaceHolder.Callback> mCallbacks 75 synchronized (mCallbacks) { 78 if (mCallbacks.contains(callback) == false) { 79 mCallbacks.add(callback); 85 synchronized (mCallbacks) { 86 mCallbacks.remove(callback); 95 synchronized (mCallbacks) { 96 final int N = mCallbacks.size(); 101 mCallbacks.toArray(mGottenCallbacks);
|
/packages/apps/Mms/src/com/android/mms/util/ |
BackgroundLoaderManager.java | 61 protected final HashMap<Uri, Set<ItemLoadedCallback>> mCallbacks; 69 mCallbacks = new HashMap<Uri, Set<ItemLoadedCallback>>(); 117 Set<ItemLoadedCallback> callbacks = mCallbacks.get(uri); 120 mCallbacks.put(uri, callbacks); 130 for (final Uri uri : mCallbacks.keySet()) { 131 final Set<ItemLoadedCallback> callbacks = mCallbacks.get(uri);
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
TestListFragment.java | 29 private Callbacks mCallbacks = sDummyCallbacks; 68 mCallbacks = (Callbacks) activity; 74 mCallbacks = sDummyCallbacks; 80 mCallbacks.onItemSelected(TestItems.getTest(position).mId);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardUpdateMonitor.java | 126 mCallbacks = Lists.newArrayList(); 424 final int count = mCallbacks.size(); 426 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); 434 final int count = mCallbacks.size(); 436 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); 448 final int count = mCallbacks.size(); 450 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); 463 for (int i = 0; i < mCallbacks.size(); i++) { 464 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); 478 for (int i = 0; i < mCallbacks.size(); i++) [all...] |
/hardware/libhardware/modules/camera/ |
CameraHAL.h | 45 const camera_module_callbacks_t *mCallbacks;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
RotationLockController.java | 28 private final CopyOnWriteArrayList<RotationLockControllerCallback> mCallbacks = 53 mCallbacks.add(callback); 84 for (RotationLockControllerCallback callback : mCallbacks) {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
IsolatedService.java | 49 final RemoteCallbackList<IRemoteServiceCallback> mCallbacks 63 mCallbacks.kill(); 76 if (cb != null) mCallbacks.register(cb); 79 if (cb != null) mCallbacks.unregister(cb); 91 final int N = mCallbacks.beginBroadcast(); 94 mCallbacks.getBroadcastItem(i).valueChanged(value); 100 mCallbacks.finishBroadcast();
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothEventManager.java | 52 private final Collection<BluetoothCallback> mCallbacks = 113 synchronized (mCallbacks) { 114 mCallbacks.add(callback); 120 synchronized (mCallbacks) { 121 mCallbacks.remove(callback); 163 synchronized (mCallbacks) { 164 for (BluetoothCallback callback : mCallbacks) { 181 synchronized (mCallbacks) { 182 for (BluetoothCallback callback : mCallbacks) { 215 synchronized (mCallbacks) { [all...] |
/device/generic/goldfish/camera/ |
EmulatedCameraFactory.h | 180 const camera_module_callbacks_t* mCallbacks;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
BordeauxService.java | 60 final RemoteCallbackList<IBordeauxServiceCallback> mCallbacks = 104 mCallbacks.kill(); 156 if (cb != null) mCallbacks.register(cb); 160 if (cb != null) mCallbacks.unregister(cb);
|
/frameworks/base/core/java/android/hardware/location/ |
GeofenceHardware.java | 137 mCallbacks = new HashMap<GeofenceHardwareCallback, GeofenceHardwareCallbackWrapper>(); 418 synchronized (mCallbacks) { 419 mCallbacks.remove(callback); 424 synchronized (mCallbacks) { 425 GeofenceHardwareCallbackWrapper wrapper = mCallbacks.get(callback); 428 mCallbacks.put(callback, wrapper);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
SystemGesturesPointerEventListener.java | 42 private final Callbacks mCallbacks; 55 mCallbacks = checkNull("callbacks", callbacks); 85 mCallbacks.onDebug(); 95 mCallbacks.onSwipeFromTop(); 98 mCallbacks.onSwipeFromBottom(); 101 mCallbacks.onSwipeFromRight();
|
/frameworks/base/native/android/ |
storage_manager.cpp | 64 Vector<ObbCallback*> mCallbacks; 77 mCallbacks.push(cb); 109 int N = mCallbacks.size(); 111 ObbCallback* cb = mCallbacks.editItemAt(i); 114 mCallbacks.removeAt(i);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationViewHeader.java | 72 private ConversationViewHeaderCallbacks mCallbacks; 136 mCallbacks = callbacks; 195 mCallbacks.onConversationViewHeaderHeightChange(h); 203 if (mCallbacks != null) { 204 mCallbacks.onFoldersClicked();
|
/frameworks/base/core/java/android/app/ |
LoaderManager.java | 228 LoaderManager.LoaderCallbacks<Object> mCallbacks; 245 mCallbacks = callbacks; 265 if (mLoader == null && mCallbacks != null) { 266 mLoader = mCallbacks.onCreateLoader(mId, mArgs); 289 mCallbacks = null; 356 if (mCallbacks != null && mLoader != null && mHaveData && needReset) { 364 mCallbacks.onLoaderReset(mLoader); 371 mCallbacks = null; 474 if (mCallbacks != null) { 483 mCallbacks.onLoadFinished(loader, data) [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
LoaderManager.java | 214 LoaderManager.LoaderCallbacks<Object> mCallbacks; 231 mCallbacks = callbacks; 251 if (mLoader == null && mCallbacks != null) { 252 mLoader = mCallbacks.onCreateLoader(mId, mArgs); 274 mCallbacks = null; 331 if (mCallbacks != null && mLoader != null && mHaveData && needReset) { 339 mCallbacks.onLoaderReset(mLoader); 346 mCallbacks = null; 418 if (mCallbacks != null) { 427 mCallbacks.onLoadFinished(loader, data) [all...] |