Searched defs:callback (Results 76 - 100 of 194) sorted by relevance

12345678

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java78 public void setKeyguardCallback(KeyguardSecurityCallback callback) { argument
81 ksv.setKeyguardCallback(callback);
H A DKeyguardSelectorView.java243 public void setKeyguardCallback(KeyguardSecurityCallback callback) { argument
244 mCallback = callback;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardServiceWrapper.java87 public void verifyUnlock(IKeyguardExitCallback callback) { argument
89 mService.verifyUnlock(callback);
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java141 AccountManagerCallback<Account[]> callback, Handler handler) {
139 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DTransport.java174 * Registers a service and provides a callback to receive messages.
177 * @param callback The callback to use.
179 public void registerService(int service, Callback callback) { argument
181 if (callback == null) {
182 throw new IllegalArgumentException("callback must not be null");
186 mServices.put(service, callback);
204 final Callback callback;
206 callback = mServices.get(service);
208 if (callback !
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeExpandableAdapter.java48 IProjectCallback callback) {
50 mCallback = callback;
47 FakeExpandableAdapter(ResourceReference adapterRef, AdapterBinding binding, IProjectCallback callback) argument
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientAlternatesAdapter.java77 ArrayList<String> inAddresses, Account account, RecipientMatchCallback callback) {
78 getMatchingRecipients(context, adapter, inAddresses, QUERY_TYPE_EMAIL, account, callback);
88 * @param callback RecipientMatchCallback called when a match or matches are found.
93 RecipientMatchCallback callback) {
129 callback.matchesFound(recipientEntries);
192 callback.matchesFound(entries);
208 callback.matchesFound(entries);
214 callback.matchesNotFound(matchesNotFound);
76 getMatchingRecipients(Context context, BaseRecipientAdapter adapter, ArrayList<String> inAddresses, Account account, RecipientMatchCallback callback) argument
91 getMatchingRecipients(Context context, BaseRecipientAdapter adapter, ArrayList<String> inAddresses, int addressType, Account account, RecipientMatchCallback callback) argument
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipWakeupTimer.java148 * @param callback is called back when the timer goes off; the same callback
151 public synchronized void set(int period, Runnable callback) { argument
155 MyEvent event = new MyEvent(period, callback, now);
173 * Cancels all the timer events with the specified callback.
175 * @param callback the callback
177 public synchronized void cancel(Runnable callback) { argument
179 if (DBG) log("cancel:" + callback);
185 if (event.mCallback == callback) {
294 MyEvent(int period, Runnable callback, long now) argument
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardComposer.java563 * Set a callback for phone number formatting. It will be called every time when this object
568 * and the callback should be responsible for everything about phone number formatting.
574 public void setPhoneNumberTranslationCallback(VCardPhoneNumberTranslationCallback callback) { argument
575 mPhoneTranslationCallback = callback;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarActivityDelegate.java169 abstract ActionMode startSupportActionMode(ActionMode.Callback callback); argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarContainer.java226 public ActionMode startActionModeForChild(View child, ActionMode.Callback callback) { argument
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProvider.java115 * Sets a callback to invoke when the provider's descriptor changes.
117 * @param callback The callback to use, or null if none.
119 public final void setCallback(Callback callback) { argument
121 mCallback = callback;
169 * a callback, it also provides a selector to specify the kinds of routes that
195 * by registering a {@link Callback callback} with {@link #setCallback}.
210 * {@link Callback callback} about the change to the provider's descriptor.
346 * @param callback A {@link ControlRequestCallback} to invoke with the result
349 * invoke the callback whe
354 onControlRequest(Intent intent, ControlRequestCallback callback) argument
[all...]
/frameworks/wilhelm/src/android/
H A DAudioRecorder_to_android.cpp110 slRecordCallback callback = NULL; local
114 callback = ar->mRecord.mCallback;
118 if (NULL != callback) {
120 (*callback)(&ar->mRecord.mItf, callbackPContext, SL_RECORDEVENT_HEADATNEWPOS);
127 slRecordCallback callback = NULL; local
131 callback = ar->mRecord.mCallback;
135 if (NULL != callback) {
137 (*callback)(&ar->mRecord.mItf, callbackPContext, SL_RECORDEVENT_HEADATMARKER);
144 slRecordCallback callback = NULL; local
149 callback
219 slBufferQueueCallback callback = NULL; local
[all...]
H A DMediaPlayer_to_android.cpp44 // it is not safe to enter the callback (the media player is about to go away)
59 // assume no callback
60 slPrefetchCallback callback = NULL; local
84 callback = mp->mPrefetchStatus.mCallback;
93 // callback with no lock held
94 if (NULL != callback) {
95 (*callback)(&mp->mPrefetchStatus.mItf, callbackPContext, events);
127 // callback is unconditional; there is no bitmask of enabled events
128 xaStreamEventChangeCallback callback = mp->mStreamInfo.mCallback; local
134 if ((NULL != callback)
201 slPrefetchCallback callback = NULL; local
226 slPrefetchCallback callback = NULL; local
253 slPlayCallback callback = mp->mPlay.mCallback; local
267 slPrefetchCallback callback = NULL; local
[all...]
H A Dandroid_StreamPlayer.cpp132 slAndroidBufferQueueCallback callback = NULL; local
140 // can this read operation cause us to call the buffer queue callback
251 callback = mAndroidBufferQueue->mCallback;
252 // save callback data while under lock
279 if (NULL != callback) {
280 SLresult result = (*callback)(&mAndroidBufferQueue->mItf, callbackPContext,
/frameworks/wilhelm/src/itf/
H A DIObject.c72 // Make a copy of these, so we can call the callback with mutex unlocked
73 slObjectCallback callback = thiz->mCallback; local
77 // Note that the mutex is unlocked during the callback
78 if (NULL != callback) {
79 (*callback)(&thiz->mItf, context, SL_OBJECT_EVENT_ASYNC_TERMINATION, result, state, NULL);
143 slObjectCallback callback = thiz->mCallback; local
147 // callback because there is no thread pool yet to do it asynchronously.
148 if (async && (NULL != callback)) {
149 (*callback)(&thiz->mItf, context, SL_OBJECT_EVENT_ASYNC_TERMINATION, result, state,
215 // Make a copy of these, so we can call the callback wit
216 slObjectCallback callback = thiz->mCallback; local
387 IObject_RegisterCallback(SLObjectItf self, slObjectCallback callback, void *pContext) argument
[all...]
H A DIOutputMixExt.c118 // NTH should be able to call a desperation callback when completely starved,
297 slBufferQueueCallback callback = bufferQueue->mCallback; local
300 // The callback function is called on each buffer completion
301 if (NULL != callback) {
302 (*callback)((SLBufferQueueItf) bufferQueue, context);
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c71 static void callback(BufferQueueItf caller, void *context) function
209 callback : NULL, expectedContext);
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java601 Callbacks callback) {
602 mCallback = callback;
600 IAccessibilityServiceClientWrapper(Context context, Looper looper, Callbacks callback) argument
/frameworks/base/core/java/android/app/
H A DLoaderManager.java129 * <p>In either case, the given callback is associated with the loader, and
133 * callback {@link LoaderCallbacks#onLoadFinished} will
142 * @param callback Interface the LoaderManager will call to report about
146 LoaderManager.LoaderCallbacks<D> callback);
154 * its work. The callback will be delivered before the old loader
160 * @param callback Interface the LoaderManager will call to report about
164 LoaderManager.LoaderCallbacks<D> callback);
311 // our data, and the owner has a new callback... so
544 LoaderManager.LoaderCallbacks<Object> callback) {
545 LoaderInfo info = new LoaderInfo(id, args, (LoaderManager.LoaderCallbacks<Object>)callback);
145 initLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<D> callback) argument
163 restartLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<D> callback) argument
543 createLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callback) argument
551 createAndInstallLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callback) argument
598 initLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<D> callback) argument
648 restartLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<D> callback) argument
[all...]
H A DSearchDialog.java640 public ActionMode startActionModeForChild(View child, ActionMode.Callback callback) { argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGatt.java170 Log.w(TAG, "Unhandled exception in callback", ex);
297 Log.w(TAG, "Unhandled exception in callback", ex);
344 Log.w(TAG, "Unhandled exception in callback", ex);
390 Log.w(TAG, "Unhandled exception in callback", ex);
421 Log.w(TAG, "Unhandled exception in callback", ex);
471 Log.w(TAG, "Unhandled exception in callback", ex);
519 Log.w(TAG, "Unhandled exception in callback", ex);
536 Log.w(TAG, "Unhandled exception in callback", ex);
553 Log.w(TAG, "Unhandled exception in callback", ex);
558 * Listen command status callback
618 registerApp(BluetoothGattCallback callback) argument
675 connect(Boolean autoConnect, BluetoothGattCallback callback) argument
[all...]
H A DBluetoothHealth.java41 * <li> Create an {@link BluetoothHealth} callback and call
48 * callback will inform the application of channel state change. </li>
135 * the callback is used to notify success or failure if the function returns true.
142 * @param callback A callback to indicate success or failure of the registration and
144 * @return If true, callback will be called.
147 BluetoothHealthCallback callback) {
152 CHANNEL_TYPE_ANY, callback);
158 * the callback is used to notify success or failure if the function returns true.
167 * @param callback
146 registerSinkAppConfiguration(String name, int dataType, BluetoothHealthCallback callback) argument
171 registerAppConfiguration(String name, int dataType, int role, int channelType, BluetoothHealthCallback callback) argument
426 BluetoothHealthCallbackWrapper(BluetoothHealthCallback callback) argument
555 checkAppParam(String name, int role, int channelType, BluetoothHealthCallback callback) argument
[all...]
/frameworks/base/core/java/android/os/
H A DHandler.java94 if (msg.callback != null) {
119 * current thread and takes a callback interface in which you can handle
125 * @param callback The callback interface in which to handle messages, or null.
127 public Handler(Callback callback) { argument
128 this(callback, false);
141 * Use the provided {@link Looper} instead of the default one and take a callback
145 * @param callback The callback interface in which to handle messages, or null.
147 public Handler(Looper looper, Callback callback) { argument
188 Handler(Callback callback, boolean async) argument
227 Handler(Looper looper, Callback callback, boolean async) argument
[all...]
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaImageItem.java623 GetThumbnailListCallback callback)
629 callback.onThumbnail(thumbnail, indices[i]);
641 height, startMs, endMs, thumbnailCount, indices, callback, 0);
619 getThumbnailList(int width, int height, long startMs, long endMs, int thumbnailCount, int[] indices, GetThumbnailListCallback callback) argument

Completed in 731 milliseconds

12345678