/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | BaseObservable.java | 24 private transient PropertyChangeRegistry mCallbacks; field in class:BaseObservable 31 if (mCallbacks == null) { 32 mCallbacks = new PropertyChangeRegistry(); 34 mCallbacks.add(callback); 39 if (mCallbacks != null) { 40 mCallbacks.remove(callback); 48 if (mCallbacks != null) { 49 mCallbacks.notifyCallbacks(this, 0, null); 61 if (mCallbacks != null) { 62 mCallbacks [all...] |
/frameworks/av/media/libstagefright/include/ |
H A D | SoftOMXComponent.h | 100 const OMX_CALLBACKTYPE *mCallbacks; member in struct:android::SoftOMXComponent
|
/frameworks/support/v4/honeycomb_mr2/android/support/v4/os/ |
H A D | ParcelableCompatHoneycombMR2.java | 29 private final ParcelableCompatCreatorCallbacks<T> mCallbacks; field in class:ParcelableCompatCreatorHoneycombMR2 32 mCallbacks = callbacks; 36 return mCallbacks.createFromParcel(in, null); 40 return mCallbacks.createFromParcel(in, loader); 44 return mCallbacks.newArray(size);
|
/frameworks/support/v4/java/android/support/v4/os/ |
H A D | ParcelableCompat.java | 43 final ParcelableCompatCreatorCallbacks<T> mCallbacks; field in class:ParcelableCompat.CompatCreator 46 mCallbacks = callbacks; 51 return mCallbacks.createFromParcel(source, null); 56 return mCallbacks.newArray(size);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/ |
H A D | ShortcutKeyServiceProxy.java | 32 private Callbacks mCallbacks; field in class:ShortcutKeyServiceProxy 39 public ShortcutKeyServiceProxy(Callbacks callbacks) { mCallbacks = callbacks; } 53 mCallbacks.onShortcutKeyPressed((Long)msg.obj);
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraFlashlight.h | 92 const camera_module_callbacks_t *mCallbacks; member in class:android::CameraFlashlight 155 const camera_module_callbacks_t *mCallbacks; member in class:android::CameraDeviceClientFlashControl 213 const camera_module_callbacks_t *mCallbacks; member in class:android::CameraHardwareInterfaceFlashControl
|
/frameworks/base/core/java/android/os/ |
H A D | RemoteCallbackList.java | 50 /*package*/ ArrayMap<IBinder, Callback> mCallbacks field in class:RemoteCallbackList 66 synchronized (mCallbacks) { 67 mCallbacks.remove(mCallback.asBinder()); 107 synchronized (mCallbacks) { 115 mCallbacks.put(binder, cb); 141 synchronized (mCallbacks) { 142 Callback cb = mCallbacks.remove(callback.asBinder()); 160 synchronized (mCallbacks) { 161 for (int cbi=mCallbacks.size()-1; cbi>=0; cbi--) { 162 Callback cb = mCallbacks [all...] |
/frameworks/base/core/java/android/printservice/recommendation/ |
H A D | RecommendationService.java | 53 private IRecommendationServiceCallbacks mCallbacks; field in class:RecommendationService 114 mCallbacks = (IRecommendationServiceCallbacks) msg.obj; 119 mCallbacks = null; 127 mCallbacks.onRecommendationsUpdated((List<RecommendationInfo>) msg.obj);
|
/frameworks/base/core/tests/coretests/src/android/print/mockservice/ |
H A D | StubbablePrinterDiscoverySession.java | 29 private final PrinterDiscoverySessionCallbacks mCallbacks; field in class:StubbablePrinterDiscoverySession 34 mCallbacks = callbacks; 35 if (mCallbacks != null) { 36 mCallbacks.setSession(this); 46 if (mCallbacks != null) { 47 mCallbacks.onStartPrinterDiscovery(priorityList); 53 if (mCallbacks != null) { 54 mCallbacks.onStopPrinterDiscovery(); 60 if (mCallbacks != null) { 61 mCallbacks [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | ManagedProfileController.java | 33 private final List<Callback> mCallbacks = new ArrayList<>(); field in class:ManagedProfileController 48 mCallbacks.add(callback); 49 if (mCallbacks.size() == 1) { 56 if (mCallbacks.remove(callback) && mCallbacks.size() == 0) { 89 for (Callback callback : mCallbacks) { 137 for (Callback callback : mCallbacks) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | RotationLockControllerImpl.java | 29 private final CopyOnWriteArrayList<RotationLockControllerCallback> mCallbacks = field in class:RotationLockControllerImpl 46 mCallbacks.add(callback); 51 mCallbacks.remove(callback); 81 for (RotationLockControllerCallback callback : mCallbacks) {
|
H A D | UserInfoController.java | 49 private final ArrayList<OnUserInfoChangedListener> mCallbacks = field in class:UserInfoController 70 mCallbacks.add(callback); 75 mCallbacks.remove(callback); 193 for (OnUserInfoChangedListener listener : mCallbacks) {
|
H A D | AccessPointControllerImpl.java | 56 private final ArrayList<AccessPointCallback> mCallbacks = new ArrayList<AccessPointCallback>(); field in class:AccessPointControllerImpl 80 if (callback == null || mCallbacks.contains(callback)) return; 82 mCallbacks.add(callback); 83 if (mCallbacks.size() == 1) { 92 mCallbacks.remove(callback); 93 if (mCallbacks.isEmpty()) { 132 for (AccessPointCallback callback : mCallbacks) { 138 for (AccessPointCallback callback : mCallbacks) {
|
H A D | HotspotControllerImpl.java | 38 private final ArrayList<Callback> mCallbacks = new ArrayList<Callback>(); field in class:HotspotControllerImpl 81 synchronized (mCallbacks) { 82 if (callback == null || mCallbacks.contains(callback)) return; 84 mCallbacks.add(callback); 85 mReceiver.setListening(!mCallbacks.isEmpty()); 93 synchronized (mCallbacks) { 94 mCallbacks.remove(callback); 95 mReceiver.setListening(!mCallbacks.isEmpty()); 126 synchronized (mCallbacks) { 127 for (Callback callback : mCallbacks) { [all...] |
H A D | KeyguardMonitor.java | 32 private final ArrayList<Callback> mCallbacks = new ArrayList<Callback>(); field in class:KeyguardMonitor 58 mCallbacks.add(callback); 59 if (mCallbacks.size() != 0 && !mListening) { 69 if (mCallbacks.remove(callback) && mCallbacks.size() == 0 && mListening) { 120 for (Callback callback : mCallbacks) {
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | DevicePowerStatusAction.java | 43 private final List<IHdmiControlCallback> mCallbacks = new ArrayList<>(); field in class:DevicePowerStatusAction 102 mCallbacks.add(callback); 107 for (IHdmiControlCallback callback : mCallbacks) {
|
H A D | OneTouchPlayAction.java | 53 private final List<IHdmiControlCallback> mCallbacks = new ArrayList<>(); field in class:OneTouchPlayAction 132 mCallbacks.add(callback); 137 for (IHdmiControlCallback callback : mCallbacks) {
|
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | RemotePrintServiceRecommendationService.java | 191 private final RemotePrintServiceRecommendationServiceCallbacks mCallbacks; field in class:RemotePrintServiceRecommendationService.Connection 194 mCallbacks = callbacks; 214 mCallbacks.onPrintServiceRecommendationsUpdated(
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxService.java | 60 final RemoteCallbackList<IBordeauxServiceCallback> mCallbacks = field in class:BordeauxService 104 mCallbacks.kill(); 156 if (cb != null) mCallbacks.register(cb); 160 if (cb != null) mCallbacks.unregister(cb);
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMnsService.java | 47 static private SparseArray<Handler> mCallbacks = null; field in class:BluetoothMnsService 68 synchronized (mCallbacks) { 69 Handler cb = mCallbacks.get(instanceId); 140 if (mCallbacks == null) { 142 mCallbacks = new SparseArray<Handler>(); 154 synchronized (mCallbacks) { 155 mCallbacks.put(instanceId, callback); 169 synchronized (mCallbacks) { 170 mCallbacks.remove(instanceId); 172 if (mCallbacks [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | CallbackRegistry.java | 46 private List<C> mCallbacks = new ArrayList<C>(); field in class:CallbackRegistry 50 * The lowest significant bit corresponds to the 0th index into mCallbacks. 123 final int maxNotified = Math.min(Long.SIZE, mCallbacks.size()); 143 final int callbackCount = mCallbacks.size(); 176 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); 194 * @param startIndex The index into the mCallbacks to start notifying. 195 * @param endIndex One past the last index into mCallbacks to notify. 204 mNotifier.onNotifyCallback(mCallbacks.get(i), sender, arg, arg2); 216 int index = mCallbacks.lastIndexOf(callback); 218 mCallbacks [all...] |
/frameworks/base/media/java/android/media/projection/ |
H A D | MediaProjection.java | 51 private final Map<Callback, CallbackRecord> mCallbacks; field in class:MediaProjection 55 mCallbacks = new ArrayMap<Callback, CallbackRecord>(); 81 mCallbacks.put(callback, new CallbackRecord(callback, handler)); 94 mCallbacks.remove(callback); 187 for (CallbackRecord cbr : mCallbacks.values()) {
|
H A D | MediaProjectionManager.java | 60 private Map<Callback, CallbackDelegate> mCallbacks; field in class:MediaProjectionManager 68 mCallbacks = new ArrayMap<>(); 140 mCallbacks.put(callback, delegate); 156 CallbackDelegate delegate = mCallbacks.remove(callback);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | RemoteInputController.java | 36 private final ArrayList<Callback> mCallbacks = new ArrayList<>(3); field in class:RemoteInputController 79 int N = mCallbacks.size(); 81 mCallbacks.get(i).onRemoteInputActive(remoteInputActive); 123 mCallbacks.add(callback); 127 int N = mCallbacks.size(); 129 mCallbacks.get(i).onRemoteInputSent(entry);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
H A D | TileLifecycleManagerTests.java | 50 private final ArraySet<String> mCallbacks = new ArraySet<>(); field in class:TileLifecycleManagerTests 64 mCallbacks.clear(); 151 assertFalse(mCallbacks.contains("onStartListening")); 164 assertFalse(mCallbacks.contains("onClick")); 207 if (mCallbacks.contains(callback)) { 208 mCallbacks.remove(callback); 218 if (mCallbacks.contains(callback)) { 219 mCallbacks.remove(callback); 246 mCallbacks.add(intent.getStringExtra(EXTRA_CALLBACK));
|