Home
last modified time | relevance | path

Searched refs:notify (Results 1 – 25 of 132) sorted by relevance

123456

/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/
DStatusNotification.java25 void notify(String status); in notify() method
28 notify("No OBD2 dongle paired. Go to Settings."); in notifyNoDongle()
32 notify("Paired to " + deviceAddress + ". Ready to capture data."); in notifyPaired()
36 notify("Unable to connect."); in notifyConnectionFailed()
40 notify("Connected to " + deviceAddress + ". Starting data capture."); in notifyConnected()
46 notify("Successfully captured data at " + now.format(dateTimeFormatter)); in notifyDataCapture()
52 notify("Exception occurred.\n" + stringWriter.toString()); in notifyException()
56 notify("Lost connection to remote end. Will try to reconnect."); in notifyDisconnected()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java128 mManager.notify(mCurrentNotificationId++, notification); in initCarCategoriesButton()
144 mManager.notify(mCurrentNotificationId++, notification); in initCarCategoriesButton()
157 mManager.notify(mCurrentNotificationId++, notification); in initCarCategoriesButton()
188 v -> mManager.notify(mCurrentNotificationId++, notification1) in initImportanceHighBotton()
199 mManager.notify(mCurrentNotificationId++, notification); in initImportanceDefaultButton()
211 mManager.notify(mCurrentNotificationId++, notification); in initImportanceLowButton()
223 mManager.notify(mCurrentNotificationId++, notification); in initImportanceMinButton()
237 mManager.notify(mCurrentNotificationId++, notification); in initOngoingButton()
306 mManager.notify(id, notification.build()); in initMessagingStyleButton()
352 mManager.notify(id, updateNotification.build()); in initTestMessagesButton()
[all …]
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DNotificationControllerTest.java72 verify(mNotificationManager).notify(anyInt(), any(Notification.class)); in testShouldShowNotificationFirstTime()
84 verify(mNotificationManager, times(i)).notify(anyInt(), any(Notification.class)); in testNotificationNotShownIfShownTooManyTimes()
104 verify(mNotificationManager, times(i + 1)).notify(anyInt(), any(Notification.class)); in testNotificationNotShownIfDismissedTooManyTimes()
122 verify(mNotificationManager).notify(anyInt(), any(Notification.class)); in testDismissNotificationDelay()
137 verify(mNotificationManager).notify(anyInt(), any(Notification.class)); in testDismissNotificationDelay()
144 verify(mNotificationManager).notify(anyInt(), any(Notification.class)); in testNoThanksNotificationDelay()
159 verify(mNotificationManager).notify(anyInt(), any(Notification.class)); in testNoThanksNotificationDelay()
179 verify(mNotificationManager).notify(anyInt(), captor.capture()); in testNotificationIsLocalOnly()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DNotificationHelper.java62 final Notification.Builder notify = new Notification.Builder(mContext) in showResumeNotification() local
73 notificationManager.notify(ENCRYPTION_NOTIFICATION_ID, notify.build()); in showResumeNotification()
84 final Notification.Builder notify = new Notification.Builder(mContext, CHANNEL_ID) in showPrivacyReminderNotification() local
96 notificationManager.notify(PRIVACY_REMINDER_NOTIFICATION_ID, notify.build()); in showPrivacyReminderNotification()
/packages/services/Telephony/testapps/TelephonyRegistryTestApp/src/com/android/phone/testapps/telephonyregistry/
DTelephonyRegistryTestApp.java67 notify("onCellLocationChanged", location);
72 notify("onCellInfoChanged", cellInfo);
77 notify("onSrvccStateChanged", srvccState);
82 notify("onServiceStateChanged", state);
85 private void notify(String method, Object data) {
92 notificationManager.notify(0, notification);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DIncomingCallNotifierTest.java91 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG), in testSingleCall()
103 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG), in testIncomingDuringOngoingCall()
119 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG), in testIncomingDuringOngoingCall2()
135 verify(mNotificationManager).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG), in testCallRemoved()
157 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG), in testDontShowDuringHandover1()
176 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG), in testDontShowDuringHandover2()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsProvider.java310 boolean notify = true; in insert()
342 notify = false; in insert()
346 notify = false; in insert()
350 notify = false; in insert()
354 notify = false; in insert()
594 if (notify) { in insert()
628 boolean notify = false; in delete()
636 notify = true; in delete()
645 notify = true; in delete()
690 if ((deletedRows > 0) && notify) { in delete()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DPolicyServiceProxy.java78 final String securityKey, final boolean notify) throws RemoteException { in setAccountPolicy2() argument
82 mService.setAccountPolicy2(accountId, policy, securityKey, notify); in setAccountPolicy2()
157 String securityKey, boolean notify) { in setAccountPolicy2() argument
160 notify); in setAccountPolicy2()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java159 mNotificationManager.notify(R.id.ingest_notification_scanning, in setClientActivity()
234 mNotificationManager.notify(R.id.ingest_notification_importing, in onImportProgress()
251 mNotificationManager.notify(R.id.ingest_notification_importing, in onImportFinish()
268 mNotificationManager.notify(R.id.ingest_notification_scanning, in onObjectIndexed()
289 mNotificationManager.notify(R.id.ingest_notification_scanning, in onIndexingFinished()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperationService.java381 notificationManager.notify( in onStart()
447 notificationManager.notify(NOTIFICATION_ID_PROGRESS, notification); in updateForegroundState()
467 notificationManager.notify( in cleanUpNotification()
475 notificationManager.notify( in cleanUpNotification()
534 notificationManager.notify( in run()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationManager.java39 void notify(String tag, int id, Notification notification) { in notify() method in TestNotificationManager
59 notify(null, (Integer) args[0], (Notification) args[1]); in invoke()
62 notify((String) args[0], (Integer) args[1], (Notification) args[2]); in invoke()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java130 nm.notify(id, notification); in showLowPriorityNotification()
171 nm.notify(id, notification); in showHighPriorityNotification()
258 nm.notify(ALARM_GROUP_NOTIFICATION_ID, summary); in updateUpcomingAlarmGroupNotification()
292 nm.notify(ALARM_GROUP_MISSED_NOTIFICATION_ID, summary); in updateMissedAlarmGroupNotification()
334 nm.notify(id, notification); in showSnoozeNotification()
379 nm.notify(id, notification); in showMissedNotification()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DDraftMessageData.java253 private void setMessageText(final String messageText, final boolean notify) { in setMessageText() argument
256 if (notify) { in setMessageText()
261 private void setMessageSubject(final String subject, final boolean notify) { in setMessageSubject() argument
263 if (notify) { in setMessageSubject()
424 public void setSelfId(final String selfId, final boolean notify) { in setSelfId() argument
428 if (notify) { in setSelfId()
/packages/apps/Dialer/java/com/android/dialer/notification/
DDialerNotificationManager.java41 public static void notify(@NonNull Context context, int id, @NonNull Notification notification) { in notify() method in DialerNotificationManager
47 public static void notify( in notify() method in DialerNotificationManager
57 getNotificationManager(context).notify(tag, id, notification); in notify()
/packages/apps/Gallery/src/com/android/camera/
DImageGetter.java139 ImageGetter.this.notify();
257 notify();
282 notify();
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapAuthenticator.java61 notify(); in setChallenged()
66 notify(); in setCancelled()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseAdapter.java199 private void notify(Consumer<Observer> notification) {
220 view -> BrowseAdapter.this.notify(notification) :
230 view -> BrowseAdapter.this.notify(notification) :
/packages/apps/Dialer/java/com/android/dialer/calllog/notifier/
DRefreshAnnotatedCallLogNotifier.java62 notify(/* checkDirty = */ false); in markDirtyAndNotify()
74 public void notify(boolean checkDirty) { in notify() method in RefreshAnnotatedCallLogNotifier
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DMockedPowerHalService.java134 public void setCurrentPowerState(PowerState state, boolean notify) { in setCurrentPowerState() argument
140 if (listener != null && notify) { in setCurrentPowerState()
/packages/apps/Email/provider_src/com/android/email/service/
DPolicyService.java76 boolean notify) {
78 mSecurityPolicy.setAccountPolicy(accountId, policy, securityKey, notify);
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DFileTsStreamer.java201 mCircularBufferMonitor.notify(); in stopStream()
392 mCircularBufferMonitor.notify(); in readAt()
478 mCircularBufferMonitor.notify(); in run()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportProcessor.java281 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, in doCancelNotification()
292 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, in doFinishNotification()
313 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, in doFinishNotificationWithShareAction()
DNotificationImportExportListener.java139 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, in onImportFinished()
157 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, in onImportCanceled()
185 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, request.jobId, notification); in onCancelRequest()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppNotification.java393 mNotificationMgr.notify(NOTIFICATION_ID_PROGRESS, b.build()); in updateActiveNotification()
466 mNotificationMgr.notify(NOTIFICATION_ID_OUTBOUND_COMPLETE, outNoti); in updateCompletedNotification()
532 mNotificationMgr.notify(NOTIFICATION_ID_INBOUND_COMPLETE, inNoti); in updateCompletedNotification()
596 mNotificationMgr.notify(NOTIFICATION_ID_PROGRESS, n); in updateIncomingFileConfirmNotification()
/packages/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java218 notificationManager.notify(SIM_SELECT_NOTIFICATION_ID, builder.build()); in createSimSelectNotification()
258 notificationManager.notify(ENABLE_MMS_NOTIFICATION_ID, builder.build()); in createEnableMmsNotification()
306 notificationManager.notify(SIM_WARNING_NOTIFICATION_ID, builder.build()); in createSimCombinationWarningNotification()

123456