Searched defs:callbacks (Results 1 - 25 of 99) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/print/mockservice/
H A DMockPrintService.java25 public static void setCallbacks(PrintServiceCallbacks callbacks) { argument
27 sCallbacks = callbacks;
H A DStubbablePrinterDiscoverySession.java33 PrinterDiscoverySessionCallbacks callbacks) {
35 mCallbacks = callbacks;
32 StubbablePrinterDiscoverySession(PrintService service, PrinterDiscoverySessionCallbacks callbacks) argument
/frameworks/base/core/java/com/android/internal/view/
H A DSurfaceCallbackHelper.java46 public void dispatchSurfaceRedrawNeededAsync(SurfaceHolder holder, SurfaceHolder.Callback callbacks[]) { argument
47 if (callbacks == null || callbacks.length == 0) {
53 mFinishDrawingExpected = callbacks.length;
57 for (SurfaceHolder.Callback c : callbacks) {
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/mockservice/
H A DMockPrintService.java25 public static void setCallbacks(PrintServiceCallbacks callbacks) { argument
27 sCallbacks = callbacks;
H A DStubbablePrinterDiscoverySession.java33 PrinterDiscoverySessionCallbacks callbacks) {
35 mCallbacks = callbacks;
32 StubbablePrinterDiscoverySession(PrintService service, PrinterDiscoverySessionCallbacks callbacks) argument
/frameworks/support/compat/java/android/support/v4/os/
H A DParcelableCompat.java33 * @param callbacks Creator callbacks implementation.
40 ParcelableCompatCreatorCallbacks<T> callbacks) {
41 return new ParcelableCompatCreatorHoneycombMR2<T>(callbacks);
48 ParcelableCompatCreatorHoneycombMR2(ParcelableCompatCreatorCallbacks<T> callbacks) { argument
49 mCallbacks = callbacks;
39 newCreator( ParcelableCompatCreatorCallbacks<T> callbacks) argument
/frameworks/av/media/libstagefright/codecs/on2/enc/
H A DSoftVP9Encoder.cpp36 const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData,
39 name, callbacks, appData, component, "video_encoder.vp9",
35 SoftVP9Encoder( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
H A DSoftVP8Encoder.cpp43 const OMX_CALLBACKTYPE *callbacks,
47 name, callbacks, appData, component, "video_encoder.vp8",
42 SoftVP8Encoder(const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
H A DShortcutKeyServiceProxy.java39 public ShortcutKeyServiceProxy(Callbacks callbacks) { mCallbacks = callbacks; } argument
/frameworks/av/camera/ndk/
H A DNdkCameraDevice.cpp152 const ACameraCaptureSession_stateCallbacks* callbacks,
155 if (device == nullptr || outputs == nullptr || callbacks == nullptr || session == nullptr) {
156 ALOGE("%s: Error: invalid input: device %p, outputs %p, callbacks %p, session %p",
157 __FUNCTION__, device, outputs, callbacks, session);
160 return device->createCaptureSession(outputs, callbacks, session);
149 ACameraDevice_createCaptureSession( ACameraDevice* device, const ACaptureSessionOutputContainer* outputs, const ACameraCaptureSession_stateCallbacks* callbacks, ACameraCaptureSession** session) argument
/frameworks/av/media/libstagefright/omx/
H A DSimpleSoftOMXComponent.cpp31 const OMX_CALLBACKTYPE *callbacks,
34 : SoftOMXComponent(name, callbacks, appData, component),
29 SimpleSoftOMXComponent( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
H A DSoftOMXPlugin.cpp73 const OMX_CALLBACKTYPE *callbacks,
113 (*createSoftOMXComponent)(name, callbacks, appData, component);
71 makeComponentInstance( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
H A DOMXMaster.cpp144 const OMX_CALLBACKTYPE *callbacks,
160 plugin->makeComponentInstance(name, callbacks, appData, component);
142 makeComponentInstance( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintServiceRecommendationService.java130 * @param callbacks The callbacks to call by the service
134 @NonNull RemotePrintServiceRecommendationServiceCallbacks callbacks) {
136 mConnection = new Connection(callbacks);
164 Log.e(LOG_TAG, "Could not unregister callbacks", e);
193 public Connection(@NonNull RemotePrintServiceRecommendationServiceCallbacks callbacks) { argument
194 mCallbacks = callbacks;
221 Log.e(LOG_TAG, "Could not register callbacks", e);
132 RemotePrintServiceRecommendationService(@onNull Context context, @NonNull UserHandle userHandle, @NonNull RemotePrintServiceRecommendationServiceCallbacks callbacks) argument
/frameworks/native/vulkan/libvulkan/
H A Ddebug_report.h90 explicit DebugReportLogger(const DebugReportCallbackList& callbacks) argument
91 : instance_pnext_(nullptr), callbacks_(&callbacks) {}
H A Ddebug_report.cpp131 auto& callbacks = GetData(instance).debug_report_callbacks; local
132 auto node = callbacks.AddCallback(
144 *callback = callbacks.GetHandle(node);
155 auto& callbacks = GetData(instance).debug_report_callbacks;
156 auto node = callbacks.FromHandle(callback);
157 auto driver_handle = callbacks.GetDriverHandle(node);
159 callbacks.RemoveCallback(
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointObjectFactory.java35 * @param callbacks Instance of {@link PasspointEventHandler.Callbacks}
39 PasspointEventHandler.Callbacks callbacks) {
40 return new PasspointEventHandler(wifiNative, callbacks);
38 makePasspointEventHandler(WifiNative wifiNative, PasspointEventHandler.Callbacks callbacks) argument
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
H A DSoftAMRNBEncoder.cpp43 const OMX_CALLBACKTYPE *callbacks,
46 : SimpleSoftOMXComponent(name, callbacks, appData, component),
425 const char *name, const OMX_CALLBACKTYPE *callbacks,
427 return new android::SoftAMRNBEncoder(name, callbacks, appData, component);
41 SoftAMRNBEncoder( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
424 createSoftOMXComponent( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
/frameworks/av/media/libstagefright/codecs/gsm/dec/
H A DSoftGSM.cpp42 const OMX_CALLBACKTYPE *callbacks,
45 : SimpleSoftOMXComponent(name, callbacks, appData, component),
311 const char *name, const OMX_CALLBACKTYPE *callbacks,
313 return new android::SoftGSM(name, callbacks, appData, component);
40 SoftGSM( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
310 createSoftOMXComponent( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
/frameworks/av/media/libstagefright/codecs/mp3dec/
H A DSoftMP3.cpp41 const OMX_CALLBACKTYPE *callbacks,
44 : SimpleSoftOMXComponent(name, callbacks, appData, component),
441 const char *name, const OMX_CALLBACKTYPE *callbacks,
443 return new android::SoftMP3(name, callbacks, appData, component);
39 SoftMP3( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
440 createSoftOMXComponent( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
/frameworks/av/media/libstagefright/codecs/raw/
H A DSoftRaw.cpp39 const OMX_CALLBACKTYPE *callbacks,
42 : SimpleSoftOMXComponent(name, callbacks, appData, component),
235 const char *name, const OMX_CALLBACKTYPE *callbacks,
237 return new android::SoftRaw(name, callbacks, appData, component);
37 SoftRaw( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
234 createSoftOMXComponent( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipAccessibilityInteractionConnection.java53 AccessibilityCallbacks callbacks, Handler handler) {
56 mCallbacks = callbacks;
52 PipAccessibilityInteractionConnection(PipMotionHelper motionHelper, AccessibilityCallbacks callbacks, Handler handler) argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DPreferredComponent.java60 public PreferredComponent(Callbacks callbacks, int match, ComponentName[] set, argument
62 mCallbacks = callbacks;
95 public PreferredComponent(Callbacks callbacks, XmlPullParser parser) argument
97 mCallbacks = callbacks;
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
H A DCallbackRegistry.java22 * A utility for storing and notifying callbacks. This class supports reentrant modification
23 * of the callbacks during notification without adversely disrupting notifications.
24 * A common pattern for callbacks is to receive a notification and then remove
33 * <p>This class supports only callbacks with at most three parameters.
53 * For a small number of callbacks, no additional array of objects needs to
59 * Bit flags for the remaining callbacks that are removed during notification.
60 * When there are more than 64 callbacks and one is marked for removal, a dynamic
61 * array of bits are allocated for the callbacks.
80 * Notify all callbacks.
111 * Notify up to the first Long.SIZE callbacks tha
328 copyCallbacks(List<C> callbacks) argument
[all...]
/frameworks/native/include/android/
H A Dnative_activity.h55 * You can set the functions here to your own callbacks. The callbacks
59 struct ANativeActivityCallbacks* callbacks; member in struct:ANativeActivity
122 * These are the callbacks the framework makes into a native application.
123 * All of these callbacks happen on the main thread of the application.
124 * By default, all callbacks are NULL; set to a pointer to your own function

Completed in 645 milliseconds

1234