Searched refs:activityInfo (Results 1 – 18 of 18) sorted by relevance
97 if (resolveInfo == null || resolveInfo.activityInfo == null) { in resolve()119 if (!hasPermission(context, resolveInfo.activityInfo)) { in resolve()120 TcLog.d(TAG, "No permission to access: " + resolveInfo.activityInfo); in resolve()124 final String packageName = resolveInfo.activityInfo.packageName; in resolve()125 final String className = resolveInfo.activityInfo.name; in resolve()138 if (resolveInfo.activityInfo.getIconResource() != 0) { in resolve()140 createIconFromPackage(context, packageName, resolveInfo.activityInfo.getIconResource()); in resolve()222 if (resolveInfo == null || resolveInfo.activityInfo == null) { in getApplicationName()225 if ("android".equals(resolveInfo.activityInfo.packageName)) { in getApplicationName()228 if (resolveInfo.activityInfo.applicationInfo == null) { in getApplicationName()[all …]
127 info.activityInfo = new ActivityInfo(); in getResolveInfo()128 info.activityInfo.packageName = component.getPackageName(); in getResolveInfo()129 info.activityInfo.name = component.getClassName(); in getResolveInfo()130 info.activityInfo.exported = true; in getResolveInfo()131 info.activityInfo.applicationInfo = new ApplicationInfo(); in getResolveInfo()132 info.activityInfo.applicationInfo.packageName = component.getPackageName(); in getResolveInfo()133 info.activityInfo.applicationInfo.icon = 0; in getResolveInfo()
176 ActivityInfo activityInfo = new ActivityInfo(); in createPackage() local177 activityInfo.name = buildClassName(pkg.packageName, data.getName()); in createPackage()178 activityInfo.packageName = pkg.packageName; in createPackage()179 activityInfo.configChanges = getConfigChanges(data); in createPackage()180 activityInfo.parentActivityName = data.getParentActivityName(); in createPackage()181 activityInfo.metaData = metaDataToBundle(data.getMetaData().getValueMap()); in createPackage()182 activityInfo.applicationInfo = pkg.applicationInfo; in createPackage()183 activityInfo.targetActivity = data.getTargetActivityName(); in createPackage()184 activityInfo.exported = data.isExported(); in createPackage()185 activityInfo.permission = data.getPermission(); in createPackage()[all …]
38 resInfo.activityInfo = actInfo; in newResolveInfo()54 copy.activityInfo = orig.activityInfo; in newResolveInfo()
88 ActivityInfo activityInfo; in callAttach() local90 …activityInfo = application.getPackageManager().getActivityInfo(new ComponentName(application.getPa… in callAttach()95 CharSequence activityTitle = activityInfo.loadLabel(baseContext.getPackageManager()); in callAttach()112 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()132 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()153 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()176 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()200 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()226 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()253 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()[all …]
276 ActivityInfo activityInfo = resolveInfo.activityInfo; in verifyActivityInManifest()277 return TextUtils.equals(activityInfo.packageName, component.getPackageName()) in verifyActivityInManifest()278 && TextUtils.equals(activityInfo.name, component.getClassName()) in verifyActivityInManifest()279 && activityInfo.exported; in verifyActivityInManifest()
299 info.activityInfo, in addResolveInfoForIntent()347 } else if (resolveInfo.activityInfo != null) { in getPackageName()348 return resolveInfo.activityInfo.packageName; in getPackageName()1012 return resolveInfo.activityInfo != null in isPreferred()1013 && resolveInfo.activityInfo.packageName != null in isPreferred()1014 && resolveInfo.activityInfo.name != null in isPreferred()1017 resolveInfo.activityInfo.packageName, resolveInfo.activityInfo.name)); in isPreferred()
397 resolveInfo.activityInfo != null in filterResolvedComponent()468 resolveInfoList, flags, (resolveInfo) -> resolveInfo.activityInfo)); in queryIntentActivities()476 Arrays.asList(resolvedActivity), flags, (resolveInfo) -> resolveInfo.activityInfo)); in queryIntentActivities()483 (resolveInfo) -> resolveInfo.activityInfo)); in queryIntentActivities()634 resolveInfo.activityInfo = activity.info; in buildResolveInfo()750 resolveInfoList, flags, (resolveInfo) -> resolveInfo.activityInfo)); in queryBroadcastReceivers()758 Arrays.asList(resolvedReceiver), flags, (resolveInfo) -> resolveInfo.activityInfo)); in queryBroadcastReceivers()765 (resolveInfo) -> resolveInfo.activityInfo)); in queryBroadcastReceivers()1101 intent.setClassName(packageName, ris.get(0).activityInfo.name); in getLaunchIntentForPackage()1831 return info != null && packageName.equals(info.activityInfo.packageName); in isPackageActiveLauncher()[all …]
24 assertThat(mResolveInfo.activityInfo.packageName).isEqualTo("package"); in testNewResolveInfoWithActivity()25 assertThat(mResolveInfo.activityInfo.applicationInfo.packageName).isEqualTo("package"); in testNewResolveInfoWithActivity()26 assertThat(mResolveInfo.activityInfo.name).isEqualTo("fragmentActivity"); in testNewResolveInfoWithActivity()
355 assertThat(receiverInfos.get(0).activityInfo.name) in testQueryBroadcastReceiverSucceeds()357 assertThat(receiverInfos.get(0).activityInfo.permission) in testQueryBroadcastReceiverSucceeds()378 assertThat(receiverInfo.activityInfo.name) in testQueryBroadcastReceiver_matchAllWithoutIntentFilter()401 …ActivityInfo activityInfo = activity.getPackageManager().getActivityInfo(activity.getComponentName… in getActivityMetaData_configChanges() local403 int configChanges = activityInfo.configChanges; in getActivityMetaData_configChanges()418 ActivityInfo activityInfo = in getActivityMetaData_configChangesAlwaysIncludesMccAndMnc() local421 int configChanges = activityInfo.configChanges; in getActivityMetaData_configChangesAlwaysIncludesMccAndMnc()672 info.activityInfo = new ActivityInfo(); in queryIntentActivities_Match()673 info.activityInfo.name = "name"; in queryIntentActivities_Match()674 info.activityInfo.packageName = TEST_PACKAGE_NAME; in queryIntentActivities_Match()[all …]
40 …ActivityInfo activityInfo = intent.resolveActivityInfo(packageManager, PackageManager.GET_ACTIVITI… in resolveActivityInfo_shouldReturnActivityInfoForExistingActivity() local41 assertThat(activityInfo).isNotNull(); in resolveActivityInfo_shouldReturnActivityInfoForExistingActivity()
META-INF/MANIFEST.MF com/twofortyfouram/locale/platform/BreadCrumber.class BreadCrumber ...
65 if (resolve.activityInfo.packageName.equals(packageName)) { in onCreate()66 intent.setClassName(packageName, resolve.activityInfo.name); in onCreate()
203 if (info.activityInfo == null) { in get()206 final ApplicationInfo appInfo = info.activityInfo.applicationInfo; in get()
83 addInterpreter(info.activityInfo.packageName); in discoverForType()100 addInterpreter(info.activityInfo.packageName); in discoverAll()
400 resolveInfo.activityInfo = new ActivityInfo(); in createResolveInfo()401 resolveInfo.activityInfo.packageName = packageName; in createResolveInfo()
70 applications.put(info.loadLabel(mPackageManager).toString(), info.activityInfo.name); in getLaunchableApplications()
156 if ("android".equals(resolveInfo.activityInfo.packageName)) { in createTitleChooser()