/external/junit/src/main/java/org/junit/internal/runners/ |
ErrorReportingRunner.java | 9 import org.junit.runner.notification.Failure; 10 import org.junit.runner.notification.RunNotifier;
|
/external/vogar/src/vogar/target/ |
TargetMonitorRunListener.java | 21 import org.junit.runner.notification.Failure; 22 import org.junit.runner.notification.RunListener;
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
NotificationChannelExtractorTest.java | 17 package com.android.server.notification; 32 import android.app.Notification; 37 import android.service.notification.StatusBarNotification; 59 final Notification.Builder builder = new Notification.Builder(getContext()) 62 Notification n = builder.build();
|
NotificationListenerServiceTest.java | 17 package com.android.server.notification; 26 import android.service.notification.NotificationListenerService; 27 import android.service.notification.NotificationListenerService.Ranking; 28 import android.service.notification.NotificationRankingUpdate; 29 import android.service.notification.SnoozeCriterion;
|
/hardware/interfaces/gnss/1.0/ |
IGnssNiCallback.hal | 37 /** NI requires notification */ 41 /** NI requires privacy override, no notification/minimal trace */ 83 * Notification/verification options, combinations of GnssNiNotifyFlags 106 * Notification message. String representing the service(for eg. SUPL-service) 125 * @param notification network initiated request. 127 niNotifyCb(GnssNiNotification notification);
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
ExportProcessor.java | 18 import android.app.Notification; 198 // bother notification bar too much. 214 // the file by pressing the notification; otherwise, it would be a file in Drive, we 215 // don't need to enable this action in notification since the file is already uploaded. 268 final Notification notification = local 272 mService.startForeground(mJobId, notification); 276 if (DEBUG) Log.d(LOG_TAG, "send cancel notification"); 279 final Notification notification local 289 final Notification notification = local 309 final Notification notification = local [all...] |
/packages/apps/Messaging/src/com/android/messaging/sms/ |
SmsStorageStatusManager.java | 18 import android.app.Notification; 32 * Class that handles SMS auto delete and notification when storage is low 60 * Post sms storage low notification 72 .setPriority(Notification.PRIORITY_DEFAULT) 80 final Notification notification = bigTextStyle.build(); local 86 PendingIntentConstants.SMS_STORAGE_LOW_NOTIFICATION_ID, notification); local 90 * Cancel the notification
|
/packages/services/Car/service/src/com/android/car/ |
CanBusErrorNotifier.java | 18 import android.app.Notification; 41 // Contains a set of objects that reported failure. The notification will be hidden only when 89 Notification notification = local 90 new Notification.Builder(mContext, NotificationChannel.DEFAULT_CHANNEL_ID) 96 mNotificationManager.notify(TAG, NOTIFICATION_ID, notification);
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
NotificationSecurityTests.java | 17 package com.android.notification.functional; 19 import android.app.Notification; 22 import android.service.notification.StatusBarNotification; 44 Log.i(LOG_TAG, "set up notification..."); 60 String title = "Public Notification"; 62 mHelper.sendNotification(NOTIFICATION_ID_PUBLIC, Notification.VISIBILITY_PUBLIC, title); 64 fail("couldn't find posted notification id=" + NOTIFICATION_ID_PUBLIC); 68 Log.i(LOG_TAG, sbn.getNotification().extras.getString(Notification.EXTRA_TITLE)); 70 String sentTitle = sbn.getNotification().extras.getString(Notification.EXTRA_TITLE);
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
TerminalView.java | 59 private Toast notification = null; field in class:TerminalView 223 if (notification != null) { 229 notification.setText(message); 230 notification.show(); 232 notification = Toast.makeText(context, message, Toast.LENGTH_SHORT); 233 notification.show();
|
/frameworks/base/services/core/java/com/android/server/notification/ |
ZenModeConditions.java | 17 package com.android.server.notification; 21 import android.service.notification.Condition; 22 import android.service.notification.IConditionListener; 23 import android.service.notification.IConditionProvider; 24 import android.service.notification.ZenModeConfig; 25 import android.service.notification.ZenModeConfig.ZenRule;
|
CountdownConditionProvider.java | 17 package com.android.server.notification; 27 import android.service.notification.Condition; 28 import android.service.notification.IConditionProvider; 29 import android.service.notification.ZenModeConfig; 34 import com.android.server.notification.NotificationManagerService.DumpFilter;
|
ZenLog.java | 17 package com.android.server.notification; 25 import android.service.notification.Condition; 26 import android.service.notification.IConditionProvider; 27 import android.service.notification.NotificationListenerService; 28 import android.service.notification.ZenModeConfig;
|
/external/walt/ios/WALT/ |
MIDIClient.m | 42 const MIDIObjectAddRemoveNotification *notification = 46 if ((notification->childType & (kMIDIObjectType_Source|kMIDIObjectType_Destination)) != 0 && 55 const MIDIObjectAddRemoveNotification *notification = 59 if ((notification->childType & (kMIDIObjectType_Source|kMIDIObjectType_Destination)) != 0 && 80 const MIDIIOErrorNotification *notification = (const MIDIIOErrorNotification *)message; 82 if ([client attachedToDevice:notification->driverDevice]) { 85 code:notification->errorCode
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
TimerNotificationBuilder.java | 21 import android.app.Notification; 57 public Notification build(Context context, NotificationModel nm, List<Timer> unexpired) { 141 // Intent to load the app and show the timer when the notification is tapped. 151 final Builder notification = new NotificationCompat.Builder(context) local 157 .setPriority(Notification.PRIORITY_HIGH) 166 notification.addAction(action); 170 notification.setCustomContentView(buildChronometer(pname, base, running, stateText)) 185 notification.setContentTitle(stateText).setContentText(contentTextPreN); 200 // Cancel the update notification callback. 210 return notification.build() 264 final Builder notification = new NotificationCompat.Builder(context) local 347 final Builder notification = new NotificationCompat.Builder(context) local [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 71 struct Notification { 85 // should the subscriber be deleted after the notification 89 inline Notification(const int broadcast, 96 inline Notification(const Subscriber* subscriber, 103 inline Notification(const int broadcast) : 108 inline Notification(const Subscriber* subscriber) : 246 void notifySubscribers(Notification& notification) const; 288 virtual bool notifyRsrcStatus(Notification ¬ification) = 0 [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 71 struct Notification { 85 // should the subscriber be deleted after the notification 89 inline Notification(const int broadcast, 96 inline Notification(const Subscriber* subscriber, 103 inline Notification(const int broadcast) : 108 inline Notification(const Subscriber* subscriber) : 246 void notifySubscribers(Notification& notification) const; 288 virtual bool notifyRsrcStatus(Notification ¬ification) = 0 [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 71 struct Notification { 85 // should the subscriber be deleted after the notification 89 inline Notification(const int broadcast, 96 inline Notification(const Subscriber* subscriber, 103 inline Notification(const int broadcast) : 108 inline Notification(const Subscriber* subscriber) : 246 void notifySubscribers(Notification& notification) const; 288 virtual bool notifyRsrcStatus(Notification ¬ification) = 0 [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 71 struct Notification { 85 // should the subscriber be deleted after the notification 89 inline Notification(const int broadcast, 96 inline Notification(const Subscriber* subscriber, 103 inline Notification(const int broadcast) : 108 inline Notification(const Subscriber* subscriber) : 246 void notifySubscribers(Notification& notification) const; 288 virtual bool notifyRsrcStatus(Notification ¬ification) = 0 [all...] |
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 71 struct Notification { 85 // should the subscriber be deleted after the notification 89 inline Notification(const int broadcast, 96 inline Notification(const Subscriber* subscriber, 103 inline Notification(const int broadcast) : 108 inline Notification(const Subscriber* subscriber) : 246 void notifySubscribers(Notification& notification) const; 288 virtual bool notifyRsrcStatus(Notification ¬ification) = 0 [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
PopupPopulator.java | 23 import android.service.notification.StatusBarNotification; 35 import com.android.launcher3.notification.NotificationInfo; 36 import com.android.launcher3.notification.NotificationItemView; 37 import com.android.launcher3.notification.NotificationKeyData; 61 NOTIFICATION(R.layout.notification, false), 87 // The notification layout is always first. 88 items[0] = Item.NOTIFICATION; 195 StatusBarNotification notification = notifications.get(i); local 196 infos.add(new NotificationInfo(launcher, notification)); [all...] |
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/ |
NotificationStudioActivity.java | 22 import android.app.Notification; 152 final Notification notification = NotificationGenerator.build(this); 155 View oneUView = refreshRemoteViews(oneU, notification.contentView); 157 refreshRemoteViews(fourU, notification.bigContentView); 160 largeIcon.setVisibility(notification.largeIcon == null ? View.GONE : View.VISIBLE); 161 if (notification.largeIcon != null) 162 largeIcon.setImageBitmap(notification.largeIcon); 175 mgr.notify(PREVIEW_NOTIFICATION, notification); 177 Log.w(TAG, "Error displaying notification", t) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
NotificationInflater.java | 17 package com.android.systemui.statusbar.notification; 20 import android.app.Notification; 24 import android.service.notification.StatusBarNotification; 80 * Set whether the notification is a child in a group 117 * Inflate all views of this notification on a background thread. This is asynchronous and will 139 StatusBarNotification sbn = mRow.getEntry().notification; 147 Notification.Builder builder, Context packageContext) { 156 Notification.Builder builder, boolean isLowPriority, boolean isChildInGroup, 369 handleInflationError(runningInflations, e, entry.notification, callback); 393 Exception e, StatusBarNotification notification, @Nullable InflationCallback callback) 581 Notification notification = mSbn.getNotification(); local [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
FileOperationService.java | 22 import android.app.Notification; 120 // Use a notification manager to post and cancel notifications for jobs. 123 // Use a features to determine if notification channel is enabled. 129 // The job whose notification is used to keep the service in foreground mode. 276 // Dismiss the progress notification here rather than in the copy loop. This preserves 279 // orphan notification. 344 Notification notification = job.getSetupNotification(); local 348 foregroundManager.startForeground(NOTIFICATION_ID_PROGRESS, notification); 351 // Show start up notification 404 Notification notification = (candidate.getState() == Job.STATE_STARTED) local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ForegroundService.java | 20 import android.app.Notification; 59 int.class, Notification.class}; 87 void startForegroundCompat(int id, Notification notification) { 91 mStartForegroundArgs[1] = notification; 99 mNM.notify(id, notification); 146 // Make sure our notification is gone. 181 // In this sample, we'll use the same text for the ticker and the expanded notification 187 // Set the info for the views that show in the notification panel. 188 Notification notification = new Notification.Builder(this local [all...] |