Searched refs:locusId (Results 1 – 6 of 6) sorted by relevance
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | ContentCaptureContextTest.java | 120 final LocusId locusId = context.getLocusId(); in testForLocus_valid() local 121 assertThat(locusId).isNotNull(); in testForLocus_valid() 122 assertThat(locusId.getId()).isEqualTo(ID); in testForLocus_valid()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | DataSharingService.java | 131 public void setLocusId(String locusId) { in setLocusId() argument 132 mLocusId = locusId; in setLocusId()
|
D | CustomViewActivityTest.java | 520 final LocusId locusId = new LocusId("Locus At me!"); in testContentCaptureConditions() local 521 conditions.add(new ContentCaptureCondition(locusId, FLAG_IS_REGEX)); in testContentCaptureConditions() 534 assertThat(actualCondition.getLocusId()).isEqualTo(locusId); in testContentCaptureConditions() 544 final LocusId locusId = new LocusId("Locus At me!"); in testContentCaptureConditions_otherPackage() local 545 conditions.add(new ContentCaptureCondition(locusId, FLAG_IS_REGEX)); in testContentCaptureConditions_otherPackage()
|
D | LoginActivityTest.java | 777 final LocusId locusId = new LocusId("com.example"); in testUserDataRemovalRequest_oneId() local 781 .addLocusId(locusId, NO_FLAGS) in testUserDataRemovalRequest_oneId() 799 assertThat(actualRequest.getLocusId()).isEqualTo(locusId); in testUserDataRemovalRequest_oneId()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerCtsTestsBase.java | 413 protected ShortcutInfo makeShortcutWithLocusId(String id, String locusId) { in makeShortcutWithLocusId() argument 417 new LocusId(locusId), /* longLived =*/ false); in makeShortcutWithLocusId() 500 Icon icon, Intent intent, int rank, LocusId locusId, boolean longLived) { in makeShortcut() argument 501 return makeShortcut(id, shortLabel, activity, icon, intent, rank, locusId, longLived, 0); in makeShortcut() 508 Icon icon, Intent intent, int rank, LocusId locusId, boolean longLived, in makeShortcut() argument 524 if (locusId != null) { in makeShortcut() 525 b.setLocusId(locusId); in makeShortcut()
|
D | ShortcutManagerClientApiTest.java | 21 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.locusId; 394 .setLocusId(locusId("4815162342")) in testSetDynamicShortcuts_details() 411 assertEquals(locusId("4815162342"), si.getLocusId()); in testSetDynamicShortcuts_details() 454 .setLocusId(locusId("4815162342")) in testSetDynamicShortcuts_details() 471 assertEquals(locusId("4815162342"), si.getLocusId()); in testSetDynamicShortcuts_details() 810 .setLocusId(locusId("4815162342")) in testAddDynamicShortcuts_details() 827 assertEquals(locusId("4815162342"), si.getLocusId()); in testAddDynamicShortcuts_details() 870 .setLocusId(locusId("4815162342")) in testAddDynamicShortcuts_details() 887 assertEquals(locusId("4815162342"), si.getLocusId()); in testAddDynamicShortcuts_details() 1149 .setLocusId(locusId("4815162342")) in testUpdateShortcut_details() [all …]
|