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

12345678910

/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp410 unsigned code, extra; local
411 sscanf(value.string(), "%d %d", &code, &extra);
412 DrmPlugin::EventType eventType = (DrmPlugin::EventType)code;
426 (int)code, extra, pSessionId ? vectorToString(*pSessionId) : "{}",
/frameworks/av/media/libmedia/
H A DIDrm.cpp489 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) {
490 switch (code) {
847 return BBinder::onTransact(code, data, reply, flags);
488 onTransact( uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) argument
H A DIMediaPlayer.cpp355 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
357 switch (code) {
556 return BBinder::onTransact(code, data, reply, flags);
354 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DIOMX.cpp527 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) {
528 switch (code) {
625 switch (code) {
653 if ((code == GET_PARAMETER || code == GET_CONFIG) && err == OK) {
951 return BBinder::onTransact(code, data, reply, flags);
977 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) {
978 switch (code) {
995 return BBinder::onTransact(code, data, reply, flags);
526 onTransact( uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) argument
976 onTransact( uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) argument
H A DIAudioPolicyService.cpp719 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
721 switch (code) {
1203 return BBinder::onTransact(code, data, reply, flags);
718 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/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
H A DvoAMRWBEnc.c192 Word16 code[L_SUBFR]; /* Fixed codebook excitation */ local
259 Copy(st->mem_decim, code, 2 * L_FILT16k);
261 Decim_12k8(error, L_FILT16k, new_speech + L_FRAME, code);
270 Copy(st->mem_sig_in, code, 6);
271 HP50_12k8(new_speech + L_FRAME, L_FILT, code);
397 * - quantize and code the isf[] *
566 /* Quantize and code the ISFs */
596 /* Quantize and code the ISFs */
712 * - find voicing factor and tilt of code for next subframe. *
779 Set_zero(code,
[all...]
/frameworks/av/media/mtp/
H A DMtpDevice.cpp544 MtpProperty* MtpDevice::getDevicePropDesc(MtpDeviceProperty code) { argument
548 mRequest.setParameter(1, code);
564 MtpProperty* MtpDevice::getObjectPropDesc(MtpObjectProperty code, MtpObjectFormat format) { argument
568 mRequest.setParameter(1, code);
/frameworks/av/services/audiopolicy/
H A DAudioPolicyService.cpp352 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
354 return BnAudioPolicyService::onTransact(code, data, reply, flags);
827 // force delayMs to non 0 so that code below does not request to wait for
841 // force delayMs to non 0 so that code below does not request to wait for
885 // force delayMs to non 0 so that code below does not request to wait for
351 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp635 // TODO: refactor the code below this with IProCameraUser.
655 status_t code; local
656 if ((code = mDevice->waitUntilDrained()) != OK) {
657 ALOGE("%s: waitUntilDrained failed with code 0x%x", __FUNCTION__,
658 code);
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp209 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) {
210 return BnSoundTriggerHwService::onTransact(code, data, reply, flags);
208 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/base/core/java/android/security/
H A DIKeystoreService.java590 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
592 switch (code) {
605 return super.onTransact(code, data, reply, flags);
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp72 static jint translateError(int code) { argument
73 switch(code) {
H A Dandroid_media_Visualizer.cpp115 static jint translateError(int code) { argument
116 switch(code) {
/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java373 public void setMode(int code, int uid, String packageName, int mode) { argument
378 verifyIncomingOp(code);
380 code = AppOpsManager.opToSwitch(code);
382 Op op = getOpLocked(code, uid, packageName, true);
386 ArrayList<Callback> cbs = mOpModeWatchers.get(code);
412 repCbs.get(i).mCallback.opChanged(code, packageName);
574 public int checkOperation(int code, int uid, String packageName) { argument
576 verifyIncomingOp(code);
578 if (isOpRestricted(uid, code, packageNam
590 checkAudioOperation(int code, int usage, int uid, String packageName) argument
600 checkRestrictionLocked(int code, int usage, int uid, String packageName) argument
612 setAudioRestriction(int code, int usage, int uid, int mode, String[] exceptionPackages) argument
653 noteOperation(int code, int uid, String packageName) argument
689 startOperation(IBinder token, int code, int uid, String packageName) argument
728 finishOperation(IBinder token, int code, int uid, String packageName) argument
859 getOpLocked(int code, int uid, String packageName, boolean edit) argument
867 getOpLocked(Ops ops, int code, boolean edit) argument
882 isOpRestricted(int uid, int code, String packageName) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DProcessStatsService.java98 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
101 return super.onTransact(code, data, reply, flags);
/frameworks/base/services/core/java/com/android/server/wm/
H A DSession.java127 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
130 return super.onTransact(code, data, reply, flags);
/frameworks/base/telephony/java/com/android/ims/
H A DImsReasonInfo.java34 * STATUSCODE - indicates the interworking error reason by SIP status code received
49 * Specific code of each types
101 // Resolve the extra code(EXTRA_CODE_CALL_RETRY_*) if the below code is set
123 * STATUSCODE (SIP response code) (IMS -> Telephony)
207 * Extra codes for the specific code value
208 * This value can be referred when the code is CODE_LOCAL_CALL_CS_RETRY_REQUIRED.
240 // For main reason code
242 // For the extra code value; it depends on the code valu
258 ImsReasonInfo(int code, int extraCode) argument
265 ImsReasonInfo(int code, int extraCode, String extraMessage) argument
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DTestEventHandler.java154 * @param code The status code
158 int code, String reason_phrase) {
162 " code: " + code +
174 responseCode = code;
198 if (expectCode == code) {
201 expectDetails.append("Status code expected:"+expectCode+
202 " got:"+code);
453 * @param id Status code o
157 status(int major_version, int minor_version, int code, String reason_phrase) argument
622 expectStatus(int major, int minor, int code) argument
629 expectStatus(int code) argument
[all...]
/frameworks/base/tools/aapt/
H A DXMLNode.cpp200 ResXMLTree::event_code_t code; local
205 while ((code=inXml->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
206 if (code == ResXMLTree::TEXT) {
232 } else if (code == ResXMLTree::START_TAG) {
292 } else if (code == ResXMLTree::END_TAG) {
359 } else if (code == ResXMLTree::START_NAMESPACE) {
383 if (code == ResXMLTree::BAD_DOCUMENT) {
449 ResXMLTree::event_code_t code; local
451 while ((code
[all...]
/frameworks/native/opengl/libagl/
H A Ddxt.cpp130 * contains a transparent pixel (color0 < color1, code == 3). This
295 int code = bits & 0x3; local
298 blockRowPtr[x] = c[code];
404 int code = bits & 0x3; local
407 blockRowPtr[x] = c[code] | (a << 28) | (a << 24);
561 int code = bits & 0x3; local
564 blockRowPtr[x] = c[code] | (a[acode] << 24);
/frameworks/native/services/inputflinger/
H A DEventHub.h43 #define BTN_FIRST 0x100 // first button code
44 #define BTN_LAST 0x15f // last button code
76 int32_t code; member in struct:android::RawEvent
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipAudioCall.java154 * @param errorCode error code of this error
609 * timed out if the call is not established within {@code timeout} seconds
616 * SIP protocol) is used if {@code timeout} is zero or negative.
662 * within {@code timeout} seconds and
667 * SIP protocol) is used if {@code timeout} is zero or negative.
687 * established within {@code timeout} seconds and
692 * SIP protocol) is used if {@code timeout} is zero or negative.
716 * out if the call is not established within {@code timeout} seconds and
721 * SIP protocol) is used if {@code timeout} is zero or negative.
895 * Sends a DTMF code
903 sendDtmf(int code) argument
917 sendDtmf(int code, Message result) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java1058 // NOTE: this code was previously located after mSS and mNewSS are swapped, so
1182 // Country code not found. This is likely a test network.
1452 /** code is registration state 0-5 from TS 27.007 7.2 */
1453 private int regCodeToServiceState(int code) { argument
1454 switch (code) {
1473 loge("regCodeToServiceState: unexpected service state " + code);
1480 * code is registration state 0-5 from TS 27.007 7.2
1483 private boolean regCodeIsRoaming (int code) { argument
1484 return ServiceState.RIL_REG_STATE_ROAMING == code;
1741 // We don't have a valid iso country code
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRemotePlaybackClient.java233 * or <code>0</code> to start at the beginning.
267 * or <code>0</code> to start at the beginning.
324 * or <code>0</code> to start at the beginning.
695 final int code;
697 code = data.getInt(MediaControlIntent.EXTRA_ERROR_CODE,
700 code = MediaControlIntent.ERROR_UNKNOWN;
705 + ", code
896 onError(String error, int code, Bundle data) argument
[all...]

Completed in 587 milliseconds

12345678910