Searched refs:code (Results 251 - 275 of 319) sorted by relevance

<<111213

/frameworks/base/core/java/android/content/
H A DContentProviderNative.java76 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
79 switch (code) {
310 return super.onTransact(code, data, reply, flags);
H A DIntent.java60 * <p>An Intent provides a facility for performing late runtime binding between the code in
215 * information supplied in the <code>AndroidManifest.xml</code> file as
225 * <li> For data that is not a <code>content:</code> URI and where no explicit
227 * intent data (such as <code>http:</code> or <code>mailto:</code>) is
303 * <code>co
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp41 #define TRACE_BITMAP(code) code
43 #define TRACE_BITMAP(code)
324 // Dalvik code has always behaved. We simply recreate the behavior here.
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLaunchpadActivity.java358 "Unexpected request code: " + requestCode));
489 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) {
492 if (code == GOT_RECEIVE_TRANSACTION) {
496 } else if (code == ERROR_TRANSACTION) {
/frameworks/base/services/input/
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
795 event->code = iev.code;
H A DInputReader.cpp615 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, argument
623 result = (device->*getStateFunc)(sourceMask, code);
633 int32_t currentResult = (device->*getStateFunc)(sourceMask, code);
975 ALOGD("Input event: device=%d type=0x%04x code=0x%04x value=0x%08x",
976 rawEvent->deviceId, rawEvent->type, rawEvent->code, rawEvent->value);
980 if (rawEvent->type == EV_SYN && rawEvent->code == SYN_REPORT) {
990 } else if (rawEvent->type == EV_SYN && rawEvent->code == SYN_DROPPED) {
1033 int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) { argument
1041 int32_t currentResult = (mapper->*getStateFunc)(sourceMask, code);
1140 switch (rawEvent->code) {
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dqgain795.cpp22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec
185 When the code is written for a specific target processor the
435 frac_en[2]*2^exp_en[2] = <exc code> // LTP/CB innovation dot product
436 frac_en[3]*2^exp_en[3] = <code code> // CB innovation energy
454 When the code is written for a specific target processor the
726 code -- Word16 array -- CB innovation (unfiltered), Q13
753 (first gain pitch, then code pitch)
787 When the code is written for a specific target processor the
812 Word16 code[], /*
808 MR795_gain_quant( GainAdaptState *adapt_st, Word16 res[], Word16 exc[], Word16 code[], Word16 frac_coeff[], Word16 exp_coeff[], Word16 exp_code_en, Word16 frac_code_en, Word16 exp_gcode0, Word16 frac_gcode0, Word16 L_subfr, Word16 cod_gain_frac, Word16 cod_gain_exp, Word16 gp_limit, Word16 *gain_pit, Word16 *gain_cod, Word16 *qua_ener_MR122, Word16 *qua_ener, Word16 **anap, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_lib.h240 emulation prevention code if necessary.
251 \param "code" "The codeword."
254 AVCEnc_Status BitstreamWriteBits(AVCEncBitstream *stream, int nBits, uint code);
260 \param "code" "The codeword."
263 AVCEnc_Status BitstreamWrite1Bit(AVCEncBitstream *stream, uint code);
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp79 jint android_media_translateRecorderErrorCode(int code) { argument
80 switch (code) {
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_Visualizer.cpp111 static jint translateError(int code) { argument
112 switch(code) {
/frameworks/base/services/java/com/android/server/wm/
H A DSession.java108 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
111 return super.onTransact(code, data, reply, flags);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DCallbackProxy.java505 public void setMockGeolocationError(int code, String message) { argument
506 MockGeolocation.getInstance().setError(code, message);
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h81 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags);
162 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags);
/frameworks/wilhelm/tests/examples/
H A DAndroid.mk301 # OpenMAX AL example code
/frameworks/av/include/media/
H A DIAudioFlinger.h194 virtual status_t onTransact( uint32_t code,
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dc4t64fx.c122 Word16 code[], /* (o) Q9 : algebraic (fixed) codebook excitation */
717 code[i] = 0;
730 code[i] += val;
734 code[i] -= val;
118 ACELP_4t64_fx( Word16 dn[], Word16 cn[], Word16 H[], Word16 code[], Word16 y[], Word16 nbbits, Word16 ser_size, Word16 _index[] ) argument
/frameworks/av/media/mtp/
H A DMtpDevice.cpp538 MtpProperty* MtpDevice::getDevicePropDesc(MtpDeviceProperty code) { argument
542 mRequest.setParameter(1, code);
556 MtpProperty* MtpDevice::getObjectPropDesc(MtpObjectProperty code, MtpObjectFormat format) { argument
560 mRequest.setParameter(1, code);
H A DMtpDataPacket.cpp46 void MtpDataPacket::setOperationCode(MtpOperationCode code) { argument
47 MtpPacket::putUInt16(MTP_CONTAINER_CODE_OFFSET, code);
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.h57 virtual status_t onTransact(uint32_t code, const Parcel& data,
/frameworks/av/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp98 virtual status_t onTransact(uint32_t code,
131 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) {
132 switch(code) {
146 return BBinder::onTransact(code, data, reply, flags);
130 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/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/base/telephony/java/com/android/internal/telephony/sip/
H A DSipPhone.java540 int code = c - '0';
541 if ((code < 0) || (code > 9)) {
554 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/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java952 // Country code not found. This is likely a test network.
1228 /** code is registration state 0-5 from TS 27.007 7.2 */
1229 private int regCodeToServiceState(int code) { argument
1230 switch (code) {
1249 loge("regCodeToServiceState: unexpected service state " + code);
1256 * code is registration state 0-5 from TS 27.007 7.2
1259 private boolean regCodeIsRoaming (int code) { argument
1261 return 5 == code;
1439 // We don't have a valid iso country code. This is
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoViewProxy.java434 // The response status code.
478 int code,
480 mStatusCode = code;
476 status(int major_version, int minor_version, int code, String reason_phrase) argument

Completed in 549 milliseconds

<<111213