/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepServer.java | 60 public SnepServer(Callback callback) { in SnepServer() argument 61 mCallback = callback; in SnepServer() 69 public SnepServer(String serviceName, int serviceSap, Callback callback) { in SnepServer() argument 70 mCallback = callback; in SnepServer() 78 public SnepServer(Callback callback, int miu, int rwSize) { in SnepServer() argument 79 mCallback = callback; in SnepServer() 87 SnepServer(String serviceName, int serviceSap, int fragmentLength, Callback callback) { in SnepServer() argument 88 mCallback = callback; in SnepServer() 140 static boolean handleRequest(SnepMessenger messenger, Callback callback) throws IOException { in handleRequest() argument 159 messenger.sendMessage(callback.doGet(request.getAcceptableLength(), in handleRequest() [all …]
|
/packages/apps/Phone/src/com/android/phone/ |
D | CallLogAsync.java | 119 OnLastOutgoingCallComplete callback) { in GetLastOutgoingCallArgs() argument 121 this.callback = callback; in GetLastOutgoingCallArgs() 124 public final OnLastOutgoingCallComplete callback; field in CallLogAsync.GetLastOutgoingCallArgs 147 return new GetLastOutgoingCallTask(args.callback).execute(args); in getLastOutgoingCall() 200 public GetLastOutgoingCallTask(OnLastOutgoingCallComplete callback) { in GetLastOutgoingCallTask() argument 201 mCallback = callback; in GetLastOutgoingCallTask()
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | BackgroundLoaderManager.java | 107 public boolean addCallback(Uri uri, ItemLoadedCallback callback) { in addCallback() argument 109 Log.d(TAG, "Adding image callback " + callback); in addCallback() 114 if (callback == null) { in addCallback() 122 callbacks.add(callback); in addCallback() 126 public void cancelCallback(ItemLoadedCallback callback) { in cancelCallback() argument 128 Log.d(TAG, "Cancelling image callback " + callback); in cancelCallback() 132 callbacks.remove(callback); in cancelCallback()
|
D | PduLoaderManager.java | 75 final ItemLoadedCallback<PduLoaded> callback) { in getPdu() argument 93 final boolean callbackRequired = (callback != null); in getPdu() 98 callback.onItemLoaded(pduLoaded, null); in getPdu() 104 addCallback(uri, callback); in getPdu() 116 cancelCallback(callback); in getPdu() 201 for (final ItemLoadedCallback<PduLoaded> callback : asList(callbacks)) { in run() 203 Log.d(TAG, "Invoking pdu callback " + callback); in run() 206 callback.onItemLoaded(pduLoaded, resultException); in run()
|
D | ThumbnailManager.java | 107 final ItemLoadedCallback<ImageLoaded> callback) { in getThumbnail() argument 108 return getThumbnail(uri, false, callback); in getThumbnail() 119 final ItemLoadedCallback<ImageLoaded> callback) { in getVideoThumbnail() argument 120 return getThumbnail(uri, true, callback); in getVideoThumbnail() 124 final ItemLoadedCallback<ImageLoaded> callback) { in getThumbnail() argument 134 final boolean callbackRequired = (callback != null); in getThumbnail() 138 thumbnail + " callback: " + callback + " thumbnailExists: " + in getThumbnail() 147 callback.onItemLoaded(imageLoaded, null); in getThumbnail() 153 addCallback(uri, callback); in getThumbnail() 166 cancelCallback(callback); in getThumbnail() [all …]
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothEventManager.java | 112 void registerCallback(BluetoothCallback callback) { in registerCallback() argument 114 mCallbacks.add(callback); in registerCallback() 119 void unregisterCallback(BluetoothCallback callback) { in unregisterCallback() argument 121 mCallbacks.remove(callback); in unregisterCallback() 164 for (BluetoothCallback callback : mCallbacks) { in onReceive() 165 callback.onBluetoothStateChanged(state); in onReceive() 182 for (BluetoothCallback callback : mCallbacks) { in onReceive() 183 callback.onScanningStateChanged(mStarted); in onReceive() 216 for (BluetoothCallback callback : mCallbacks) { in dispatchDeviceAdded() 217 callback.onDeviceAdded(cachedDevice); in dispatchDeviceAdded() [all …]
|
D | CachedBluetoothDevice.java | 561 void registerCallback(Callback callback) { in registerCallback() argument 563 mCallbacks.add(callback); in registerCallback() 567 void unregisterCallback(Callback callback) { in unregisterCallback() argument 569 mCallbacks.remove(callback); in unregisterCallback() 575 for (Callback callback : mCallbacks) { in dispatchAttributesChanged() 576 callback.onDeviceAttributesChanged(); in dispatchAttributesChanged()
|
/packages/apps/Email/src/com/android/email/ |
D | Throttle.java | 72 public Throttle(String name, Runnable callback, Handler handler) { in Throttle() argument 73 this(name, callback, handler, DEFAULT_MIN_TIMEOUT, DEFAULT_MAX_TIMEOUT); in Throttle() 77 public Throttle(String name, Runnable callback, Handler handler,int minTimeout, in Throttle() argument 79 this(name, callback, handler, minTimeout, maxTimeout, Clock.INSTANCE, TIMER); in Throttle() 83 /* package */ Throttle(String name, Runnable callback, Handler handler,int minTimeout, in Throttle() argument 89 mCallback = callback; in Throttle()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageGetter.java | 102 private Runnable callback(final int position, final int offset, in callback() method in ImageGetter.ImageGetterRunnable 180 Runnable cb = callback(mCurrentPosition, offset, 216 Runnable cb = callback(mCurrentPosition, offset, 298 public void postGetterCallback(Runnable callback) { 299 postDelayedGetterCallback(callback, 0); 302 public void postDelayedGetterCallback(Runnable callback, long delay) { 303 if (callback == null) { 308 message.obj = callback;
|
D | ReverseGeocoderTask.java | 41 Callback callback) { in ReverseGeocoderTask() argument 45 mCallback = callback; in ReverseGeocoderTask()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | TestLoaderManager.java | 184 public <D> Loader<D> initLoader(final int id, Bundle args, final LoaderCallbacks<D> callback) { in initLoader() argument 188 return callback.onCreateLoader(id, args); in initLoader() 193 callback.onLoadFinished(loader, data); in initLoader() 201 callback.onLoaderReset(loader); in initLoader() 207 public <D> Loader<D> restartLoader(int id, Bundle args, LoaderCallbacks<D> callback) { 208 return mDelegate.restartLoader(id, args, callback);
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarUtils.java | 132 for (Runnable callback : mTZCallbacks) { in onQueryComplete() 133 if (callback != null) { in onQueryComplete() 134 callback.run(); in onQueryComplete() 269 public String getTimeZone(Context context, Runnable callback) { in getTimeZone() argument 290 mTZCallbacks.add(callback); in getTimeZone() 306 public void forceDBRequery(Context context, Runnable callback) { in forceDBRequery() argument 309 mTZCallbacks.add(callback); in forceDBRequery() 313 getTimeZone(context, callback); in forceDBRequery()
|
D | ContactsAsyncHelper.java | 73 public Runnable callback; field in ContactsAsyncHelper.WorkerArgs 207 args.callback = run; in retrieveContactPhotoAsync() 245 if (args.callback != null) { in handleMessage() 246 args.callback.run(); in handleMessage()
|
/packages/apps/Browser/tests/src/com/android/browser/ |
D | TestWebChromeClient.java | 73 public void onShowCustomView(View view, CustomViewCallback callback) { in onShowCustomView() argument 74 mWrappedClient.onShowCustomView(view, callback); in onShowCustomView() 151 GeolocationPermissions.Callback callback) { in onGeolocationPermissionsShowPrompt() argument 152 mWrappedClient.onGeolocationPermissionsShowPrompt(origin, callback); in onGeolocationPermissionsShowPrompt() 194 public void getVisitedHistory(ValueCallback<String[]> callback) { in getVisitedHistory() argument 195 mWrappedClient.getVisitedHistory(callback); in getVisitedHistory()
|
/packages/apps/Email/src/com/android/email/service/ |
D | EmailServiceUtils.java | 52 IEmailServiceCallback callback) { in getService() argument 53 return new EmailServiceProxy(context, intentAction, callback); in getService() 68 IEmailServiceCallback callback) { in getExchangeService() argument 69 return getService(context, EmailServiceProxy.EXCHANGE_INTENT, callback); in getExchangeService()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | InsertQuickResponseDialog.java | 70 final Callback callback; in newInstance() local 73 callback = (Callback) callbackFragment; in newInstance() 92 final Callback callback; in onCreateDialog() local 94 callback = (Callback) getActivity(); in onCreateDialog()
|
D | MessageCommandButtonView.java | 87 public void setCallback(Callback callback) { in setCallback() argument 88 mCallback = (callback == null) ? EmptyCallback.INSTANCE : callback; in setCallback()
|
D | MessageOrderManager.java | 126 public MessageOrderManager(Context context, MessageListContext listContext, Callback callback) { in MessageOrderManager() argument 127 this(context, listContext, callback, new DelayedOperations(Utility.getMainThreadHandler())); in MessageOrderManager() 131 MessageOrderManager(Context context, MessageListContext listContext, Callback callback, in MessageOrderManager() argument 138 mCallback = new PostingCallback(callback); in MessageOrderManager()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | SaveCopyTask.java | 103 private final Callback callback; field in SaveCopyTask 107 public SaveCopyTask(Context context, Uri sourceUri, File destination, Callback callback) { in SaveCopyTask() argument 110 this.callback = callback; in SaveCopyTask() 254 if (callback != null) { in onPostExecute() 255 callback.onComplete(result); in onPostExecute() 260 ContentResolverQueryCallback callback) { in querySource() argument 267 callback.onCursorResult(cursor); in querySource()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PanoramaMetadataSupport.java | 44 public void getPanoramaSupport(GalleryApp app, PanoramaSupportCallback callback) { in getPanoramaSupport() argument 47 callback.panoramaInfoAvailable(mMediaObject, mPanoramaMetadata.mUsePanoramaViewer, in getPanoramaSupport() 57 mCallbacksWaiting.add(callback); in getPanoramaSupport()
|
/packages/apps/Nfc/src/com/android/nfc/echoserver/ |
D | EchoServer.java | 107 final WriteCallback callback; field in EchoServer.EchoMachine 112 EchoMachine(WriteCallback callback, boolean dumpWhenFull) { in EchoMachine() argument 113 this.callback = callback; in EchoMachine() 162 callback.write(dataQueue.remove()); in handleMessage()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
D | HealthService.java | 330 IBluetoothHealthCallback callback) { in registerAppConfiguration() argument 333 return service.registerAppConfiguration(config, callback); in registerAppConfiguration() 390 IBluetoothHealthCallback callback) { in registerAppConfiguration() argument 397 mApps.put(config, new AppInfo(callback)); in registerAppConfiguration() 501 IBluetoothHealthCallback callback = (mApps.get(config)).mCallback; in callStatusCallback() local 502 if (callback == null) { in callStatusCallback() 507 callback.onHealthAppConfigurationStatusChange(config, status); in callStatusCallback() 594 IBluetoothHealthCallback callback = (mApps.get(config)).mCallback; in callHealthChannelCallback() local 595 if (callback == null) { in callHealthChannelCallback() 601 callback.onHealthChannelStateChange(config, device, prevState, state, dupedFd, id); in callHealthChannelCallback() [all …]
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | TimelineRelativeLayout.java | 62 public void requestLayout(LayoutCallback callback) { in requestLayout() argument 63 mLayoutCallback = callback; in requestLayout()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapAuthenticator.java | 57 public BluetoothPbapAuthenticator(final Handler callback) { in BluetoothPbapAuthenticator() argument 58 mCallback = callback; in BluetoothPbapAuthenticator()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | SymmetricalLinearTween.java | 43 public SymmetricalLinearTween(boolean initial, int duration, TweenCallback callback) { in SymmetricalLinearTween() argument 47 mCallback = callback; in SymmetricalLinearTween()
|