Searched defs:code (Results 76 - 100 of 201) sorted by relevance

123456789

/frameworks/base/core/java/android/nfc/
H A DErrorCodes.java28 public static boolean isError(int code) { argument
29 if (code < 0) {
36 public static String asString(int code) { argument
37 switch (code) {
/frameworks/base/core/java/android/os/
H A DIBinder.java88 * The first transaction code available for user commands.
92 * The last transaction code available for user commands.
97 * IBinder protocol transaction code: pingBinder().
102 * IBinder protocol transaction code: dump internal state.
107 * IBinder protocol transaction code: interrogate the recipient side
113 * IBinder protocol transaction code: send a tweet to the target
120 * across the platform. To support older code, the default implementation
131 * IBinder protocol transaction code: tell an app asynchronously that the
206 * @param code The action to perform. This should
217 public boolean transact(int code, Parce argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DNativeDaemonEvent.java38 private NativeDaemonEvent(int cmdNumber, int code, String message, String rawEvent) { argument
40 mCode = code;
104 private static boolean isClassUnsolicited(int code) { argument
105 return code >= 600 && code < 700;
109 * Verify this event matches the given code.
113 public void checkCode(int code) { argument
114 if (mCode != code) {
115 throw new IllegalStateException("Expected " + code + " but was: " + this);
133 final int code;
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestController.java89 public void setMockGeolocationError(int code, String message) { argument
90 Log.i(LOG_TAG, "setMockGeolocationError(): " + "code=" + code + " message=" + message);
91 mLayoutTestsExecutor.setMockGeolocationError(code, message);
/frameworks/native/libs/binder/
H A DIServiceManager.cpp189 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
192 switch(code) {
226 return BBinder::onTransact(code, data, reply, flags);
188 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/native/services/surfaceflinger/
H A DClient.cpp91 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
107 return BnSurfaceComposerClient::onTransact(code, data, reply, flags);
90 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSuppServiceNotification.java30 public int code; field in class:SuppServiceNotification
64 + " code: " + code
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java39 int code; field in class:AsyncPlayer.Command
47 return "{ code=" + code + " looping=" + looping + " stream=" + stream
94 switch (cmd.code) {
168 cmd.code = PLAY;
190 cmd.code = STOP;
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java37 // 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/av/libvideoeditor/vss/src/
H A DM4VD_EXTERNAL_BitstreamParser.c33 M4OSA_UInt8 code; member in struct:__anon308
103 M4OSA_UInt32 code, j; local
141 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 8);
142 if (code == 0)
144 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 8);
145 if (code == 0)
147 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 8);
148 if (code == 1)
150 /* start code found */
151 code
[all...]
/frameworks/av/media/common_time/
H A DICommonClock.cpp237 status_t BnCommonClock::onTransact(uint32_t code, argument
241 switch(code) {
392 return BBinder::onTransact(code, data, reply, flags);
420 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) {
421 switch(code) {
430 return BBinder::onTransact(code, data, reply, flags);
419 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DICommonTimeConfig.cpp324 status_t BnCommonTimeConfig::onTransact(uint32_t code, argument
328 switch(code) {
505 return BBinder::onTransact(code, data, reply, flags);
/frameworks/av/media/libmedia/
H A DIMediaPlayerService.cpp166 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
168 switch (code) {
260 return BBinder::onTransact(code, data, reply, flags);
165 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddec_amr.cpp22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec
208 When the code is written for a specific target processor the
375 When the code is written for a specific target processor the
562 Word16 code[L_SUBFR];
709 * - decode algebraic code *
837 decode_2i40_9bits (subfrNr, i, index, code);
846 decode_2i40_11bits (i, index, code);
855 decode_3i40_14bits (i, index, code);
864 decode_4i40_17bits (i, index, code);
870 dec_8i40_31bits (parm, code);
1360 Word16 code[L_SUBFR]; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc2_11pf.cpp22 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 Dc2_9pf.cpp22 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...]
H A Dc3_14pf.cpp22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec
134 code[] Array of type Word16 -- Innovative codebook
155 The code length is 40, containing 3 nonzero pulses: i0...i2.
182 When the code is written for a specific target processor the
208 Word16 code[], /* o : Innovative codebook */
276 code,
284 * Include fixed-gain pitch contribution into code[]. *
293 code[i - T0],
297 code[i] =
299 code[
202 code_3i40_14bits( Word16 x[], Word16 h[], Word16 T0, Word16 pitch_sharp, Word16 code[], Word16 y[], Word16 * sign, Flag * pOverflow ) argument
[all...]
H A Dc4_17pf.cpp22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec
145 code[] Array of type Word16 -- Innovative codebook
165 The code length is 40, containing 4 nonzero pulses: i0...i3.
192 When the code is written for a specific target processor the
218 Word16 code[], /* o : Innovative codebook */
286 code,
294 * Include fixed-gain pitch contribution into code[]. *
305 code[i - T0],
309 code[i] =
311 code[
212 code_4i40_17bits( Word16 x[], Word16 h[], Word16 T0, Word16 pitch_sharp, Word16 code[], Word16 y[], Word16 * sign, Flag * pOverflow ) argument
[all...]
H A Dcod_amr.cpp22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec
245 When the code is written for a specific target processor the
443 When the code is written for a specific target processor the
611 When the code is written for a specific target processor the
718 When the code is written for a specific target processor the
830 Word16 code[L_SUBFR]; // Fixed codebook excitation
896 * * quantize and code the LSPs *
1097 code, y2, &ana, *usedMode, subfrNr);
1102 gainQuant(st->gainQuantSt, *usedMode, res, &st->exc[i_subfr], code,
1114 gain_code, Aq, synth, xn, code, y
1233 Word16 code[L_SUBFR]; /* Fixed codebook excitation */ local
[all...]
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/amrwb/src/
H A Ddec_gain2_amr_wb.cpp22 ANSI-C code for the Adaptive Multi-Rate - Wideband (AMR-WB) speech codec
49 int16 code[], (i) Q9 : Innovative vector.
172 int16 code[], /* (i) Q9 : Innovative vector. */
201 * Find energy of code and compute:
203 * L_tmp = 1.0 / sqrt(energy of code/ L_subfr)
206 L_tmp = Dot_product12(code, code, L_subfr, &exp);
207 exp -= 24; /* exp: -18 (code in Q9), -6 (/L_subfr) */
290 /* adjust gain according to energy of code */
336 g_code = *p++; /* selected code gai
169 dec_gain2_amr_wb( int16 index, int16 nbits, int16 code[], int16 L_subfr, int16 * gain_pit, int32 * gain_cod, int16 bfi, int16 prev_bfi, int16 state, int16 unusable_frame, int16 vad_hist, int16 * mem ) argument
[all...]
H A Dpvamrwbdecoder.cpp22 ANSI-C code for the Adaptive Multi-Rate - Wideband (AMR-WB) speech codec
308 int16 *code = &isf_tmp[M]; /* algebraic codevector */ local
309 int16 *excp = &code[L_SUBFR];
557 * - decode algebraic code
559 * - find voicing factor and tilt of code for next subframe.
706 code[i] = amr_wb_round(L_tmp << 1);
708 pv_memcpy((void *)&exc[i_subfr], (void *)code, L_SUBFR*sizeof(*code));
713 * Add the fixed-gain pitch contribution to code[].
718 /* the innovative code does
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dc2t64fx.c51 Word16 code[], /* (o) Q9 : algebraic (fixed) codebook excitation */
263 code[i] = 0;
270 code[ix] = 512; /* codeword in Q9 format */
274 code[ix] = -512;
280 code[iy] = 512;
284 code[iy] = -512;
47 ACELP_2t64_fx( Word16 dn[], Word16 cn[], Word16 H[], Word16 code[], Word16 y[], Word16 * index ) argument
H A Dq_gain2.c67 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/av/media/libstagefright/codecs/avc/enc/src/
H A Dresidual.cpp33 uint code; local
54 code = *((uint*)pSrc);
56 *((uint*)pDst) = code;
58 status = BitstreamWriteBits(stream, 32, code);
63 code = *((uint*)pSrc);
65 *((uint*)pDst) = code;
67 status = BitstreamWriteBits(stream, 16, code);
87 code = *((uint*)pSrc);
89 *((uint*)pDst) = code;
91 status = BitstreamWriteBits(stream, 32, code);
[all...]

Completed in 1805 milliseconds

123456789