/frameworks/native/services/surfaceflinger/ |
DispSync.cpp | 177 const sp<DispSync::Callback>& callback) { 182 if (mEventListeners[i].mCallback == callback) { 190 listener.mCallback = callback; 204 status_t removeEventListener(const sp<DispSync::Callback>& callback) { 209 if (mEventListeners[i].mCallback == callback) { 233 sp<DispSync::Callback> mCallback; 237 sp<DispSync::Callback> mCallback; 364 class ZeroPhaseTracer : public DispSync::Callback { [all...] |
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/ |
MediaRouterJellybean.java | 86 (android.media.MediaRouter.Callback)callbackObj); 91 (android.media.MediaRouter.Callback)callbackObj); 114 public static Object createCallback(Callback callback) { 115 return new CallbackProxy<Callback>(callback); 118 public static Object createVolumeCallback(VolumeCallback callback) { 119 return new VolumeCallbackProxy<VolumeCallback>(callback); 280 public static interface Callback { 384 static class CallbackProxy<T extends Callback> [all...] |
/external/libchrome/crypto/ |
nss_util.cc | 126 // This callback for NSS forwards all requests to a caller-specified 240 const base::Callback<void(ScopedPK11Slot)>& callback) { 243 if (!callback.is_null()) 244 tpm_ready_callback_list_.push_back(callback); 275 typedef std::vector<base::Callback<void(ScopedPK11Slot)> > 356 const base::Callback<void(bool)>& callback) { 364 base::Bind(callback, false)); 373 base::Bind(callback, true)) [all...] |
/frameworks/base/services/net/java/android/net/ip/ |
IpManager.java | 89 public static class Callback { 132 public static class WaitForProvisioningCallback extends Callback { 166 // Any new method added to IpManager.Callback must be overridden 178 private class LoggingCallbackWrapper extends Callback { 180 private Callback mCallback; 182 public LoggingCallbackWrapper(Callback callback) { 183 mCallback = callback; 396 protected final Callback mCallback; 423 public IpManager(Context context, String ifName, Callback callback [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AppCompatDelegateImplV9.java | 94 implements MenuBuilder.Callback, LayoutInflater.Factory2 { 148 AppCompatDelegateImplV9(Context context, Window window, AppCompatCallback callback) { 149 super(context, window, callback); 222 // Re-set the original window callback since we may have already set a Toolbar wrapper 670 final Window.Callback cb = getWindowCallback(); 686 public ActionMode startSupportActionMode(@NonNull final ActionMode.Callback callback) { 687 if (callback == null) { 688 throw new IllegalArgumentException("ActionMode callback can not be null."); 695 final ActionMode.Callback wrappedCallback = new ActionModeCallbackWrapperV9(callback) [all...] |
/external/clang/lib/Analysis/ |
ReachableCode.cpp | 363 clang::reachable_code::Callback &CB); 371 clang::reachable_code::Callback &CB); 443 clang::reachable_code::Callback &CB) { 571 clang::reachable_code::Callback &CB) { 630 void Callback::anchor() { } 638 Callback &CB) {
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
ServiceManager.java | 53 import com.google.common.util.concurrent.ListenerCallQueue.Callback; 128 private static final Callback<Listener> HEALTHY_CALLBACK = new Callback<Listener>("healthy()") { 133 private static final Callback<Listener> STOPPED_CALLBACK = new Callback<Listener>("stopped()") { 238 * @param executor the executor in which the listeners callback methods will be run. 427 * rather than in a Service.Listener callback. 690 new Callback<Listener>("failed({service=" + service + "})") {
|
/external/libbrillo/brillo/streams/ |
stream_unittest.cc | 9 #include <base/callback.h> 65 const base::Callback<void(AccessMode)>&, 112 base::Callback<void(AccessMode)> data_callback; 151 // success callback from the main loop and run it directly instead. 192 // Since the previous callback is still waiting in the main loop, we can't 220 base::Callback<void(AccessMode)> data_callback; 276 base::Callback<void(AccessMode)> data_callback; 391 base::Callback<void(AccessMode)> data_callback; 437 base::Callback<void(AccessMode)> data_callback;
|
/external/libmojo/base/android/jni_generator/ |
jni_generator_tests.py | [all...] |
/external/webrtc/webrtc/modules/desktop_capture/ |
mouse_cursor_monitor_mac.mm | 38 void Init(Callback* callback, Mode mode) override; 53 Callback* callback_; 81 void MouseCursorMonitorMac::Init(Callback* callback, Mode mode) { 83 assert(callback); 85 callback_ = callback;
|
screen_capturer_x11.cc | 46 void Start(Callback* delegate) override; 82 Callback* callback_; 228 void ScreenCapturerLinux::Start(Callback* callback) { 230 RTC_DCHECK(callback); 232 callback_ = callback;
|
window_capturer_x11.cc | 100 void Start(Callback* callback) override; 120 Callback* callback_; 273 void WindowCapturerLinux::Start(Callback* callback) { 275 assert(callback); 277 callback_ = callback;
|
/frameworks/base/core/java/android/widget/ |
ActionMenuView.java | 63 private MenuPresenter.Callback mActionMenuPresenterCallback; 64 private MenuBuilder.Callback mMenuBuilderCallback; 658 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { 758 private class MenuBuilderCallback implements MenuBuilder.Callback { 773 private class ActionMenuPresenterCallback implements ActionMenuPresenter.Callback {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
CachedBluetoothDevice.java | 72 private final Collection<Callback> mCallbacks = new ArrayList<Callback>(); 596 public void registerCallback(Callback callback) { 598 mCallbacks.add(callback); 602 public void unregisterCallback(Callback callback) { 604 mCallbacks.remove(callback); 610 for (Callback callback : mCallbacks) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionMenuView.java | 65 private MenuPresenter.Callback mActionMenuPresenterCallback; 66 MenuBuilder.Callback mMenuBuilderCallback; 670 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { 773 private class MenuBuilderCallback implements MenuBuilder.Callback { 791 private static class ActionMenuPresenterCallback implements ActionMenuPresenter.Callback {
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
DiffUtil.java | 86 * @param cb The callback that acts as a gateway to the backing list data 91 public static DiffResult calculateDiff(Callback cb) { 102 * @param cb The callback that acts as a gateway to the backing list data 108 public static DiffResult calculateDiff(Callback cb, boolean detectMoves) { 188 private static Snake diffPartial(Callback cb, int startOld, int endOld, 279 * A Callback class used by DiffUtil while calculating the diff between two lists. 281 public abstract static class Callback { 407 * {@link DiffUtil#calculateDiff(Callback, boolean)} call. 456 // The callback that was given to calcualte diff method. 457 private final Callback mCallback [all...] |
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/ |
Playback.java | 46 /* package */ interface Callback { 54 * Implementations can use this callback to update 84 private Callback mCallback; 220 public void setCallback(Callback callback) { 221 this.mCallback = callback;
|
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/ |
Playback.java | 46 /* package */ interface Callback { 54 * Implementations can use this callback to update 84 private Callback mCallback; 220 public void setCallback(Callback callback) { 221 this.mCallback = callback;
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
Playback.java | 67 private Callback mCallback; 234 public void setCallback(Callback callback) { 235 this.mCallback = callback; 470 interface Callback { 477 * Implementations can use this callback to update
|
/external/libchrome/dbus/ |
property.h | 16 #include "base/callback.h" 46 // const PropertyChangedCallback callback) 47 // : dbus::PropertySet(object_proxy, "com.example.DBus", callback) { 99 // in a type-safe manner, and assuming the PropertyChanged callback is 109 // successful. The updated value can be obtained in the callback using the 114 // A new value can be set using the Set() method, the callback indicates 213 // Callback for changes to cached values of properties, either notified 216 typedef base::Callback<void(const std::string& name)> PropertyChangedCallback; 222 // |property_changed_callback| specifies the callback for when properties 223 // are changed, this may be a NULL callback [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
HashCalc.cpp | 35 IHashCallbackUI *Callback;
39 return Callback->ScanProgress(numFolders, numFiles, totalSize, path, isDir);
207 IHashCallbackUI *callback)
226 enumCallback.Callback = callback;
227 RINOK(callback->StartScanning());
236 RINOK(callback->CanNotFindError(fs2us(dirItems.ErrorPaths[i]), dirItems.ErrorCodes[i]));
245 RINOK(callback->FinishScanning());
256 RINOK(callback->SetNumFiles(1));
260 RINOK(callback->SetTotal(totalBytes)); [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
HandlerCaller.java | 28 final Callback mCallback; 41 public interface Callback { 45 public HandlerCaller(Context context, Looper looper, Callback callback, 49 mCallback = callback;
|
/frameworks/base/core/java/com/android/internal/widget/ |
ChildHelper.java | 42 final Callback mCallback; 48 ChildHelper(Callback callback) { 49 mCallback = callback; 315 * @param view The child view to check. Should be a child of the Callback. 513 interface Callback {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
BatteryInfo.java | 45 public interface Callback { 98 public static void getBatteryInfo(final Context context, final Callback callback) { 99 BatteryInfo.getBatteryInfo(context, callback, false /* shortString */); 102 public static void getBatteryInfo(final Context context, final Callback callback, 119 callback.onBatteryInfoLoaded(batteryInfo);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
DataUsageController.java | 64 private Callback mCallback; 101 public void setCallback(Callback callback) { 102 mCallback = callback; 267 public interface Callback {
|