/frameworks/base/core/java/com/android/internal/view/ |
D | InputConnectionWrapper.java | 58 InputContextCallback callback; in getInstance() local 60 callback = sInstance; in getInstance() 64 callback.mHaveValue = false; in getInstance() 66 callback = new InputContextCallback(); in getInstance() 70 callback.mSeq = sSequenceNumber++; in getInstance() 71 return callback; in getInstance() 186 InputContextCallback callback = InputContextCallback.getInstance(); in getTextAfterCursor() local 187 mIInputContext.getTextAfterCursor(length, flags, callback.mSeq, callback); in getTextAfterCursor() 188 synchronized (callback) { in getTextAfterCursor() 189 callback.waitForResultLocked(); in getTextAfterCursor() [all …]
|
D | IInputConnectionWrapper.java | 66 IInputContextCallback callback; field in IInputConnectionWrapper.SomeArgs 91 public void getTextAfterCursor(int length, int flags, int seq, IInputContextCallback callback) { in getTextAfterCursor() argument 92 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_AFTER_CURSOR, length, flags, seq, callback)); in getTextAfterCursor() 95 … public void getTextBeforeCursor(int length, int flags, int seq, IInputContextCallback callback) { in getTextBeforeCursor() argument 96 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_BEFORE_CURSOR, length, flags, seq, callback)); in getTextBeforeCursor() 99 public void getSelectedText(int flags, int seq, IInputContextCallback callback) { in getSelectedText() argument 100 dispatchMessage(obtainMessageISC(DO_GET_SELECTED_TEXT, flags, seq, callback)); in getSelectedText() 103 public void getCursorCapsMode(int reqModes, int seq, IInputContextCallback callback) { in getCursorCapsMode() argument 104 dispatchMessage(obtainMessageISC(DO_GET_CURSOR_CAPS_MODE, reqModes, seq, callback)); in getCursorCapsMode() 108 int flags, int seq, IInputContextCallback callback) { in getExtractedText() argument [all …]
|
D | IInputContext.aidl | 33 void getTextBeforeCursor(int length, int flags, int seq, IInputContextCallback callback); in getTextBeforeCursor() argument 35 void getTextAfterCursor(int length, int flags, int seq, IInputContextCallback callback); in getTextAfterCursor() argument 37 void getCursorCapsMode(int reqModes, int seq, IInputContextCallback callback); in getCursorCapsMode() argument 40 IInputContextCallback callback); in getExtractedText() argument 74 void getSelectedText(int flags, int seq, IInputContextCallback callback); in getSelectedText() argument
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardware.java | 242 geofenceRequest, GeofenceHardwareCallback callback) { in addGeofence() argument 252 getCallbackWrapper(callback)); in addGeofence() 376 GeofenceHardwareMonitorCallback callback) { in registerForMonitorStateChangeCallback() argument 379 getMonitorCallbackWrapper(callback)); in registerForMonitorStateChangeCallback() 404 GeofenceHardwareMonitorCallback callback) { in unregisterForMonitorStateChangeCallback() argument 408 getMonitorCallbackWrapper(callback)); in unregisterForMonitorStateChangeCallback() 409 if (result) removeMonitorCallback(callback); in unregisterForMonitorStateChangeCallback() 417 private void removeCallback(GeofenceHardwareCallback callback) { in removeCallback() argument 419 mCallbacks.remove(callback); in removeCallback() 423 private GeofenceHardwareCallbackWrapper getCallbackWrapper(GeofenceHardwareCallback callback) { in getCallbackWrapper() argument [all …]
|
D | GeofenceHardwareImpl.java | 215 int notificationResponsivenes, int unknownTimer, IGeofenceHardwareCallback callback) { in addCircularFence() argument 233 mGeofences.put(geofenceId, callback); in addCircularFence() 276 Message m = mReaperHandler.obtainMessage(REAPER_GEOFENCE_ADDED, callback); in addCircularFence() 409 IGeofenceHardwareMonitorCallback callback) { in registerForMonitorStateChangeCallback() argument 411 mReaperHandler.obtainMessage(REAPER_MONITOR_CALLBACK_ADDED, callback); in registerForMonitorStateChangeCallback() 415 Message m = mCallbacksHandler.obtainMessage(CALLBACK_ADD, callback); in registerForMonitorStateChangeCallback() 422 IGeofenceHardwareMonitorCallback callback) { in unregisterForMonitorStateChangeCallback() argument 423 Message m = mCallbacksHandler.obtainMessage(CALLBACK_REMOVE, callback); in unregisterForMonitorStateChangeCallback() 537 IGeofenceHardwareCallback callback; 542 callback = mGeofences.get(geofenceId); [all …]
|
/frameworks/base/core/java/android/view/ |
D | Choreographer.java | 384 public void postFrameCallback(FrameCallback callback) { in postFrameCallback() argument 385 postFrameCallbackDelayed(callback, 0); in postFrameCallback() 400 public void postFrameCallbackDelayed(FrameCallback callback, long delayMillis) { in postFrameCallbackDelayed() argument 401 if (callback == null) { in postFrameCallbackDelayed() 406 callback, FRAME_CALLBACK_TOKEN, delayMillis); in postFrameCallbackDelayed() 417 public void removeFrameCallback(FrameCallback callback) { in removeFrameCallback() argument 418 if (callback == null) { in removeFrameCallback() 422 removeCallbacksInternal(CALLBACK_ANIMATION, callback, FRAME_CALLBACK_TOKEN); in removeFrameCallback() 616 CallbackRecord callback = mCallbackPool; in obtainCallbackLocked() local 617 if (callback == null) { in obtainCallbackLocked() [all …]
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | RemotePlaybackClient.java | 213 public void setStatusCallback(StatusCallback callback) { in setStatusCallback() argument 214 mStatusCallback = callback; in setStatusCallback() 246 long positionMillis, Bundle extras, ItemActionCallback callback) { in play() argument 248 extras, callback, MediaControlIntent.ACTION_PLAY); in play() 281 long positionMillis, Bundle extras, ItemActionCallback callback) { in enqueue() argument 283 extras, callback, MediaControlIntent.ACTION_ENQUEUE); in enqueue() 288 final ItemActionCallback callback, String action) { in playOrEnqueue() argument 307 performItemAction(intent, mSessionId, null, extras, callback); in playOrEnqueue() 336 ItemActionCallback callback) { in seek() argument 344 performItemAction(intent, mSessionId, itemId, extras, callback); in seek() [all …]
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | AbstractInputMethodService.java | 62 public void createSession(SessionCallback callback) { in createSession() argument 63 callback.sessionCreated(onCreateInputMethodSessionInterface()); in createSession() 135 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback) { in dispatchKeyEvent() argument 138 if (callback != null) { in dispatchKeyEvent() 139 callback.finishedEvent(seq, handled); in dispatchKeyEvent() 148 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback) { in dispatchTrackballEvent() argument 150 if (callback != null) { in dispatchTrackballEvent() 151 callback.finishedEvent(seq, handled); in dispatchTrackballEvent() 160 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback) { in dispatchGenericMotionEvent() argument 162 if (callback != null) { in dispatchGenericMotionEvent() [all …]
|
/frameworks/base/core/java/android/os/ |
D | RemoteCallbackList.java | 60 Callback(E callback, Object cookie) { in Callback() argument 61 mCallback = callback; in Callback() 77 public boolean register(E callback) { in register() argument 78 return register(callback, null); in register() 107 public boolean register(E callback, Object cookie) { in register() argument 112 IBinder binder = callback.asBinder(); in register() 114 Callback cb = new Callback(callback, cookie); in register() 141 public boolean unregister(E callback) { in unregister() argument 143 Callback cb = mCallbacks.remove(callback.asBinder()); in unregister() 175 public void onCallbackDied(E callback) { in onCallbackDied() argument [all …]
|
D | Handler.java | 94 if (msg.callback != null) { in dispatchMessage() 127 public Handler(Callback callback) { in Handler() argument 128 this(callback, false); in Handler() 147 public Handler(Looper looper, Callback callback) { in Handler() argument 148 this(looper, callback, false); in Handler() 188 public Handler(Callback callback, boolean async) { in Handler() argument 204 mCallback = callback; in Handler() 227 public Handler(Looper looper, Callback callback, boolean async) { in Handler() argument 230 mCallback = callback; in Handler() 243 if (message.callback != null) { in getMessageName() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCustomFunction.java | 27 public final SQLiteDatabase.CustomFunction callback; field in SQLiteCustomFunction 38 SQLiteDatabase.CustomFunction callback) { in SQLiteCustomFunction() argument 45 this.callback = callback; in SQLiteCustomFunction() 51 callback.callback(args); in dispatchCallback()
|
/frameworks/base/core/java/android/print/ |
D | PrintManager.java | 520 ILayoutResultCallback callback, Bundle metadata, int sequence) { in layout() argument 533 mLastLayoutSpec.callback = callback; in layout() 550 callback.onLayoutFailed(null, sequence); in layout() 559 IWriteResultCallback callback, int sequence) { in write() argument 572 mLastWriteSpec.callback = callback; in write() 588 callback.onWriteFailed(null, sequence); in write() 731 ILayoutResultCallback callback; field in PrintManager.PrintDocumentAdapterDelegate.LayoutSpec 739 IWriteResultCallback callback; field in PrintManager.PrintDocumentAdapterDelegate.WriteSpec 790 new MyLayoutResultCallback(layoutSpec.callback, in handleMessage() 813 cancellation, new MyWriteResultCallback(writeSpec.callback, in handleMessage() [all …]
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | IAccessibilityServiceConnection.aidl | 36 IAccessibilityInteractionConnectionCallback callback, int flags, long threadId); in findAccessibilityNodeInfoByAccessibilityId() argument 39 String text, int interactionId, IAccessibilityInteractionConnectionCallback callback, in findAccessibilityNodeInfosByText() argument 44 IAccessibilityInteractionConnectionCallback callback, long threadId); in findAccessibilityNodeInfosByViewId() argument 47 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId); in findFocus() argument 50 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId); in focusSearch() argument 54 IAccessibilityInteractionConnectionCallback callback, long threadId); in performAccessibilityAction() argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
D | Handler_Delegate.java | 37 IHandlerCallback callback = sCallbacks.get(); in sendMessageAtTime() local 38 if (callback != null) { in sendMessageAtTime() 39 callback.sendMessageAtTime(handler, msg, uptimeMillis); in sendMessageAtTime() 53 public static void setCallback(IHandlerCallback callback) { in setCallback() argument 54 sCallbacks.set(callback); in setCallback()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | IAccessibilityInteractionConnection.aidl | 33 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, in findAccessibilityNodeInfoByAccessibilityId() argument 37 int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, in findAccessibilityNodeInfosByViewId() argument 41 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, in findAccessibilityNodeInfosByText() argument 45 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, in findFocus() argument 49 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, in focusSearch() argument 53 int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, in performAccessibilityAction() argument
|
/frameworks/base/core/java/android/app/ |
D | Application.java | 134 public void registerComponentCallbacks(ComponentCallbacks callback) { in registerComponentCallbacks() argument 136 mComponentCallbacks.add(callback); in registerComponentCallbacks() 140 public void unregisterComponentCallbacks(ComponentCallbacks callback) { in unregisterComponentCallbacks() argument 142 mComponentCallbacks.remove(callback); in unregisterComponentCallbacks() 146 public void registerActivityLifecycleCallbacks(ActivityLifecycleCallbacks callback) { in registerActivityLifecycleCallbacks() argument 148 mActivityLifecycleCallbacks.add(callback); in registerActivityLifecycleCallbacks() 152 public void unregisterActivityLifecycleCallbacks(ActivityLifecycleCallbacks callback) { in unregisterActivityLifecycleCallbacks() argument 154 mActivityLifecycleCallbacks.remove(callback); in unregisterActivityLifecycleCallbacks() 158 public void registerOnProvideAssistDataListener(OnProvideAssistDataListener callback) { in registerOnProvideAssistDataListener() argument 163 mAssistCallbacks.add(callback); in registerOnProvideAssistDataListener() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | NativeActionModeAwareLayout.java | 41 public ActionMode startActionModeForChild(View originalView, ActionMode.Callback callback) { in startActionModeForChild() argument 43 callback = mActionModeForChildListener.onActionModeForChild(callback); in startActionModeForChild() 45 return super.startActionModeForChild(originalView, callback); in startActionModeForChild() 52 ActionMode.Callback onActionModeForChild(ActionMode.Callback callback); in onActionModeForChild() argument
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
D | WebStorageAdapter.java | 38 public void getOrigins(final ValueCallback<Map> callback) { in getOrigins() argument 51 callback.onReceiveValue(originsMap); in getOrigins() 57 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) { in getUsageForOrigin() argument 58 mQuotaManagerBridge.getUsageForOrigin(origin, callback); in getUsageForOrigin() 62 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) { in getQuotaForOrigin() argument 63 mQuotaManagerBridge.getQuotaForOrigin(origin, callback); in getQuotaForOrigin()
|
D | GeolocationPermissionsAdapter.java | 54 public void getAllowed(String origin, ValueCallback<Boolean> callback) { in getAllowed() argument 55 mChromeGeolocationPermissions.getAllowed(origin, callback); in getAllowed() 59 public void getOrigins(ValueCallback<Set<String>> callback) { in getOrigins() argument 60 mChromeGeolocationPermissions.getOrigins(callback); in getOrigins()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | ActionBarImplHC.java | 31 public ActionBarImplHC(ActionBarActivity activity, Callback callback) { in ActionBarImplHC() argument 32 super(activity, callback); in ActionBarImplHC() 46 public ActionMode.Callback onActionModeForChild(ActionMode.Callback callback) { in onActionModeForChild() argument 47 return new CallbackWrapper(callback); in onActionModeForChild() 75 CallbackWrapper(ActionMode.Callback callback) { in CallbackWrapper() argument 76 mWrappedCallback = callback; in CallbackWrapper()
|
/frameworks/wilhelm/src/android/ |
D | MediaPlayer_to_android.cpp | 60 slPrefetchCallback callback = NULL; in player_handleMediaPlayerEventNotifications() local 84 callback = mp->mPrefetchStatus.mCallback; in player_handleMediaPlayerEventNotifications() 94 if (NULL != callback) { in player_handleMediaPlayerEventNotifications() 95 (*callback)(&mp->mPrefetchStatus.mItf, callbackPContext, events); in player_handleMediaPlayerEventNotifications() 128 xaStreamEventChangeCallback callback = mp->mStreamInfo.mCallback; in player_handleMediaPlayerEventNotifications() local 134 if ((NULL != callback) && (index >= 0)) { in player_handleMediaPlayerEventNotifications() 136 (*callback)(&mp->mStreamInfo.mItf, XA_STREAMCBEVENT_PROPERTYCHANGE /*eventId*/, in player_handleMediaPlayerEventNotifications() 141 SLresult res = EnqueueAsyncCallback_piipp(mp, callback, in player_handleMediaPlayerEventNotifications() 149 callback, &mp->mStreamInfo.mItf, callbackPContext); in player_handleMediaPlayerEventNotifications() 201 slPrefetchCallback callback = NULL; in player_handleMediaPlayerEventNotifications() local [all …]
|
D | AudioRecorder_to_android.cpp | 110 slRecordCallback callback = NULL; in audioRecorder_handleNewPos_lockRecord() local 114 callback = ar->mRecord.mCallback; in audioRecorder_handleNewPos_lockRecord() 118 if (NULL != callback) { in audioRecorder_handleNewPos_lockRecord() 120 (*callback)(&ar->mRecord.mItf, callbackPContext, SL_RECORDEVENT_HEADATNEWPOS); in audioRecorder_handleNewPos_lockRecord() 127 slRecordCallback callback = NULL; in audioRecorder_handleMarker_lockRecord() local 131 callback = ar->mRecord.mCallback; in audioRecorder_handleMarker_lockRecord() 135 if (NULL != callback) { in audioRecorder_handleMarker_lockRecord() 137 (*callback)(&ar->mRecord.mItf, callbackPContext, SL_RECORDEVENT_HEADATMARKER); in audioRecorder_handleMarker_lockRecord() 144 slRecordCallback callback = NULL; in audioRecorder_handleOverrun_lockRecord() local 149 callback = ar->mRecord.mCallback; in audioRecorder_handleOverrun_lockRecord() [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | NfcActivityManager.java | 203 public void enableReaderMode(Activity activity, ReaderCallback callback, int flags, in enableReaderMode() argument 209 state.readerCallback = callback; in enableReaderMode() 260 NfcAdapter.CreateBeamUrisCallback callback) { in setNdefPushContentUriCallback() argument 264 state.uriCallback = callback; in setNdefPushContentUriCallback() 286 NfcAdapter.CreateNdefMessageCallback callback, int flags) { in setNdefPushMessageCallback() argument 290 state.ndefMessageCallback = callback; in setNdefPushMessageCallback() 300 NfcAdapter.OnNdefPushCompleteCallback callback) { in setOnNdefPushCompleteCallback() argument 304 state.onNdefPushCompleteCallback = callback; in setOnNdefPushCompleteCallback() 372 NfcAdapter.OnNdefPushCompleteCallback callback; in onNdefPushComplete() local 377 callback = state.onNdefPushCompleteCallback; in onNdefPushComplete() [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | IBluetoothManager.aidl | 31 IBluetooth registerAdapter(in IBluetoothManagerCallback callback); in registerAdapter() argument 32 void unregisterAdapter(in IBluetoothManagerCallback callback); in unregisterAdapter() argument 33 void registerStateChangeCallback(in IBluetoothStateChangeCallback callback); in registerStateChangeCallback() argument 34 void unregisterStateChangeCallback(in IBluetoothStateChangeCallback callback); in unregisterStateChangeCallback() argument
|
/frameworks/base/services/java/com/android/server/ |
D | TelephonyRegistry.java | 71 IPhoneStateListener callback; field in TelephonyRegistry.Record 190 public void listen(String pkgForDebug, IPhoneStateListener callback, int events, in listen() argument 207 IBinder b = callback.asBinder(); in listen() 217 r.callback = callback; in listen() 228 r.callback.onServiceStateChanged(new ServiceState(mServiceState)); in listen() 236 r.callback.onSignalStrengthChanged((gsmSignalStrength == 99 ? -1 in listen() 244 r.callback.onMessageWaitingIndicatorChanged(mMessageWaiting); in listen() 251 r.callback.onCallForwardingIndicatorChanged(mCallForwarding); in listen() 259 r.callback.onCellLocationChanged(new Bundle(mCellLocation)); in listen() 266 r.callback.onCallStateChanged(mCallState, mCallIncomingNumber); in listen() [all …]
|