Home
last modified time | relevance | path

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

123456

/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DStreamingVideoActivity.java61 public final String code; field in StreamingVideoActivity.Stream
68 public Stream(String name, String code, String uri) { in Stream() argument
70 this.code = code; in Stream()
83 && code.equals(stream.code) in equals()
90 return name.hashCode() ^ uri.hashCode() ^ code.hashCode(); in hashCode()
200 ArrayTestListAdapter adapter, String name, String code, int itag, String signature) {
205 Stream stream = new Stream(name, code, rtspUrl);
212 streams.add(TestListItem.newTest(stream.name, PlayVideoActivity.getTestId(stream.code),
/cts/tests/tests/security/src/android/security/cts/
DCVE_2021_0521.java43 int code = -1; in getFunctionCode() local
48 code = field.getInt(c); in getFunctionCode()
52 return code; in getFunctionCode()
75 int code = getFunctionCode(desciption + "$Stub"); in testPocCVE_2021_0521() local
76 assumeThat(code, not(is(-1))); in testPocCVE_2021_0521()
80 if (pmsBinder.transact(code, send, reply, 0)) { in testPocCVE_2021_0521()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DAndroid.bp58 "--version-code 100",
74 // Define a variant with a different revision code
81 "--version-code 100",
82 "--revision-code 12",
95 // Define a variant with a different version code
102 "--version-code 101",
122 "--version-code 100",
143 "--version-code 100",
173 "--version-code 100",
174 "--revision-code 10",
[all …]
/cts/tests/rotationresolverservice/src/android/rotationresolverservice/cts/
DCtsTestRotationResolverService.java55 public static void respondSuccess(int code) { in respondSuccess() argument
57 sCurrentCallback.onSuccess(code); in respondSuccess()
62 public static void respondFailure(int code) { in respondFailure() argument
64 sCurrentCallback.onFailure(code); in respondFailure()
/cts/tests/attentionservice/src/android/attentionservice/cts/
DCtsTestAttentionService.java69 public static void respondSuccess(int code) { in respondSuccess() argument
71 sCurrentAttentionCallback.onSuccess(code, 0); in respondSuccess()
76 public static void respondFailure(int code) { in respondFailure() argument
78 sCurrentAttentionCallback.onFailure(code); in respondFailure()
/cts/tests/mediapc/src/android/mediapc/cts/
DKeyRequester.java178 Log.d(TAG, "RESPONSE_CODE: " + Integer.toString(mResponse.code)); in sendRequest()
181 if (mResponse.code != 200) { in sendRequest()
183 mResponse.code, in sendRequest()
184 "Server returned HTTP error code " + mResponse.code, in sendRequest()
190 mResponse.code, "No response from license service!", null); in sendRequest()
195 mResponse.code, "Empty response from license service!", in sendRequest()
289 Locale.getDefault(), failed_template, response.code, "NULL or EMPTY"); in logLicensingResponse()
290 } else if (response.code < 400) { in logLicensingResponse()
293 myResponse = String.format(Locale.getDefault(), failed_template, response.code, in logLicensingResponse()
DPost.java44 public final int code; field in Post.Response
47 public Response(int code, byte[] body) { in Response() argument
48 this.code = code; in Response()
/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/hostsidetests/appsecurity/test-apps/SplitApp/requiredsplittype/
DAndroid.bp29 "--version-code 100",
48 "--version-code 100",
49 "--revision-code 10",
68 "--version-code 100",
69 "--revision-code 10",
/cts/tests/tests/view/jni/
Dandroid_view_cts_InputDeviceKeyLayoutMapTest.cpp48 std::string type, code, label, flags; in loadGenericKl() local
50 ssLine >> type >> code >> label >> flags; in loadGenericKl()
58 if (code == "usage") { in loadGenericKl()
67 result.emplace(std::stoi(code), label); in loadGenericKl()
/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/feature_warm/
DAndroid.bp42 "--version-code 100",
64 "--version-code 100",
65 "--revision-code 12",
97 "--version-code 100",
98 "--revision-code 10",
/cts/tests/tests/media/audio/jni/
DOpenSLESUtils.cpp45 const char * getSLErrStr(int code) { in getSLErrStr() argument
46 return errStrings[code]; in getSLErrStr()
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/wifi/src/android/net/wifi/cts/
DEasyConnectStatusCallbackTest.java97 public void onConfiguratorSuccess(int code) {
102 public void onProgress(int code) {
107 public void onFailure(int code) {
110 mErrorCode = code;
116 public void onFailure(int code, String ssid, SparseArray<int[]> channelListArray,
120 mErrorCode = code;
/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/tests/tests/hardware/src/android/hardware/input/cts/virtualcreators/
DVirtualInputEventCreator.java183 public static KeyEvent createKeyboardEvent(int action, int code) { in createKeyboardEvent() argument
184 return createKeyEvent(action, code, InputDevice.SOURCE_KEYBOARD); in createKeyboardEvent()
187 public static KeyEvent createDpadEvent(int action, int code) { in createDpadEvent() argument
188 return createKeyEvent(action, code, InputDevice.SOURCE_KEYBOARD | InputDevice.SOURCE_DPAD); in createDpadEvent()
191 private static KeyEvent createKeyEvent(int action, int code, int source) { in createKeyEvent() argument
196 code, in createKeyEvent()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleService.java43 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags)
45 switch (code) {
50 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/binder_ndk/src/android/binder/cts/
DILegacyBinder.java47 public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) in onTransact() argument
49 switch (code) { in onTransact()
55 return super.onTransact(code, data, reply, flags); in onTransact()
/cts/tests/framework/base/windowmanager/shared/src/android/server/wm/shared/
DBlockingResultReceiver.java42 protected void onReceiveResult(int code, Bundle data) { in onReceiveResult() argument
43 mFuture.complete(new Pair<>(code, data)); in onReceiveResult()
/cts/tests/app/app/src/android/app/stubs/
DRemoteActivity.java37 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags)
39 switch (code) {
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/mips64/
DAndroid.bp37 "--version-code 100",
54 "--version-code 100",
56 "--revision-code 12",
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/arm64-v8a/
DAndroid.bp38 "--version-code 100",
55 "--version-code 100",
57 "--revision-code 12",
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/mips/
DAndroid.bp37 "--version-code 100",
54 "--version-code 100",
56 "--revision-code 12",

123456