Searched refs:code (Results 276 - 300 of 332) sorted by relevance

<<11121314

/frameworks/base/libs/androidfw/
H A DKeyCharacterMap.cpp812 int32_t code = int32_t(strtol(codeToken.string(), &end, 0)); local
815 mapUsage ? "usage" : "scan code", codeToken.string());
820 if (map.indexOfKey(code) >= 0) {
822 mapUsage ? "usage" : "scan code", codeToken.string());
830 ALOGE("%s: Expected key code label, got '%s'.", mTokenizer->getLocation().string(),
836 ALOGD("Parsed map key %s: code=%d, keyCode=%d.",
837 mapUsage ? "usage" : "scan code", code, keyCode);
839 map.add(code, keyCode);
847 ALOGE("%s: Expected key code labe
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java541 int code = c - '0';
542 if ((code < 0) || (code > 9)) {
555 return code;
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java87 * @param primaryCode the code of the key that was released
95 * with the primary code being the first. If the primary key code is
553 * codes for adjacent keys. When disabled, only the primary key code will be
810 int code = key.codes[0];
822 code = key.codes[mTapCount];
824 mKeyboardActionListener.onKey(code, codes);
825 mKeyboardActionListener.onRelease(code);
974 private void sendAccessibilityEventForUnicodeCharacter(int eventType, int code) { argument
986 switch (code) {
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java994 // Country code not found. This is likely a test network.
1223 /** code is registration state 0-5 from TS 27.007 7.2 */
1224 private int regCodeToServiceState(int code) { argument
1225 switch (code) {
1244 loge("regCodeToServiceState: unexpected service state " + code);
1251 * code is registration state 0-5 from TS 27.007 7.2
1254 private boolean regCodeIsRoaming (int code) { argument
1256 return 5 == code;
1434 // We don't have a valid iso country code. This is
/frameworks/base/services/input/
H A DInputReader.cpp599 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, argument
607 result = (device->*getStateFunc)(sourceMask, code);
617 int32_t currentResult = (device->*getStateFunc)(sourceMask, code);
959 ALOGD("Input event: device=%d type=0x%04x code=0x%04x value=0x%08x when=%lld",
960 rawEvent->deviceId, rawEvent->type, rawEvent->code, rawEvent->value,
965 if (rawEvent->type == EV_SYN && rawEvent->code == SYN_REPORT) {
975 } else if (rawEvent->type == EV_SYN && rawEvent->code == SYN_DROPPED) {
1018 int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) { argument
1026 int32_t currentResult = (mapper->*getStateFunc)(sourceMask, code);
1125 switch (rawEvent->code) {
[all...]
H A DEventHub.cpp520 ev.code = led;
588 ev.code = device->ffEffectId;
610 ev.code = device->ffEffectId;
770 ALOGV("%s got: t0=%d, t1=%d, type=%d, code=%d, value=%d",
773 iev.type, iev.code, iev.value);
777 // so that downstream code can get more accurate estimates of
829 event->code = iev.code;
H A DEventHub.h42 #define BTN_FIRST 0x100 // first button code
43 #define BTN_LAST 0x15f // last button code
61 int32_t code; member in struct:android::RawEvent
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp46 void MtpDataPacket::setOperationCode(MtpOperationCode code) { argument
47 MtpPacket::putUInt16(MTP_CONTAINER_CODE_OFFSET, code);
/frameworks/base/core/java/android/content/
H A DIntent.java59 * <p>An Intent provides a facility for performing late runtime binding between the code in
214 * information supplied in the <code>AndroidManifest.xml</code> file as
224 * <li> For data that is not a <code>content:</code> URI and where no explicit
226 * intent data (such as <code>http:</code> or <code>mailto:</code>) is
302 * <code>co
[all...]
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoViewProxy.java452 // The response status code.
497 int code,
499 mStatusCode = code;
495 status(int major_version, int minor_version, int code, String reason_phrase) argument
/frameworks/base/services/java/com/android/server/wm/
H A DSession.java120 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
123 return super.onTransact(code, data, reply, flags);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestsExecutor.java701 public void setMockGeolocationError(int code, String message) { argument
702 WebViewClassic.fromWebView(mCurrentWebView).setMockGeolocationError(code, message);
/frameworks/av/drm/libdrmframework/include/
H A DIDrmManagerService.h264 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags = 0);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4lib_int.h64 Int refSelectCode; /* enhancement layer reference select code */
441 unsigned int code; /* right justified */ member in struct:tagVLCtable
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.h113 uint32_t code,
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp374 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
376 switch (code) {
636 return BBinder::onTransact(code, data, reply, flags);
373 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DIAudioFlinger.cpp716 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
718 switch (code) {
1078 return BBinder::onTransact(code, data, reply, flags);
715 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dslice.cpp692 uint code; local
724 code = currMB->ref_idx_L0[mbPartIdx];
725 status = te_v(stream, code, max_ref_idx);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp20 #define TRACE_BITMAP(code) code
22 #define TRACE_BITMAP(code)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java725 * cause code returned as Integer in Message.obj.response
726 * Returns integer cause code defined in TS 24.008
1173 * @param statusCode Status code string. See <code>setOnUSSD</code>
1280 public void triggerSsn(int type, int code) { argument
1283 not.code = code;
/frameworks/av/libvideoeditor/vss/mcs/src/
H A DM4MCS_API.c307 M4OSA_UInt32 code, l0 = 0, l1; local
309 code = p_bs->ui32TempBuff;
312 if( code >> 29 )
314 l0 = Tab_MCS[(code >> 29)];
315 code = code >> (32 - l0);
320 if( code )
322 code <<= 3;
324 for ( l0 = 3; code < 0x80000000; code <<
[all...]
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java839 public boolean onTransact(int code, Parcel data, Parcel reply, argument
841 switch (code) {
1158 return super.onTransact(code, data, reply, flags);
1308 * This value implies {@code force}.
1334 * @return a numerical value. See {@code ENCRYPTION_STATE_*} for possible values.
1368 * @return path to filesystem or {@code null} if it's not found
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp803 uint32_t code, const Parcel& data,
805 ALOGV("Entering BnDrmManagerService::onTransact with code %d", code);
807 switch (code) {
1518 return BBinder::onTransact(code, data, reply, flags);
802 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s38 ; * [in] fcodeForward a code equal to vop_fcode_forward in MPEG-4
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s38 ; * [in] fcodeForward a code equal to vop_fcode_forward in MPEG-4

Completed in 498 milliseconds

<<11121314