Home
last modified time | relevance | path

Searched refs:EXTRA_ID (Results 1 – 11 of 11) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DEnterprisePrivacyInfoOnlyTestActivity.java30 public static final String EXTRA_ID = "id"; field in EnterprisePrivacyInfoOnlyTestActivity
43 if (!intent.hasExtra(EXTRA_ID) in onCreate()
50 mTestId = intent.getStringExtra(EXTRA_ID); in onCreate()
DDeviceOwnerNegativeTestActivity.java82 .putExtra(IntentDrivenTestActivity.EXTRA_ID, in addTestsToAdapter()
95 .putExtra(EnterprisePrivacyInfoOnlyTestActivity.EXTRA_ID, in addTestsToAdapter()
DUtils.java55 .putExtra(IntentDrivenTestActivity.EXTRA_ID, id) in createInteractiveTestItem()
/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/
DTestAlarmReceiver.java32 public static final String EXTRA_ID = PACKAGE_NAME + ".extra.ID"; field in TestAlarmReceiver
37 final long id = intent.getLongExtra(EXTRA_ID, -1); in onReceive()
DTestAlarmScheduler.java52 receiverIntent.putExtra(TestAlarmReceiver.EXTRA_ID, id); in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DIntentDrivenTestActivity.java43 public static final String EXTRA_ID = "id"; field in IntentDrivenTestActivity
49 EXTRA_ID, EXTRA_TITLE, EXTRA_INFO, EXTRA_BUTTONS
63 mTestId = intent.getStringExtra(EXTRA_ID); in onCreate()
250 .putExtra(IntentDrivenTestActivity.EXTRA_ID, nonEmpty("testId", testId)) in newIntent()
288 .append(intent.hasExtra(EXTRA_ID) ? intent.getStringExtra(EXTRA_ID) : "N/A") in toString()
/cts/apps/NotificationBot/src/com/android/cts/robot/
DNotificationBot.java40 private static final String EXTRA_ID = "ID"; field in NotificationBot
65 if (!intent.hasExtra(EXTRA_NOTIFICATION) || !intent.hasExtra(EXTRA_ID)) { in onReceive()
69 int id = intent.getIntExtra(EXTRA_ID, -1); in onReceive()
79 int id = intent.getIntExtra(EXTRA_ID, -1); in onReceive()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DLauncherAppsEnumerationTests.java33 import static android.appenumeration.cts.Constants.EXTRA_ID;
250 assertThat(response.getInt(EXTRA_ID), equalTo(PackageInstaller.SessionInfo.INVALID_ID)); in sessionCallback_queriesNothing_cannotSeeSession()
268 assertThat(response.getInt(EXTRA_ID), equalTo(sessionId)); in sessionCallback_queriesNothingHasPermission_canSeeSession()
286 assertThat(response.getInt(EXTRA_ID), equalTo(sessionId)); in sessionCallback_queriesPackage_canSeeSession()
304 assertThat(response.getInt(EXTRA_ID), equalTo(sessionId)); in sessionCallback_queriesNothingTargetsQ_canSeeSession()
532 extra.putInt(EXTRA_ID, expectedSessionId); in sendCommandAndWaitForLauncherAppsSessionCallback()
DAppEnumerationTestsBase.java23 import static android.appenumeration.cts.Constants.EXTRA_ID;
222 extraData.putInt(EXTRA_ID, sessionId); in getSessionInfos()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DConstants.java346 public static final String EXTRA_ID = "id"; field in Constants
DTestActivity.java50 import static android.appenumeration.cts.Constants.EXTRA_ID;
390 .getInt(EXTRA_ID, SessionInfo.INVALID_ID); in handleIntent()
395 .getInt(EXTRA_ID, SessionInfo.INVALID_ID); in handleIntent()
1120 result.putInt(EXTRA_ID, sessionId); in awaitLauncherAppsSessionCallback()
1132 result.putInt(EXTRA_ID, SessionInfo.INVALID_ID); in awaitLauncherAppsSessionCallback()