OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mNotifications
(Results
1 - 11
of
11
) sorted by null
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
BaseObservableTest.java
28
private ArrayList<Integer>
mNotifications
= new ArrayList<>();
33
mNotifications
.add(i);
43
mNotifications
.clear();
50
assertTrue(
mNotifications
.isEmpty());
53
assertFalse(
mNotifications
.isEmpty());
62
mNotifications
.clear();
65
assertTrue(
mNotifications
.isEmpty());
74
assertEquals(1,
mNotifications
.size());
75
assertEquals(0, (int)
mNotifications
.get(0));
82
assertEquals(1,
mNotifications
.size())
[
all
...]
ObservableArrayMapTest.java
33
private ArrayList<String>
mNotifications
= new ArrayList<>();
39
mNotifications
.add((String) o);
49
mNotifications
.clear();
55
assertTrue(
mNotifications
.isEmpty());
58
assertFalse(
mNotifications
.isEmpty());
67
mNotifications
.clear();
70
assertTrue(
mNotifications
.isEmpty());
81
assertEquals(1,
mNotifications
.size());
82
assertNull(
mNotifications
.get(0));
88
assertEquals(1,
mNotifications
.size())
[
all
...]
ObservableArrayListTest.java
40
private ArrayList<ListChange>
mNotifications
= new ArrayList<>();
45
mNotifications
.add(new ListChange(ALL, 0, 0));
50
mNotifications
.add(new ListChange(CHANGE, start, count));
55
mNotifications
.add(new ListChange(INSERT, start, count));
60
mNotifications
.add(new ListChange(MOVE, from, to, count));
65
mNotifications
.add(new ListChange(REMOVE, start, count));
104
mNotifications
.clear();
110
assertTrue(
mNotifications
.isEmpty());
113
assertFalse(
mNotifications
.isEmpty());
122
mNotifications
.clear()
[
all
...]
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
NotificationListenerActivity.java
180
private List<StatusBarNotification>
mNotifications
;
197
return
mNotifications
== null ? 0 :
mNotifications
.size();
202
return
mNotifications
.get(position);
212
final StatusBarNotification sbn =
mNotifications
.get(position);
228
StatusBarNotification sbn =
mNotifications
.get(position);
258
if (
mNotifications
!= null) {
259
synchronized (
mNotifications
) {
261
for (int i = 0; i <
mNotifications
.size(); i++) {
262
mKeys.add(
mNotifications
.get(i).getKey())
[
all
...]
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
NotificationTests.java
249
ArrayList<Notification>
mNotifications
= new ArrayList<Notification>();
255
int bigtextId =
mNotifications
.size();
259
mNotifications
.add(n);
262
int uploadId =
mNotifications
.size();
266
mNotifications
.add(makeUploadNotification(mContext, 0, uploadWhen));
270
int phoneId =
mNotifications
.size();
291
mNotifications
.add(phoneCall);
304
mNotifications
.add(n);
325
mNotifications
.add(n);
349
mNotifications
.add(n)
[
all
...]
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
NotificationService.java
195
ArrayList<Notification>
mNotifications
= new ArrayList<Notification>();
198
final int id =
mNotifications
.size();
199
mNotifications
.add(makeSmsNotification(this, 2, id, System.currentTimeMillis()));
203
final int id =
mNotifications
.size();
205
mNotifications
.add(makeUploadNotification(this, 10, uploadWhen));
210
final int id =
mNotifications
.size();
241
mNotifications
.add(phoneCall.build());
246
mNotifications
.add(new NotificationCompat.Builder(this)
257
mNotifications
.add(new NotificationCompat.Builder(this)
280
mNotifications
.add(new NotificationCompat.BigPictureStyle
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
MockListener.java
71
private ArrayMap<String, JSONObject>
mNotifications
= new ArrayMap<>();
118
ArrayList<String> payloadData = new ArrayList<>(
mNotifications
.size());
119
for (JSONObject payload:
mNotifications
.values()) {
189
mNotifications
.clear();
203
JSONObject note =
mNotifications
.get(key);
229
mNotifications
.put(sbn.getKey(), notification);
241
mNotifications
.remove(sbn.getKey());
/hardware/libhardware/tests/camera2/
camera2_utils.cpp
260
if (
mNotifications
.size() == 0) return BAD_VALUE;
269
while (
mNotifications
.size() == 0) {
277
return
mNotifications
.size();
284
*msg_type =
mNotifications
.begin()->msg_type;
285
*ext1 =
mNotifications
.begin()->ext1;
286
*ext2 =
mNotifications
.begin()->ext2;
287
*ext3 =
mNotifications
.begin()->ext3;
288
mNotifications
.erase(
mNotifications
.begin());
297
mNotifications
.push_back(Notification(msg_type, ext1, ext2, ext3))
[
all
...]
camera2_utils.h
145
List<Notification>
mNotifications
;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
NotificationController.java
74
private final ArraySet<PrintJobId>
mNotifications
;
80
mNotifications
= new ArraySet<>(0);
103
ArraySet<PrintJobId> removedPrintJobs = new ArraySet<>(
mNotifications
);
120
mNotifications
.add(printJobId);
131
mNotifications
.remove(removedPrintJob);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppNotification.java
94
private HashMap<String, NotificationItem>
mNotifications
;
139
mNotifications
= new HashMap<String, NotificationItem>();
241
mNotifications
.clear();
262
if (
mNotifications
.containsKey(batchID)) {
283
mNotifications
.put(batchID, item);
292
for (NotificationItem item :
mNotifications
.values()) {
Completed in 427 milliseconds