Searched defs:code (Results 151 - 175 of 277) sorted by relevance

1234567891011>>

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DSoundTriggerService.java107 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
110 return super.onTransact(code, data, reply, flags);
/frameworks/base/telecomm/java/android/telecom/
H A DDisconnectCause.java27 * Describes the cause of a disconnected call. This always includes a code describing the generic
79 * Reason code (returned via {@link #getReason()}) which indicates that a call could not be
95 * @param code The code for the disconnect cause.
97 public DisconnectCause(int code) { argument
98 this(code, null, null, null, ToneGenerator.TONE_UNKNOWN);
104 * @param code The code for the disconnect cause.
107 public DisconnectCause(int code, String reason) { argument
108 this(code, nul
119 DisconnectCause(int code, CharSequence label, CharSequence description, String reason) argument
132 DisconnectCause(int code, CharSequence label, CharSequence description, String reason, int toneToPlay) argument
[all...]
/frameworks/native/include/binder/
H A DTextOutput.h83 inline TypeCode(uint32_t code);
175 inline TypeCode::TypeCode(uint32_t code) : mCode(code) { } argument
/frameworks/native/libs/binder/
H A DBinder.cpp119 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
124 switch (code) {
129 err = onTransact(code, data, reply, flags);
212 uint32_t code, const Parcel& data, Parcel* reply, uint32_t /*flags*/)
214 switch (code) {
118 transact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
211 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t ) argument
H A DBpBinder.cpp161 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
166 mHandle, code, data, reply, flags);
160 transact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/native/libs/binder/include/binder/
H A DTextOutput.h83 inline TypeCode(uint32_t code);
175 inline TypeCode::TypeCode(uint32_t code) : mCode(code) { } argument
/frameworks/native/libs/input/
H A DKeyLayoutMap.cpp251 int32_t code = int32_t(strtol(codeToken.string(), &end, 0)); local
254 mapUsage ? "usage" : "scan code", codeToken.string());
258 if (map.indexOfKey(code) >= 0) {
260 mapUsage ? "usage" : "scan code", codeToken.string());
268 ALOGE("%s: Expected key code label, got '%s'.", mTokenizer->getLocation().string(),
294 ALOGD("Parsed key %s: code=%d, keyCode=%d, flags=0x%08x.",
295 mapUsage ? "usage" : "scan code", code, keyCode, flags);
300 map.add(code, key);
309 ALOGE("%s: Expected axis scan code numbe
414 int32_t code = int32_t(strtol(codeToken.string(), &end, 0)); local
[all...]
/frameworks/native/services/surfaceflinger/
H A DClient.cpp109 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
130 return BnSurfaceComposerClient::onTransact(code, data, reply, flags);
108 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/native/services/vr/virtual_touchpad/
H A DEvdevInjector.cpp211 int EvdevInjector::Send(uint16_t type, uint16_t code, int32_t value) { argument
212 ALOGV("Send(0x%" PRIX16 ", 0x%" PRIX16 ", 0x%" PRIX32 ")", type, code, value);
219 event.code = code;
223 type, code, value);
231 int EvdevInjector::SendKey(uint16_t code, int32_t value) { argument
232 return Send(EV_KEY, code, value);
235 int EvdevInjector::SendAbs(uint16_t code, int32_t value) { argument
236 return Send(EV_ABS, code, value);
276 int EvdevInjector::Error(int code) { argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DResultCode.java21 * Enumeration for the return code in TERMINAL RESPONSE.
22 * To get the actual return code for each enum value, call {@link #value}
105 /** Launch browser generic error code */
166 ResultCode(int code) { argument
167 mCode = code;
171 * Retrieves the actual result code that this object represents.
172 * @return Actual result code
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DRemotePlayer.java149 public void onError(String error, int code, Bundle data) {
150 logError("play: failed", error, code);
191 public void onError(String error, int code, Bundle data) {
192 logError("getStatus: failed", error, code);
220 public void onError(String error, int code, Bundle data) {
221 logError("pause: failed", error, code);
246 public void onError(String error, int code, Bundle data) {
247 logError("resume: failed", error, code);
275 public void onError(String error, int code, Bundle data) {
276 logError("stop: failed", error, code);
468 logError(String message, String error, int code) argument
[all...]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DRemotePlayer.java149 public void onError(String error, int code, Bundle data) {
150 logError("play: failed", error, code);
191 public void onError(String error, int code, Bundle data) {
192 logError("getStatus: failed", error, code);
220 public void onError(String error, int code, Bundle data) {
221 logError("pause: failed", error, code);
246 public void onError(String error, int code, Bundle data) {
247 logError("resume: failed", error, code);
275 public void onError(String error, int code, Bundle data) {
276 logError("stop: failed", error, code);
468 logError(String message, String error, int code) argument
[all...]
/frameworks/av/camera/
H A DICamera.cpp329 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
331 switch(code) {
498 return BBinder::onTransact(code, data, reply, flags);
328 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/av/media/libmedia/
H A DIMediaRecorder.cpp347 uint32_t code, const Parcel& data, Parcel* reply,
350 switch (code) {
547 return BBinder::onTransact(code, data, reply, flags);
346 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DIMediaSource.cpp280 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
282 switch (code) {
448 return BBinder::onTransact(code, data, reply, flags);
279 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp46 * ACTS-MoMuSys partners retain full right to use the code for his/her own
47 * purpose, assign or donate the code to a third party and to inhibit third
48 * parties from using the code for non MPEG-4 Video (ISO/IEC 14496-2) Standard
71 * Donated to the Momusys-project as background code by
106 uint32 code; local
109 BitstreamShowBits32(stream, 24, &code);
111 while (code != 1)
115 BitstreamShowBits32(stream, 24, &code);
128 * 3/29/00 : added return code check to some functions and
129 * optimize the code
455 uint code; local
505 uint code; local
538 uint code; local
559 uint code; local
593 uint code; local
631 uint code; local
841 uint code; local
1024 uint code; local
1203 uint code; local
1263 uint code; local
1318 uint code; local
1391 uint code; local
1473 uint code, mask; local
1556 uint code, mask; local
[all...]
/frameworks/base/core/java/android/content/
H A DBroadcastReceiver.java30 * Base class for code that receives and handles broadcast intents sent by
37 * tag in your <code>AndroidManifest.xml</code>.
104 public final void setResultCode(int code) { argument
106 mResultCode = code;
164 public final void setResult(int code, String data, Bundle extras) { argument
166 mResultCode = code;
398 * Change the current result code of this broadcast; only works with
410 * @param code The new result code
414 setResultCode(int code) argument
523 setResult(int code, String data, Bundle extras) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_HwRemoteBinder.cpp331 jint code,
349 status_t err = binder->transact(code, *request, reply, flags);
328 JHwRemoteBinder_native_transact( JNIEnv *env, jobject thiz, jint code, jobject requestObj, jobject replyObj, jint flags) argument
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java243 code(null);
244 code("");
245 code("Bob");
246 code(":Bob");
247 code("::Bob");
248 code("Bob::Lee");
249 code("Bob:Lee");
250 code("Bob::");
251 code("Bob:");
252 code("
255 private void code(String s) { method in class:UriTest
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DPendingIntentRecord.java234 public void send(int code, Intent intent, String resolvedType, IBinder whitelistToken, argument
236 sendInner(code, intent, resolvedType, whitelistToken, finishedReceiver,
240 public int sendWithResult(int code, Intent intent, String resolvedType, IBinder whitelistToken, argument
242 return sendInner(code, intent, resolvedType, whitelistToken, finishedReceiver,
246 int sendInner(int code, Intent intent, String resolvedType, IBinder whitelistToken, argument
359 key.requestCode, code, finalIntent);
367 finalIntent, resolvedType, finishedReceiver, code, null, null,
/frameworks/base/services/core/java/com/android/server/clipboard/
H A DClipboardService.java232 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
235 return super.onTransact(code, data, reply, flags);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java90 * The number of code units consumed so far, where code units
98 * How many code units are still available without spilling
104 * The encoding code unit size (specified using
260 * boundary. This method is used by OEM code.
494 Rlog.w(TAG, "no language table for code " + languageTable + ", using default");
498 Rlog.w(TAG, "no single shift table for code " + shiftTable + ", using default");
908 // find the least cost encoding (lowest message count and most code units remaining)
967 * Returns the index into <code>s</code> o
1104 LanguagePairCount(int code) argument
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java193 * a redirect code with the Location response header set to the value
196 * @param redirectCode The code to send when redirecting
198 public void setRedirect(String redirect, int code) { argument
200 redirectCode = code;
201 log("Server will redirect output to "+redirect+" code "+code);
225 // Networking code doesn't support ServerSocket(port) yet
/frameworks/base/tools/aapt/
H A DXMLNode.cpp222 ResXMLTree::event_code_t code; local
224 while ((code=inXml->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
225 if (code == ResXMLTree::TEXT) {
245 } else if (code == ResXMLTree::START_TAG) {
305 } else if (code == ResXMLTree::END_TAG) {
372 } else if (code == ResXMLTree::START_NAMESPACE) {
379 if (code == ResXMLTree::BAD_DOCUMENT) {
445 ResXMLTree::event_code_t code; local
447 while ((code
[all...]
/frameworks/base/tools/aapt2/util/
H A DUtil.cpp288 char32_t code = 0; local
301 code = (code << 4) | a;
304 ssize_t len = utf32_to_utf8_length(&code, 1);
311 utf32_to_utf8(&code, 1, &*result_utf8.begin(), len + 1);
437 error_ = "invalid unicode code point";

Completed in 453 milliseconds

1234567891011>>