/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
H A D | bitstream_io.cpp | 137 /* In/out : Unused bits in 'code' must be all zeros. */ 142 AVCEnc_Status BitstreamWriteBits(AVCEncBitstream *stream, int nBits, uint code) argument 158 stream->current_word = (current_word << nBits) | code; 168 stream->current_word = (current_word << bit_left) | (code >> (nBits - bit_left)); 178 stream->current_word = code; /* no extra masking for code, must be handled before saving */ 189 /* In/out : Unused bits in 'code' must be all zeros. */ 194 AVCEnc_Status BitstreamWrite1Bit(AVCEncBitstream *stream, uint code) argument 199 //DEBUG_LOG(userData,AVC_LOGTYPE_INFO,"BitstreamWrite1Bit",code,-1); 203 stream->current_word = (current_word << 1) | code; [all...] |
/frameworks/base/libs/binder/ |
H A D | IPCThreadState.cpp | 148 << "code=" << TypeCode(btd->code) << ", flags=" << (void*)btd->flags << endl 160 int32_t code = *cmd++; local 161 size_t cmdIndex = code & 0xff; 162 if (code == (int32_t) BR_ERROR) { 166 out << "Unknown reply: " << code << endl; 171 switch (code) { 221 int32_t code = *cmd++; local 222 size_t cmdIndex = code & 0xff; 225 out << "Unknown command: " << code << end 504 transact(int32_t handle, uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument 849 writeTransactionData(int32_t cmd, uint32_t binderFlags, int32_t handle, uint32_t code, const Parcel& data, status_t* statusBuffer) argument [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 37 // MTP property code 38 int code; field in class:MtpPropertyGroup.Property 44 Property(int code, int type, int column) { argument 45 this.code = code; 90 private Property createProperty(int code, ArrayList<String> columns) { argument 94 switch (code) { 176 Log.e(TAG, "unsupported property " + code); 182 return new Property(code, type, columns.size() - 1); 184 return new Property(code, typ [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | datapart_decode.cpp | 136 /* 04/01/2001 fixed MB_stuffing, removed unnecessary code */ 148 uint code; local 159 BitstreamShowBits16(stream, 9, &code); 160 while (code == 1) 163 BitstreamShowBits16(stream, 9, &code); 191 BitstreamShowBits16(stream, 9, &code); 192 while (code == 1) 195 BitstreamShowBits16(stream, 9, &code); 315 uint code; local 324 BitstreamShowBits16(stream, 10, &code); [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | MountService.java | 127 * Internal vold response code constants 681 public boolean onEvent(int code, String raw, String[] cooked) { argument 694 if (code == VoldResponseCode.VolumeStateChange) { 703 } else if ((code == VoldResponseCode.VolumeDiskInserted) || 704 (code == VoldResponseCode.VolumeDiskRemoved) || 705 (code == VoldResponseCode.VolumeBadRemoval)) { 724 if (code == VoldResponseCode.VolumeDiskInserted) { 738 } else if (code == VoldResponseCode.VolumeDiskRemoved) { 753 } else if (code == VoldResponseCode.VolumeBadRemoval) { 763 Slog.e(TAG, String.format("Unknown code { [all...] |
H A D | NotificationPlayer.java | 49 int code; field in class:NotificationPlayer.Command 57 return "{ code=" + code + " looping=" + looping + " stream=" + stream 167 switch (cmd.code) { 267 cmd.code = PLAY; 289 cmd.code = STOP;
|
H A D | NetworkManagementService.java | 297 public boolean onEvent(int code, String raw, String[] cooked) { argument 298 switch (code) { 383 int code = Integer.parseInt(st.nextToken(" ")); 384 if (code != NetdResponseCode.InterfaceGetCfgResult) { 386 String.format("Expected code %d, but got %d", 387 NetdResponseCode.InterfaceGetCfgResult, code)); 715 int code = Integer.parseInt(tok[0]); 716 if (code == NetdResponseCode.IpFwdStatusResult) { 720 throw new IllegalStateException(String.format("Unexpected response code %d", code)); [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
H A D | voAMRWBEnc.c | 190 Word16 code[L_SUBFR]; /* Fixed codebook excitation */ local 257 Copy(st->mem_decim, code, 2 * L_FILT16k); 259 Decim_12k8(error, L_FILT16k, new_speech + L_FRAME, code); 268 Copy(st->mem_sig_in, code, 6); 269 HP50_12k8(new_speech + L_FRAME, L_FILT, code); 395 * - quantize and code the isf[] * 564 /* Quantize and code the ISFs */ 594 /* Quantize and code the ISFs */ 710 * - find voicing factor and tilt of code for next subframe. * 777 Set_zero(code, [all...] |
H A D | q_gain2.c | 67 Word16 code[], /* (i) Q9 : Innovative vector. */ 171 * Find energy of code and compute: * 173 * L_tmp = MEAN_ENER - 10log10(energy of code/ L_subfr) * 174 * = MEAN_ENER - 3.0103*log2(energy of code/ L_subfr) * 177 L_tmp = Dot_product12_asm(code, code, L_subfr, &exp_code); 179 L_tmp = Dot_product12(code, code, L_subfr, &exp_code); 181 /* exp_code: -18 (code in Q9), -6 (/L_subfr), -31 (L_tmp Q31->Q0) */ 223 * In the table the pitch gains are in Q14, the code gain 62 Q_gain2( Word16 xn[], Word16 y1[], Word16 Q_xn, Word16 y2[], Word16 code[], Word16 g_coeff[], Word16 L_subfr, Word16 nbits, Word16 * gain_pit, Word32 * gain_cod, Word16 gp_clip, Word16 * mem ) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 391 ResXMLTree::event_code_t code; local 395 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { 396 if (code == ResXMLTree::END_TAG) { 403 if (code != ResXMLTree::START_TAG) { 551 ResXMLTree::event_code_t code; local 553 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { 554 if (code == ResXMLTree::END_TAG) { 558 if (code ! 604 ResXMLTree::event_code_t code; local 814 int32_t code = getIntegerAttribute(tree, MIN_SDK_VERSION_ATTR, &error); local [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestEventHandler.java | 154 * @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/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | c2_11pf.cpp | 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 73 * The code length is 40, containing 2 nonzero pulses: i0...i1. 159 code[], Innovative codebook, array of type Word16 179 The code length is 40, containing 2 nonzero pulses: i0...i1. 208 When the code is written for a specific target processor the 233 Word16 code[], /* o : Innovative codebook */ 303 code, 311 * Include fixed-gain pitch contribution into code[]. 320 code[i - T0], 324 code[ 227 code_2i40_11bits( Word16 x[], Word16 h[], Word16 T0, Word16 pitch_sharp, Word16 code[], Word16 y[], Word16 * sign, Flag * pOverflow ) argument [all...] |
H A D | c2_9pf.cpp | 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 47 optimizing C code. 51 Description: Added setting of Overflow flag in inlined code. 146 0, 1, 0, 1, -1, /* subframe 1; track to code; 147 * -1 do not code this position 175 code = buffer containing the innovative codebook (Word16) 180 code buffer contains the new innovation vector gains 183 index = code index (Word16) 197 The code length is 40, containing 2 nonzero pulses: i0...i1. All pulses can 246 Word16 code[], // 302 code_2i40_9bits( Word16 subNr, Word16 x[], Word16 h[], Word16 T0, Word16 pitch_sharp, Word16 code[], Word16 y[], Word16 * sign, Flag * pOverflow ) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | EventLog.java | 42 * event-log-tags file defines the payload contents for each type code. 98 /** @return the type tag code of the entry */ 156 * @param tag The event type tag code 164 * @param tag The event type tag code 172 * @param tag The event type tag code 180 * @param tag The event type tag code 196 * Get the name associated with an event type tag code. 197 * @param tag code to look up 206 * Get the event type tag code associated with an event name. 208 * @return the tag code, o [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Movie.cpp | 13 #define TRACE_BITMAP(code) code 15 #define TRACE_BITMAP(code)
|
/frameworks/base/include/utils/ |
H A D | TextOutput.h | 83 inline TypeCode(uint32_t code); 161 inline TypeCode::TypeCode(uint32_t code) : mCode(code) { } argument
|
/frameworks/base/libs/camera/ |
H A D | ICameraClient.cpp | 87 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 89 switch(code) { 125 return BBinder::onTransact(code, data, reply, flags); 86 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
/frameworks/base/libs/gui/ |
H A D | ISurfaceComposerClient.cpp | 101 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 103 switch(code) { 125 return BBinder::onTransact(code, data, reply, flags); 100 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
/frameworks/base/media/libmedia/ |
H A D | IAudioTrack.cpp | 123 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 125 switch(code) { 162 return BBinder::onTransact(code, data, reply, flags); 122 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
H A D | IEffect.cpp | 123 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 125 switch(code) { 188 return BBinder::onTransact(code, data, reply, flags); 122 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/ |
H A D | armCOMM_Bitstream.c | 207 /* No code match found */ 221 * Pack a VLC code word into the bitstream 233 * [in] codeLength Length of the code word valid range 1...32 295 * Pack a VLC code word into the bitstream 305 * [in] code VLC code word that need to be inserted in to the 323 ARM_VLC32 code 326 return (armPackBits(ppBitStream, pBitOffset, code.codeWord, code.codeLen));
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/ |
H A D | armCOMM_Bitstream.c | 207 /* No code match found */ 221 * Pack a VLC code word into the bitstream 233 * [in] codeLength Length of the code word valid range 1...32 295 * Pack a VLC code word into the bitstream 305 * [in] code VLC code word that need to be inserted in to the 323 ARM_VLC32 code 326 return (armPackBits(ppBitStream, pBitOffset, code.codeWord, code.codeLen));
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/ |
H A D | armCOMM_Bitstream.c | 207 /* No code match found */ 221 * Pack a VLC code word into the bitstream 233 * [in] codeLength Length of the code word valid range 1...32 295 * Pack a VLC code word into the bitstream 305 * [in] code VLC code word that need to be inserted in to the 323 ARM_VLC32 code 326 return (armPackBits(ppBitStream, pBitOffset, code.codeWord, code.codeLen));
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ServiceTest.java | 65 protected boolean onTransact(int code, Parcel data, Parcel reply, 67 //Log.i("ServiceTest", "Received code " + code + " in state " + mStartState); 68 if (code == STARTED_CODE) { 87 } else if (code == DESTROYED_CODE) { 95 } else if (code == UNBIND_CODE) { 105 } else if (code == REBIND_CODE) { 114 return super.onTransact(code, data, reply, flags);
|
/frameworks/base/cmds/app_process/ |
H A D | app_main.cpp | 69 * executing boot class Java code and thereby deny ourselves access to 101 virtual void onExit(int code) argument 108 AndroidRuntime::onExit(code);
|