Home
last modified time | relevance | path

Searched refs:mShortcutId (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleTileKey.java33 private String mShortcutId; field in PeopleTileKey
40 mShortcutId = shortcutId; in PeopleTileKey()
46 mShortcutId = tile.getId(); in PeopleTileKey()
52 mShortcutId = entry.getRanking() != null in PeopleTileKey()
62 return mShortcutId; in getShortcutId()
79 return !TextUtils.isEmpty(mShortcutId) && !TextUtils.isEmpty(mPackageName) && mUserId >= 0; in validate()
99 return mShortcutId + "/" + mUserId + "/" + mPackageName; in toString()
139 + mShortcutId.hashCode(); in hashCode()
/frameworks/base/services/people/java/com/android/server/people/data/
DConversationInfo.java91 private String mShortcutId; field in ConversationInfo
121 mShortcutId = builder.mShortcutId; in ConversationInfo()
136 return mShortcutId; in getShortcutId()
254 return Objects.equals(mShortcutId, other.mShortcutId) in equals()
269 return Objects.hash(mShortcutId, mLocusId, mContactUri, mContactPhoneNumber, in hashCode()
278 sb.append("shortcutId=").append(mShortcutId); in toString()
333 protoOutputStream.write(ConversationInfoProto.SHORTCUT_ID, mShortcutId); in writeToProto()
366 out.writeUTF(mShortcutId); in getBackupPayload()
503 private String mShortcutId; field in ConversationInfo.Builder
536 if (mShortcutId == null) { in Builder()
[all …]
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/model/
DA11yMenuShortcut.java131 private int mShortcutId = ShortcutId.UNSPECIFIED_ID_VALUE.ordinal(); field in A11yMenuShortcut
150 mShortcutId = id; in setId()
154 mShortcutId = ShortcutId.UNSPECIFIED_ID_VALUE.ordinal(); in setId()
175 return mShortcutId; in getId()
189 return mShortcutId == targetObject.mShortcutId; in equals()
194 return mShortcutId; in hashCode()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DBubbleInfo.java36 private String mShortcutId; field in BubbleInfo
57 mShortcutId = shortcutId; in BubbleInfo()
69 mShortcutId = source.readString(); in BubbleInfo()
84 return mShortcutId; in getShortcutId()
168 parcel.writeString(mShortcutId); in writeToParcel()
/frameworks/base/core/java/com/android/internal/app/
DChooserTargetActionsDialogFragment.java69 protected String mShortcutId; field in ChooserTargetActionsDialogFragment
96 mShortcutId = b.getString(SHORTCUT_ID_KEY); in setStateFromBundle()
110 outState.putString(ChooserTargetActionsDialogFragment.SHORTCUT_ID_KEY, mShortcutId); in onSaveInstanceState()
224 pinnedShortcuts.remove(mShortcutId); in toggleShortcutPinned()
226 pinnedShortcuts.add(mShortcutId); in toggleShortcutPinned()
295 return mShortcutId != null; in isShortcutTarget()
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java495 public String mShortcutId; field in UsageEvents.Event
701 return mShortcutId; in getShortcutId()
776 mShortcutId = orig.mShortcutId; in copyFrom()
1010 p.writeString(event.mShortcutId); in writeEventToParcel()
1077 eventOut.mShortcutId = null; in readEventFromParcel()
1091 eventOut.mShortcutId = p.readString(); in readEventFromParcel()
DParcelableUsageEventList.java220 event.mShortcutId = null; in readEventFromParcel()
232 case Event.SHORTCUT_INVOCATION -> event.mShortcutId = in.readString(); in readEventFromParcel()
263 case Event.SHORTCUT_INVOCATION -> dest.writeString(event.mShortcutId); in writeEventToParcel()
/frameworks/base/core/tests/coretests/src/android/app/usage/
DParcelableUsageEventListTest.java125 event.mShortcutId = anyString(); in generateUsageEvent()
170 assertEquals(ue1.mShortcutId, ue2.mShortcutId); in compareUsageEvent()
/frameworks/base/services/people/java/com/android/server/people/
DPeopleService.java366 private final String mShortcutId; field in PeopleService.ListenerKey
371 this.mShortcutId = shortcutId; in ListenerKey()
383 return mShortcutId; in getShortcutId()
391 && key.getShortcutId().equals(mShortcutId); in equals()
396 return mPackageName.hashCode() + mUserId.hashCode() + mShortcutId.hashCode(); in hashCode()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java214 event.mShortcutId = parser.readString( in buildEvent()
254 if (event.mShortcutId == null) { in buildEvent()
255 event.mShortcutId = ""; in buildEvent()
549 event.mShortcutId = packagesTokenData.getString(packageToken, in deobfuscateEvents()
551 if (event.mShortcutId == null) { in deobfuscateEvents()
698 if (!TextUtils.isEmpty(event.mShortcutId)) { in obfuscateEventsData()
700 event.mPackage, event.mShortcutId); in obfuscateEventsData()
DUsageStatsProtoV2.java708 event.mShortcutId = proto.readString(PendingEventProto.SHORTCUT_ID); in parsePendingEvent()
738 if (event.mShortcutId == null) { in parsePendingEvent()
739 event.mShortcutId = ""; in parsePendingEvent()
810 if (event.mShortcutId != null) { in writePendingEvent()
811 proto.write(PendingEventProto.SHORTCUT_ID, event.mShortcutId); in writePendingEvent()
DUsageStatsXmlV1.java231 event.mShortcutId = (id != null) ? id.intern() : null; in loadEvent()
DUsageStatsProto.java468 if (event.mShortcutId != null) { in writeEvent()
469 proto.write(IntervalStatsProto.Event.SHORTCUT_ID, event.mShortcutId); in writeEvent()
DUserUsageStatsService.java1096 if (event.mShortcutId != null) { in printEvent()
1097 pw.printPair("shortcutId", event.mShortcutId); in printEvent()
DUsageStatsService.java3264 event.mShortcutId = shortcutId.intern(); in reportShortcutUsage()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DIntervalStatsTests.java93 event.mShortcutId = "shortcut" + (i % 8); //"random" shortcut in populateIntervalStats()
DUsageStatsDatabaseTest.java175 event.mShortcutId = "shortcut" + (i % 8); in populateIntervalStats()
341 assertEquals(e1.mShortcutId, e2.mShortcutId, "Usage event " + debugId); in compareUsageEvent()
/frameworks/base/core/java/android/app/
DNotification.java1644 private String mShortcutId; field in Notification
2774 mShortcutId = parcel.readString8(); in readFromParcelImpl()
2905 that.mShortcutId = this.mShortcutId; in cloneInto()
3480 if (mShortcutId != null) { in writeToParcelImpl()
3482 parcel.writeString8(mShortcutId); in writeToParcelImpl()
4095 return mShortcutId; in getShortcutId()
4530 mN.mShortcutId = shortcutId; in setShortcutId()
7263 if (mN.mShortcutId != null in build()
7266 && !mN.mShortcutId.equals(mN.mBubbleMetadata.getShortcutId())) { in build()
7269 + " notification: " + mN.mShortcutId in build()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DUsageStatsQueryHelperTest.java296 e.mShortcutId = SHORTCUT_ID; in createShortcutInvocationEvent()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt7946 Landroid/app/Notification;->mShortcutId:Ljava/lang/String;
9348 Landroid/app/usage/UsageEvents$Event;->mShortcutId:Ljava/lang/String;