Searched refs:queryIntent (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
D | ClientTest.java | 114 final Intent queryIntent = new Intent(ACTION_QUERY); in testQuery() local 116 .getPackageManager().queryIntentActivities(queryIntent, 0 /*flags*/); in testQuery() 137 final Intent queryIntent = new Intent(ACTION_QUERY); in testQuery() local 141 .getPackageManager().queryIntentActivities(queryIntent, MATCH_EPHEMERAL); in testQuery() 162 final Intent queryIntent = new Intent(ACTION_QUERY); in testQuery() local 163 queryIntent.setPackage(EPHEMERAL_1_PKG); in testQuery() 165 .getPackageManager().queryIntentActivities(queryIntent, 0 /*flags*/); in testQuery() 171 final Intent queryIntent = new Intent(ACTION_QUERY); in testQuery() local 172 queryIntent.setComponent( in testQuery() 176 .getPackageManager().queryIntentActivities(queryIntent, 0 /*flags*/); in testQuery() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/UserAppTest/src/com/android/cts/userapptest/ |
D | ClientTest.java | 42 final Intent queryIntent = new Intent(ACTION_QUERY_ACTIVITY); in testQueryInstant() local 44 .getContext().getPackageManager().queryIntentActivities(queryIntent, 0 /*flags*/); in testQueryInstant() 52 final Intent queryIntent = new Intent(ACTION_QUERY_ACTIVITY); in testQueryFull() local 54 .getContext().getPackageManager().queryIntentActivities(queryIntent, 0 /*flags*/); in testQueryFull()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 139 final Intent queryIntent = new Intent(ACTION_QUERY); in testQuery() local 141 .getPackageManager().queryIntentActivities(queryIntent, 0 /*flags*/); in testQuery() 162 final Intent queryIntent = new Intent(ACTION_QUERY); in testQuery() local 164 .getPackageManager().queryIntentActivities(queryIntent, 0 /*flags*/); in testQuery() 185 final Intent queryIntent = new Intent(ACTION_QUERY); in testQuery() local 187 .getPackageManager().queryIntentActivities(queryIntent, 0 /*flags*/); in testQuery() 208 final Intent queryIntent = new Intent(Intent.ACTION_VIEW); in testQuery() local 209 queryIntent.addCategory(Intent.CATEGORY_BROWSABLE); in testQuery() 210 queryIntent.setData(Uri.parse("https://cts.google.com/ephemeral")); in testQuery() 213 queryIntent, PackageManager.GET_RESOLVED_FILTER); in testQuery() [all …]
|
/cts/tests/tests/car/src/android/car/app/cts/ |
D | MultiUserMultiDisplayWindowSecurityTest.java | 272 Intent queryIntent = new Intent(Intent.ACTION_MAIN); in getPassengerLauncherPackageName() local 273 queryIntent.addCategory(Intent.CATEGORY_SECONDARY_HOME); in getPassengerLauncherPackageName() 275 .queryIntentActivities(queryIntent, /* flags= */ 0); in getPassengerLauncherPackageName()
|
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/ |
D | TestActivity.java | 165 final Intent queryIntent = intent.getParcelableExtra(Intent.EXTRA_INTENT, Intent.class); in handleIntent() local 208 sendQueryIntentActivities(remoteCallback, queryIntent); in handleIntent() 210 sendQueryIntentServices(remoteCallback, queryIntent); in handleIntent() 212 sendQueryIntentProviders(remoteCallback, queryIntent); in handleIntent() 215 startActivity(queryIntent); in handleIntent() 224 sendGetInstalledPackages(remoteCallback, queryIntent.getIntExtra(EXTRA_FLAGS, 0)); in handleIntent() 643 private void sendQueryIntentActivities(RemoteCallback remoteCallback, Intent queryIntent) { in sendQueryIntentActivities() argument 645 queryIntent, ResolveInfoFlags.of(0)).stream() in sendQueryIntentActivities() 655 private void sendQueryIntentServices(RemoteCallback remoteCallback, Intent queryIntent) { in sendQueryIntentServices() argument 657 queryIntent, ResolveInfoFlags.of(0)).stream() in sendQueryIntentServices() [all …]
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | AppEnumerationTests.java | 1571 private String[] queryIntentActivities(String sourcePackageName, Intent queryIntent) in queryIntentActivities() argument 1574 sendCommandBlocking(sourcePackageName, null, queryIntent, ACTION_QUERY_ACTIVITIES); in queryIntentActivities() 1578 private String[] queryIntentServices(String sourcePackageName, Intent queryIntent) in queryIntentServices() argument 1580 Bundle response = sendCommandBlocking(sourcePackageName, null, queryIntent, in queryIntentServices() 1585 private String[] queryIntentProviders(String sourcePackageName, Intent queryIntent) in queryIntentProviders() argument 1587 Bundle response = sendCommandBlocking(sourcePackageName, null, queryIntent, in queryIntentProviders()
|