Searched defs:record (Results 1 - 25 of 69) sorted by relevance

123

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestServiceIntentSender.java21 void sendUpdateNotificationIntent(MtpDeviceRecord[] record) {} argument
/frameworks/base/core/java/android/bluetooth/
H A DSdpRecord.java35 public SdpRecord(int size_record, byte[] record){ argument
36 this.mRawData = record;
/frameworks/base/core/java/com/android/internal/logging/
H A DAndroidHandler.java125 public void publish(LogRecord record) { argument
126 int level = getAndroidLevel(record.getLevel());
127 String tag = DalvikLogging.loggerNameToTag(record.getLoggerName());
133 String message = getFormatter().format(record);
/frameworks/base/services/core/java/com/android/server/notification/
H A DBadgeExtractor.java34 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 DImportanceExtractor.java34 public RankingReconsideration process(NotificationRecord record) { argument
35 if (record == null || record.getNotification() == null) {
44 record.setUserImportance(record.getChannel().getImportance());
H A DNotificationIntrusivenessExtractor.java43 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 DPriorityExtractor.java35 public RankingReconsideration process(NotificationRecord record) { argument
36 if (record == null || record.getNotification() == null) {
46 record.setPackagePriority(record.getChannel().canBypassDnd()
H A DVisibilityExtractor.java35 public RankingReconsideration process(NotificationRecord record) { argument
36 if (record == null || record.getNotification() == null) {
46 record.setPackageVisibilityOverride(record.getChannel().getLockscreenVisibility());
H A DNotificationComparator.java120 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 DRankingReconsideration.java92 * Apply any computed changes to the notification record. This method will be
94 * @param record The locked record to be updated.
96 public abstract void applyChangesLocked(NotificationRecord record); argument
H A DSnoozeHelper.java72 // 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/tools/preload/
H A DRoot.java54 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/compile/mclinker/lib/MC/
H A DAttributeSet.cpp50 void AttributeSet::record(mcld::Attribute& pAttr) { function in class:mcld::AttributeSet
/frameworks/base/core/java/android/nfc/
H A DNdefMessage.java41 * The type of the <em>first</em> record in the message has
42 * special importance for message dispatch, so design this record
67 * there must be at least one record, every record flag must
74 * of each record is performed, as per the documentation on
77 * basic validation during record construction fails, a
80 * each record is not performed, so it is possible to parse input
108 * @param record first record (mandatory)
111 public NdefMessage(NdefRecord record, NdefRecor argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSimTlv.java20 * SIM Tag-Length-Value record
38 public SimTlv(byte[] record, int offset, int length) { argument
39 mRecord = record;
85 * @return false on invalid record, true on valid record
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DBatteryInfo.java62 public void onDataPoint(long time, HistoryItem record) {
63 points.put((int) time, record.batteryLevel);
187 void onDataPoint(long time, HistoryItem record); argument
/frameworks/base/services/core/java/com/android/server/am/
H A DVrController.java151 * @param record the ActivityRecord of the activity changing the system VR mode.
154 public boolean onVrModeChanged(ActivityRecord record) { argument
168 vrMode = record.requestedVrComponent != null;
169 requestedPackage = record.requestedVrComponent;
170 userId = record.userId;
171 callingPackage = record.info.getComponentName();
174 changed = changeVrModeLocked(vrMode, record.app);
H A DActivityMetricsLogger.java166 private boolean hasStartedActivity(ProcessRecord record, ActivityRecord launchedActivity) { argument
167 final ArrayList<ActivityRecord> activities = record.activities;
310 // App isn't attached to record yet, so match with info.
H A DProviderMap.java71 ContentProviderRecord record = mSingletonByName.get(name);
72 if (record != null) {
73 return record;
89 ContentProviderRecord record = mSingletonByClass.get(name);
90 if (record != null) {
91 return record;
98 void putProviderByName(String name, ContentProviderRecord record) { argument
101 + ", record uid = " + record.appInfo.uid);
103 if (record
111 putProviderByClass(ComponentName name, ContentProviderRecord record) argument
[all...]
/frameworks/base/services/net/java/android/net/util/
H A DSharedLog.java86 Log.e(mTag, record(Category.ERROR, e.toString()));
90 Log.e(mTag, record(Category.ERROR, msg));
94 Log.i(mTag, record(Category.NONE, msg));
98 Log.w(mTag, record(Category.WARN, msg));
106 record(Category.NONE, msg);
110 record(Category.MARK, msg);
113 private String record(Category category, String msg) { method in class:SharedLog
/frameworks/compile/mclinker/include/mcld/Target/
H A DKeyEntryMap.h67 void record(const KeyType& pKey, EntryType& pEntry);
68 void record(const KeyType& pKey, EntryType& pEntry1, EntryType& pEntry2);
165 void KeyEntryMap<KeyType, EntryType>::record(const KeyType& pKey, function in class:mcld::KeyEntryMap
174 void KeyEntryMap<KeyType, EntryType>::record(const KeyType& pKey, function in class:mcld::KeyEntryMap
/frameworks/native/services/vr/virtual_touchpad/tests/
H A DVirtualTouchpad_test.cpp91 EvdevInjectorForTesting() { SetUInputForTesting(&record); }
93 UInputRecorder record; member in class:android::dvr::__anon1920::EvdevInjectorForTesting
179 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString());
190 touchpad->injector[t].record.Reset();
193 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString());
204 touchpad->injector[t].record.Reset();
207 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString());
217 touchpad->injector[t].record.Reset();
220 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString());
226 touchpad->injector[t].record
293 UInputRecorder& record = touchpad->injector[VirtualTouchpad::PRIMARY].record; local
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DSnackbarManager.java85 // Else, we need to create a new record and queue it
200 private boolean cancelSnackbarLocked(SnackbarRecord record, int event) { argument
201 final Callback callback = record.callback.get();
204 mHandler.removeCallbacksAndMessages(record);
235 void handleTimeout(SnackbarRecord record) { argument
237 if (mCurrentSnackbar == record || mNextSnackbar == record) {
238 cancelSnackbarLocked(record, Snackbar.Callback.DISMISS_EVENT_TIMEOUT);
/frameworks/base/core/java/com/android/internal/widget/
H A DViewInfoStore.java67 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/base/services/core/java/com/android/server/media/
H A DMediaSessionStack.java102 * 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...]

Completed in 8039 milliseconds

123