Searched refs:queryIntent (Results 1 – 5 of 5) 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/appenumeration/app/source/src/android/appenumeration/cts/query/ |
D | TestActivity.java | 132 final Intent queryIntent = intent.getParcelableExtra(Intent.EXTRA_INTENT); in handleIntent() local 174 sendQueryIntentActivities(remoteCallback, queryIntent); in handleIntent() 176 sendQueryIntentServices(remoteCallback, queryIntent); in handleIntent() 178 sendQueryIntentProviders(remoteCallback, queryIntent); in handleIntent() 181 startActivity(queryIntent); in handleIntent() 190 sendGetInstalledPackages(remoteCallback, queryIntent.getIntExtra(EXTRA_FLAGS, 0)); in handleIntent() 411 private void sendQueryIntentActivities(RemoteCallback remoteCallback, Intent queryIntent) { in sendQueryIntentActivities() argument 413 queryIntent, 0 /* flags */).stream() in sendQueryIntentActivities() 423 private void sendQueryIntentServices(RemoteCallback remoteCallback, Intent queryIntent) { in sendQueryIntentServices() argument 425 queryIntent, 0 /* flags */).stream() in sendQueryIntentServices() [all …]
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | AppEnumerationTests.java | 1295 private String[] queryIntentActivities(String sourcePackageName, Intent queryIntent) in queryIntentActivities() argument 1298 sendCommandBlocking(sourcePackageName, null, queryIntent, ACTION_QUERY_ACTIVITIES); in queryIntentActivities() 1302 private String[] queryIntentServices(String sourcePackageName, Intent queryIntent) in queryIntentServices() argument 1304 Bundle response = sendCommandBlocking(sourcePackageName, null, queryIntent, in queryIntentServices() 1309 private String[] queryIntentProviders(String sourcePackageName, Intent queryIntent) in queryIntentProviders() argument 1311 Bundle response = sendCommandBlocking(sourcePackageName, null, queryIntent, in queryIntentProviders()
|