Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarRecentAppsController.kt73 return allRunningDesktopAppInfos?.mapNotNull { it.targetPackage }?.toSet() ?: emptySet() in <lambda>()
81 return allMinimizedDesktopAppInfos?.mapNotNull { it.targetPackage }?.toSet() in <lambda>()
124 val hotseatPackages = hotseatItems.map { it.targetPackage } in <lambda>()
126 .filter { appInfo -> !hotseatPackages.contains(appInfo.targetPackage) } in <lambda>()
143 .map { packageName -> apps?.find { app -> packageName == app.targetPackage } } in <lambda>()
165 .mapNotNull { appInfo -> appInfo.targetPackage?.let { appInfo to it } } in <lambda>()
166 .associate { (appInfo, targetPackage) -> in <lambda>() method
169 .filter { it.realActivity?.packageName == targetPackage } in <lambda>()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/list/
DRroListPanelReducer.kt62 val targetPackage: String, in <lambda>() constant in com.android.car.customization.tool.features.rro.list.RroListPanelReducer.RroInfo
114 rroState = rroState.map { (targetPackage, overlays) -> in <lambda>() method
116 targetPackage, in <lambda>()
164 targetPackage = overlayInfo.targetPackageName, in <lambda>()
181 .filter { (targetPackage, _) -> targetPackage.contains(currentTargetPackageFilter) } in <lambda>() method
182 .map { (targetPackage, overlays) -> in <lambda>() method
184 targetPackage, in <lambda>()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DDatabaseIndexingUtils.java73 public static Intent buildSearchTrampolineIntent(String action, String targetPackage, in buildSearchTrampolineIntent() argument
77 buildDirectSearchResultIntent(action, targetPackage, targetClass, key) in buildSearchTrampolineIntent()
99 public static Intent buildDirectSearchResultIntent(String action, String targetPackage, in buildDirectSearchResultIntent() argument
102 if (!TextUtils.isEmpty(targetPackage) && !TextUtils.isEmpty(targetClass)) { in buildDirectSearchResultIntent()
103 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/services/Telephony/src/com/android/phone/vvm/
DRemoteVvmTaskManager.java96 String targetPackage) { in startSmsReceived() argument
102 intent.putExtra(EXTRA_TARGET_PACKAGE, targetPackage); in startSmsReceived()
113 static boolean hasRemoteService(Context context, int subId, String targetPackage) { in hasRemoteService() argument
114 return getRemotePackage(context, subId, targetPackage) != null; in hasRemoteService()
134 @Nullable String targetPackage) { in getRemotePackage() argument
183 if (targetPackage != null && !TextUtils.equals(packageName, targetPackage)) { in getRemotePackage()
184 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/ThemePicker/tests/robotests/src/com/android/customization/testutils/
DOverlayManagerMocks.java49 MockOverlay(String packageName, String targetPackage, String category) { in MockOverlay() argument
51 this.mTargetPackage = targetPackage; in MockOverlay()
85 public void addOverlay(String packageName, String targetPackage, String category, in addOverlay() argument
87 MockOverlay overlay = new MockOverlay(packageName, targetPackage, category); in addOverlay()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/customization/
DPartnerResourcesParser.java116 final String targetPackage = Partner.getInstance(mContext).getString( in buildPreference() local
118 if (targetPackage != null) { in buildPreference()
119 intent.setPackage(targetPackage); in buildPreference()
123 intent.setClassName(targetPackage, targetClass); in buildPreference()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/visibilitystore/
DVisibilityCheckerImpl.java198 PackageIdentifier targetPackage = visibilityConfig.getPubliclyVisibleTargetPackage(); in isSchemaPubliclyVisibleFromPackage() local
199 if (targetPackage == null) { in isSchemaPubliclyVisibleFromPackage()
207 targetPackage.getPackageName(), in isSchemaPubliclyVisibleFromPackage()
208 targetPackage.getSha256Certificate())) { in isSchemaPubliclyVisibleFromPackage()
222 targetPackage.getPackageName())) { in isSchemaPubliclyVisibleFromPackage()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DItemInfoWithIcon.java298 String targetPackage = getTargetPackage();
300 return targetPackage != null
302 targetPackage, Process.myUserHandle())
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java115 String targetPackage = ((LauncherAppWidgetInfo) tag).getTargetPackage(); in onClick() local
117 + " package=" + targetPackage); in onClick()
122 String targetPackage = ((LauncherAppWidgetInfo) tag).getTargetPackage(); in onClick() local
125 + " package=" + targetPackage); in onClick()
137 String targetPackage = ((PendingAddWidgetInfo) tag).getTargetPackage(); in onClick() local
138 Log.d(TAG, "onClick: PendingAddWidgetInfo clicked for package=" + targetPackage); in onClick()
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/taskbar/
DTaskbarRecentAppsControllerTest.kt88 assertThat(newHotseatItems.map { it?.targetPackage }) in updateHotseatItemInfos_notInDesktopMode_runningApps_returnsExistingHotseatItems()
122 assertThat(newHotseatItems.map { it?.targetPackage }) in updateHotseatItemInfos_returnsExistingHotseatItemsAndRunningApps()
148 assertThat(newHotseatItems.map { it?.targetPackage }) in updateHotseatItemInfos_runningAppIsHotseatItem_returnsDistinctItems()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/backup/
DKitchenSinkBackupTransport.java478 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket) { in performFullBackup() argument
479 if (DEBUG) Log.d(TAG, "perform full backup for: " + targetPackage); in performFullBackup()
496 mFullTargetPackage = targetPackage.packageName; in performFullBackup()
503 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket, in performFullBackup() argument
505 Log.v(TAG, "perform full backup, flags:" + flags + ", package:" + targetPackage); in performFullBackup()
506 return super.performFullBackup(targetPackage, socket, flags); in performFullBackup()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbDiagnostics.java157 public BetterBugIntentBuilder setTargetPackage(String targetPackage) { in setTargetPackage() argument
158 mBetterBugIntent.putExtra(EXTRA_TARGET_PACKAGE, targetPackage); in setTargetPackage()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementImpl.java495 String targetPackage = getTargetPackageFromPlayStoreUri(verifiedDestination); in isVerifiedDestination() local
496 return targetPackage != null && targetPackage.equals(destinationPackage); in isVerifiedDestination()
/packages/apps/Settings/src/com/android/settings/homepage/
DSettingsHomepageActivity.java671 private boolean hasPrivilegedAccess(String callerPkg, int callerUid, String targetPackage) { in hasPrivilegedAccess() argument
678 targetUid = getPackageManager().getApplicationInfo(targetPackage, in hasPrivilegedAccess()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java259 final String targetPackage = mInstrumentation.getTargetContext().getPackageName(); in LauncherInstrumentation() local
264 mLauncherPackage = testPackage.equals(targetPackage) || isGradleInstrumentation() in LauncherInstrumentation()
266 : targetPackage; in LauncherInstrumentation()
334 final String targetPackage = mInstrumentation.getTargetContext().getPackageName(); in isGradleInstrumentation() local
339 .equals(targetPackage); in isGradleInstrumentation()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiDiagnostics.java939 public BetterBugIntentBuilder setTargetPackage(String targetPackage) { in setTargetPackage() argument
940 mBetterBugIntent.putExtra(EXTRA_TARGET_PACKAGE, targetPackage); in setTargetPackage()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java2476 @NonNull String targetPackage, in verifyExecuteAppFunctionCaller() argument
2484 if (callingPackage.equals(targetPackage)) { in verifyExecuteAppFunctionCaller()