/frameworks/base/core/java/android/companion/ |
CompanionDeviceManager.java | 46 * Callback, Handler)} to initiate the flow of associating current package with a 59 * {@link Callback#onDeviceFound} 72 * A callback to receive once at least one suitable device is found, or the search failed 75 public abstract static class Callback { 106 * <p>Once at least one appropriate device is found, {@code callback} will be called with a 130 * @param callback will be called once there's at least one device found for user to choose from 131 * @param handler A handler to control which thread the callback will be delivered on, or null, 138 @NonNull Callback callback, 144 checkNotNull(callback, "Callback cannot be null") [all...] |
/frameworks/base/media/java/android/media/projection/ |
MediaProjectionManager.java | 55 private Map<Callback, CallbackDelegate> mCallbacks; 126 * Add a callback to monitor all of the {@link MediaProjection}s activity. 130 public void addCallback(@NonNull Callback callback, @Nullable Handler handler) { 131 if (callback == null) { 132 throw new IllegalArgumentException("callback must not be null"); 134 CallbackDelegate delegate = new CallbackDelegate(callback, handler); 135 mCallbacks.put(callback, delegate); 144 * Remove a MediaProjection monitoring callback. 147 public void removeCallback(@NonNull Callback callback) [all...] |
/frameworks/support/persistence/db/src/main/java/android/arch/persistence/db/ |
SupportSQLiteOpenHelper.java | 36 * uses {@link Factory#create(Configuration)} to create this and {@link Callback} to implement 63 * {@link Callback#onCreate}, {@link Callback#onUpgrade} and/or {@link Callback#onOpen} will be 111 abstract class Callback { 115 * {@link SupportSQLiteOpenHelper.Callback#onUpgrade(SupportSQLiteDatabase, int, int)} 117 * {@link SupportSQLiteOpenHelper.Callback#onDowngrade(SupportSQLiteDatabase, int, int)} 123 * Creates a new Callback to get database lifecycle events. 126 public Callback(int version) { 313 * The callback class to handle creation, upgrade and downgrade 316 public final SupportSQLiteOpenHelper.Callback callback; field in class:SupportSQLiteOpenHelper.Configuration 370 public Builder callback(@NonNull Callback callback) { method in class:SupportSQLiteOpenHelper.Configuration.Builder [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
TestDocumentClipper.java | 29 import com.android.documentsui.services.FileOperations.Callback; 86 Callback callback) { 91 public void copyFromClipboard(DocumentStack docStack, Callback callback) { 97 ClipData clipData, Callback callback) { 103 @OpType int opType, Callback callback) { 109 public void copyFromClipData(DocumentStack docStack, ClipData clipData, Callback callback) [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
InsertQuickResponseDialog.java | 43 * Callback.onQuickResponseSelected() with the selected QuickResponse text. 50 * Callback interface for when user selects a QuickResponse. 52 public interface Callback { 65 * @param callbackFragment fragment that implements {@link Callback}. Or null, in which case 66 * the parent activity must implement {@link Callback}. 72 // If a target is set, it MUST implement Callback. Fail-fast if not. 74 if (!(callbackFragment instanceof Callback)) { 76 + " must implement Callback"); 89 // If target not set, the parent activity MUST implement Callback. Fail-fast if not. 92 if (!(getActivity() instanceof Callback)) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchFinder.h | 11 // over the AST and invokes a given callback on every match. 14 // subtree match on the AST. Next, a callback that is executed every time the 17 // be accessed from the registered callback. The callback can than use the 195 /// \brief Registers a callback to notify the end of parsing. 229 /// Collects the \c BoundNodes of all callback invocations when matching 252 /// \p Context and collects the \c BoundNodes of all callback invocations. 290 internal::CollectMatchesCallback Callback; 292 Finder.addMatcher(Matcher, &Callback); 294 return std::move(Callback.Nodes) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchFinder.h | 11 // over the AST and invokes a given callback on every match. 14 // subtree match on the AST. Next, a callback that is executed every time the 17 // be accessed from the registered callback. The callback can than use the 195 /// \brief Registers a callback to notify the end of parsing. 229 /// Collects the \c BoundNodes of all callback invocations when matching 252 /// \p Context and collects the \c BoundNodes of all callback invocations. 290 internal::CollectMatchesCallback Callback; 292 Finder.addMatcher(Matcher, &Callback); 294 return std::move(Callback.Nodes) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchFinder.h | 11 // over the AST and invokes a given callback on every match. 14 // subtree match on the AST. Next, a callback that is executed every time the 17 // be accessed from the registered callback. The callback can than use the 195 /// \brief Registers a callback to notify the end of parsing. 229 /// Collects the \c BoundNodes of all callback invocations when matching 252 /// \p Context and collects the \c BoundNodes of all callback invocations. 290 internal::CollectMatchesCallback Callback; 292 Finder.addMatcher(Matcher, &Callback); 294 return std::move(Callback.Nodes) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchFinder.h | 11 // over the AST and invokes a given callback on every match. 14 // subtree match on the AST. Next, a callback that is executed every time the 17 // be accessed from the registered callback. The callback can than use the 195 /// \brief Registers a callback to notify the end of parsing. 229 /// Collects the \c BoundNodes of all callback invocations when matching 252 /// \p Context and collects the \c BoundNodes of all callback invocations. 290 internal::CollectMatchesCallback Callback; 292 Finder.addMatcher(Matcher, &Callback); 294 return std::move(Callback.Nodes) [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchFinder.h | 11 // over the AST and invokes a given callback on every match. 14 // subtree match on the AST. Next, a callback that is executed every time the 17 // be accessed from the registered callback. The callback can than use the 195 /// \brief Registers a callback to notify the end of parsing. 229 /// Collects the \c BoundNodes of all callback invocations when matching 252 /// \p Context and collects the \c BoundNodes of all callback invocations. 290 internal::CollectMatchesCallback Callback; 292 Finder.addMatcher(Matcher, &Callback); 294 return std::move(Callback.Nodes) [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerTracePC.h | 61 template <class Callback> void CollectFeatures(Callback CB) const; 115 template <class Callback> // void Callback(size_t Idx, uint8_t Value); 118 size_t FirstFeature, Callback Handle8bitCounter) { 129 template <class Callback> // bool Callback(size_t Feature) 132 void TracePC::CollectFeatures(Callback HandleFeature) const {
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchFinder.h | 11 // over the AST and invokes a given callback on every match. 14 // subtree match on the AST. Next, a callback that is executed every time the 17 // be accessed from the registered callback. The callback can than use the 195 /// \brief Registers a callback to notify the end of parsing. 229 /// Collects the \c BoundNodes of all callback invocations when matching 252 /// \p Context and collects the \c BoundNodes of all callback invocations. 290 internal::CollectMatchesCallback Callback; 292 Finder.addMatcher(Matcher, &Callback); 294 return std::move(Callback.Nodes) [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerTracePC.h | 61 template <class Callback> void CollectFeatures(Callback CB) const; 115 template <class Callback> // void Callback(size_t Idx, uint8_t Value); 118 size_t FirstFeature, Callback Handle8bitCounter) { 129 template <class Callback> // bool Callback(size_t Feature) 132 void TracePC::CollectFeatures(Callback HandleFeature) const {
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchFinder.h | 11 // over the AST and invokes a given callback on every match. 14 // subtree match on the AST. Next, a callback that is executed every time the 17 // be accessed from the registered callback. The callback can than use the 195 /// \brief Registers a callback to notify the end of parsing. 229 /// Collects the \c BoundNodes of all callback invocations when matching 252 /// \p Context and collects the \c BoundNodes of all callback invocations. 290 internal::CollectMatchesCallback Callback; 292 Finder.addMatcher(Matcher, &Callback); 294 return std::move(Callback.Nodes) [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerTracePC.h | 61 template <class Callback> void CollectFeatures(Callback CB) const; 115 template <class Callback> // void Callback(size_t Idx, uint8_t Value); 118 size_t FirstFeature, Callback Handle8bitCounter) { 129 template <class Callback> // bool Callback(size_t Feature) 132 void TracePC::CollectFeatures(Callback HandleFeature) const {
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchFinder.h | 11 // over the AST and invokes a given callback on every match. 14 // subtree match on the AST. Next, a callback that is executed every time the 17 // be accessed from the registered callback. The callback can than use the 195 /// \brief Registers a callback to notify the end of parsing. 229 /// Collects the \c BoundNodes of all callback invocations when matching 252 /// \p Context and collects the \c BoundNodes of all callback invocations. 290 internal::CollectMatchesCallback Callback; 292 Finder.addMatcher(Matcher, &Callback); 294 return std::move(Callback.Nodes) [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerTracePC.h | 61 template <class Callback> void CollectFeatures(Callback CB) const; 115 template <class Callback> // void Callback(size_t Idx, uint8_t Value); 118 size_t FirstFeature, Callback Handle8bitCounter) { 129 template <class Callback> // bool Callback(size_t Feature) 132 void TracePC::CollectFeatures(Callback HandleFeature) const {
|
/frameworks/base/core/java/com/android/server/net/ |
NetworkPinner.java | 70 private static Callback sCallback; 88 private static class Callback extends NetworkCallback { 121 sCallback = new Callback(); 125 Log.d(TAG, "Failed to register network callback", e); 139 Log.d(TAG, "Failed to unregister network callback", e);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
FilterSurfaceView.java | 28 public class FilterSurfaceView extends SurfaceView implements SurfaceHolder.Callback { 35 private SurfaceHolder.Callback mListener; 52 public synchronized void bindToListener(SurfaceHolder.Callback listener, GLEnvironment glEnv) { 108 // Forward callback to listener
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
MainInteractionService.java | 23 import android.service.voice.AlwaysOnHotwordDetector.Callback; 35 private final Callback mHotwordCallback = new Callback() {
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
VolumeProviderCompat.java | 68 private Callback mCallback; 149 * Sets a callback to receive volume changes. 154 public void setCallback(Callback callback) { 155 mCallback = callback; 189 public static abstract class Callback {
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteDiscoveryFragment.java | 27 * This fragment takes care of registering a callback for media route discovery 33 * provide the {@link MediaRouter} callback to register. 35 * Note that the discovery callback makes the application be connected with all the 45 private MediaRouter.Callback mCallback; 116 * Called to create the {@link android.support.v7.media.MediaRouter.Callback callback} 119 * The default callback does nothing. The application may override this method to 120 * supply its own callback. 123 * @return The new callback, or null if no callback should be registered [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/callback/ |
UnsupportedCallbackExceptionTest.java | 18 package org.apache.harmony.tests.javax.security.auth.callback; 22 import javax.security.auth.callback.UnsupportedCallbackException; 23 import javax.security.auth.callback.Callback; 38 * javax.security.auth.callback.UnsupportedCallbackExceptionTest#UnsupportedCallbackException(Callback callback) 39 * javax.security.auth.callback.UnsupportedCallbackExceptionTest#getCallback() 43 Callback c = null; 50 * javax.security.auth.callback.UnsupportedCallbackExceptionTest#UnsupportedCallbackException(Callback callback [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/errorhandling/ |
RepeatFailureDetector.java | 24 import com.android.camera.util.Callback; 41 private final Callback<String> mRecoverySuccessCallback; 81 Callback<String> recoverySuccessCallback) {
|
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/ |
SuggestionDismissController.java | 30 public interface Callback { 33 * Returns suggestion tile data from the callback 46 private final Callback mCallback; 49 SuggestionParser parser, Callback callback) { 55 mCallback = callback;
|