Home
last modified time | relevance | path

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

/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/testutils/
DOverlayManagerMocks.java46 final String targetPackage; field in OverlayManagerMocks.MockOverlay
49 public MockOverlay(String packageName, String targetPackage, String category) { in MockOverlay() argument
51 this.targetPackage = targetPackage; in MockOverlay()
59 && TextUtils.equals(((MockOverlay) obj).targetPackage, targetPackage) in equals()
85 public void addOverlay(String packageName, String targetPackage, String category, in addOverlay() argument
87 MockOverlay overlay = new MockOverlay(packageName, targetPackage, category); in addOverlay()
104 mockOverlay.targetPackage.equals(inv.getArgument(0)) in setUpMock()
127 .contains(overlay.targetPackage)) in setUpMock()
/packages/services/Telephony/src/com/android/phone/vvm/
DRemoteVvmTaskManager.java95 String targetPackage) { in startSmsReceived() argument
101 intent.putExtra(EXTRA_TARGET_PACKAGE, targetPackage); in startSmsReceived()
112 static boolean hasRemoteService(Context context, int subId, String targetPackage) { in hasRemoteService() argument
113 return getRemotePackage(context, subId, targetPackage) != null; in hasRemoteService()
133 @Nullable String targetPackage) { in getRemotePackage() argument
182 if (targetPackage != null && !TextUtils.equals(packageName, targetPackage)) { in getRemotePackage()
183 VvmLog.w(TAG, "target package " + targetPackage in getRemotePackage()
DVvmSmsReceiver.java51 String targetPackage = intent.getExtras().getString(VoicemailContract.EXTRA_TARGET_PACKAGE); in onReceive() local
52 if (RemoteVvmTaskManager.hasRemoteService(context, subId, targetPackage)) { in onReceive()
54 RemoteVvmTaskManager.startSmsReceived(context, sms, targetPackage); in onReceive()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DDatabaseIndexingUtils.java60 public static Intent buildDirectSearchResultIntent(String action, String targetPackage, in buildDirectSearchResultIntent() argument
63 if (!TextUtils.isEmpty(targetPackage) && !TextUtils.isEmpty(targetClass)) { in buildDirectSearchResultIntent()
64 final ComponentName component = new ComponentName(targetPackage, targetClass); in buildDirectSearchResultIntent()
DPreIndexDataCollector.java242 final String targetPackage = cursor.getString( in getIndexablesForRawDataUri() local
261 data.intentTargetPackage = targetPackage; in getIndexablesForRawDataUri()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/overlays/
DOverlayActivity.java65 for (String targetPackage : overlays.keySet()) { in onCreatePreferences()
66 for (OverlayManager.OverlayInfo overlayPackage : overlays.get(targetPackage)) { in onCreatePreferences()
70 switchPreference.setSummary(targetPackage); in onCreatePreferences()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java218 final String targetPackage = mInstrumentation.getTargetContext().getPackageName(); in LauncherInstrumentation() local
223 mLauncherPackage = testPackage.equals(targetPackage) in LauncherInstrumentation()
225 : targetPackage; in LauncherInstrumentation()