Searched refs:Notification (Results 1 - 25 of 133) sorted by relevance

123456

/external/tensorflow/tensorflow/stream_executor/lib/
H A Dnotification.h25 using tensorflow::Notification;
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowNotificationManager.java3 import android.app.Notification;
17 private Map<Integer, Notification> notifications = new HashMap<Integer, Notification>();
21 public void notify(int id, Notification notification)
27 public void notify(String tag, int id, Notification notification) {
61 public Notification getNotification(int id) {
65 public Notification getNotification(String tag) {
70 public List<Notification> getAllNotifications() {
71 return new ArrayList<Notification>(notifications.values());
H A DShadowNotification.java3 import android.app.Notification;
11 @Implements(Notification.class)
14 public Notification getRealNotification() {
19 Notification realNotification;
H A DShadowService.java4 import android.app.Notification;
20 private Notification lastForegroundNotification;
58 public final void startForeground(int id, Notification notification) {
68 public Notification getLastForegroundNotification() {
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowNotificationTest.java6 import android.app.Notification;
19 Notification notification = new Notification();
H A DShadowNotificationBuilderTest.java9 import android.app.Notification;
23 private final Notification.Builder builder = new Notification.Builder(RuntimeEnvironment.application);
27 Notification notification = builder.setContentTitle("Hello").build();
33 Notification notification = builder.build();
39 Notification notification = builder.setOngoing(true).build();
46 Notification notification = builder.setWhen(100).setShowWhen(true).build();
54 Notification notification = builder.setShowWhen(false).build();
61 Notification notification = builder.setContentText("Hello Text").build();
68 Notification notificatio
[all...]
H A DShadowServiceTest.java6 import android.app.Notification;
26 private Notification.Builder notBuilder;
35 notBuilder = new Notification.Builder(service)
66 Notification n = notBuilder.build();
71 assertThat(n.flags & Notification.FLAG_FOREGROUND_SERVICE).isNotZero();
94 Notification n = notBuilder.build();
106 Notification n = notBuilder.build();
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowNotification.java7 import android.app.Notification;
23 @Implements(Notification.class)
27 Notification realNotification;
31 ? realNotification.extras.getString(Notification.EXTRA_TITLE)
37 ? realNotification.extras.getString(Notification.EXTRA_TEXT)
43 return realNotification.extras.getCharSequence(Notification.EXTRA_INFO_TEXT);
50 return ((realNotification.flags & Notification.FLAG_ONGOING_EVENT) == Notification.FLAG_ONGOING_EVENT);
55 return realNotification.extras.getCharSequence(Notification.EXTRA_BIG_TEXT);
63 return realNotification.extras.getCharSequence(Notification
[all...]
H A DShadowService.java3 import android.app.Notification;
18 private Notification lastForegroundNotification;
39 public final void startForeground(int id, Notification notification) {
43 notification.flags |= Notification.FLAG_FOREGROUND_SERVICE;
67 public Notification getLastForegroundNotification() {
/external/tensorflow/tensorflow/core/platform/default/
H A Dnotification.h29 class Notification { class in namespace:tensorflow
31 Notification() : notified_(0) {} function in class:tensorflow::Notification
32 ~Notification() {
60 friend bool WaitForNotificationWithTimeout(Notification* n,
80 inline bool WaitForNotificationWithTimeout(Notification* n,
/external/perfetto/test/cts/producer/src/android/perfetto/producer/
H A DProducerIsolatedService.java19 import android.app.Notification;
29 Notification.Builder builder = new Notification.Builder(this, "isolated_service");
H A DProducerService.java19 import android.app.Notification;
29 Notification.Builder builder = new Notification.Builder(this, "service");
H A DProducerActivity.java20 import android.app.Notification;
40 serviceChannel.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
46 isolatedChannel.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DNotificationTest.java4 import android.app.Notification;
19 Notification notification = new Notification();
H A DNotificationManagerTest.java3 import android.app.Notification;
19 private Notification notification1 = new Notification();
20 private Notification notification2 = new Notification();
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
H A DAudioTestService.java19 import android.app.Notification;
61 Notification.Builder builder = new Notification.Builder(this)
64 Notification notification;
/external/sl4a/Utils/src/com/googlecode/android_scripting/
H A DForegroundService.java19 import android.app.Notification;
27 new Class[] { int.class, Notification.class };
42 protected abstract Notification createNotification();
58 private void startForegroundCompat(Notification notification) {
/external/tensorflow/tensorflow/core/lib/core/
H A Dnotification_test.cc31 Notification start;
32 Notification proceed;
61 Notification n;
82 Notification n;
/external/deqp/android/package/src/com/drawelements/deqp/execserver/
H A DExecService.java27 import android.app.Notification;
28 import android.app.Notification.Builder;
86 Notification.Builder builder = new Notification.Builder(this);
87 Notification notification = builder.setContentIntent(pm)
/external/perf_data_converter/src/quipper/compat/cros/detail/
H A Dthread.h31 class Notification : public quipper::compat::NotificationInterface { class in namespace:quipper
33 Notification() function in class:quipper::Notification
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
H A DNotificationCompatBuilderTest.java5 import android.app.Notification;
20 Notification notification =
/external/eigen/unsupported/test/
H A Dcxx11_tensor_notification.cpp28 void WaitAndAdd(Eigen::Notification* n, int* counter) {
40 Eigen::Notification n;
64 Eigen::Notification n;
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
H A DServiceUtils.java19 import android.app.Notification;
50 Notification notification) {
51 final Class<?>[] startForegroundSignature = new Class[] { int.class, Notification.class };
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/
H A DTriggerService.java20 import android.app.Notification;
121 protected Notification createNotification() {
124 Notification.Builder builder = new Notification.Builder(this, CHANNEL_ID);
131 Notification notification = builder.build();
132 notification.flags = Notification.FLAG_NO_CLEAR | Notification.FLAG_ONGOING_EVENT;
/external/tensorflow/tensorflow/cc/training/
H A Dcoordinator_test.cc32 void WaitForStopThread(Coordinator* coord, Notification* about_to_wait,
33 Notification* done) {
43 Notification about_to_wait;
44 Notification done;
71 Notification* start = nullptr) {
77 Notification* start) {
99 void CountThread(std::atomic<int>* counter, int until, Notification* start) {
108 Notification* start) {
146 Notification start;
178 Notification star
[all...]

Completed in 1004 milliseconds

123456