Searched refs:installerIntent (Results 1 – 3 of 3) sorted by relevance
54 Intent installerIntent = new Intent(Intent.ACTION_INSTALL_PACKAGE); in testPackageInstallerPresent() local55 installerIntent.addCategory(Intent.CATEGORY_DEFAULT); in testPackageInstallerPresent()56 installerIntent.setDataAndType(Uri.parse("content://com.example/"), PACKAGE_MIME_TYPE); in testPackageInstallerPresent()58 .getPackageManager().queryIntentActivities(installerIntent, MATCH_SYSTEM_ONLY in testPackageInstallerPresent()108 final Intent installerIntent = new Intent(Intent.ACTION_INSTALL_PACKAGE); in testNoPackageInstallerPresent() local109 installerIntent.addCategory(Intent.CATEGORY_DEFAULT); in testNoPackageInstallerPresent()110 installerIntent.setDataAndType(Uri.parse("content://com.example/"), PACKAGE_MIME_TYPE); in testNoPackageInstallerPresent()112 .getPackageManager().queryIntentActivities(installerIntent, MATCH_SYSTEM_ONLY in testNoPackageInstallerPresent()
76 val installerIntent = Intent(ACTION_INSTALL_PACKAGE) in getPackageInstallerPackageName() constant77 installerIntent.setDataAndType(Uri.parse("content://com.example/"), in getPackageInstallerPackageName()79 return installerIntent.resolveActivityInfo(pm, MATCH_DEFAULT_ONLY).packageName in getPackageInstallerPackageName()
94 Intent installerIntent = new Intent(Intent.ACTION_INSTALL_PACKAGE); in getPackageInstallerPackageName() local95 installerIntent.setDataAndType(Uri.parse("content://com.example/"), in getPackageInstallerPackageName()99 .getPackageManager().resolveActivity(installerIntent, in getPackageInstallerPackageName()