/frameworks/base/core/java/android/os/ |
D | RemoteCallbackList.java | 50 /*package*/ ArrayMap<IBinder, Callback> mCallbacks field in RemoteCallbackList 66 synchronized (mCallbacks) { in binderDied() 67 mCallbacks.remove(mCallback.asBinder()); in binderDied() 108 synchronized (mCallbacks) { in register() 116 mCallbacks.put(binder, cb); in register() 142 synchronized (mCallbacks) { in unregister() 143 Callback cb = mCallbacks.remove(callback.asBinder()); in unregister() 161 synchronized (mCallbacks) { in kill() 162 for (int cbi=mCallbacks.size()-1; cbi>=0; cbi--) { in kill() 163 Callback cb = mCallbacks.valueAt(cbi); in kill() [all …]
|
/frameworks/support/v4/java/android/support/v4/media/ |
D | TransportMediator.java | 50 final TransportPerformer mCallbacks; field in TransportMediator 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; in TransportMediator() 240 mController.refreshState(mCallbacks.onIsPlaying(), in pushControllerState() 241 mCallbacks.onGetCurrentPosition(), in pushControllerState() 242 mCallbacks.onGetTransportControlFlags()); in pushControllerState() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | CommandQueue.java | 68 private Callbacks mCallbacks; field in CommandQueue 104 mCallbacks = callbacks; in CommandQueue() 248 mCallbacks.addIcon(mList.getSlot(index), index, viewIndex, icon); in handleMessage() 251 mCallbacks.updateIcon(mList.getSlot(index), index, viewIndex, in handleMessage() 259 mCallbacks.removeIcon(mList.getSlot(index), index, viewIndex); in handleMessage() 267 mCallbacks.addNotification(ne.key, ne.notification); in handleMessage() 272 mCallbacks.updateNotification(ne.key, ne.notification); in handleMessage() 276 mCallbacks.removeNotification((IBinder)msg.obj); in handleMessage() 280 mCallbacks.disable(msg.arg1); in handleMessage() 283 mCallbacks.animateExpandNotificationsPanel(); in handleMessage() [all …]
|
D | ServiceMonitor.java | 155 private final Callbacks mCallbacks; field in ServiceMonitor 167 mCallbacks = callbacks; in ServiceMonitor() 228 mCallbacks.onNoService(); in startService() 230 long delay = mCallbacks.onServiceStartAttempt(); in startService() 246 mCallbacks.onNoService(); in continueStartService()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 126 mCallbacks = Lists.newArrayList(); field in KeyguardUpdateMonitor 424 final int count = mCallbacks.size(); in handleScreenTurnedOn() 426 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleScreenTurnedOn() 434 final int count = mCallbacks.size(); in handleScreenTurnedOff() 436 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleScreenTurnedOff() 448 final int count = mCallbacks.size(); in dispatchSetBackground() 450 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in dispatchSetBackground() 463 for (int i = 0; i < mCallbacks.size(); i++) { in handleSetGenerationId() 464 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleSetGenerationId() 478 for (int i = 0; i < mCallbacks.size(); i++) { in handleSetPlaybackState() [all …]
|
D | KeyguardWidgetPager.java | 76 private Callbacks mCallbacks; field in KeyguardWidgetPager 227 if (mCallbacks != null) { in userActivity() 228 mCallbacks.onUserActivityTimeoutChanged(); in userActivity() 229 mCallbacks.userActivity(); in userActivity() 266 mCallbacks = callbacks; in setCallbacks() 283 if (mCallbacks != null) { in onRemoveView() 284 mCallbacks.onRemoveView(v, deletePermanently); in onRemoveView() 296 if (mCallbacks != null) { in onRemoveViewAnimationCompleted() 297 mCallbacks.onRemoveViewAnimationCompleted(); in onRemoveViewAnimationCompleted() 306 if (mCallbacks != null) { in onAddView() [all …]
|
/frameworks/support/v4/honeycomb_mr2/android/support/v4/os/ |
D | ParcelableCompatHoneycombMR2.java | 29 private final ParcelableCompatCreatorCallbacks<T> mCallbacks; field in ParcelableCompatCreatorHoneycombMR2 32 mCallbacks = callbacks; in ParcelableCompatCreatorHoneycombMR2() 36 return mCallbacks.createFromParcel(in, null); in createFromParcel() 40 return mCallbacks.createFromParcel(in, loader); in createFromParcel() 44 return mCallbacks.newArray(size); in newArray()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseSurfaceHolder.java | 34 public final ArrayList<SurfaceHolder.Callback> mCallbacks field in BaseSurfaceHolder 75 synchronized (mCallbacks) { in addCallback() 78 if (mCallbacks.contains(callback) == false) { in addCallback() 79 mCallbacks.add(callback); in addCallback() 85 synchronized (mCallbacks) { in removeCallback() 86 mCallbacks.remove(callback); in removeCallback() 95 synchronized (mCallbacks) { in getCallbacks() 96 final int N = mCallbacks.size(); in getCallbacks() 101 mCallbacks.toArray(mGottenCallbacks); in getCallbacks()
|
/frameworks/support/v4/java/android/support/v4/os/ |
D | ParcelableCompat.java | 43 final ParcelableCompatCreatorCallbacks<T> mCallbacks; field in ParcelableCompat.CompatCreator 46 mCallbacks = callbacks; in CompatCreator() 51 return mCallbacks.createFromParcel(source, null); in createFromParcel() 56 return mCallbacks.newArray(size); in newArray()
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardware.java | 137 mCallbacks = new HashMap<GeofenceHardwareCallback, GeofenceHardwareCallbackWrapper>(); field in GeofenceHardware 418 synchronized (mCallbacks) { in removeCallback() 419 mCallbacks.remove(callback); in removeCallback() 424 synchronized (mCallbacks) { in getCallbackWrapper() 425 GeofenceHardwareCallbackWrapper wrapper = mCallbacks.get(callback); in getCallbackWrapper() 428 mCallbacks.put(callback, wrapper); in getCallbackWrapper()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | SystemGesturesPointerEventListener.java | 42 private final Callbacks mCallbacks; field in SystemGesturesPointerEventListener 55 mCallbacks = checkNull("callbacks", callbacks); in SystemGesturesPointerEventListener() 85 mCallbacks.onDebug(); in onPointerEvent() 95 mCallbacks.onSwipeFromTop(); in onPointerEvent() 98 mCallbacks.onSwipeFromBottom(); in onPointerEvent() 101 mCallbacks.onSwipeFromRight(); in onPointerEvent()
|
/frameworks/base/native/android/ |
D | storage_manager.cpp | 64 Vector<ObbCallback*> mCallbacks; member 77 mCallbacks.push(cb); in registerObbCallback() 109 int N = mCallbacks.size(); in fireCallback() 111 ObbCallback* cb = mCallbacks.editItemAt(i); in fireCallback() 114 mCallbacks.removeAt(i); in fireCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RotationLockController.java | 28 private final CopyOnWriteArrayList<RotationLockControllerCallback> mCallbacks = field in RotationLockController 53 mCallbacks.add(callback); in addRotationLockControllerCallback() 84 for (RotationLockControllerCallback callback : mCallbacks) { in notifyChanged()
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BordeauxService.java | 60 final RemoteCallbackList<IBordeauxServiceCallback> mCallbacks = field in BordeauxService 104 mCallbacks.kill(); in onDestroy() 156 if (cb != null) mCallbacks.register(cb); 160 if (cb != null) mCallbacks.unregister(cb);
|
/frameworks/base/core/java/android/app/ |
D | LoaderManager.java | 228 LoaderManager.LoaderCallbacks<Object> mCallbacks; field in LoaderManagerImpl.LoaderInfo 245 mCallbacks = callbacks; in LoaderInfo() 265 if (mLoader == null && mCallbacks != null) { in start() 266 mLoader = mCallbacks.onCreateLoader(mId, mArgs); in start() 289 mCallbacks = null; in retain() 356 if (mCallbacks != null && mLoader != null && mHaveData && needReset) { in destroy() 364 mCallbacks.onLoaderReset(mLoader); in destroy() 371 mCallbacks = null; in destroy() 474 if (mCallbacks != null) { in callOnLoadFinished() 483 mCallbacks.onLoadFinished(loader, data); in callOnLoadFinished() [all …]
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | LoaderManager.java | 214 LoaderManager.LoaderCallbacks<Object> mCallbacks; field in LoaderManagerImpl.LoaderInfo 231 mCallbacks = callbacks; in LoaderInfo() 251 if (mLoader == null && mCallbacks != null) { in start() 252 mLoader = mCallbacks.onCreateLoader(mId, mArgs); in start() 274 mCallbacks = null; in retain() 331 if (mCallbacks != null && mLoader != null && mHaveData && needReset) { in destroy() 339 mCallbacks.onLoaderReset(mLoader); in destroy() 346 mCallbacks = null; in destroy() 418 if (mCallbacks != null) { in callOnLoadFinished() 427 mCallbacks.onLoadFinished(loader, data); in callOnLoadFinished() [all …]
|
/frameworks/base/core/java/android/view/ |
D | SurfaceView.java | 90 final ArrayList<SurfaceHolder.Callback> mCallbacks field in SurfaceView 618 synchronized (mCallbacks) { in getSurfaceCallbacks() 619 callbacks = new SurfaceHolder.Callback[mCallbacks.size()]; in getSurfaceCallbacks() 620 mCallbacks.toArray(callbacks); in getSurfaceCallbacks() 710 synchronized (mCallbacks) { 713 if (mCallbacks.contains(callback) == false) { 714 mCallbacks.add(callback); 721 synchronized (mCallbacks) { 722 mCallbacks.remove(callback);
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | DisplaySourceService.java | 46 private final Callbacks mCallbacks; field in DisplaySourceService 59 mCallbacks = callbacks; in DisplaySourceService() 159 mCallbacks.onDisplayAdded((Display)msg.obj); in handleMessage() 164 mCallbacks.onDisplayRemoved((Display)msg.obj); in handleMessage()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActivityChooserView.java | 77 private final Callbacks mCallbacks; field in ActivityChooserView 226 mCallbacks = new Callbacks(); in ActivityChooserView() 232 mDefaultActivityButton.setOnClickListener(mCallbacks); in ActivityChooserView() 233 mDefaultActivityButton.setOnLongClickListener(mCallbacks); in ActivityChooserView() 237 mExpandActivityOverflowButton.setOnClickListener(mCallbacks); in ActivityChooserView() 487 mListPopupWindow.setOnItemClickListener(mCallbacks); in getListPopupWindow() 488 mListPopupWindow.setOnDismissListener(mCallbacks); in getListPopupWindow()
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftOMXComponent.cpp | 33 mCallbacks(callbacks), in SoftOMXComponent() 91 (*mCallbacks->EventHandler)( in notify() 101 (*mCallbacks->EmptyBufferDone)( in notifyEmptyBufferDone() 106 (*mCallbacks->FillBufferDone)( in notifyFillBufferDone()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserView.java | 78 private final Callbacks mCallbacks; field in ActivityChooserView 227 mCallbacks = new Callbacks(); in ActivityChooserView() 233 mDefaultActivityButton.setOnClickListener(mCallbacks); in ActivityChooserView() 234 mDefaultActivityButton.setOnLongClickListener(mCallbacks); in ActivityChooserView() 238 expandButton.setOnClickListener(mCallbacks); in ActivityChooserView() 515 mListPopupWindow.setOnItemClickListener(mCallbacks); in getListPopupWindow() 516 mListPopupWindow.setOnDismissListener(mCallbacks); in getListPopupWindow()
|
/frameworks/base/services/java/com/android/server/ |
D | PreferredComponent.java | 53 private final Callbacks mCallbacks; field in PreferredComponent 62 mCallbacks = callbacks; in PreferredComponent() 97 mCallbacks = callbacks; in PreferredComponent() 156 } else if (!mCallbacks.onReadTag(tagName, parser)) { in PreferredComponent()
|
D | BluetoothManagerService.java | 105 private final RemoteCallbackList<IBluetoothManagerCallback> mCallbacks; field in BluetoothManagerService 209 mCallbacks = new RemoteCallbackList<IBluetoothManagerCallback>(); in BluetoothManagerService() 498 int n = mCallbacks.beginBroadcast(); in sendBluetoothServiceUpCallback() 502 mCallbacks.getBroadcastItem(i).onBluetoothServiceUp(mBluetooth); in sendBluetoothServiceUpCallback() 507 mCallbacks.finishBroadcast(); in sendBluetoothServiceUpCallback() 516 int n = mCallbacks.beginBroadcast(); in sendBluetoothServiceDownCallback() 520 mCallbacks.getBroadcastItem(i).onBluetoothServiceDown(); in sendBluetoothServiceDownCallback() 525 mCallbacks.finishBroadcast(); in sendBluetoothServiceDownCallback() 755 boolean added = mCallbacks.register(callback); in handleMessage() 762 boolean removed = mCallbacks.unregister(callback); in handleMessage()
|
/frameworks/base/services/java/com/android/server/display/ |
D | DisplayManagerService.java | 149 public final SparseArray<CallbackRecord> mCallbacks = field in DisplayManagerService 447 if (mCallbacks.get(callingPid) != null) { in registerCallback() 461 mCallbacks.put(callingPid, record); in registerCallback() 467 mCallbacks.remove(record.mPid); in onCallbackDied() 481 CallbackRecord record = mCallbacks.get(callingPid); in startWifiDisplayScan() 513 CallbackRecord record = mCallbacks.get(callingPid); in stopWifiDisplayScan() 1129 count = mCallbacks.size(); in deliverDisplayEvent() 1132 mTempCallbacks.add(mCallbacks.valueAt(i)); in deliverDisplayEvent() 1195 final int callbackCount = mCallbacks.size(); in dump() 1199 CallbackRecord callback = mCallbacks.valueAt(i); in dump()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeechService.java | 89 private CallbackMap mCallbacks; field in TextToSpeechService 106 mCallbacks = new CallbackMap(); in onCreate() 124 mCallbacks.kill(); in onDestroy() 501 mCallbacks.dispatchOnDone(getCallerIdentity(), utteranceId); in dispatchOnDone() 509 mCallbacks.dispatchOnStart(getCallerIdentity(), utteranceId); in dispatchOnStart() 517 mCallbacks.dispatchOnError(getCallerIdentity(), utteranceId); in dispatchOnError() 932 mCallbacks.setCallback(caller, cb);
|