Home
last modified time | relevance | path

Searched refs:EXTRA_FLAGS (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/
DQuietModeCommandReceiver.java34 private static final String EXTRA_FLAGS = "quiet_mode_flags"; field in QuietModeCommandReceiver
44 final boolean hasFlags = intent.hasExtra(EXTRA_FLAGS); in onReceive()
45 final int flags = hasFlags ? intent.getIntExtra(EXTRA_FLAGS, 0) : 0; in onReceive()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DLauncherAppsEnumerationTests.java32 import static android.appenumeration.cts.Constants.EXTRA_FLAGS;
105 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_INVALID)); in callback_added_notVisibleNotReceives()
118 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_PACKAGE_ADDED)); in callback_added_visibleReceives()
133 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_INVALID)); in callback_removed_notVisibleNotReceives()
146 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_PACKAGE_REMOVED)); in callback_removed_visibleReceives()
160 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_INVALID)); in callback_changed_notVisibleNotReceives()
172 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_PACKAGE_CHANGED)); in callback_changed_visibleReceives()
187 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_INVALID)); in callback_suspended_notVisibleNotReceives()
203 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_PACKAGES_SUSPENDED)); in callback_suspended_visibleReceives()
220 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_INVALID)); in callback_unsuspended_notVisibleNotReceives()
[all …]
DAppEnumerationTests.java65 import static android.appenumeration.cts.Constants.EXTRA_FLAGS;
1594 new Intent().putExtra(EXTRA_FLAGS, flags), ACTION_GET_INSTALLED_PACKAGES); in getInstalledPackages()
/cts/tests/app/app/src/android/app/stubs/
DCommandReceiver.java103 public static final String EXTRA_FLAGS = "android.app.stubs.extra.FLAGS"; field in CommandReceiver
714 return intent.getIntExtra(EXTRA_FLAGS, 0); in getFlags()
751 intent.putExtra(EXTRA_FLAGS, flags); in makeIntent()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DConstants.java341 public static final String EXTRA_FLAGS = "flags"; field in Constants
DTestActivity.java49 import static android.appenumeration.cts.Constants.EXTRA_FLAGS;
224 sendGetInstalledPackages(remoteCallback, queryIntent.getIntExtra(EXTRA_FLAGS, 0)); in handleIntent()
328 .getInt(EXTRA_FLAGS, CALLBACK_EVENT_INVALID); in handleIntent()
574 result.putInt(EXTRA_FLAGS, resultCode); in awaitLauncherAppsCallback()
625 result.putInt(EXTRA_FLAGS, CALLBACK_EVENT_INVALID); in awaitLauncherAppsCallback()
/cts/tests/app/src/android/app/cts/
DActivityManagerProcessStateTest.java1941 bundle.putInt(CommandReceiver.EXTRA_FLAGS, Context.BIND_INCLUDE_CAPABILITIES); in testFgsLocationBind()
2009 bundle.putInt(CommandReceiver.EXTRA_FLAGS, Context.BIND_INCLUDE_CAPABILITIES); in testTopBind()