/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/ |
D | StatusNotification.java | 25 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/ |
D | NotificationFragment.java | 128 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/ |
D | NotificationControllerTest.java | 72 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/ |
D | NotificationHelper.java | 62 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/ |
D | TelephonyRegistryTestApp.java | 66 notify("onCellLocationChanged", location); 71 notify("onCellInfoChanged", cellInfo); 76 notify("onSrvccStateChanged", srvccState); 81 notify("onServiceStateChanged", state); 84 private void notify(String method, Object data) { 91 notificationManager.notify(0, notification);
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | IncomingCallNotifierTest.java | 98 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG), in testSingleCall() 110 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG), in testIncomingDuringOngoingCall() 126 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG), in testIncomingDuringOngoingCall2() 142 verify(mNotificationManager).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG), in testCallRemoved() 164 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG), in testDontShowDuringHandover1() 183 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG), in testDontShowDuringHandover2()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ |
D | NetworkStackNotifierTest.kt | 181 verify(mNm, never()).notify(any(), anyInt(), any()) in testNoNotification() 185 verify(mNm).notify(eq(TEST_NETWORK_TAG), mNoteIdCaptor.capture(), mNoteCaptor.capture()) in verifyConnectedNotification() 213 verify(mNm, never()).notify(any(), anyInt(), any()) in testConnectedNotification_NoSsid() 280 verify(mNm).notify(eq(TEST_NETWORK_TAG), mNoteIdCaptor.capture(), mNoteCaptor.capture()) in testVenueInfoNotification() 297 verify(mNm, never()).notify(any(), anyInt(), any()) in testVenueInfoNotification_VenueInfoDisabled() 308 verify(mNm, never()).notify(eq(TEST_NETWORK_TAG), anyInt(), any()) in testNonDefaultVenueInfoNotification() 319 verify(mNm, never()).notify(eq(TEST_NETWORK_TAG), anyInt(), any()) in testEmptyCaptivePortalDataVenueInfoNotification() 330 verify(mNm, never()).notify(eq(TEST_NETWORK_TAG), anyInt(), any()) in testUnvalidatedNetworkVenueInfoNotification()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsProvider.java | 310 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/Gallery2/src/com/android/gallery3d/ingest/ |
D | IngestService.java | 159 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/ |
D | FileOperationService.java | 381 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/ |
D | TestNotificationManager.java | 39 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/Messaging/src/com/android/messaging/datamodel/data/ |
D | DraftMessageData.java | 253 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() 436 public void setSelfId(final String selfId, final boolean notify) { in setSelfId() argument 440 if (notify) { in setSelfId()
|
/packages/apps/Dialer/java/com/android/dialer/notification/ |
D | DialerNotificationManager.java | 41 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/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmNotifications.kt | 169 nm.notify(id, notification) in showLowPriorityNotification() 224 nm.notify(id, notification) in showHighPriorityNotification() 324 nm.notify(ALARM_GROUP_NOTIFICATION_ID, summary) in updateUpcomingAlarmGroupNotification() 375 nm.notify(ALARM_GROUP_MISSED_NOTIFICATION_ID, summary) in updateMissedAlarmGroupNotification() 429 nm.notify(id, notification) in showSnoozeNotification() 489 nm.notify(id, notification) in showMissedNotification()
|
D | AlarmNotifications.java | 144 nm.notify(id, notification); in showUpcomingNotification() 232 nm.notify(ALARM_GROUP_NOTIFICATION_ID, summary); in updateUpcomingAlarmGroupNotification() 266 nm.notify(ALARM_GROUP_MISSED_NOTIFICATION_ID, summary); in updateMissedAlarmGroupNotification() 310 nm.notify(id, notification); in showSnoozeNotification() 357 nm.notify(id, notification); in showMissedNotification()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageGetter.java | 139 ImageGetter.this.notify(); 257 notify(); 282 notify();
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | DownloadService.java | 280 nm.notify(NOTE_DOWNLOAD_PROGRESS, makeProgressNotification(task, null /* progress */)); in processDownload() 318 nm.notify(NOTE_DOWNLOAD_DONE, in processDownload() 322 nm.notify(NOTE_DOWNLOAD_DONE, makeErrorNotification(task.mDisplayName)); in processDownload() 405 nm.notify(NOTE_DOWNLOAD_PROGRESS, note); in maybeNotifyProgress()
|
/packages/modules/DnsResolver/tests/dns_metrics_listener/ |
D | test_metrics.cpp | 26 void BaseTestMetricsEvent::notify() { in notify() function in android::net::metrics::BaseTestMetricsEvent 77 notify(); in onDnsEvent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapAuthenticator.java | 61 notify(); in setChallenged() 66 notify(); in setCancelled()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | ChildSessionStateMachine.java | 1227 IkeNotifyPayload notify = (IkeNotifyPayload) payload; in validateDeleteRespPayloadAndExchangeType() local 1228 if (!notify.isErrorNotify()) { in validateDeleteRespPayloadAndExchangeType() 1232 + notify.notifyType); in validateDeleteRespPayloadAndExchangeType() 1236 throw notify.validateAndBuildIkeException(); in validateDeleteRespPayloadAndExchangeType() 2221 for (IkeNotifyPayload notify : notifyPayloads) { in validateAndNegotiateChild() 2222 if (notify.isErrorNotify()) { in validateAndNegotiateChild() 2224 IkeProtocolException exception = notify.validateAndBuildIkeException(); in validateAndNegotiateChild() 2229 logw("Received unexpected error notification: " + notify.notifyType); in validateAndNegotiateChild() 2236 switch (notify.notifyType) { in validateAndNegotiateChild() 2255 + notify.notifyType); in validateAndNegotiateChild()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/notifier/ |
D | RefreshAnnotatedCallLogNotifier.java | 62 notify(/* checkDirty = */ false); in markDirtyAndNotify() 74 public void notify(boolean checkDirty) { in notify() method in RefreshAnnotatedCallLogNotifier
|
/packages/apps/Car/Media/src/com/android/car/media/browse/ |
D | BrowseAdapter.java | 211 private void notify(Consumer<Observer> notification) { 232 view -> BrowseAdapter.this.notify(notification) : 242 view -> BrowseAdapter.this.notify(notification) :
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | ExportProcessor.java | 281 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, in doCancelNotification() 292 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, in doFinishNotification() 312 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, in doFinishNotificationWithShareAction()
|
D | NotificationImportExportListener.java | 137 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, in onImportFinished() 155 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, in onImportCanceled() 183 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, request.jobId, notification); in onCancelRequest()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | MockedPowerHalService.java | 140 public void setCurrentPowerState(PowerState state, boolean notify) { in setCurrentPowerState() argument 146 if (listener != null && notify) { in setCurrentPowerState()
|