Home
last modified time | relevance | path

Searched refs:REQUEST_CODE (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DEuiccTestResolutionActivity.java40 private static final int REQUEST_CODE = 100; field in EuiccTestResolutionActivity
60 if (requestCode == REQUEST_CODE) { in onActivityResult()
87 euiccManager.startResolutionActivity(this, REQUEST_CODE, resultIntent, callbackIntent); in testStartResolutionActivity()
96 …getApplicationContext(), REQUEST_CODE, intent, PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.F… in createCallbackIntent()
DEuiccManagerTest.java53 private static final int REQUEST_CODE = 0; field in EuiccManagerTest
484 …getContext(), REQUEST_CODE, intent, PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_MUTABLE… in createCallbackIntent()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/devicepolicy/provisioning/
DStartProvisioningActivity.java30 private static final int REQUEST_CODE = 1; field in StartProvisioningActivity
56 startActivityForResult(provisioningIntent, REQUEST_CODE); in onCreate()
63 if (requestCode == REQUEST_CODE) { in onActivityResult()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java216 mActivity.startActivityForResult(intent, REQUEST_CODE); in testOpenSimple()
256 mActivity.startActivityForResult(intent, REQUEST_CODE); in testOpenVirtual()
298 mActivity.startActivityForResult(intent, REQUEST_CODE); in testCreateNew()
322 mActivity.startActivityForResult(intent, REQUEST_CODE); in testCreateExisting()
350 mActivity.startActivityForResult(intent, REQUEST_CODE); in testTree()
427 mActivity.startActivityForResult(intent, REQUEST_CODE); in testRestrictStorageAccessFrameworkEnabled_blockFromTree()
475 mActivity.startActivityForResult(intent, REQUEST_CODE); in testRestrictStorageAccessFrameworkDisabled_notBlockFromTree()
521 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetContent_rootsShowing()
555 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetContentWithQuery_matchingFileShowing()
572 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetContent_returnsResultToCallingActivity()
[all …]
DDocumentsClientTestCase.java49 protected static final int REQUEST_CODE = 42; field in DocumentsClientTestCase
181 assertEquals(REQUEST_CODE, result.requestCode); in assertActivityFailed()
188 assertEquals(prefix + ": invalid request code", REQUEST_CODE, result.requestCode); in assertActivitySucceeded()
DScopedDirectoryAccessClientTest.java105 mActivity.startActivityForResult(intent, REQUEST_CODE); in sendOpenExternalDirectoryIntent()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DUriGrantsResultTest.java44 private static final int REQUEST_CODE = 42; field in UriGrantsResultTest
100 mActivity.startActivityForResult(intent, REQUEST_CODE); in assertGrantableToResultInternal()
148 mActivity.startActivityForResult(intent, REQUEST_CODE); in assertNotGrantableToResultInternal()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DPackageInstallTest.java24 private static final int REQUEST_CODE = 0; field in PackageInstallTest
127 REQUEST_CODE, in getCommitCallback()
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateImagesActivity.java42 private static final int REQUEST_CODE = 1; field in GenerateImagesActivity
161 startActivityForResult(intent, REQUEST_CODE); in launchThemeDeviceActivity()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java85 private static final int REQUEST_CODE = 42; field in MediaStoreUiTest
219 mActivity.startActivityForResult(intent, REQUEST_CODE); in testGetMediaUriAccess_MediaDocumentsProvider()
348 mActivity.startActivityForResult(intent, REQUEST_CODE); in acquireAccess()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java806 int REQUEST_CODE = 1; in testGetManageSpaceActivityIntent() local
812 () -> mStorageManager.getManageSpaceActivityIntent(packageName, REQUEST_CODE)); in testGetManageSpaceActivityIntent()
824 REQUEST_CODE)); in testGetManageSpaceActivityIntent()
827 REQUEST_CODE); in testGetManageSpaceActivityIntent()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java96 protected static final int REQUEST_CODE = 42; field in DownloadManagerTestBase
DDownloadManagerTest.java718 activity.startActivityForResult(intent, REQUEST_CODE); in testDownload_onMediaStoreDownloadsDeleted()