/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowNotificationBuilderTest.java | 10 import android.app.Notification; 25 private final Notification.Builder builder = 26 new Notification.Builder(ApplicationProvider.getApplicationContext()); 30 Notification notification = builder.setContentTitle("Hello").build(); in build_setsContentTitleOnNotification() 36 Notification notification = builder.build(); in build_whenSetOngoingNotSet_leavesSetOngoingAsFalse() 42 Notification notification = builder.setOngoing(true).build(); in build_whenSetOngoing_setsOngoingToTrue() 49 Notification notification = builder.setWhen(100).setShowWhen(true).build(); in build_whenShowWhenNotSet_setsShowWhenOnNotificationToTrue() 57 Notification notification = builder.setShowWhen(false).build(); in build_setShowWhenOnNotification() 64 Notification notification = builder.setContentText("Hello Text").build(); in build_setsContentTextOnNotification() 71 Notification notification = builder.setTicker("My ticker").build(); in build_setsTickerOnNotification() [all …]
|
D | ShadowServiceTest.java | 8 import android.app.Notification; 28 private Notification.Builder notBuilder; 39 new Notification.Builder(service) in setup() 75 Notification n = notBuilder.build(); in startForeground() 80 assertThat(n.flags & Notification.FLAG_FOREGROUND_SERVICE).isNotEqualTo(0); in startForeground() 103 Notification n = notBuilder.build(); in stopForegroundDoesntRemoveNotificationUnlessAsked() 115 Notification n = notBuilder.build(); in onDestroyRemovesNotification()
|
D | ShadowNotificationTest.java | 6 import android.app.Notification; 19 Notification notification = new Notification(); in setLatestEventInfo__shouldCaptureContentIntent()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowNotification.java | 8 import android.app.Notification; 24 @Implements(Notification.class) 29 Notification realNotification; 33 ? realNotification.extras.getCharSequence(Notification.EXTRA_TITLE) in getContentTitle() 39 ? realNotification.extras.getCharSequence(Notification.EXTRA_TEXT) in getContentText() 45 return realNotification.extras.getCharSequence(Notification.EXTRA_INFO_TEXT); in getContentInfo() 52 …return ((realNotification.flags & Notification.FLAG_ONGOING_EVENT) == Notification.FLAG_ONGOING_EV… in isOngoing() 57 return realNotification.extras.getCharSequence(Notification.EXTRA_BIG_TEXT); in getBigText() 65 return realNotification.extras.getCharSequence(Notification.EXTRA_TITLE_BIG); in getBigContentTitle() 73 return realNotification.extras.getCharSequence(Notification.EXTRA_SUMMARY_TEXT); in getBigContentText() [all …]
|
D | ShadowService.java | 3 import android.app.Notification; 18 private Notification lastForegroundNotification; 49 protected final void startForeground(int id, Notification notification) { in startForeground() 53 notification.flags |= Notification.FLAG_FOREGROUND_SERVICE; in startForeground() 77 public Notification getLastForegroundNotification() { in getLastForegroundNotification()
|
D | ShadowNotificationManager.java | 8 import android.app.Notification; 32 private Map<Key, Notification> notifications = new HashMap<>(); 41 protected void notify(int id, Notification notification) { in notify() 46 protected void notify(String tag, int id, Notification notification) { in notify() 82 for (Map.Entry<Key, Notification> entry : notifications.entrySet()) { in getActiveNotifications() 328 public Notification getNotification(int id) { in getNotification() 332 public Notification getNotification(String tag, int id) { in getNotification() 336 public List<Notification> getAllNotifications() { in getAllNotifications()
|
/external/u-boot/arch/x86/include/asm/acpi/ |
D | statdef.asl | 32 /* Device Object Notification Values */ 46 /* Battery Device Notification Values */ 51 /* Power Source Object Notification Values */ 55 /* Thermal Zone Object Notification Values */ 61 /* Power Button Notification Values */ 64 /* Sleep Button Notification Values */ 67 /* Lid Notification Values */ 70 /* Processor Device Notification Values */ 75 /* User Presence Device Notification Values */ 78 /* Ambient Light Sensor Notification Values */
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | local_master.cc | 27 const int64 default_timeout_in_ms, Notification* n) { in WaitForNotification() 56 Notification n; in CreateSession() 70 Notification n; in ExtendSession() 84 Notification n; in PartialRunSetup() 98 Notification n; in RunStep() 121 Notification n; in CloseSession() 135 Notification n; in ListDevices() 149 Notification n; in Reset() 163 Notification n; in MakeCallable() 176 Notification n; in RunCallable() [all …]
|
/external/tensorflow/tensorflow/cc/training/ |
D | coordinator_test.cc | 32 void WaitForStopThread(Coordinator* coord, Notification* about_to_wait, in WaitForStopThread() 33 Notification* done) { in WaitForStopThread() 43 Notification about_to_wait; in TEST() 44 Notification done; in TEST() 71 Notification* start = nullptr) { in StartCounting() 77 Notification* start) { in StartSettingStatus() 99 void CountThread(std::atomic<int>* counter, int until, Notification* start) { in CountThread() 108 Notification* start) { in SetStatusThread() 146 Notification start; in TEST() 178 Notification start; in TEST()
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | notification.h | 29 class Notification { 31 Notification() : notified_(0) {} in Notification() function 32 ~Notification() { in ~Notification() 60 friend bool WaitForNotificationWithTimeout(Notification* n, 80 inline bool WaitForNotificationWithTimeout(Notification* n, in WaitForNotificationWithTimeout()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/ |
D | TriggerService.java | 20 import android.app.Notification; 121 protected Notification createNotification() { in createNotification() 124 Notification.Builder builder = new Notification.Builder(this, CHANNEL_ID); in createNotification() 131 Notification notification = builder.build(); in createNotification() 132 notification.flags = Notification.FLAG_NO_CLEAR | Notification.FLAG_ONGOING_EVENT; in createNotification()
|
D | ScriptingLayerService.java | 19 import android.app.Notification; 65 private Notification mNotification; 120 protected Notification createNotification() { in createNotification() 126 Notification.Builder builder = new Notification.Builder(this, CHANNEL_ID); in createNotification() 134 mNotification.flags = Notification.FLAG_NO_CLEAR | Notification.FLAG_ONGOING_EVENT; in createNotification() 151 Notification.Builder builder = new Notification.Builder(this, CHANNEL_ID); in updateNotification()
|
/external/deqp/android/package/src/com/drawelements/deqp/execserver/ |
D | ExecService.java | 27 import android.app.Notification; 28 import android.app.Notification.Builder; 86 Notification.Builder builder = new Notification.Builder(this); in onStartCommand() 87 Notification notification = builder.setContentIntent(pm) in onStartCommand()
|
/external/tensorflow/tensorflow/core/kernels/batching_util/ |
D | shared_batch_scheduler_test.cc | 57 test_util::FakeClockEnv* env, Notification* start, Notification* stop) { in CreateFakeClockAdvancerThread() 192 Notification start_teardown, stop_teardown; in TEST() 197 Notification first_batch_processed, second_batch_processed, in TEST() 258 Notification first_batch_processed, second_batch_processed; in TEST() 296 Notification start_teardown, stop_teardown; in TEST() 301 Notification first_batch_processed, second_batch_processed; in TEST() 341 Notification start_teardown, stop_teardown; in TEST() 346 Notification queue_0_first_batch_scheduled, queue_0_first_batch_proceed, in TEST() 360 Notification queue_1_first_batch_scheduled, queue_1_first_batch_proceed; in TEST() 412 Notification processing, proceed; in TEST() [all …]
|
D | adaptive_shared_batch_scheduler_test.cc | 56 test_util::FakeClockEnv* env, Notification* start, Notification* stop) { in CreateFakeClockAdvancerThread() 103 Notification finish_processing; in TEST() 135 Notification start_teardown, stop_teardown; in TEST() 197 Notification start_teardown, stop_teardown; in TEST() 208 Notification finish_processing; in TEST() 272 Notification finish_processing; in TEST() 312 Notification finish_processing; in TEST() 348 Notification finish_processing; in TEST()
|
D | serial_device_batch_scheduler_test.cc | 56 test_util::FakeClockEnv* env, Notification* start, Notification* stop) { in CreateFakeClockAdvancerThread() 100 Notification finish_processing; in TEST() 149 Notification start_processing; in TEST() 198 Notification start_teardown, stop_teardown; in TEST() 267 Notification finish_processing; in TEST() 316 Notification start_processing; in TEST() 317 Notification finish_processing; in TEST() 355 Notification finish_processing; in TEST()
|
/external/tensorflow/tensorflow/core/util/rpc/ |
D | call_container.h | 38 explicit NotifyWhenDestroyed(std::shared_ptr<Notification> notification) in NotifyWhenDestroyed() 44 std::shared_ptr<Notification> notification_; 91 std::shared_ptr<Notification> callback_destroyed_; 110 callback_destroyed_(new Notification) { in CallContainer() 131 std::shared_ptr<Notification> calls_started(new Notification); in CallContainer()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | buf_rendezvous_test.cc | 52 Notification note; in TEST_F() 83 Notification note; in TEST_F() 116 Notification note; in TEST_F() 147 Notification prod_note; in TEST_F() 148 Notification cons_note; in TEST_F() 176 Notification prod_note; in TEST_F() 177 Notification cons_note; in TEST_F()
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | notification_test.cc | 31 Notification start; in TEST() 32 Notification proceed; in TEST() 61 Notification n; in TEST() 82 Notification n; in TEST()
|
/external/sl4a/Utils/src/com/googlecode/android_scripting/ |
D | ForegroundService.java | 19 import android.app.Notification; 27 new Class[] { int.class, Notification.class }; 42 protected abstract Notification createNotification(); in createNotification() 58 private void startForegroundCompat(Notification notification) { in startForegroundCompat()
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | AudioTestService.java | 19 import android.app.Notification; 75 Notification.Builder builder = new Notification.Builder(this) in runAsForegroundService() 81 Notification notification; in runAsForegroundService()
|
/external/perfetto/test/cts/producer/src/android/perfetto/producer/ |
D | ProducerService.java | 19 import android.app.Notification; 29 Notification.Builder builder = new Notification.Builder(this, "service"); in onCreate()
|
D | ProducerIsolatedService.java | 19 import android.app.Notification; 29 Notification.Builder builder = new Notification.Builder(this, "isolated_service"); in onCreate()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
D | ServiceUtils.java | 19 import android.app.Notification; 50 Notification notification) { in setForeground() 51 final Class<?>[] startForegroundSignature = new Class[] { int.class, Notification.class }; in setForeground()
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_notification.cpp | 28 void WaitAndAdd(Eigen::Notification* n, int* counter) { in WaitAndAdd() 40 Eigen::Notification n; in test_notification_single() 64 Eigen::Notification n; in test_notification_multiple()
|