Home
last modified time | relevance | path

Searched refs:locusId (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/people/java/com/android/server/people/data/
DConversationStore.java137 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()
DUsageStatsQueryHelper.java90 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()
DConversationInfo.java367 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()
DPackageData.java157 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/
DDataRemovalRequest.java143 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()
DDataShareRequest.java49 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()
DContentCaptureCondition.java62 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/
DDirectAction.java58 @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()
DActivity.java1056 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()
DIActivityManager.aidl650 void setActivityLocusContext(in ComponentName activity, in LocusId locusId, in setActivityLocusContext() argument
DNotification.java3651 public Builder setLocusId(@Nullable LocusId locusId) { in setLocusId() argument
3652 mN.mLocusId = locusId; in setLocusId()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java327 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/
DUsageStatsManagerInternal.java130 @Nullable LocusId locusId, @NonNull IBinder appToken); in reportLocusUpdate() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DConversationStoreTest.java322 String shortcutId, LocusId locusId, Uri contactUri, String phoneNumber, in buildConversationInfo() argument
326 .setLocusId(locusId) in buildConversationInfo()
DUsageStatsQueryHelperTest.java291 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/
DShortcutInfo.java1042 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/
DShortcutPackage.java1648 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/
DUsageStatsService.java2154 @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/
DBaseShortcutManagerTest.java1629 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/
DShortcutManagerTestUtils.java374 public static LocusId locusId(String id) { in locusId() method in ShortcutManagerTestUtils
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java20348 public void setActivityLocusContext(ComponentName activity, LocusId locusId, IBinder appToken) { in setActivityLocusContext() argument
20358 mUsageStatsService.reportLocusUpdate(activity, userId, locusId, appToken); in setActivityLocusContext()