Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 88) sorted by relevance

1234

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DPoc19_05.java35 int code = AdbUtils.runProxyAutoConfig("CVE-2019-2052", getDevice()); in testPocCVE_2019_2052() local
36 assertTrue(code != 139); // 128 + signal 11 in testPocCVE_2019_2052()
45 int code = AdbUtils.runProxyAutoConfig("CVE-2019-2045", getDevice()); in testPocCVE_2019_2045() local
46 assertTrue(code != 139); // 128 + signal 11 in testPocCVE_2019_2045()
55 int code = AdbUtils.runProxyAutoConfig("CVE-2019-2047", getDevice()); in testPocCVE_2019_2047() local
56 assertTrue(code != 139); // 128 + signal 11 in testPocCVE_2019_2047()
77 int code = AdbUtils.runProxyAutoConfig("CVE-2019-2051", getDevice()); in testPocCVE_2019_2051() local
78 assertTrue(code != 139); // 128 + signal 11 in testPocCVE_2019_2051()
DPoc19_11.java35 int code = AdbUtils.runProxyAutoConfig("bug_138441919", getDevice()); in testPocBug_138441919() local
36 assertTrue(code != 139); // 128 + signal 11 in testPocBug_138441919()
45 int code = AdbUtils.runProxyAutoConfig("bug_139806216", getDevice()); in testPocBug_139806216() local
46 assertTrue(code != 139 && code != 135); // 128 + signal 11, 128 + signal 7 in testPocBug_139806216()
DPoc19_06.java35 int code = AdbUtils.runProxyAutoConfig("CVE-2019-2097", getDevice()); in testPocCVE_2019_2097() local
36 assertTrue(code != 139); // 128 + signal 11 in testPocCVE_2019_2097()
DPoc19_08.java35 int code = AdbUtils.runProxyAutoConfig("CVE-2019-2130", getDevice()); in testPocCVE_2019_2130() local
36 assertTrue(code != 139); // 128 + signal 11 in testPocCVE_2019_2130()
DPoc18_10.java52 int code = AdbUtils.runProxyAutoConfig("CVE-2018-9490", getDevice()); in testPocCVE_2018_9490() local
53 assertTrue(code != 139); // 128 + signal 11 in testPocCVE_2018_9490()
DPoc17_04.java73 int code = AdbUtils.runCommandGetExitCode("/data/local/tmp/CVE-2017-0477", getDevice()); in testPocCVE_2017_0477() local
74 assertTrue(code != 139); // 128 + signal 11 in testPocCVE_2017_0477()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DStreamingVideoActivity.java62 public final String code; field in StreamingVideoActivity.Stream
69 public Stream(String name, String code, String uri) { in Stream() argument
71 this.code = code; in Stream()
84 && code.equals(stream.code) in equals()
91 return name.hashCode() ^ uri.hashCode() ^ code.hashCode(); in hashCode()
210 ArrayTestListAdapter adapter, String name, String code, int itag, String signature) {
215 Stream stream = new Stream(name, code, rtspUrl);
222 streams.add(TestListItem.newTest(stream.name, PlayVideoActivity.getTestId(stream.code),
/cts/tests/attentionservice/src/android/attentionservice/cts/
DCtsTestAttentionService.java47 public static void respondSuccess(int code) { in respondSuccess() argument
49 sCurrentCallback.onSuccess(code, 0); in respondSuccess()
54 public static void respondFailure(int code) { in respondFailure() argument
56 sCurrentCallback.onFailure(code); in respondFailure()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DEasyConnectStatusCallbackTest.java83 public void onConfiguratorSuccess(int code) {
88 public void onProgress(int code) {
93 public void onFailure(int code) {
96 mErrorCode = code;
101 public void onFailure(int code, String ssid, SparseArray<int[]> channelListArray,
105 mErrorCode = code;
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0226/
Dpoc.cpp36 uint32_t code = 2, flags = 0; in main() local
39 service->transact(code, data1, &reply1, flags); in main()
52 binder->transact(code, data2, &reply2, flags); in main()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DIcmpMessage.java27 int code; field in IcmpMessage
33 code = stream.readUnsignedByte(); in IcmpMessage()
57 stream.writeByte(code); in getEncoded()
75 out.append("\n Code: "); out.append(code); in toString()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DAndroid.mk39 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundred --replace-version
71 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundredRevisionTwelve --replace-version
100 LOCAL_AAPT_FLAGS := --version-code 101 --version-name OneHundredOne --replace-version
129 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundred --replace-version
158 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundredRevisionTwelve --replace-version
/cts/tests/tests/media/libaudiojni/
Dsl-utils.cpp62 const char *getSLErrStr(int code) { in getSLErrStr() argument
63 if ((size_t)code >= ARRAY_SIZE(gErrorStrings)) { in getSLErrStr()
66 return gErrorStrings[code]; in getSLErrStr()
/cts/tests/tests/media/libndkaudio/
DOpenSLESUtils.cpp45 const char * getSLErrStr(int code) { in getSLErrStr() argument
46 return errStrings[code]; in getSLErrStr()
/cts/tests/tests/os/src/android/os/cts/
DLocalService.java49 protected boolean onTransact(int code, Parcel data, Parcel reply,
51 if (code == SET_REPORTER_CODE) {
56 return super.onTransact(code, data, reply, flags);
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleService.java42 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags)
44 switch (code) {
49 return super.onTransact(code, data, reply, flags);
DSimpleService3.java47 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags)
49 switch (code) {
54 return super.onTransact(code, data, reply, flags);
/cts/tests/tests/gwp-asan/enabled/src/android/gwpasan/
DGwpAsanDefaultService.java40 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) { in onTransact() argument
41 if (code == 42) { in onTransact()
DGwpAsanDisabledService.java40 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) { in onTransact() argument
41 if (code == 42) { in onTransact()
DGwpAsanEnabledService.java40 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) { in onTransact() argument
41 if (code == 42) { in onTransact()
/cts/hostsidetests/jvmti/base/jni/
DAndroid.bp51 "-Wunreachable-code",
60 "-Wunreachable-code-break",
61 "-Wunreachable-code-return",
/cts/tests/app/AppExitTest/src/android/app/cts/
DMemoryConsumerService.java53 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags)
55 switch (code) {
75 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument
77 switch (code) { in onTransact()
/cts/tests/app/app/src/android/app/stubs/
DLocalService.java65 protected boolean onTransact(int code, Parcel data, Parcel reply,
67 switch (code) {
103 return super.onTransact(code, data, reply, flags);
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsSuppServiceNotificationTest.java50 assertEquals(data.code, unparceledData.code); in testParcelUnparcel()
/cts/hostsidetests/jvmti/attaching/
DAndroid.bp57 "-Wunreachable-code",
66 "-Wunreachable-code-break",
67 "-Wunreachable-code-return",

1234