Home
last modified time | relevance | path

Searched refs:mClientContext (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureEvent.java138 private @Nullable ContentCaptureContext mClientContext; field in ContentCaptureEvent
200 mClientContext = clientContext; in setClientContext()
228 return mClientContext; in getContentCaptureContext()
370 if (mClientContext != null) { in dump()
371 pw.print(", context="); mClientContext.dump(pw); pw.println(); in dump()
401 if (mClientContext != null) { in toString()
402 string.append(", context=").append(mClientContext); in toString()
425 parcel.writeParcelable(mClientContext, flags); in writeToParcel()
DContentCaptureSession.java206 private ContentCaptureContext mClientContext; field in ContentCaptureSession
230 mClientContext = Preconditions.checkNotNull(initialContext); in ContentCaptureSession()
289 mClientContext = context; in setContentCaptureContext()
304 return mClientContext; in getContentCaptureContext()
525 if (mClientContext != null) { in dump()
526 pw.print(prefix); mClientContext.dump(pw); pw.println(); in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java228 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()
301 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoParcel_resId()
345 ShortcutInfo sorig = new ShortcutInfo.Builder(mClientContext) in testShortcutInfoClone()
348 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoClone()
369 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone()
392 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone()
416 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone()
437 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone()
[all …]
DBaseShortcutManagerTest.java579 protected ClientContext mClientContext; field in BaseShortcutManagerTest
752 mClientContext = new ClientContext(); in setUp()
972 return mClientContext; in getClientContext()
996 mManager = new ShortcutManagerTestable(mClientContext, mService); in initService()
1250 mLauncherAppsMap.put(key, new LauncherAppsTestable(mClientContext, mLauncherAppImpl)); in setCaller()
1407 return new ShortcutInfo.Builder(mClientContext, id).build(); in makeShortcutIdOnly()
1488 return new ShortcutInfo.Builder(mClientContext); in makeShortcutBuilder()
1522 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mClientContext, id) in makeShortcut()
1523 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut()
1551 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mClientContext, id) in makeShortcut()
[all …]
DShortcutManagerTest1.java419 final ShortcutInfo si1 = new ShortcutInfo.Builder(mClientContext, "si1") in testPublishWithNoActivity()
423 final ShortcutInfo si2 = new ShortcutInfo.Builder(mClientContext, "si2") in testPublishWithNoActivity()
428 final ShortcutInfo si3 = new ShortcutInfo.Builder(mClientContext, "si3") in testPublishWithNoActivity()
522 final ShortcutInfo si1 = new ShortcutInfo.Builder(mClientContext, "si1") in testPublishWithNoActivity_noMainActivityInPackage()
1171 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons()
1184 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons()
1204 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons()
1217 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons()
1484 ShortcutInfo si = new ShortcutInfo.Builder(mClientContext) in testGetShortcuts_resolveStrings()
1486 .setActivity(new ComponentName(mClientContext, "dummy")) in testGetShortcuts_resolveStrings()
[all …]
DShortcutManagerTest8.java259 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/
DContentCaptureEventTest.java55 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()