Home
last modified time | relevance | path

Searched refs:getPackage (Results 1 – 25 of 59) sorted by relevance

123

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java309 assertEquals(DEF_PKG, queryIntentCaptor.getAllValues().get(0).getPackage()); in testBindToService_DefaultDialer_NoEmergency()
311 assertEquals(null, queryIntentCaptor.getAllValues().get(1).getPackage()); in testBindToService_DefaultDialer_NoEmergency()
313 assertEquals(null, queryIntentCaptor.getAllValues().get(2).getPackage()); in testBindToService_DefaultDialer_NoEmergency()
369 assertEquals(DEF_PKG, queryIntentCaptor.getAllValues().get(0).getPackage()); in testBindToService_SystemDialer_Emergency()
371 assertEquals(null, queryIntentCaptor.getAllValues().get(1).getPackage()); in testBindToService_SystemDialer_Emergency()
373 assertEquals(null, queryIntentCaptor.getAllValues().get(2).getPackage()); in testBindToService_SystemDialer_Emergency()
448 assertEquals(DEF_PKG, queryIntentCaptor.getAllValues().get(0).getPackage()); in testBindToService_SystemDialer_Crash()
450 assertEquals(null, queryIntentCaptor.getAllValues().get(1).getPackage()); in testBindToService_SystemDialer_Crash()
452 assertEquals(null, queryIntentCaptor.getAllValues().get(2).getPackage()); in testBindToService_SystemDialer_Crash()
531 assertEquals(DEF_PKG, queryIntentCaptor.getAllValues().get(0).getPackage()); in testBindToService_DefaultDialer_FallBackToSystem()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DShortcutKey.java33 return new ShortcutKey(shortcutInfo.getPackage(), shortcutInfo.getUserHandle(), in fromInfo()
39 return new ShortcutKey(intent.getPackage(), user, shortcutId); in fromIntent()
50 .setPackage(si.getPackage()) in makeIntent()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestPackageManager.java87 intent.getPackage() != null ? intent.getPackage() : "TestPackage"; in resolveActivity()
89 info.activityInfo.applicationInfo.packageName = intent.getPackage(); in resolveActivity()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DLauncherIcons.java171 boolean hasBadgePkgSet = !badgePkg.equals(shortcutInfo.getPackage()); in getShortcutInfoBadge()
191 if (whitelistedPkg.equals(si.getPackage()) in getBadgePackage()
196 return si.getPackage(); in getBadgePackage()
/packages/apps/Settings/src/com/android/settings/notification/
DRecentNotifyingAppsPreferenceController.java245 final String pkgName = app.getPackage(); in displayRecentApps()
247 mApplicationsState.getEntry(app.getPackage(), app.getUserId()); in displayRecentApps()
306 app.getPackage(), app.getUserId()); in getDisplayableRecentAppList()
310 if (!shouldIncludePkgInRecents(app.getPackage(), app.getUserId())) { in getDisplayableRecentAppList()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcStatsEntry.java64 mPackage = proc.getPackage(); in ProcStatsEntry()
264 ArrayList<Service> services = mServices.get(svc.getPackage()); in addService()
267 mServices.put(svc.getPackage(), services); in addService()
322 mPackage = service.getPackage(); in Service()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsEntry.java64 mPackage = proc.getPackage(); in ProcStatsEntry()
264 ArrayList<Service> services = mServices.get(svc.getPackage()); in addService()
267 mServices.put(svc.getPackage(), services); in addService()
322 mPackage = service.getPackage(); in Service()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DImportDataTask.java252 hotseatTargetApps.add(getPackage(intent)); in importWorkspaceItems()
304 private static String getPackage(Intent intent) { in getPackage() method in ImportDataTask
306 : intent.getPackage(); in getPackage()
419 String pkg = getPackage(intent); in insertAndCheck()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestInCallUI.java300 SelfManagedCallList.class.getPackage().getName(), in getHandoverToPhoneAccountHandle()
306 TestInCallServiceImpl.class.getPackage().getName(), in disableInCallService()
317 TestInCallServiceImpl.class.getPackage().getName(), in enableInCallService()
DTestCallScreeningService.java42 TestCallScreeningService.class.getPackage().getName() + ".callscreeningresult";
DSelfManagedCallList.java55 SelfManagedCallList.class.getPackage().getName(),
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsLicenseActivityTest.java62 assertThat(actual.getPackage()).isEqualTo(expected.getPackage()); in assertEqualIntents()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/about/
DLicenseActivityTest.java64 assertThat(actual.getPackage()).isEqualTo(expected.getPackage()); in assertEqualIntents()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DDpcReceivedSuccessReceiverTest.java87 assertEquals(TEST_MDM_PACKAGE_NAME, intentCaptor.getValue().getPackage()); in testNoAccountMigration()
152 assertEquals(TEST_MDM_PACKAGE_NAME, intentCaptor.getValue().getPackage()); in invokeOnReceiveAndVerifyIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/
DMoreSpecialAccessPreferenceControllerTest.java75 assertThat(intent.getPackage()).isEqualTo(PERMISSION_CONTROLLER_PACKAGE_NAME); in constructor_shouldResolveActivityWithPermissionControllerPackageName()
177 assertThat(intent.getPackage()).isEqualTo(PERMISSION_CONTROLLER_PACKAGE_NAME); in handlePreferenceTreeClick_canResolveActivity_shouldStartActivityWithIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRecentNotifyingAppsPreferenceControllerTest.java342 && notifyingApp.getPackage().equals("a") in reloadData()
347 && notifyingApp.getPackage().equals("b") in reloadData()
362 return intent -> packageName.equals(intent.getPackage()); in intentMatcher()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DDashboardFeatureProviderImpl.java211 if (!TextUtils.isEmpty(intent.getPackage())) { in bindIcon()
212 packageName = intent.getPackage(); in bindIcon()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFeatureProviderImpl.java211 if (!TextUtils.isEmpty(intent.getPackage())) { in bindIcon()
212 packageName = intent.getPackage(); in bindIcon()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DComponentKeyMapper.java41 public String getPackage() { in getPackage() method in ComponentKeyMapper
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/
DCodeInspector.java65 final String packageName = clazz.getPackage().getName(); in isConcreteSettingsClass()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicensePreferenceTest.java72 assertThat(intent.getPackage()).isEqualTo("com.android.htmlviewer"); in onClick_sendsCorrectIntent()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DPinShortcutRequestActivityInfo.java57 super(new ComponentName(request.getShortcutInfo().getPackage(), DUMMY_COMPONENT_CLASS), in PinShortcutRequestActivityInfo()
/packages/apps/LegacyCamera/src/com/android/camera/
DPreferenceInflater.java37 PreferenceInflater.class.getPackage().getName();
/packages/apps/Launcher3/src/com/android/launcher3/model/
DShortcutsChangedTask.java67 if (mPackageName.equals(si.getIntent().getPackage()) && si.user.equals(mUser)) { in execute()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DMoreSpecialAccessPreferenceControllerTest.java133 assertThat(started.getPackage()).isEqualTo(PACKAGE); in preferenceClicked_startsResolvedActivity()

123