Home
last modified time | relevance | path

Searched refs:statusCode (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/drm/src/android/drm/cts/
DDrmInfoStatusTest.java42 private static void checkInvalidStatusCode(int statusCode) throws Exception { in checkInvalidStatusCode() argument
45 statusCode, DEFAULT_TYPE, DEFAULT_DATA, DEFAULT_MIME); in checkInvalidStatusCode()
47 fail("Status code " + statusCode + " was accepted for DrmInfoStatus"); in checkInvalidStatusCode()
53 private static void checkValidStatusCode(int statusCode) throws Exception { in checkValidStatusCode() argument
55 statusCode, DEFAULT_TYPE, DEFAULT_DATA, DEFAULT_MIME); in checkValidStatusCode()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0963/src/android/security/cts/CVE_2021_0963/
DPocStatus.java20 int statusCode; field in PocStatus
24 statusCode = status; in PocStatus()
29 return statusCode; in getStatusCode()
/cts/tests/wearable/src/android/wearable/cts/
DWearableSensingManagerIsolatedServiceTest.java189 (statusCode) -> { in provideConnection_canReceiveStatusFromWss()
190 statusCodeRef.set(statusCode); in provideConnection_canReceiveStatusFromWss()
213 mSocketPair[1], EXECUTOR, (statusCode) -> statusCodeLatch.countDown()); in provideConnection_otherEndAttachedToCdm_canReceiveDataInWss()
238 mSocketPair[1], EXECUTOR, (statusCode) -> statusCodeLatch.countDown()); in provideConnection_otherEndAttachedToCdm_canReceiveDataFromWss()
266 (statusCode) -> { in provideConnection_wearableStreamClosedThenSendDataFromWss_channelErrorStatus()
267 statusCodeRef.set(statusCode); in provideConnection_wearableStreamClosedThenSendDataFromWss_channelErrorStatus()
299 mSocketPair[1], EXECUTOR, (statusCode) -> statusLatch.countDown()); in provideConnection_wearableStreamClosedThenSendDataFromWss_restartWssProcess()
332 (statusCode) -> { in provideConnection_wssStreamClosed_channelErrorStatus()
333 statusCodeRef.set(statusCode); in provideConnection_wssStreamClosed_channelErrorStatus()
359 (statusCode) -> { in provideConnection_restartsWssProcess()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DSipMessageUtils.java155 public static SipMessage generateSipResponse(String statusCode, String statusString, in generateSipResponse() argument
167 return new SipMessage("SIP/2.0 " + statusCode + " " + statusString, header, in generateSipResponse()
177 public static SipMessage generateSipResponse(String statusCode, String statusString, in generateSipResponse() argument
179 return generateSipResponse(statusCode, statusString, attr.fromHeader, in generateSipResponse()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0953/src/android/security/cts/CVE_2021_0953/
DDeviceTest.java81 private int statusCode; field in DeviceTest.PocStatus
85 statusCode = status; in setStatusCode()
93 return statusCode; in getStatusCode()
DPocActivity.java251 private void sendTestResult(int statusCode, String errorMessage) { in sendTestResult() argument
256 res.putInt(getString(R.string.status_key), statusCode); in sendTestResult() local
/cts/tests/wallpapereffectsgeneration/src/android/wallpapereffectsgeneration/cts/
DCinematicEffectResponseTest.java49 final int statusCode = CinematicEffectResponse.CINEMATIC_EFFECT_STATUS_OK; in testCreateCinematicEffectResponse() local
105 new CinematicEffectResponse.Builder(statusCode, taskId) in testCreateCinematicEffectResponse()
113 assertThat(response.getStatusCode()).isEqualTo(statusCode); in testCreateCinematicEffectResponse()
156 assertThat(copy.getStatusCode()).isEqualTo(statusCode); in testCreateCinematicEffectResponse()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20004/test-app/src/android/security/cts/CVE_2022_20004_test/
DPocActivity.java116 private void sendTestResult(int statusCode, String errorMessage) { in sendTestResult() argument
125 res.putInt(getString(R.string.status_key), statusCode); in sendTestResult() local
/cts/tests/contentsuggestions/src/android/contentsuggestions/cts/
DContentSuggestionsManagerTest.java149 ContentSuggestionsManager.SelectionsCallback callback = (statusCode, selections) -> {}; in managerForwards_suggestContentSelections()
161 (statusCode, classifications) -> {}; in managerForwards_classifyContentSelections()
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/
DUninstallTest.java337 int statusCode = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, -100); in onReceive() local
338 switch (statusCode) { in onReceive()
346 default -> Log.e(UninstallTest.LOG_TAG, "Unexpected status: " + statusCode); in onReceive()
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/telemetry/
DCarTelemetryManagerPermissionTest.java58 (metricsConfigName, statusCode) -> { })); in testAddMetricsConfig()
/cts/tests/tests/car/src/android/car/cts/
DCarTelemetryManagerTest.java293 public void onAddMetricsConfigStatus(@NonNull String metricsConfigName, int statusCode) { in onAddMetricsConfigStatus() argument
294 mAddConfigStatusMap.put(metricsConfigName, statusCode); in onAddMetricsConfigStatus()
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTestService.java163 public void onFailure(int statusCode) {
/cts/tests/tests/vcn/src/android/net/vcn/cts/
DVcnManagerTest.java522 public void onStatusChanged(int statusCode) { in onStatusChanged() argument
523 mOnStatusChangedHistory.offer(statusCode); in onStatusChanged()
585 final int statusCode = callback.awaitOnStatusChanged(); in testRegisterVcnStatusCallback() local
586 assertEquals(VcnManager.VCN_STATUS_CODE_NOT_CONFIGURED, statusCode); in testRegisterVcnStatusCallback()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1205 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in convertDmToFl()
1210 if (result.statusCode != DrmConvertedStatus.STATUS_OK) { in convertDmToFl()
1211 Log.w(TAG, "Conversion failed with status: " + result.statusCode); in convertDmToFl()
1237 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in convertDmToFl()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java817 int statusCode = HttpStatus.SC_MOVED_TEMPORARILY; in getResponse() local
823 statusCode = parsedStatusCode; in getResponse()
830 response = createResponse(statusCode); in getResponse()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java1490 int statusCode = WifiManager.AddNetworkResult.STATUS_NO_PERMISSION; in testAddNetworkResultCreation() local
1493 statusCode, networkId); in testAddNetworkResultCreation()
1494 assertEquals("statusCode should match", statusCode, result.statusCode); in testAddNetworkResultCreation()
1824 assertEquals(WifiManager.AddNetworkResult.STATUS_SUCCESS, result.statusCode); in testAddNetworkPrivilegedSuccess()
1941 assertEquals(WifiManager.AddNetworkResult.STATUS_SUCCESS, result.statusCode); in testAddNetworkPrivilegedMergingTypeSuccess()
1947 assertEquals(WifiManager.AddNetworkResult.STATUS_SUCCESS, result.statusCode); in testAddNetworkPrivilegedMergingTypeSuccess()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dwifi-current.txt648 field public final int statusCode;
Dcurrent.txt15053 field @Deprecated public final int statusCode;
15128 field @Deprecated public final int statusCode;