/packages/apps/Settings/src/com/android/settings/notification/ |
MediaVolumePreferenceController.java | 22 import com.android.settings.notification.VolumeSeekBarPreference.Callback; 29 public MediaVolumePreferenceController(Context context, Callback callback, Lifecycle lifecycle) { 30 super(context, callback, lifecycle);
|
/external/libbrillo/brillo/streams/ |
stream.h | 11 #include <base/callback.h> 23 // seek within a stream. It has methods for asynchronous (callback-based) as 91 // Standard error callback for asynchronous operations. 92 using ErrorCallback = base::Callback<void(const Error*)>; 193 // callback. 206 const base::Callback<void(size_t)>& success_callback, 279 // for the duration of the error callback. 292 const base::Callback<void(size_t)>& success_callback, 354 // scheduling the flush operation, it returns false and neither callback will 370 // data availability for the stream. Calls |callback| when data can be rea [all...] |
/external/libbrillo/brillo/ |
asynchronous_signal_handler_interface.h | 10 #include <base/callback.h> 17 // execute the associated callback. 22 // The callback called when a signal is received. 23 using SignalHandler = base::Callback<bool(const struct signalfd_siginfo&)>; 26 // registered handler. |callback| will be called on the thread the 29 // |callback|. |callback| must returns |true| if the signal handler must be 34 virtual void RegisterHandler(int signal, const SignalHandler& callback) = 0;
|
/external/libbrillo/brillo/message_loops/ |
message_loop_utils.h | 8 #include <base/callback.h> 21 base::Callback<bool()> terminate);
|
/external/libchrome/base/metrics/ |
user_metrics.h | 11 #include "base/callback.h" 56 typedef Callback<void(const std::string&)> ActionCallback; 61 BASE_EXPORT void AddActionCallback(const ActionCallback& callback); 62 BASE_EXPORT void RemoveActionCallback(const ActionCallback& callback);
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
control_message_proxy.h | 26 void QueryVersion(const base::Callback<void(uint32_t)>& callback);
|
/external/webrtc/webrtc/common_audio/ |
lapped_transform.h | 28 // is supplied to the given callback for processing. The processed output is 33 class Callback { 35 virtual ~Callback() {} 47 // |shift_amount| is in samples. |callback| is the caller-owned audio 55 Callback* callback); 59 // blocks, transforms them to frequency domain, calls the callback for each 90 // Internal middleware callback, given to the blocker. Transforms each block 112 Callback* const block_processor_;
|
/frameworks/base/core/java/android/view/ |
SurfaceHolder.java | 31 * {@link #lockCanvas} and {@link Callback#surfaceCreated Callback.surfaceCreated()}. 66 * {@link #surfaceDestroyed(SurfaceHolder)}. The Callback is set with 69 public interface Callback { 108 * Additional callbacks that can be received for {@link Callback}. 110 public interface Callback2 extends Callback { 150 * Add a Callback interface for this holder. There can several Callback 153 * @param callback The new Callback interface [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
RootViewSurfaceTaker.java | 27 InputQueue.Callback willYouTakeTheInputQueue();
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
WindowCallback.java | 20 import android.view.ActionMode.Callback; 27 * An empty implementation of {@link Window.Callback} that always returns null/false. 29 public class WindowCallback implements Window.Callback { 126 public ActionMode onWindowStartingActionMode(Callback callback) { 131 public ActionMode onWindowStartingActionMode(Callback callback, int type) {
|
/frameworks/native/services/surfaceflinger/ |
DispSync.h | 49 class Callback: public virtual RefBase { 51 virtual ~Callback() {}; 101 // addEventListener registers a callback to be called repeatedly at the 102 // given phase offset from the hardware vsync events. The callback is 106 const sp<Callback>& callback); 108 // removeEventListener removes an already-registered event callback. Once 109 // this method returns that callback will no longer be called by the 111 status_t removeEventListener(const sp<Callback>& callback); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AppCompatCallback.java | 23 * Implemented this in order for AppCompat to be able to callback in certain situations. 46 * callback an opportunity to handle the action mode in its own unique and 50 * @param callback Callback to control the lifecycle of this action mode 54 ActionMode onWindowStartingSupportActionMode(ActionMode.Callback callback);
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
hwc_callbacks.cpp | 55 HWC2::Error HWCCallbacks::Register(HWC2::Callback descriptor, hwc2_callback_data_t callback_data, 58 case HWC2::Callback::Hotplug: 62 case HWC2::Callback::Refresh: 66 case HWC2::Callback::Vsync:
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
hwc_callbacks.cpp | 55 HWC2::Error HWCCallbacks::Register(HWC2::Callback descriptor, hwc2_callback_data_t callback_data, 58 case HWC2::Callback::Hotplug: 62 case HWC2::Callback::Refresh: 66 case HWC2::Callback::Vsync:
|
/system/tpm/trunks/ |
command_transceiver.h | 30 typedef base::Callback<void(const std::string& response)> ResponseCallback; 35 // |callback| will be called with the |response| data from the TPM. If a 36 // transmission error occurs |callback| will be called with a well-formed 39 const ResponseCallback& callback) = 0;
|
/system/update_engine/ |
dbus_test_utils.h | 51 const base::Callback<T>& signal_callback() { return *signal_callback_.get(); } 54 const base::Callback<T>& signal_callback, 56 signal_callback_.reset(new base::Callback<T>(signal_callback)); 59 // Notify from the main loop that the callback was connected. 75 std::unique_ptr<base::Callback<T>> signal_callback_;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ |
ReportStatusCodeRouterSmm.c | 36 Register the callback function for ReportStatusCode() notification.
39 ReportStatusCode() will be forwarded to the Callback function.
41 @param[in] Callback A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is called
45 @retval EFI_INVALID_PARAMETER The callback function was NULL.
54 IN EFI_SMM_RSC_HANDLER_CALLBACK Callback
60 if (Callback == NULL) {
66 if (CallbackEntry->RscHandlerCallback == Callback) {
78 CallbackEntry->RscHandlerCallback = Callback;
86 Remove a previously registered callback function from the notification list.
88 ReportStatusCode() messages will no longer be forwarded to the Callback function. [all...] |
/frameworks/base/core/java/android/os/ |
RemoteCallbackList.java | 47 * <p>If a registered callback's process goes away, this class will take 55 /*package*/ ArrayMap<IBinder, Callback> mCallbacks 56 = new ArrayMap<IBinder, Callback>(); 62 private final class Callback implements IBinder.DeathRecipient { 66 Callback(E callback, Object cookie) { 67 mCallback = callback; 83 public boolean register(E callback) { 84 return register(callback, null); 88 * Add a new callback to the list. This callback will remain in the lis [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
ForegroundUtils.java | 40 private final SparseArray<List<Callback>> mBackgroundCallbacks = 41 new SparseArray<List<Callback>>(); 57 public interface Callback { 67 * and if it does, registers a callback for when that UID no longer has any foreground 69 * get a callback if this method returns true. 71 * @param callback Callback to be called 73 * @return true when the UID has an Activity in the foreground and the callback 76 public boolean registerUidToBackgroundCallback(Callback callback, int uid) [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
ListenerCallQueue.java | 33 * executor. Each callback task can be enqueued and executed as separate phases. 42 abstract static class Callback<L> { 45 Callback(String methodCall) { 51 /** Helper method to add this callback to all the queues. */ 62 @GuardedBy("this") private final Queue<Callback<L>> waitQueue = Queues.newArrayDeque(); 71 synchronized void add(Callback<L> callback) { 72 waitQueue.add(callback); 105 Callback<L> nextToRun; 122 "Exception while executing callback: " + listener + "." + nextToRun.methodCall, [all...] |
/frameworks/support/media-compat/api24/android/support/v4/media/session/ |
MediaSessionCompatApi24.java | 32 public static Object createCallback(Callback callback) { 33 return new CallbackProxy<Callback>(callback); 47 public interface Callback extends MediaSessionCompatApi23.Callback { 54 static class CallbackProxy<T extends Callback> 56 public CallbackProxy(T callback) { 57 super(callback);
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/ |
GuidedStepAttributesTestFragment.java | 28 static class Callback { 33 static HashMap<Long, Callback> sCallbacks = new HashMap(); 57 Callback callback = sCallbacks.get(action.getId()); local 58 if (callback != null) { 59 callback.onActionClicked(this, action.getId()); 81 Callback callback = sCallbacks.get(action.getId()); local 82 if (callback != null) { 83 callback.onActionClicked(this, action.getId()) [all...] |
/hardware/libhardware/include/hardware/ |
ble_advertiser.h | 48 /** Callback invoked when multi-adv operation has completed */ 49 using StatusCallback = base::Callback<void(uint8_t /* status */)>; 51 base::Callback<void(uint8_t /* advertiser_id */, uint8_t /* status */)>; 53 base::Callback<void(uint8_t /* advertiser_id */, int8_t /* tx_power */, uint8_t /* status */)>; 55 base::Callback<void(uint8_t /* status */, int8_t /* tx_power */)>; 60 using GetAddressCallback = base::Callback<void(uint8_t /* address_type*/, bt_bdaddr_t /*address*/)>;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
DocumentClipper.java | 71 * @param callback callback to notify when operation finishes. 76 FileOperations.Callback callback); 83 * @param callback callback to notify when operation finishes. 87 FileOperations.Callback callback); 94 * @param callback callback to notify when operation finishe [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupNoteDialogFragment.java | 34 public static interface Callback { 69 final Callback a = (Callback) getActivity(); 88 final Callback a = (Callback) getActivity();
|