Home
last modified time | relevance | path

Searched refs:sender (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java56 public void notifyPhoneState(Phone sender) { in notifyPhoneState() argument
57 Call ringingCall = sender.getRingingCall(); in notifyPhoneState()
58 int subId = sender.getSubId(); in notifyPhoneState()
59 int phoneId = sender.getPhoneId(); in notifyPhoneState()
67 convertCallState(sender.getState()), incomingNumber); in notifyPhoneState()
75 public void notifyServiceState(Phone sender) { in notifyServiceState() argument
76 ServiceState ss = sender.getServiceState(); in notifyServiceState()
77 int phoneId = sender.getPhoneId(); in notifyServiceState()
78 int subId = sender.getSubId(); in notifyServiceState()
81 + " sender=" + sender + " phondId=" + phoneId + " subId=" + subId); in notifyServiceState()
[all …]
DPhoneNotifier.java29 public void notifyPhoneState(Phone sender); in notifyPhoneState() argument
31 public void notifyServiceState(Phone sender); in notifyServiceState() argument
33 public void notifyCellLocation(Phone sender); in notifyCellLocation() argument
35 public void notifySignalStrength(Phone sender); in notifySignalStrength() argument
37 public void notifyMessageWaitingChanged(Phone sender); in notifyMessageWaitingChanged() argument
39 public void notifyCallForwardingChanged(Phone sender); in notifyCallForwardingChanged() argument
42 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument
45 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); in notifyDataConnectionFailed() argument
47 public void notifyDataActivity(Phone sender); in notifyDataActivity() argument
49 public void notifyOtaspChanged(Phone sender, int otaspMode); in notifyOtaspChanged() argument
[all …]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DListChangeRegistryTest.java49 public void onChanged(ObservableList sender) { in testNotifyChangedAll()
54 public void onItemRangeChanged(ObservableList sender, int start, int count) { in testNotifyChangedAll()
59 public void onItemRangeInserted(ObservableList sender, int start, int count) { in testNotifyChangedAll()
64 public void onItemRangeMoved(ObservableList sender, int from, int to, int count) { in testNotifyChangedAll()
69 public void onItemRangeRemoved(ObservableList sender, int start, int count) { in testNotifyChangedAll()
86 public void onChanged(ObservableList sender) { in testNotifyChanged()
91 public void onItemRangeChanged(ObservableList sender, int start, int count) { in testNotifyChanged()
98 public void onItemRangeInserted(ObservableList sender, int start, int count) { in testNotifyChanged()
103 public void onItemRangeMoved(ObservableList sender, int from, int to, int count) { in testNotifyChanged()
108 public void onItemRangeRemoved(ObservableList sender, int start, int count) { in testNotifyChanged()
[all …]
DObservableArrayListTest.java44 public void onChanged(ObservableList sender) {
49 public void onItemRangeChanged(ObservableList sender, int start, int count) {
54 public void onItemRangeInserted(ObservableList sender, int start, int count) {
59 public void onItemRangeMoved(ObservableList sender, int from, int to, int count) {
64 public void onItemRangeRemoved(ObservableList sender, int start, int count) {
134 public void onChanged(ObservableList sender) { in testAdd()
138 public void onItemRangeChanged(ObservableList sender, int i, int i1) { in testAdd()
143 public void onItemRangeInserted(ObservableList sender, int i, int i1) { in testAdd()
148 public void onItemRangeMoved(ObservableList sender, int i, int i1, int i2) { in testAdd()
153 public void onItemRangeRemoved(ObservableList sender, int i, int i1) { in testAdd()
DMapChangeRegistryTest.java42 public void onMapChanged(ObservableMap sender, String key) { in testNotifyAllChanged()
44 assertEquals(observableObj, sender); in testNotifyAllChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTestPhoneNotifier.java.broken33 public void notifyPhoneState(Phone sender) {
36 public void notifyServiceState(Phone sender) {
39 public void notifyCellLocation(Phone sender) {
42 public void notifySignalStrength(Phone sender) {
45 public void notifyMessageWaitingChanged(Phone sender) {
48 public void notifyCallForwardingChanged(Phone sender) {
51 public void notifyDataConnection(Phone sender, String reason, String apnType) {
54 public void notifyDataConnection(Phone sender, String reason, String apnType,
58 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) {
61 public void notifyDataActivity(Phone sender) {
[all …]
/frameworks/base/core/java/com/android/internal/util/
DCallbackRegistry.java91 public synchronized void notifyCallbacks(T sender, int arg, A arg2) { in notifyCallbacks() argument
93 notifyRecurseLocked(sender, arg, arg2); in notifyCallbacks()
122 private void notifyFirst64Locked(T sender, int arg, A arg2) { in notifyFirst64Locked() argument
124 notifyCallbacksLocked(sender, arg, arg2, 0, maxNotified, mFirst64Removed); in notifyFirst64Locked()
142 private void notifyRecurseLocked(T sender, int arg, A arg2) { in notifyRecurseLocked() argument
148 notifyRemainderLocked(sender, arg, arg2, remainderIndex); in notifyRecurseLocked()
155 notifyCallbacksLocked(sender, arg, arg2, startCallbackIndex, callbackCount, 0); in notifyRecurseLocked()
170 private void notifyRemainderLocked(T sender, int arg, A arg2, int remainderIndex) { in notifyRemainderLocked() argument
172 notifyFirst64Locked(sender, arg, arg2); in notifyRemainderLocked()
177 notifyRemainderLocked(sender, arg, arg2, remainderIndex - 1); in notifyRemainderLocked()
[all …]
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
DCallbackRegistry.java89 public synchronized void notifyCallbacks(T sender, int arg, A arg2) { in notifyCallbacks() argument
91 notifyRecurse(sender, arg, arg2); in notifyCallbacks()
120 private void notifyFirst64(T sender, int arg, A arg2) { in notifyFirst64() argument
122 notifyCallbacks(sender, arg, arg2, 0, maxNotified, mFirst64Removed); in notifyFirst64()
139 private void notifyRecurse(T sender, int arg, A arg2) { in notifyRecurse() argument
145 notifyRemainder(sender, arg, arg2, remainderIndex); in notifyRecurse()
152 notifyCallbacks(sender, arg, arg2, startCallbackIndex, callbackCount, 0); in notifyRecurse()
167 private void notifyRemainder(T sender, int arg, A arg2, int remainderIndex) { in notifyRemainder() argument
169 notifyFirst64(sender, arg, arg2); in notifyRemainder()
174 notifyRemainder(sender, arg, arg2, remainderIndex - 1); in notifyRemainder()
[all …]
DObservableList.java58 public abstract void onChanged(T sender); in onChanged() argument
66 public abstract void onItemRangeChanged(T sender, int positionStart, int itemCount); in onItemRangeChanged() argument
74 public abstract void onItemRangeInserted(T sender, int positionStart, int itemCount); in onItemRangeInserted() argument
83 public abstract void onItemRangeMoved(T sender, int fromPosition, int toPosition, in onItemRangeMoved() argument
92 public abstract void onItemRangeRemoved(T sender, int positionStart, int itemCount); in onItemRangeRemoved() argument
DObservable.java59 public abstract void onPropertyChanged(Observable sender, int propertyId); in onPropertyChanged() argument
DObservableMap.java59 public abstract void onMapChanged(T sender, K key); in onMapChanged() argument
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DListChangeRegistry.java41 ObservableList sender, int notificationType, ListChanges listChanges) {
44 callback.onItemRangeChanged(sender, listChanges.start, listChanges.count);
47 callback.onItemRangeInserted(sender, listChanges.start, listChanges.count);
50 callback.onItemRangeMoved(sender, listChanges.start, listChanges.to,
54 callback.onItemRangeRemoved(sender, listChanges.start, listChanges.count);
57 callback.onChanged(sender);
133 public synchronized void notifyCallbacks(ObservableList sender, int notificationType, in notifyCallbacks() argument
135 super.notifyCallbacks(sender, notificationType, listChanges); in notifyCallbacks()
DMapChangeRegistry.java27 … public void onNotifyCallback(ObservableMap.OnMapChangedCallback callback, ObservableMap sender,
29 callback.onMapChanged(sender, arg2);
43 public void notifyChange(ObservableMap sender, Object key) { in notifyChange() argument
44 notifyCallbacks(sender, 0, key); in notifyChange()
DViewDataBinding.java112 public void onNotifyCallback(OnRebindCallback callback, ViewDataBinding sender, int mode,
116 if (!callback.onPreBind(sender)) {
117 sender.mRebindHalted = true;
121 callback.onCanceled(sender);
124 callback.onBound(sender);
1143 public void onPropertyChanged(Observable sender, int propertyId) { in onPropertyChanged() argument
1149 if (obj != sender) { in onPropertyChanged()
1152 binder.handleFieldChange(mListener.mLocalFieldId, sender, propertyId); in onPropertyChanged()
1180 public void onChanged(ObservableList sender) { in onChanged() argument
1186 if (target != sender) { in onChanged()
[all …]
DPropertyChangeRegistry.java26 … public void onNotifyCallback(Observable.OnPropertyChangedCallback callback, Observable sender,
28 callback.onPropertyChanged(sender, arg);
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp251 sp<NativeInputEventSender> sender = new NativeInputEventSender(env, in nativeInit() local
253 status_t status = sender->initialize(); in nativeInit()
261 sender->incStrong(gInputEventSenderClassInfo.clazz); // retain a reference for the object in nativeInit()
262 return reinterpret_cast<jlong>(sender.get()); in nativeInit()
266 sp<NativeInputEventSender> sender = in nativeDispose() local
268 sender->dispose(); in nativeDispose()
269 sender->decStrong(gInputEventSenderClassInfo.clazz); // drop reference held by the object in nativeDispose()
274 sp<NativeInputEventSender> sender = in nativeSendKeyEvent() local
278 status_t status = sender->sendKeyEvent(seq, &event); in nativeSendKeyEvent()
284 sp<NativeInputEventSender> sender = in nativeSendMotionEvent() local
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DCallbackRegistryTest.java56 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testAddListener()
95 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testSimpleNotify()
114 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testRemoveWhileNotifying()
141 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testDeepRemoveWhileNotifying()
166 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testAddRemovedListener()
201 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testVeryDeepRemoveWhileNotifying()
227 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testClear()
251 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testNestedClear()
274 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testIsEmpty()
290 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testClone()
/frameworks/data-binding/compiler/src/test/java/android/databinding/
DCallbackRegistryTest.java55 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testAddListener()
95 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testSimpleNotify()
115 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testRemoveWhileNotifying()
143 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testDeepRemoveWhileNotifying()
169 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testAddRemovedListener()
205 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testVeryDeepRemoveWhileNotifying()
232 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testClear()
257 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testNestedClear()
281 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testIsEmpty()
298 public void onNotifyCallback(Integer callback, CallbackRegistryTest sender, in testClone()
/frameworks/base/services/tests/servicestests/src/android/net/util/
DBlockingSocketReaderTest.java114 final DatagramSocket sender = new DatagramSocket(); in sendPacket() local
115 sender.connect(mLocalSockName); in sendPacket()
116 sender.send(new DatagramPacket(contents, contents.length)); in sendPacket()
117 sender.close(); in sendPacket()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
DSimpleWakefulController.java54 PendingIntent sender = PendingIntent.getBroadcast(SimpleWakefulController.this,
64 am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceCategoryProgramHandler.java138 String sender = extras.getString("sender");
139 if (sender == null) {
163 PhoneNumberUtils.cdmaCheckAndProcessPlusCodeForSms(sender));
/frameworks/base/docs/html/distribute/googleplay/
Dcast.jd13 a primary display on the sender. Native games can provide real-time interaction on
36 <li>User interaction should only take place on the Cast sender (phone, tablet,
39 to help make things feel faster on the Cast sender interface.</li>
/frameworks/base/core/java/android/content/
DIntentSender.java336 public static void writeIntentSenderOrNullToParcel(IntentSender sender, in writeIntentSenderOrNullToParcel() argument
338 out.writeStrongBinder(sender != null ? sender.mTarget.asBinder() in writeIntentSenderOrNullToParcel()
/frameworks/base/core/java/android/app/
DIActivityManager.java280 public void cancelIntentSender(IIntentSender sender) throws RemoteException; in cancelIntentSender() argument
283 public String getPackageForIntentSender(IIntentSender sender) throws RemoteException; in getPackageForIntentSender() argument
284 public int getUidForIntentSender(IIntentSender sender) throws RemoteException; in getUidForIntentSender() argument
349 public void noteWakeupAlarm(IIntentSender sender, int sourceUid, String sourcePkg, String tag) in noteWakeupAlarm() argument
351 public void noteAlarmStart(IIntentSender sender, int sourceUid, String tag) in noteAlarmStart() argument
353 public void noteAlarmFinish(IIntentSender sender, int sourceUid, String tag) in noteAlarmFinish() argument
480 public boolean isIntentSenderTargetedToPackage(IIntentSender sender) throws RemoteException; in isIntentSenderTargetedToPackage() argument
482 public boolean isIntentSenderAnActivity(IIntentSender sender) throws RemoteException; in isIntentSenderAnActivity() argument
484 public Intent getIntentForIntentSender(IIntentSender sender) throws RemoteException; in getIntentForIntentSender() argument
486 public String getTagForIntentSender(IIntentSender sender, String prefix) throws RemoteException; in getTagForIntentSender() argument
/frameworks/base/core/java/android/view/
DInputEventSender.java43 private static native long nativeInit(WeakReference<InputEventSender> sender, in nativeInit() argument

12