Searched refs:EXTRA_FLAGS (Results 1 – 7 of 7) sorted by relevance
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/ |
D | QuietModeCommandReceiver.java | 34 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/ |
D | LauncherAppsEnumerationTests.java | 32 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 …]
|
D | AppEnumerationTests.java | 65 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/ |
D | CommandReceiver.java | 103 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/ |
D | Constants.java | 341 public static final String EXTRA_FLAGS = "flags"; field in Constants
|
D | TestActivity.java | 49 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/ |
D | ActivityManagerProcessStateTest.java | 1941 bundle.putInt(CommandReceiver.EXTRA_FLAGS, Context.BIND_INCLUDE_CAPABILITIES); in testFgsLocationBind() 2009 bundle.putInt(CommandReceiver.EXTRA_FLAGS, Context.BIND_INCLUDE_CAPABILITIES); in testTopBind()
|