/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureEvent.java | 145 private @Nullable ContentCaptureContext mClientContext; field in ContentCaptureEvent 208 mClientContext = clientContext; in setClientContext() 236 return mClientContext; in getContentCaptureContext() 395 if (mClientContext != null) { in dump() 396 pw.print(", context="); mClientContext.dump(pw); pw.println(); in dump() 428 if (mClientContext != null) { in toString() 429 string.append(", context=").append(mClientContext); in toString() 455 parcel.writeParcelable(mClientContext, flags); in writeToParcel()
|
D | ContentCaptureSession.java | 211 private ContentCaptureContext mClientContext; field in ContentCaptureSession 235 mClientContext = Preconditions.checkNotNull(initialContext); in ContentCaptureSession() 294 mClientContext = context; in setContentCaptureContext() 309 return mClientContext; in getContentCaptureContext() 572 if (mClientContext != null) { in dump() 573 pw.print(prefix); mClientContext.dump(pw); pw.println(); in dump()
|
/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() 303 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoParcel_resId() 349 ShortcutInfo sorig = new ShortcutInfo.Builder(mClientContext) in testShortcutInfoClone() 352 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoClone() 374 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 398 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 423 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 445 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() [all …]
|
D | BaseShortcutManagerTest.java | 593 protected ClientContext mClientContext; field in BaseShortcutManagerTest 771 mClientContext = new ClientContext(); in setUp() 996 return mClientContext; in getClientContext() 1020 mManager = new ShortcutManagerTestable(mClientContext, mService); in initService() 1274 mLauncherAppsMap.put(key, new LauncherAppsTestable(mClientContext, mLauncherAppImpl)); in setCaller() 1431 return new ShortcutInfo.Builder(mClientContext, id).build(); in makeShortcutIdOnly() 1512 return new ShortcutInfo.Builder(mClientContext); in makeShortcutBuilder() 1546 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mClientContext, id) in makeShortcut() 1547 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut() 1575 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mClientContext, id) in makeShortcut() [all …]
|
D | ShortcutManagerTest1.java | 543 final ShortcutInfo si1 = new ShortcutInfo.Builder(mClientContext, "si1") in testPublishWithNoActivity() 547 final ShortcutInfo si2 = new ShortcutInfo.Builder(mClientContext, "si2") in testPublishWithNoActivity() 552 final ShortcutInfo si3 = new ShortcutInfo.Builder(mClientContext, "si3") in testPublishWithNoActivity() 646 final ShortcutInfo si1 = new ShortcutInfo.Builder(mClientContext, "si1") in testPublishWithNoActivity_noMainActivityInPackage() 1350 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1362 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1378 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1396 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1411 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1423 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/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()
|