/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 228 ShortcutInfo si = parceled(new ShortcutInfo.Builder(mClientContext) in testShortcutInfoParcel() 233 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoParcel() 246 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoParcel() 306 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoParcel_resId() 355 ShortcutInfo sorig = new ShortcutInfo.Builder(mClientContext) in testShortcutInfoClone() 358 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoClone() 380 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 404 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 429 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 451 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() [all …]
|
D | BaseShortcutManagerTest.java | 917 protected ClientContext mClientContext; field in BaseShortcutManagerTest 1099 mClientContext = new ClientContext(); in setUp() 1328 return mClientContext; in getClientContext() 1352 mManager = new ShortcutManagerTestable(mClientContext, mService); in initService() 1606 mLauncherAppsMap.put(key, new LauncherAppsTestable(mClientContext, mLauncherAppImpl)); in setCaller() 1763 return new ShortcutInfo.Builder(mClientContext, id).build(); in makeShortcutIdOnly() 1844 return new ShortcutInfo.Builder(mClientContext); in makeShortcutBuilder() 1878 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mClientContext, id) in makeShortcut() 1879 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut() 1907 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mClientContext, id) in makeShortcut() [all …]
|
D | ShortcutManagerTest1.java | 579 final ShortcutInfo si1 = new ShortcutInfo.Builder(mClientContext, "si1") in testPublishWithNoActivity() 583 final ShortcutInfo si2 = new ShortcutInfo.Builder(mClientContext, "si2") in testPublishWithNoActivity() 588 final ShortcutInfo si3 = new ShortcutInfo.Builder(mClientContext, "si3") in testPublishWithNoActivity() 682 final ShortcutInfo si1 = new ShortcutInfo.Builder(mClientContext, "si1") in testPublishWithNoActivity_noMainActivityInPackage() 1386 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1398 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1414 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1432 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1447 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1459 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() [all …]
|
D | ShortcutManagerTest8.java | 259 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mClientContext, "s1") in checkRequestPinShortcut() 414 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mClientContext, "s1") in testRequestPinShortcut_noTargetActivity_noMainActivity() 594 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mClientContext, "s1") in testRequestPinShortcut_dynamicExists_alreadyPinned()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureSession.java | 210 private ContentCaptureContext mClientContext; field in ContentCaptureSession 234 mClientContext = Preconditions.checkNotNull(initialContext); in ContentCaptureSession() 293 mClientContext = context; in setContentCaptureContext() 308 return mClientContext; in getContentCaptureContext() 567 if (mClientContext != null) { in dump() 568 pw.print(prefix); mClientContext.dump(pw); pw.println(); in dump()
|
D | ContentCaptureEvent.java | 151 private @Nullable ContentCaptureContext mClientContext; field in ContentCaptureEvent 222 mClientContext = clientContext; in setClientContext() 250 return mClientContext; in getContentCaptureContext() 486 if (mClientContext != null) { in dump() 487 pw.print(", context="); mClientContext.dump(pw); pw.println(); in dump() 530 if (mClientContext != null) { in toString() 531 string.append(", context=").append(mClientContext); in toString() 566 parcel.writeParcelable(mClientContext, flags); in writeToParcel()
|
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | ContentCaptureEventTest.java | 55 private final ContentCaptureContext mClientContext = field in ContentCaptureEventTest 169 .setClientContext(mClientContext) in newEventForSessionStarted() 200 .setClientContext(mClientContext) // should not be writting to parcel in testSessionFinished_throughParcel() 222 .setClientContext(mClientContext); in testContextUpdated_directly() 230 .setClientContext(mClientContext); in testContextUpdated_throughParcel()
|