/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationIntrusivenessExtractor.java | 43 public RankingReconsideration process(NotificationRecord record) { argument 44 if (record == null || record.getNotification() == null) { 49 if (record.getImportance() >= NotificationManager.IMPORTANCE_DEFAULT) { 50 if (record.getSound() != null && record.getSound() != Uri.EMPTY) { 51 record.setRecentlyIntrusive(true); 53 if (record.getVibration() != null) { 54 record.setRecentlyIntrusive(true); 56 if (record [all...] |
H A D | BadgeExtractor.java | 34 public RankingReconsideration process(NotificationRecord record) { argument 35 if (record == null || record.getNotification() == null) { 44 boolean userWantsBadges = mConfig.badgingEnabled(record.sbn.getUser()); 46 mConfig.canShowBadge(record.sbn.getPackageName(), record.sbn.getUid()); 48 record.setShowBadge(false); 50 record.setShowBadge(mConfig.getNotificationChannel(record.sbn.getPackageName(), 51 record [all...] |
H A D | ZenModeFiltering.java | 97 private static Bundle extras(NotificationRecord record) { argument 98 return record != null && record.sbn != null && record.sbn.getNotification() != null 99 ? record.sbn.getNotification().extras : null; 102 protected void recordCall(NotificationRecord record) { argument 103 REPEAT_CALLERS.recordCall(mContext, extras(record)); 106 public boolean shouldIntercept(int zen, ZenModeConfig config, NotificationRecord record) { argument 107 if (isSystem(record)) { 113 ZenLog.traceIntercepted(record, "non 172 shouldInterceptAudience(int source, NotificationRecord record) argument 180 isSystem(NotificationRecord record) argument 184 isAlarm(NotificationRecord record) argument 190 isEvent(NotificationRecord record) argument 194 isReminder(NotificationRecord record) argument 198 isCall(NotificationRecord record) argument 215 isDefaultMessagingApp(NotificationRecord record) argument 223 isMessage(NotificationRecord record) argument [all...] |
H A D | NotificationComparator.java | 120 private boolean isImportantColorized(NotificationRecord record) { argument 121 if (record.getImportance() < NotificationManager.IMPORTANCE_LOW) { 124 return record.getNotification().isColorized(); 127 private boolean isImportantOngoing(NotificationRecord record) { argument 128 if (!isOngoing(record)) { 132 if (record.getImportance() < NotificationManager.IMPORTANCE_LOW) { 136 return isCall(record) || isMediaNotification(record); 139 protected boolean isImportantPeople(NotificationRecord record) { argument 140 if (record 149 isImportantMessaging(NotificationRecord record) argument 153 isOngoing(NotificationRecord record) argument 158 isMediaNotification(NotificationRecord record) argument 162 isCall(NotificationRecord record) argument [all...] |
H A D | ImportanceExtractor.java | 34 public RankingReconsideration process(NotificationRecord record) { argument 35 if (record == null || record.getNotification() == null) { 44 record.setUserImportance(record.getChannel().getImportance());
|
H A D | PriorityExtractor.java | 35 public RankingReconsideration process(NotificationRecord record) { argument 36 if (record == null || record.getNotification() == null) { 46 record.setPackagePriority(record.getChannel().canBypassDnd()
|
H A D | VisibilityExtractor.java | 35 public RankingReconsideration process(NotificationRecord record) { argument 36 if (record == null || record.getNotification() == null) { 46 record.setPackageVisibilityOverride(record.getChannel().getLockscreenVisibility());
|
H A D | SnoozeHelper.java | 72 // User id : package name : notification key : record. 131 protected void snooze(NotificationRecord record, long duration) { argument 132 snooze(record); 133 scheduleRepost(record.sbn.getPackageName(), record.getKey(), record.getUserId(), duration); 139 protected void snooze(NotificationRecord record) { argument 140 int userId = record.getUser().getIdentifier(); 142 Slog.d(TAG, "Snoozing " + record.getKey()); 149 ArrayMap<String, NotificationRecord> pkgRecords = records.get(record 223 update(int userId, NotificationRecord record) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewInfoStore.java | 67 InfoRecord record = mLayoutHolderMap.get(holder); 68 if (record == null) { 69 record = InfoRecord.obtain(); 70 mLayoutHolderMap.put(holder, record); 72 record.preInfo = info; 73 record.flags |= FLAG_PRE; 77 final InfoRecord record = mLayoutHolderMap.get(holder); 78 return record != null && ((record.flags & FLAG_DISAPPEARED) != 0); 108 final InfoRecord record 318 recycle(InfoRecord record) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | ViewInfoStore.java | 64 InfoRecord record = mLayoutHolderMap.get(holder); 65 if (record == null) { 66 record = InfoRecord.obtain(); 67 mLayoutHolderMap.put(holder, record); 69 record.preInfo = info; 70 record.flags |= FLAG_PRE; 74 final InfoRecord record = mLayoutHolderMap.get(holder); 75 return record != null && ((record.flags & FLAG_DISAPPEARED) != 0); 105 final InfoRecord record 315 recycle(InfoRecord record) argument [all...] |
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | TestServiceIntentSender.java | 21 void sendUpdateNotificationIntent(MtpDeviceRecord[] record) {} argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
H A D | UserGridView.java | 56 UserSwitcherController.UserRecord record = mAdapter.getItem(position); 57 if (record == null) { 61 if (record.isGuest || record.isAddUser) { 62 mUserSwitcherController.switchTo(record); 66 if (record.isCurrent) { 69 mPendingUserId = record.info.id; 70 mUserSwitcherController.switchTo(record); 79 UserSwitcherController.UserRecord record = mAdapter.getItem(position); 80 if (record [all...] |
/frameworks/base/tools/preload/ |
H A D | Root.java | 54 void indexClassOperation(Record record) { argument 55 Proc process = processes.get(record.pid); 59 if (record.processName.equals("dexopt")) { 63 String name = record.className; 67 switch (record.type) { 72 name, record.classLoader == 0); 84 o = process.endOperation(record.tid, record.className, 85 loadedClass, record.time); 91 switch (record 115 indexProcess(Record record) argument [all...] |
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityRecordCompat.java | 35 public int getMaxScrollX(AccessibilityRecord record) { argument 39 public int getMaxScrollY(AccessibilityRecord record) { argument 43 public void setMaxScrollX(AccessibilityRecord record, int maxScrollX) { argument 46 public void setMaxScrollY(AccessibilityRecord record, int maxScrollY) { argument 49 public void setSource(AccessibilityRecord record, View root, int virtualDescendantId) { argument 56 public int getMaxScrollX(AccessibilityRecord record) { argument 57 return record.getMaxScrollX(); 61 public int getMaxScrollY(AccessibilityRecord record) { argument 62 return record.getMaxScrollY(); 66 public void setMaxScrollX(AccessibilityRecord record, in argument 71 setMaxScrollY(AccessibilityRecord record, int maxScrollY) argument 79 setSource(AccessibilityRecord record, View root, int virtualDescendantId) argument 106 AccessibilityRecordCompat(Object record) argument 131 obtain(AccessibilityRecordCompat record) argument 198 setSource(@onNull AccessibilityRecord record, View root, int virtualDescendantId) argument 540 getMaxScrollX(AccessibilityRecord record) argument 562 setMaxScrollX(AccessibilityRecord record, int maxScrollX) argument 584 getMaxScrollY(AccessibilityRecord record) argument 606 setMaxScrollY(AccessibilityRecord record, int maxScrollY) argument [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityEvent.java | 785 AccessibilityRecord record = records.get(i); 786 record.setSealed(sealed); 803 * @param record The record to append. 807 public void appendRecord(AccessibilityRecord record) { argument 812 mRecords.add(record); 816 * Gets the record at a given index. 819 * @return The record at the specified index. 1002 final AccessibilityRecord record = event.mRecords.get(i); 1003 final AccessibilityRecord recordClone = AccessibilityRecord.obtain(record); 1093 readAccessibilityRecordFromParcel(AccessibilityRecord record, Parcel parcel) argument 1145 writeAccessibilityRecordToParcel(AccessibilityRecord record, Parcel parcel, int flags) argument [all...] |
H A D | AccessibilityRecord.java | 26 * Represents a record in an {@link AccessibilityEvent} and contains information 29 * constructed event. The parent may optionally append a record for itself 36 * Once the accessibility event containing a record is dispatched the record is 743 * given record. 747 public static AccessibilityRecord obtain(AccessibilityRecord record) { argument 749 clone.init(record); 762 AccessibilityRecord record = sPool; 765 record.mNext = null; 766 record 800 init(AccessibilityRecord record) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
H A D | PackageDexUsageTests.java | 111 assertTrue(record(mFooBaseUser0)); 121 assertTrue(record(mFooSplit1User0)); 131 assertTrue(record(mFooBaseUser0)); 133 assertFalse(record(mFooSplit1User0)); 141 assertTrue(record(mFooSplit2UsedByOtherApps0)); 149 assertTrue(record(mFooSecondary1User0)); 156 assertFalse(record(mFooSecondary1User0)); 163 assertTrue(record(mFooSplit2UsedByOtherApps0)); 165 assertTrue(record(mFooSecondary1User0)); 173 assertTrue(record(mFooSecondary2UsedByOtherApps 357 private boolean record(TestData testData) { method in class:PackageDexUsageTests [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionStack.java | 102 * Add a record to the priority tracker. 104 * @param record The record to add. 106 public void addSession(MediaSessionRecord record) { argument 107 mSessions.add(record); 108 clearCache(record.getUserId()); 117 * Remove a record from the priority tracker. 119 * @param record The record to remove. 121 public void removeSession(MediaSessionRecord record) { argument 135 contains(MediaSessionRecord record) argument 146 onPlaystateChanged(MediaSessionRecord record, int oldState, int newState) argument 174 onSessionStateChange(MediaSessionRecord record) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaInformationRecords.java | 22 public Object record; field in class:CdmaInformationRecords 40 record = obj; 44 record = obj; 48 record = obj; 52 record = obj; 56 record = obj; 60 record = obj; 64 record = obj; 72 record = new CdmaDisplayInfoRec(id, p.readString()); 78 record [all...] |
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
H A D | NotificationRecordTest.java | 192 NotificationRecord record = new NotificationRecord(mMockContext, sbn, defaultChannel); 193 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, record.getSound()); 194 assertEquals(Notification.AUDIO_ATTRIBUTES_DEFAULT, record.getAudioAttributes()); 205 NotificationRecord record = new NotificationRecord(mMockContext, sbn, defaultChannel); 206 assertEquals(CUSTOM_SOUND, record.getSound()); 207 assertEquals(CUSTOM_ATTRIBUTES, record.getAudioAttributes()); 219 NotificationRecord record = new NotificationRecord(mMockContext, sbn, defaultChannel); 220 assertEquals(CUSTOM_SOUND, record.getSound()); 221 assertEquals(CUSTOM_ATTRIBUTES, record.getAudioAttributes()); 231 NotificationRecord record [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | RemoteConference.java | 167 for (CallbackRecord<Callback> record : mCallbackRecords) { 169 final Callback callback = record.getCallback(); 170 record.getHandler().post(new Runnable() { 192 for (CallbackRecord<Callback> record : mCallbackRecords) { 194 final Callback callback = record.getCallback(); 195 record.getHandler().post(new Runnable() { 210 for (CallbackRecord<Callback> record : mCallbackRecords) { 212 final Callback callback = record.getCallback(); 213 record.getHandler().post(new Runnable() { 228 for (CallbackRecord<Callback> record [all...] |
H A D | RemoteConnection.java | 753 for (CallbackRecord record : mCallbackRecords) { 754 if (record.getCallback() == callback) { 755 mCallbackRecords.remove(record); 1182 for (CallbackRecord record: mCallbackRecords) { 1184 final Callback callback = record.getCallback(); 1185 record.getHandler().post(new Runnable() { 1203 for (CallbackRecord record : mCallbackRecords) { 1205 final Callback callback = record.getCallback(); 1206 record.getHandler().post(new Runnable() { 1222 for (CallbackRecord record [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | SystemMediaRouteProvider.java | 279 SystemRouteRecord record = mSystemRouteRecords.get(index); 280 return new SystemRouteController(record.mRouteObj); 335 SystemRouteRecord record = new SystemRouteRecord(routeObj, id); 336 updateSystemRouteDescriptor(record); 337 mSystemRouteRecords.add(record); 377 SystemRouteRecord record = mSystemRouteRecords.get(index); 378 updateSystemRouteDescriptor(record); 389 SystemRouteRecord record = mSystemRouteRecords.get(index); 391 if (newVolume != record.mRouteDescriptor.getVolume()) { 392 record 581 updateSystemRouteDescriptor(SystemRouteRecord record) argument 599 onBuildSystemRouteDescriptor(SystemRouteRecord record, MediaRouteDescriptor.Builder builder) argument 622 updateUserRouteProperties(UserRouteRecord record) argument 767 onBuildSystemRouteDescriptor(SystemRouteRecord record, MediaRouteDescriptor.Builder builder) argument 802 isConnecting(SystemRouteRecord record) argument 820 onBuildSystemRouteDescriptor(SystemRouteRecord record, MediaRouteDescriptor.Builder builder) argument 843 updateUserRouteProperties(UserRouteRecord record) argument 863 isConnecting(SystemRouteRecord record) argument 878 onBuildSystemRouteDescriptor(SystemRouteRecord record, MediaRouteDescriptor.Builder builder) argument [all...] |
/frameworks/support/compat/java/android/support/v4/app/ |
H A D | NotificationManagerCompat.java | 355 for (ListenerRecord record : mRecordMap.values()) { 356 record.taskQueue.add(task); 357 processListenerQueue(record); 362 ListenerRecord record = mRecordMap.get(componentName); 363 if (record != null) { 364 record.service = INotificationSideChannel.Stub.asInterface(iBinder); 365 record.retryCount = 0; 366 processListenerQueue(record); 371 ListenerRecord record = mRecordMap.get(componentName); 372 if (record ! 457 ensureServiceBound(ListenerRecord record) argument 476 ensureServiceUnbound(ListenerRecord record) argument 489 scheduleListenerRetry(ListenerRecord record) argument 512 processListenerQueue(ListenerRecord record) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | InfoStoreTrojan.java | 32 ViewInfoStore.InfoRecord record = store.mLayoutHolderMap.valueAt(i); 33 if ((record.flags & flags) != 0) {
|