Searched refs:mClientContext (Results 1 – 4 of 4) sorted by relevance
/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() 296 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoParcel_resId() 340 ShortcutInfo sorig = new ShortcutInfo.Builder(mClientContext) in testShortcutInfoClone() 343 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoClone() 362 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 382 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 403 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 423 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() [all …]
|
D | BaseShortcutManagerTest.java | 547 protected ClientContext mClientContext; field in BaseShortcutManagerTest 713 mClientContext = new ClientContext(); in setUp() 940 mManager = new ShortcutManagerTestable(mClientContext, mService); in initService() 1187 mLauncherAppsMap.put(key, new LauncherAppsTestable(mClientContext, mLauncherAppImpl)); in setCaller() 1344 return new ShortcutInfo.Builder(mClientContext, id).build(); in makeShortcutIdOnly() 1425 return new ShortcutInfo.Builder(mClientContext); in makeShortcutBuilder() 1459 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mClientContext, id) in makeShortcut() 1460 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut() 1488 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mClientContext, id) in makeShortcut() 1489 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut() [all …]
|
D | ShortcutManagerTest1.java | 371 final ShortcutInfo si1 = new ShortcutInfo.Builder(mClientContext, "si1") in testPublishWithNoActivity() 375 final ShortcutInfo si2 = new ShortcutInfo.Builder(mClientContext, "si2") in testPublishWithNoActivity() 380 final ShortcutInfo si3 = new ShortcutInfo.Builder(mClientContext, "si3") in testPublishWithNoActivity() 474 final ShortcutInfo si1 = new ShortcutInfo.Builder(mClientContext, "si1") in testPublishWithNoActivity_noMainActivityInPackage() 1120 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1133 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1153 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1166 new ShortcutInfo.Builder(mClientContext, "s1") in testUpdateShortcuts_icons() 1433 ShortcutInfo si = new ShortcutInfo.Builder(mClientContext) in testGetShortcuts_resolveStrings() 1435 .setActivity(new ComponentName(mClientContext, "dummy")) in testGetShortcuts_resolveStrings() [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()
|