/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
SessionManager.java | 25 import com.example.android.mediarouter.player.Player.Callback; 38 public class SessionManager implements Callback { 48 private Callback mCallback; 94 // (update=1 requires player to callback onPlaylistReady()) 271 // Player.Callback 397 // provide a callback interface to tell the UI when significant state changes occur 398 public void setCallback(Callback callback) { 399 mCallback = callback; 415 public interface Callback { [all...] |
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
SessionManager.java | 25 import com.example.android.mediarouter.player.Player.Callback; 38 public class SessionManager implements Callback { 48 private Callback mCallback; 94 // (update=1 requires player to callback onPlaylistReady()) 271 // Player.Callback 397 // provide a callback interface to tell the UI when significant state changes occur 398 public void setCallback(Callback callback) { 399 mCallback = callback; 415 public interface Callback { [all...] |
/external/v8/src/ |
splay-tree-inl.h | 270 template <typename Config, class Allocator> template <class Callback> 271 void SplayTree<Config, Allocator>::ForEach(Callback* callback) { 272 NodeToPairAdaptor<Callback> callback_adaptor(callback); 277 template <typename Config, class Allocator> template <class Callback> 278 void SplayTree<Config, Allocator>::ForEachNode(Callback* callback) { 288 callback->Call(node);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QSDetailItems.java | 51 private Callback mCallback; 126 public void setCallback(Callback callback) { 128 mHandler.obtainMessage(H.SET_CALLBACK, callback).sendToTarget(); 141 private void handleSetCallback(Callback callback) { 142 mCallback = callback; 248 handleSetCallback((QSDetailItems.Callback) msg.obj); 265 public interface Callback {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
BaseGridLayoutManagerTest.java | 159 List<GridLayoutManagerTest.Callback> 160 mCallbacks = new ArrayList<GridLayoutManagerTest.Callback>(); 211 for (GridLayoutManagerTest.Callback callback : mCallbacks) { 212 callback.onBeforeLayout(recycler, state); 215 for (GridLayoutManagerTest.Callback callback : mCallbacks) { 216 callback.onAfterLayout(recycler, state); 358 class Callback {
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountCreationFragment.java | 68 public interface Callback { 228 final Callback callback = (Callback) getActivity(); local 236 callback.destroyAccountCreationFragment(); 237 callback.showCreateAccountErrorDialog(); 321 Callback callback = (Callback) getActivity(); 322 callback.setAccount(account) [all...] |
AccountSetupFinal.java | 62 implements AccountFinalizeFragment.Callback, 63 AccountSetupNoteDialogFragment.Callback, AccountCreationFragment.Callback, 64 AccountCheckSettingsFragment.Callback, SecurityRequiredDialogFragment.Callback, 65 CheckSettingsErrorDialogFragment.Callback, CheckSettingsProgressDialogFragment.Callback, 66 AccountSetupTypeFragment.Callback, AccountSetupNamesFragment.Callback, 67 AccountSetupOptionsFragment.Callback, AccountSetupBasicsFragment.Callback [all...] |
AccountCheckSettingsFragment.java | 90 * Callback interface for any target or activity doing account check settings 92 public interface Callback { 269 * Find the callback target, either a target fragment or the activity 271 private Callback getCallbackTarget() { 273 if (target instanceof Callback) { 274 return (Callback) target; 277 if (activity instanceof Callback) { 278 return (Callback) activity; 326 public AccountCheckTask(Context context, AccountCheckSettingsFragment callback, int mode, 329 mCallback = callback; [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeScheduleRuleSettings.java | 102 mStart.setCallback(new TimePickerPreference.Callback() { 124 mEnd.setCallback(new TimePickerPreference.Callback() { 235 private Callback mCallback; 252 public void setCallback(Callback callback) { 253 mCallback = callback; 305 public interface Callback {
|
/system/tpm/trunks/ |
tpm_generated.h | [all...] |
/frameworks/base/media/java/android/media/session/ |
MediaController.java | 46 * other commands can be sent to the session. A callback may be registered to 332 * Registers a callback to receive updates from the Session. Updates will be 335 * @param callback The callback object, must not be null. 337 public void registerCallback(@NonNull Callback callback) { 338 registerCallback(callback, null); 342 * Registers a callback to receive updates from the session. Updates will be 345 * @param callback The callback object, must not be null [all...] |
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
MediaControllerCompat.java | 53 * other commands can be sent to the session. A callback may be registered to 513 * Adds a callback to receive updates from the Session. Updates will be 516 * @param callback The callback object, must not be null. 518 public void registerCallback(@NonNull Callback callback) { 519 registerCallback(callback, null); 523 * Adds a callback to receive updates from the session. Updates will be 526 * @param callback The callback object, must not be null [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeHttpLib/ |
DxeHttpLib.c | 859 HTTP_BODY_PARSER_CALLBACK Callback;
1017 @param[in] Callback Callback function that is invoked when parsing the HTTP message-body,
1019 @param[in] Context Pointer to the context that will be passed to Callback.
1035 IN HTTP_BODY_PARSER_CALLBACK Callback,
1085 Parser->Callback = Callback;
1133 if (Parser->Callback != NULL) {
1134 Status = Parser->Callback (
[all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_mutex.cc | 28 struct Callback : DDCallback { 32 Callback(ThreadState *thr, uptr pc) 44 Callback cb(thr, pc); 96 Callback cb(thr, pc); 173 Callback cb(thr, pc); 184 Callback cb(thr, pc); 217 Callback cb(thr, pc); 226 Callback cb(thr, pc); 251 Callback cb(thr, pc); 262 Callback cb(thr, pc) [all...] |
/frameworks/base/location/java/android/location/ |
LocationManager.java | 73 private final HashMap<GnssStatus.Callback, GnssStatusListenerTransport> mGnssStatusListeners = 473 * Register for location updates using the named provider, and a callback on 486 * implement the callback mechanism, or null to make callbacks on the calling 505 * Register for location updates using a Criteria, and a callback 519 * implement the callback mechanism, or null to make callbacks on the calling 626 * with extra's specific to the provider. If a callback was supplied 669 * a callback. 679 * implement the callback mechanism, or null to make callbacks on the calling 698 * a callback. 709 * implement the callback mechanism, or null to make callbacks on the callin [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableWrapperTest.java | 98 Drawable.Callback cb = mock(Drawable.Callback.class); 118 Drawable.Callback cb = mock(Drawable.Callback.class); 138 Drawable.Callback cb = mock(Drawable.Callback.class);
|
RotateDrawableTest.java | 179 Drawable.Callback callback = mock(Drawable.Callback.class); local 181 mRotateDrawable.setCallback(callback); 183 verify(callback, times(1)).invalidateDrawable(any()); 185 reset(callback); 187 verify(callback, times(1)).invalidateDrawable(any()); 189 reset(callback); 192 verify(callback, never()).invalidateDrawable(any()); 197 Drawable.Callback callback = mock(Drawable.Callback.class) local 215 Drawable.Callback callback = mock(Drawable.Callback.class); local [all...] |
ClipDrawableTest.java | 221 Drawable.Callback callback = mock(Drawable.Callback.class); local 222 clipDrawable.setCallback(callback); 224 verify(callback, times(1)).invalidateDrawable(clipDrawable); 270 Drawable.Callback callback = mock(Drawable.Callback.class); local 271 mockClipDrawable.setCallback(callback); 276 verify(callback, times(1)).invalidateDrawable(mockClipDrawable) 313 Drawable.Callback callback = mock(Drawable.Callback.class); local 372 Drawable.Callback callback = mock(Drawable.Callback.class); local [all...] |
RippleDrawableTest.java | 128 Drawable.Callback cb = mock(Drawable.Callback.class);
|
/external/libbrillo/brillo/dbus/ |
dbus_object.h | 20 void Init(const AsyncEventSequencer::CompletionAction& callback) { 34 dbus_object_.RegisterAsync(callback); 96 // 1. That takes a handler as base::Callback 121 // Register sync DBus method handler for |method_name| as base::Callback. 125 const base::Callback<R(Args...)>& handler) { 158 // Register sync DBus method handler for |method_name| as base::Callback. 162 const base::Callback<bool(ErrorPtr*, Args...)>& handler) { 198 // Register sync DBus method handler for |method_name| as base::Callback. 199 // Passing the method sender as a first parameter to the callback. 203 const base::Callback<bool(ErrorPtr*, dbus::Message*, Args...)> [all...] |
/external/webrtc/webrtc/modules/desktop_capture/ |
window_capturer_mac.mm | 57 void Start(Callback* callback) override; 61 Callback* callback_; 169 void WindowCapturerMac::Start(Callback* callback) { 171 assert(callback); 173 callback_ = callback;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
CastTile.java | 68 private final Callback mCallback = new Callback(); 214 private final class Callback implements CastController.Callback, KeyguardMonitor.Callback { 235 private final class CastDetailAdapter implements DetailAdapter, QSDetailItems.Callback {
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ToolbarActionBar.java | 46 Window.Callback mWindowCallback; 69 ToolbarActionBar(Toolbar toolbar, CharSequence title, Window.Callback windowCallback) { 77 public Window.Callback getWrappedWindowCallback() { 191 public void setListNavigationCallbacks(SpinnerAdapter adapter, OnNavigationListener callback) { 192 mDecorToolbar.setDropdownParams(adapter, new NavItemSelectedListener(callback)); 516 public ToolbarCallbackWrapper(Window.Callback wrapped) { 551 private final class ActionMenuPresenterCallback implements MenuPresenter.Callback { 581 private final class MenuBuilderCallback implements MenuBuilder.Callback {
|
/prebuilts/tools/common/m2/repository/com/jakewharton/butterknife-annotations/8.4.0/ |
butterknife-annotations-8.4.0.jar | |
/external/v8/src/inspector/ |
v8-runtime-agent-impl.cc | 60 template <typename Callback> 68 std::unique_ptr<Callback> callback) { 70 callback->sendFailure(Response::InternalError()); 74 callback->sendFailure(Response::Error(notPromiseError)); 81 Callback* rawCallback = callback.get(); 82 ProtocolPromiseHandler<Callback>* handler = new ProtocolPromiseHandler( 84 returnByValue, generatePreview, std::move(callback)); 107 ProtocolPromiseHandler<Callback>* handler [all...] |