/external/chromium/webkit/glue/media/ |
buffered_data_source.cc | 102 media::PipelineStatusCallback* callback) { 108 callback->Run(media::DATASOURCE_ERROR_URL_NOT_SUPPORTED); 109 delete callback; 112 callback->Run(media::PIPELINE_ERROR_NETWORK); 113 delete callback; 117 DCHECK(callback); 118 initialize_callback_.reset(callback); 139 void BufferedDataSource::Stop(media::FilterCallback* callback) { 144 if (callback) { 145 callback->Run() [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
DalvCode.java | 120 * given callback to perform lookups. This must be called before 123 * @param callback {@code non-null;} callback object 125 public void assignIndices(AssignIndicesCallback callback) { 126 unprocessedInsns.assignIndices(callback); 220 * Class used as a callback for {@link #assignIndices}.
|
/external/icu4c/samples/ucnv/ |
flagcb.c | 46 in a callback. */ 70 * - Set the callback+context to the sub of this (flag) cb 92 /* Now, call the sub callback if present */ 129 /* Debugging callback, just outputs what happens */ 131 /* Test safe clone callback */ 230 /* set back callback */
|
/external/openssl/crypto/bn/ |
bn_depr.c | 70 void (*callback)(int,int,void *), void *cb_arg) 76 BN_GENCB_set_old(&cb, callback, cb_arg); 94 int BN_is_prime(const BIGNUM *a, int checks, void (*callback)(int,int,void *), 98 BN_GENCB_set_old(&cb, callback, cb_arg); 103 void (*callback)(int,int,void *), 108 BN_GENCB_set_old(&cb, callback, cb_arg);
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
RpcUtil.java | 62 * it to an {@code RpcCallback<Message>}. The generalized callback will 64 * it to the correct class before calling the original callback. However, 65 * if the generalized callback is given a message with a different descriptor, 100 * Creates a callback which can only be called once. This may be useful for 101 * security, when passing a callback to untrusted code: most callbacks do 125 * Exception thrown when a one-time callback is called more than once.
|
/external/qemu/hw/ |
goldfish_battery.c | 204 void goldfish_battery_display(void (* callback)(void *data, const char* string), void *data) 210 callback(data, buffer); 230 callback(data, buffer); 253 callback(data, buffer); 256 callback(data, buffer); 259 callback(data, buffer);
|
/external/smack/src/org/jivesoftware/smack/ |
NonSASLAuthentication.java | 27 import org.apache.harmony.javax.security.auth.callback.CallbackHandler;
28 import org.apache.harmony.javax.security.auth.callback.PasswordCallback;
29 import org.apache.harmony.javax.security.auth.callback.Callback;
48 //Use the callback handler to determine the password, and continue on.
51 cbh.handle(new Callback[]{pcb});
|
/external/webkit/LayoutTests/storage/indexeddb/ |
cursor-skip-deleted.html | 57 function resetObjectStore(callback) 60 if (callback === undefined) 61 callback = function () {}; 70 callback(); 86 function testCursor(deleteList, createCursorCommand, callback) 114 callback();
|
/external/webkit/Source/WebCore/bindings/v8/ |
V8DOMMap.h | 47 AbstractWeakReferenceMap(v8::WeakReferenceCallback callback) : m_weakReferenceCallback(callback) { } 79 WeakReferenceMap(v8::WeakReferenceCallback callback) : Parent(callback) { } 141 DOMWrapperMap(v8::WeakReferenceCallback callback) : WeakReferenceMap<KeyType, v8::Object>(callback) { }
|
/external/webkit/Source/WebCore/inspector/front-end/ |
ResourceView.js | 144 editContent: function(newText, callback) 148 this._resource.setContent(newText, majorChange, callback); 169 requestContent: function(callback) 174 callback(mimeType, text); 199 requestContent: function(callback) 204 callback(mimeType, text);
|
/frameworks/base/core/java/android/view/ |
AccessibilityInteractionController.java | 94 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, 104 args.arg1 = callback; 127 final IAccessibilityInteractionConnectionCallback callback = local 156 callback.setFindAccessibilityNodeInfosResult(infos, interactionId); 165 String viewId, int interactionId, IAccessibilityInteractionConnectionCallback callback, 174 args.arg1 = callback; 198 final IAccessibilityInteractionConnectionCallback callback = local 238 callback.setFindAccessibilityNodeInfosResult(infos, interactionId); 246 String text, int interactionId, IAccessibilityInteractionConnectionCallback callback, 254 args.arg2 = callback; 278 final IAccessibilityInteractionConnectionCallback callback = local 383 final IAccessibilityInteractionConnectionCallback callback = local 481 final IAccessibilityInteractionConnectionCallback callback = local 557 final IAccessibilityInteractionConnectionCallback callback = local [all...] |
/frameworks/wilhelm/src/android/ |
BufferQueueSource.cpp | 66 slAndroidBufferQueueCallback callback = NULL; local 82 // can this read operation cause us to call the buffer queue callback 135 callback = mAndroidBufferQueueSource->mCallback; 136 // save callback data while under lock 149 if (NULL != callback) { 150 SLresult result = (*callback)(&mAndroidBufferQueueSource->mItf, callbackPContext,
|
/frameworks/wilhelm/src/itf/ |
IAudioIODeviceCapabilities.c | 71 SLAudioIODeviceCapabilitiesItf self, slAvailableAudioInputsChangedCallback callback, 78 thiz->mAvailableAudioInputsChangedCallback = callback; 141 SLAudioIODeviceCapabilitiesItf self, slAvailableAudioOutputsChangedCallback callback, 148 thiz->mAvailableAudioOutputsChangedCallback = callback; 158 SLAudioIODeviceCapabilitiesItf self, slDefaultDeviceIDMapChangedCallback callback, 165 thiz->mDefaultDeviceIDMapChangedCallback = callback;
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
TestLoaderManager.java | 184 public <D> Loader<D> initLoader(final int id, Bundle args, final LoaderCallbacks<D> callback) { 188 return callback.onCreateLoader(id, args); 193 callback.onLoadFinished(loader, data); 201 callback.onLoaderReset(loader); 207 public <D> Loader<D> restartLoader(int id, Bundle args, LoaderCallbacks<D> callback) { 208 return mDelegate.restartLoader(id, args, callback);
|
/external/bluetooth/bluedroid/stack/include/ |
avdt_api.h | 172 /* Control callback events. */ 278 /* Header structure for callback event parameters. */ 332 /* Union of all control callback event data structures */ 353 /* This is the control callback function. This function passes control events 361 /* This is the data callback function. It is executed when AVDTP has a media 369 /* This is the second version of the data callback function. This version uses 371 ** buffer during callback or can leave the current buffer for further using. 372 ** This callback is called when AVDTP has a media packet ready for the application. 380 /* This is the report callback function. It is executed when AVDTP has a reporting 395 tAVDT_CTRL_CBACK *p_ctrl_cback; /* Control callback function * [all...] |
/frameworks/base/services/java/com/android/server/ |
BluetoothManagerService.java | 313 public IBluetooth registerAdapter(IBluetoothManagerCallback callback){ 315 msg.obj = callback; 322 public void unregisterAdapter(IBluetoothManagerCallback callback) { 326 msg.obj = callback; 330 public void registerStateChangeCallback(IBluetoothStateChangeCallback callback) { 334 msg.obj = callback; 338 public void unregisterStateChangeCallback(IBluetoothStateChangeCallback callback) { 342 msg.obj = callback; 459 //Unregister callback object 490 Log.e(TAG, "Unable to call onBluetoothStateChange() on callback #" + i , e) 759 IBluetoothManagerCallback callback = (IBluetoothManagerCallback) msg.obj; local 766 IBluetoothManagerCallback callback = (IBluetoothManagerCallback) msg.obj; local 773 IBluetoothStateChangeCallback callback = (IBluetoothStateChangeCallback) msg.obj; local 779 IBluetoothStateChangeCallback callback = (IBluetoothStateChangeCallback) msg.obj; local [all...] |
/frameworks/base/core/java/android/webkit/ |
CallbackProxy.java | 44 * the callback functions are called from the WebCore thread and messages are 45 * posted to the UI thread for the actual client callback. 54 // Instance of WebViewClient that is the client callback. 60 // Client registered callback listener for download events 297 // that check for a non-null callback are ok because java ensures atomic 546 GeolocationPermissions.Callback callback = local 547 (GeolocationPermissions.Callback) 548 map.get("callback"); 550 callback); [all...] |
/external/chromium/base/ |
stl_util-inl.h | 283 // Forward declare some callback classes in callback.h for STLBinaryFunction 287 // STLBinaryFunction is a wrapper for the ResultCallback2 class in callback.h 291 // The client should create callback with NewPermanentCallback, and should 292 // delete callback after it is done using the STLBinaryFunction. 297 typedef ResultCallback2<Result, Arg1, Arg2> Callback; 299 STLBinaryFunction(Callback* callback) 300 : callback_(callback) { 309 Callback* callback_ [all...] |
/external/chromium/net/http/ |
http_cache.h | 84 // ERR_IO_PENDING is returned, the |callback| will be notified when the 88 // |callback| because the object can be deleted from within the callback. 91 CompletionCallback* callback) = 0; 110 CompletionCallback* callback); 154 // |callback| will be notified when the operation completes. The pointer that 156 int GetBackend(disk_cache::Backend** backend, CompletionCallback* callback); 236 // Creates the |backend| object and notifies the |callback| when the operation 239 CompletionCallback* callback); 243 // will be notified via its IO callback if this method returns ERR_IO_PENDING [all...] |
http_cache_unittest.cc | 115 net::CompletionCallback* callback) { 117 DCHECK(callback); 133 CallbackLater(callback, num); 138 net::CompletionCallback* callback, bool truncate) { 140 DCHECK(callback); 144 CallbackLater(callback, net::ERR_CACHE_READ_FAILURE); 158 CallbackLater(callback, buf_len); 163 net::CompletionCallback* callback) { 164 DCHECK(callback); 185 CallbackLater(callback, num) 680 net::CompletionCallback* callback() { return callback_; } function in class:__anon5047::MockBlockingBackendFactory 723 TestCompletionCallback callback; local 1031 TestCompletionCallback callback; member in struct:__anon5047::Context 1278 TestCompletionCallback callback; local 1927 TestCompletionCallback callback; local 2108 net::CompletionCallback* callback = factory->callback(); local 2765 TestCompletionCallback callback; local 4063 TestCompletionCallback callback; local 4605 TestCompletionCallback callback; local 4760 TestCompletionCallback callback; local [all...] |
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/ |
MediaRouterJellybean.java | 78 (android.media.MediaRouter.Callback)callbackObj); 83 (android.media.MediaRouter.Callback)callbackObj); 106 public static Object createCallback(Callback callback) { 107 return new CallbackProxy<Callback>(callback); 110 public static Object createVolumeCallback(VolumeCallback callback) { 111 return new VolumeCallbackProxy<VolumeCallback>(callback); 254 public static interface Callback { 358 static class CallbackProxy<T extends Callback> [all...] |
/external/chromium/net/disk_cache/ |
entry_impl.cc | 29 // This class implements FileIOCallback to buffer the callback from a file IO 36 net::CompletionCallback* callback, 38 : entry_(entry), callback_(callback), buf_(buffer), 312 int buf_len, CompletionCallback* callback) { 320 int result = InternalReadData(index, offset, buf, buf_len, callback); 331 int buf_len, CompletionCallback* callback, 340 int result = InternalWriteData(index, offset, buf, buf_len, callback, 352 CompletionCallback* callback) { 360 callback); 366 int buf_len, CompletionCallback* callback) { [all...] |
/external/libusb_aah/libusb/ |
libusb.h | 820 /** Automatically call libusb_free_transfer() after callback returns. 822 * from your transfer callback, as this will result in a double-free 868 * Asynchronous transfer callback function type. When submitting asynchronous 869 * transfers, you pass a pointer to a callback function of this type via the 870 * \ref libusb_transfer::callback "callback" member of the libusb_transfer 873 * \param transfer The libusb_transfer struct the callback function is being 902 * transfer callback function. 914 * use within transfer callback function. Not valid for isochronous 918 /** Callback function. This will be invoked when the transfer completes 920 libusb_transfer_cb_fn callback; member in struct:libusb_transfer [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraGLTest.java | 124 * receive the callback messages. 163 // callback still uses the camera object (setHasPreviewCallback). 172 /** The camera preview callback. Stops capture after the first callback */ 185 /** A simple SurfaceTexture listener callback, meant to be used together with the camera preview 186 * callback */ 196 /** A burst SurfaceTexture listener callback, used for multiple-frame capture */ 227 if (LOGVV) Log.v(TAG, "Wait for surface texture callback"); 237 /** Waits until the camera preview callback has fired */ 239 if (LOGVV) Log.v(TAG, "Wait for preview callback"); [all...] |
/frameworks/av/services/camera/libcameraservice/ |
CameraClient.cpp | 54 // Callback is disabled by default 105 // client will not be accessed from callback. should unlock to prevent dead-lock in disconnect 335 // set the preview callback flag to affect how the received frames from 514 // take a picture - image is returned in callback 669 // Callback messages can be dispatched to internal handlers or pass to our 670 // client's callback functions, depending on the message type. 684 // NOTE: the *Callback functions grab mLock of the client before passing 688 // callback may want to releaseRecordingFrame). The handle* functions must 731 ALOGE("Null data returned in data callback"); 770 ALOGE("Null data returned in data with timestamp callback"); [all...] |