/frameworks/base/services/people/java/com/android/server/people/data/ |
D | ConversationStore.java | 137 LocusId locusId = conversationInfo.getLocusId(); in deleteConversation() local 138 if (locusId != null) { in deleteConversation() 139 mLocusIdToShortcutIdMap.remove(locusId); in deleteConversation() 172 synchronized ConversationInfo getConversationByLocusId(@NonNull LocusId locusId) { in getConversationByLocusId() argument 173 return getConversation(mLocusIdToShortcutIdMap.get(locusId)); in getConversationByLocusId() 253 LocusId locusId = conversationInfo.getLocusId(); in updateConversationsInMemory() local 254 if (locusId != null) { in updateConversationsInMemory() 255 mLocusIdToShortcutIdMap.put(locusId, conversationInfo.getShortcutId()); in updateConversationsInMemory()
|
D | UsageStatsQueryHelper.java | 90 LocusId locusId = e.getLocusId() != null ? new LocusId(e.getLocusId()) : null; in querySince() local 91 if (locusId != null) { in querySince() 92 if (packageData.getConversationStore().getConversationByLocusId(locusId) in querySince() 209 private void addEventByLocusId(PackageData packageData, LocusId locusId, Event event) { in addEventByLocusId() argument 210 if (packageData.getConversationStore().getConversationByLocusId(locusId) == null) { in addEventByLocusId() 214 EventStore.CATEGORY_LOCUS_ID_BASED, locusId.getId()); in addEventByLocusId()
|
D | ConversationInfo.java | 367 String locusId = in.readUTF(); in readFromBackupPayload() local 368 if (!TextUtils.isEmpty(locusId)) { in readFromBackupPayload() 369 builder.setLocusId(new LocusId(locusId)); in readFromBackupPayload() 439 Builder setLocusId(LocusId locusId) { in setLocusId() argument 440 mLocusId = locusId; in setLocusId()
|
D | PackageData.java | 157 LocusId locusId = conversationInfo.getLocusId(); in getEventHistory() local 158 if (locusId != null) { in getEventHistory() 160 CATEGORY_LOCUS_ID_BASED, locusId.getId()); in getEventHistory()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | DataRemovalRequest.java | 143 public Builder addLocusId(@NonNull LocusId locusId, @Flags int flags) { in addLocusId() argument 146 Preconditions.checkNotNull(locusId); in addLocusId() 154 mLocusIds.add(locusId); in addLocusId() 221 private LocusIdRequest(@NonNull LocusId locusId, @Flags int flags) { in LocusIdRequest() argument 222 this.mLocusId = locusId; in LocusIdRequest()
|
D | DataShareRequest.java | 49 public DataShareRequest(@Nullable LocusId locusId, @NonNull String mimeType) { in DataShareRequest() argument 53 mLocusId = locusId; in DataShareRequest() 167 LocusId locusId = (flg & 0x2) == 0 ? null : (LocusId) in.readTypedObject(LocusId.CREATOR); in DataShareRequest() local 173 this.mLocusId = locusId; in DataShareRequest()
|
D | ContentCaptureCondition.java | 62 public ContentCaptureCondition(@NonNull LocusId locusId, @Flags int flags) { in ContentCaptureCondition() argument 63 this.mLocusId = Preconditions.checkNotNull(locusId); in ContentCaptureCondition()
|
/frameworks/base/core/java/android/app/ |
D | DirectAction.java | 58 @Nullable LocusId locusId) { in DirectAction() argument 61 mLocusId = locusId; in DirectAction() 200 public @NonNull Builder setLocusId(@Nullable LocusId locusId) { in setLocusId() argument 201 mLocusId = locusId; in setLocusId()
|
D | Activity.java | 1056 public void setLocusContext(@Nullable LocusId locusId, @Nullable Bundle bundle) { in setLocusContext() argument 1058 ActivityManager.getService().setActivityLocusContext(mComponent, locusId, mToken); in setLocusContext() 1063 if (locusId != null) { in setLocusContext() 1064 setLocusContextToContentCapture(locusId, bundle); in setLocusContext() 1218 private void setLocusContextToContentCapture(LocusId locusId, @Nullable Bundle bundle) { in setLocusContextToContentCapture() argument 1223 new ContentCaptureContext.Builder(locusId); in setLocusContextToContentCapture()
|
D | IActivityManager.aidl | 650 void setActivityLocusContext(in ComponentName activity, in LocusId locusId, in setActivityLocusContext() argument
|
D | Notification.java | 3651 public Builder setLocusId(@Nullable LocusId locusId) { in setLocusId() argument 3652 mN.mLocusId = locusId; in setLocusId()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 327 LocusId locusId = new LocusId("4815162342"); in testBuilder_setLocusId() local 329 .setLocusId(locusId).build(); in testBuilder_setLocusId() 330 assertEquals(locusId, notification.getLocusId()); in testBuilder_setLocusId() 333 assertEquals(locusId, clone.getLocusId()); in testBuilder_setLocusId()
|
/frameworks/base/services/core/java/android/app/usage/ |
D | UsageStatsManagerInternal.java | 130 @Nullable LocusId locusId, @NonNull IBinder appToken); in reportLocusUpdate() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | ConversationStoreTest.java | 322 String shortcutId, LocusId locusId, Uri contactUri, String phoneNumber, in buildConversationInfo() argument 326 .setLocusId(locusId) in buildConversationInfo()
|
D | UsageStatsQueryHelperTest.java | 291 private static UsageEvents.Event createLocusIdSetEvent(long timestamp, String locusId) { in createLocusIdSetEvent() argument 294 e.mLocusId = locusId; in createLocusIdSetEvent()
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutInfo.java | 1042 public Builder setLocusId(@NonNull LocusId locusId) { in setLocusId() argument 1043 mLocusId = Objects.requireNonNull(locusId, "locusId cannot be null"); in setLocusId() 2428 int disabledReason, Person[] persons, LocusId locusId) { in ShortcutInfo() argument 2456 mLocusId = locusId; in ShortcutInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackage.java | 1648 final LocusId locusId = si.getLocusId(); in saveShortcut() local 1649 if (locusId != null) { in saveShortcut() 1938 final LocusId locusId = locusIdString == null ? null : new LocusId(locusIdString); in parseShortcut() local 1948 disabledReason, persons.toArray(new Person[persons.size()]), locusId); in parseShortcut()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 2154 @Nullable LocusId locusId, @NonNull IBinder appToken) { in reportLocusUpdate() argument 2156 event.mLocusId = locusId.getId(); in reportLocusUpdate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 1629 protected ShortcutInfo makeShortcutWithLocusId(String id, LocusId locusId) { in makeShortcutWithLocusId() argument 1634 .setLocusId(locusId); in makeShortcutWithLocusId()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 374 public static LocusId locusId(String id) { in locusId() method in ShortcutManagerTestUtils
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 20348 public void setActivityLocusContext(ComponentName activity, LocusId locusId, IBinder appToken) { in setActivityLocusContext() argument 20358 mUsageStatsService.reportLocusUpdate(activity, userId, locusId, appToken); in setActivityLocusContext()
|