Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java67 public void notifyPhoneState(Phone sender) { in notifyPhoneState() argument
68 Call ringingCall = sender.getRingingCall(); in notifyPhoneState()
69 int subId = sender.getSubId(); in notifyPhoneState()
70 int phoneId = sender.getPhoneId(); in notifyPhoneState()
76 PhoneConstantConversions.convertCallState(sender.getState()), incomingNumber); in notifyPhoneState()
80 public void notifyServiceState(Phone sender) { in notifyServiceState() argument
81 ServiceState ss = sender.getServiceState(); in notifyServiceState()
82 int phoneId = sender.getPhoneId(); in notifyServiceState()
83 int subId = sender.getSubId(); in notifyServiceState()
86 + " sender=" + sender + " phondId=" + phoneId + " subId=" + subId); in notifyServiceState()
[all …]
DPhoneNotifier.java41 void notifyPhoneState(Phone sender); in notifyPhoneState() argument
43 void notifyServiceState(Phone sender); in notifyServiceState() argument
50 void notifyCellLocation(Phone sender, CellIdentity cellIdentity); in notifyCellLocation() argument
53 void notifySignalStrength(Phone sender); in notifySignalStrength() argument
56 void notifyMessageWaitingChanged(Phone sender); in notifyMessageWaitingChanged() argument
58 void notifyCallForwardingChanged(Phone sender); in notifyCallForwardingChanged() argument
62 Phone sender, String apnType, PreciseDataConnectionState preciseState); in notifyDataConnection() argument
64 void notifyDataActivity(Phone sender); in notifyDataActivity() argument
66 void notifyCellInfo(Phone sender, List<CellInfo> cellInfo); in notifyCellInfo() argument
68 void notifyPreciseCallState(Phone sender); in notifyPreciseCallState() argument
[all …]
/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/native/services/vr/performanced/
Dperformance_service.cpp52 static bool Check(const Message& sender, const Task&) { in Check()
53 const uid_t uid = sender.GetEffectiveUserId(); in Check()
63 static bool Check(const Message& sender, const Task&) { in Check()
64 const gid_t gid = sender.GetEffectiveGroupId(); in Check()
73 static bool Check(const Message& sender, const Task&) { in Check()
74 return IsTrustedUid(sender.GetEffectiveUserId()); in Check()
80 static bool Check(const Message& sender, const Task& task) { in Check()
81 return sender.GetProcessId() == task.thread_group_id(); in Check()
88 static bool Check(const Message& sender, const Task& task) { in Check()
90 EXPAND_PACK(allow |= Allows::Check(sender, task)); in Check()
[all …]
Dperformance_service.h66 bool IsAllowed(const pdx::Message& sender, const Task& task) const { in IsAllowed()
68 return permission_check(sender, task); in IsAllowed()
69 else if (!task || task.thread_group_id() != sender.GetProcessId()) in IsAllowed()
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp254 sp<NativeInputEventSender> sender = new NativeInputEventSender(env, in nativeInit() local
256 status_t status = sender->initialize(); in nativeInit()
264 sender->incStrong(gInputEventSenderClassInfo.clazz); // retain a reference for the object in nativeInit()
265 return reinterpret_cast<jlong>(sender.get()); in nativeInit()
269 sp<NativeInputEventSender> sender = in nativeDispose() local
271 sender->dispose(); in nativeDispose()
272 sender->decStrong(gInputEventSenderClassInfo.clazz); // drop reference held by the object in nativeDispose()
277 sp<NativeInputEventSender> sender = in nativeSendKeyEvent() local
281 status_t status = sender->sendKeyEvent(seq, &event); in nativeSendKeyEvent()
287 sp<NativeInputEventSender> sender = in nativeSendMotionEvent() local
[all …]
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java261 private void onRunAnyAppOpsChanged(AppStateTracker sender, in onRunAnyAppOpsChanged() argument
263 updateJobsForUidPackage(uid, packageName, sender.isUidActive(uid)); in onRunAnyAppOpsChanged()
265 if (!sender.areAlarmsRestricted(uid, packageName, /*allowWhileIdle=*/ false)) { in onRunAnyAppOpsChanged()
267 } else if (!sender.areAlarmsRestricted(uid, packageName, /*allowWhileIdle=*/ true)){ in onRunAnyAppOpsChanged()
272 if (!sender.isRunAnyInBackgroundAppOpsAllowed(uid, packageName)) { in onRunAnyAppOpsChanged()
282 private void onUidForegroundStateChanged(AppStateTracker sender, int uid) { in onUidForegroundStateChanged() argument
283 onUidForeground(uid, sender.isUidInForeground(uid)); in onUidForegroundStateChanged()
289 private void onUidActiveStateChanged(AppStateTracker sender, int uid) { in onUidActiveStateChanged() argument
290 final boolean isActive = sender.isUidActive(uid); in onUidActiveStateChanged()
302 private void onPowerSaveUnwhitelisted(AppStateTracker sender) { in onPowerSaveUnwhitelisted() argument
[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/base/services/core/java/com/android/server/am/
DPendingIntentController.java212 public void cancelIntentSender(IIntentSender sender) { in cancelIntentSender() argument
213 if (!(sender instanceof PendingIntentRecord)) { in cancelIntentSender()
217 final PendingIntentRecord rec = (PendingIntentRecord) sender; in cancelIntentSender()
248 void registerIntentSenderCancelListener(IIntentSender sender, IResultReceiver receiver) { in registerIntentSenderCancelListener() argument
249 if (!(sender instanceof PendingIntentRecord)) { in registerIntentSenderCancelListener()
254 PendingIntentRecord pendingIntent = (PendingIntentRecord) sender; in registerIntentSenderCancelListener()
268 void unregisterIntentSenderCancelListener(IIntentSender sender, in unregisterIntentSenderCancelListener() argument
270 if (!(sender instanceof PendingIntentRecord)) { in unregisterIntentSenderCancelListener()
274 ((PendingIntentRecord) sender).unregisterCancelListenerLocked(receiver); in unregisterIntentSenderCancelListener()
/frameworks/base/core/java/android/app/
DIActivityManager.aidl231 void cancelIntentSender(in IIntentSender sender); in cancelIntentSender() argument
232 String getPackageForIntentSender(in IIntentSender sender); in getPackageForIntentSender() argument
233 void registerIntentSenderCancelListener(in IIntentSender sender, in IResultReceiver receiver); in registerIntentSenderCancelListener() argument
234 void unregisterIntentSenderCancelListener(in IIntentSender sender, in IResultReceiver receiver); in unregisterIntentSenderCancelListener() argument
236 void noteWakeupAlarm(in IIntentSender sender, in WorkSource workSource, int sourceUid, in noteWakeupAlarm() argument
276 int getUidForIntentSender(in IIntentSender sender); in getUidForIntentSender() argument
322 boolean isIntentSenderTargetedToPackage(in IIntentSender sender); in isIntentSenderTargetedToPackage() argument
348 boolean isIntentSenderAnActivity(in IIntentSender sender); in isIntentSenderAnActivity() argument
349 boolean isIntentSenderAForegroundService(in IIntentSender sender); in isIntentSenderAForegroundService() argument
350 boolean isIntentSenderABroadcast(in IIntentSender sender); in isIntentSenderABroadcast() argument
[all …]
DPendingIntent.java1233 public static void writePendingIntentOrNullToParcel(@Nullable PendingIntent sender, in writePendingIntentOrNullToParcel() argument
1235 out.writeStrongBinder(sender != null ? sender.mTarget.asBinder() : null); in writePendingIntentOrNullToParcel()
1236 if (sender != null) { in writePendingIntentOrNullToParcel()
1239 listener.onMarshaled(sender, out, 0 /* flags */); in writePendingIntentOrNullToParcel()
DNotification.java7080 public MessagingStyle addMessage(CharSequence text, long timestamp, CharSequence sender) {
7082 sender == null ? null : new Person.Builder().setName(sender).build());
7099 @Nullable Person sender) {
7100 return addMessage(new Message(text, timestamp, sender));
7222 CharSequence sender = m == null ? null in fixTitleAndTextExtras() local
7227 if (!TextUtils.isEmpty(sender)) { in fixTitleAndTextExtras()
7231 bidi.unicodeWrap(mConversationTitle), bidi.unicodeWrap(sender)); in fixTitleAndTextExtras()
7236 title = sender; in fixTitleAndTextExtras()
7433 Person sender = m.getSenderPerson(); in hasOnlyWhiteSpaceSenders() local
7434 if (sender != null && !isWhiteSpace(sender.getName())) { in hasOnlyWhiteSpaceSenders()
[all …]
DNotificationManager.java472 String sender = mContext.getPackageName(); in notifyAsPackage() local
475 if (localLOGV) Log.v(TAG, sender + ": notify(" + id + ", " + notification + ")"); in notifyAsPackage()
476 service.enqueueNotificationWithTag(targetPackage, sender, tag, id, in notifyAsPackage()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLayout.java417 Person sender = senders.get(groupIndex); in createGroupViews() local
419 if (sender != mUser && mNameReplacement != null) { in createGroupViews()
422 newGroup.setSender(sender, nameOverride); in createGroupViews()
448 Person sender = message.getMessage().getSenderPerson(); in findGroups() local
449 CharSequence key = sender == null ? null in findGroups()
450 : sender.getKey() == null ? sender.getName() : sender.getKey(); in findGroups()
455 if (sender == null) { in findGroups()
456 sender = mUser; in findGroups()
458 senders.add(sender); in findGroups()
DMessagingGroup.java138 public void setSender(Person sender, CharSequence nameOverride) { in setSender() argument
139 mSender = sender; in setSender()
141 nameOverride = sender.getName(); in setSender()
144 mNeedsGeneratedAvatar = sender.getIcon() == null; in setSender()
146 setAvatar(sender.getIcon()); in setSender()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DPacketReaderTest.java159 final DatagramSocket sender = new DatagramSocket(); in sendPacket() local
160 sender.connect(mLocalSockName); in sendPacket()
161 sender.send(new DatagramPacket(contents, contents.length)); in sendPacket()
162 sender.close(); in sendPacket()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dipc_helper.h40 Status<void> SendAll(SendInterface* sender, const BorrowedHandle& socket_fd,
42 Status<void> SendMsgAll(SendInterface* sender, const BorrowedHandle& socket_fd,
60 explicit SendPayload(SendInterface* sender = nullptr) : sender_{sender} {}
/frameworks/native/libs/vr/libpdx_uds/
Dipc_helper.cpp54 Status<void> SendAll(SendInterface* sender, const BorrowedHandle& socket_fd, in SendAll() argument
60 RETRY_EINTR(sender->Send(socket_fd.Get(), ptr, size, MSG_NOSIGNAL)); in SendAll()
73 Status<void> SendMsgAll(SendInterface* sender, const BorrowedHandle& socket_fd, in SendMsgAll() argument
77 RETRY_EINTR(sender->SendMessage(socket_fd.Get(), msg, MSG_NOSIGNAL)); in SendMsgAll()
93 ret = SendAll(sender, socket_fd, chunk_base + offset_within_chunk, in SendMsgAll()
191 SendInterface* sender = sender_ ? sender_ : &g_socket_sender; in Send() local
230 return SendMsgAll(sender, socket_fd, &msg); in Send()
/frameworks/base/core/java/android/content/
DIntentSender.java339 public static void writeIntentSenderOrNullToParcel(IntentSender sender, in writeIntentSenderOrNullToParcel() argument
341 out.writeStrongBinder(sender != null ? sender.mTarget.asBinder() in writeIntentSenderOrNullToParcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerServiceTest.java72 PackageSenderImpl sender = new PackageSenderImpl(); in testPackageRemoval() local
75 new PackageManagerService.PackageRemovedInfo(sender); in testPackageRemoval()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java91 String sender = result.getString("sender"); in CdmaInboundSmsHandler()
92 if (sender == null) { in CdmaInboundSmsHandler()
115 PhoneNumberUtils.cdmaCheckAndProcessPlusCodeForSms(sender)); in CdmaInboundSmsHandler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogController.kt251 fun launchSettings(sender: View) { in <lambda>()
252 onSettingsClickListener?.onClick(sender, null, appUid!!) in <lambda>()
/frameworks/base/core/java/android/view/
DInputEventSender.java44 private static native long nativeInit(WeakReference<InputEventSender> sender, in nativeInit() argument
/frameworks/base/core/proto/android/app/
Dnotificationmanager.proto52 // Any sender is prioritized.

12