Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 1140) sorted by relevance

12345678910>>...46

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dvlc_decode.cpp106 uint32 code; in DecodeUserData() local
109 BitstreamShowBits32(stream, 24, &code); in DecodeUserData()
111 while (code != 1) in DecodeUserData()
115 BitstreamShowBits32(stream, 24, &code); in DecodeUserData()
455 uint code; in PV_VlcDecMV() local
457 BitstreamShow13Bits(stream, &code); in PV_VlcDecMV()
459 if (code >> 12) in PV_VlcDecMV()
466 if (code >= 512) in PV_VlcDecMV()
468 code = (code >> 8) - 2; in PV_VlcDecMV()
469 PV_BitstreamFlushBits(stream, PV_TMNMVtab0[code].len + 1); in PV_VlcDecMV()
[all …]
Dbitstream.h39 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code);
45 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code);
46 PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code);
47 PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code);
51 __inline PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) in BitstreamShowBits16() argument
62 *code = stream->curr_word >> (32 - nbits); in BitstreamShowBits16()
69 __inline PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow15Bits() argument
78 *code = stream->curr_word >> 17; in BitstreamShow15Bits()
83 __inline PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow13Bits() argument
92 *code = stream->curr_word >> 19; in BitstreamShow13Bits()
[all …]
Dbitstream.cpp175 PV_STATUS BitstreamShowBits32HC(BitstreamDecVideo *stream, uint32 *code) in BitstreamShowBits32HC() argument
184 *code = stream->curr_word; in BitstreamShowBits32HC()
193 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code) in BitstreamShowBits32() argument
202 *code = stream->curr_word >> (32 - nbits); in BitstreamShowBits32()
215 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) in BitstreamShowBits16() argument
226 *code = stream->curr_word >> (32 - nbits); in BitstreamShowBits16()
238 PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow15Bits() argument
247 *code = stream->curr_word >> 17; in BitstreamShow15Bits()
257 PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow13Bits() argument
266 *code = stream->curr_word >> 19; in BitstreamShow13Bits()
[all …]
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp186 NativeCode* code = static_cast<NativeCode*>(activity); in android_NativeActivity_finish() local
187 write_work(code->mainWorkWrite, CMD_FINISH, 0); in android_NativeActivity_finish()
192 NativeCode* code = static_cast<NativeCode*>(activity); in android_NativeActivity_setWindowFormat() local
193 write_work(code->mainWorkWrite, CMD_SET_WINDOW_FORMAT, format); in android_NativeActivity_setWindowFormat()
198 NativeCode* code = static_cast<NativeCode*>(activity); in android_NativeActivity_setWindowFlags() local
199 write_work(code->mainWorkWrite, CMD_SET_WINDOW_FLAGS, values, mask); in android_NativeActivity_setWindowFlags()
204 NativeCode* code = static_cast<NativeCode*>(activity); in android_NativeActivity_showSoftInput() local
205 write_work(code->mainWorkWrite, CMD_SHOW_SOFT_INPUT, flags); in android_NativeActivity_showSoftInput()
210 NativeCode* code = static_cast<NativeCode*>(activity); in android_NativeActivity_hideSoftInput() local
211 write_work(code->mainWorkWrite, CMD_HIDE_SOFT_INPUT, flags); in android_NativeActivity_hideSoftInput()
[all …]
/frameworks/av/media/mtp/
DMtpDebug.cpp23 uint16_t code; member
372 static const char* getCodeName(uint16_t code, const CodeEntry* table) { in getCodeName() argument
375 if (entry->code == code) in getCodeName()
382 const char* MtpDebug::getOperationCodeName(MtpOperationCode code) { in getOperationCodeName() argument
383 return getCodeName(code, sOperationCodes); in getOperationCodeName()
386 const char* MtpDebug::getFormatCodeName(MtpObjectFormat code) { in getFormatCodeName() argument
387 if (code == 0) in getFormatCodeName()
389 return getCodeName(code, sFormatCodes); in getFormatCodeName()
392 const char* MtpDebug::getObjectPropCodeName(MtpPropertyCode code) { in getObjectPropCodeName() argument
393 if (code == 0) in getObjectPropCodeName()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java111 public DisconnectCause(int code) { in DisconnectCause() argument
112 this(code, null, null, null, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
121 public DisconnectCause(int code, String reason) { in DisconnectCause() argument
122 this(code, null, null, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
133 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { in DisconnectCause() argument
134 this(code, label, description, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
146 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause() argument
148 mDisconnectCode = code; in DisconnectCause()
213 int code = source.readInt();
218 return new DisconnectCause(code, label, description, reason, tone);
[all …]
/frameworks/base/obex/javax/obex/
DServerSession.java164 int code = ResponseCodes.OBEX_HTTP_OK; in handleAbortRequest() local
171 code = ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE; in handleAbortRequest()
176 code = mListener.onAbort(request, reply); in handleAbortRequest()
177 Log.v(TAG, "onAbort request handler return value- " + code); in handleAbortRequest()
178 code = validateResponseCode(code); in handleAbortRequest()
180 sendResponse(code, null); in handleAbortRequest()
262 public void sendResponse(int code, byte[] header) throws IOException { in sendResponse() argument
273 data[0] = (byte)code; in sendResponse()
279 data[0] = (byte)code; in sendResponse()
303 int code = -1; in handleSetPathRequest() local
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Ddec_acelp_4p_in_64.cpp123 void add_pulses(int16 pos[], int16 nb_pulse, int16 track, int16 code[]);
157 int16 code[] /* (o) Q9: algebraic (fixed) codebook excitation */ in dec_acelp_4p_in_64() argument
162 pv_memset(code, 0, L_CODE*sizeof(*code)); in dec_acelp_4p_in_64()
174 add_pulses(pos, 1, k, code); in dec_acelp_4p_in_64()
183 add_pulses(pos, 2, k, code); in dec_acelp_4p_in_64()
191 add_pulses(pos, 3, k, code); in dec_acelp_4p_in_64()
197 add_pulses(pos, 2, k, code); in dec_acelp_4p_in_64()
205 add_pulses(pos, 3, k, code); in dec_acelp_4p_in_64()
213 add_pulses(pos, 4, k, code); in dec_acelp_4p_in_64()
221 add_pulses(pos, 5, k, code); in dec_acelp_4p_in_64()
[all …]
Ddec_acelp_2p_in_64.cpp126 int16 code[] /* (o): Q9 algebraic (fixed) codebook excitation */ in dec_acelp_2p_in_64() argument
131 pv_memset(code, 0, L_CODE*sizeof(*code)); in dec_acelp_2p_in_64()
139 code[i] = 512; in dec_acelp_2p_in_64()
143 code[i] = -512; in dec_acelp_2p_in_64()
150 code[i] = 512; in dec_acelp_2p_in_64()
154 code[i] = -512; in dec_acelp_2p_in_64()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dcbsearch.cpp192 Word16 code[], /* o : Innovative codebook, Q13 */ in cbsearch() argument
219 code, in cbsearch()
234 code, in cbsearch()
249 code, in cbsearch()
264 code, in cbsearch()
307 code, in cbsearch()
321 code[i - T0], in cbsearch()
325 code[i] = in cbsearch()
327 code[i], in cbsearch()
366 code, in cbsearch()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java38 int code; field in MtpPropertyGroup.Property
42 Property(int code, int type, int column) { in Property() argument
43 this.code = code; in Property()
74 private Property createProperty(int code, ArrayList<String> columns) { in createProperty() argument
78 switch (code) { in createProperty()
155 Log.e(TAG, "unsupported property " + code); in createProperty()
161 return new Property(code, type, columns.size() - 1); in createProperty()
163 return new Property(code, type, -1); in createProperty()
195 switch (property.code) { in getPropertyList()
198 list.append(id, property.code, property.type, 0); in getPropertyList()
[all …]
DMtpDeviceInfo.java151 public boolean isOperationSupported(int code) { in isOperationSupported() argument
152 return isSupported(mOperationsSupported, code); in isOperationSupported()
160 public boolean isEventSupported(int code) { in isEventSupported() argument
161 return isSupported(mEventsSupported, code); in isEventSupported()
168 private static boolean isSupported(@NonNull int[] set, int code) { in isSupported() argument
170 if (element == code) { in isSupported()
/frameworks/base/telephony/java/android/telephony/ims/
DImsException.java81 public ImsException(@Nullable String message, @ImsErrorCode int code) { in ImsException() argument
82 super(getMessage(message, code)); in ImsException()
83 mCode = code; in ImsException()
92 public ImsException(@Nullable String message, @ImsErrorCode int code, in ImsException() argument
94 super(getMessage(message, code), cause); in ImsException()
95 mCode = code; in ImsException()
105 private static String getMessage(String message, int code) { in getMessage() argument
110 builder.append(code); in getMessage()
114 return "code: " + code; in getMessage()
/frameworks/native/libs/binder/
DIAppOpsService.cpp39 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) { in checkOperation() argument
42 data.writeInt32(code); in checkOperation()
51 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName) { in noteOperation() argument
54 data.writeInt32(code); in noteOperation()
63 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, in startOperation() argument
68 data.writeInt32(code); in startOperation()
78 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, in finishOperation() argument
83 data.writeInt32(code); in finishOperation()
127 virtual int32_t checkAudioOperation(int32_t code, int32_t usage, in checkAudioOperation() argument
131 data.writeInt32(code); in checkAudioOperation()
[all …]
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64CA53Erratum835769Stub.cpp51 ErratumSequence code; in isMyDuty() local
52 pFragRef.memcpy(&code, sizeof(ErratumSequence), 0); in isMyDuty()
54 if (AArch64InsnHelpers::isMLXL(code.insns[1]) && in isMyDuty()
55 AArch64InsnHelpers::isMemOp(code.insns[0], rt, rt2, is_pair, is_load)) { in isMyDuty()
58 if (AArch64InsnHelpers::getBit(code.insns[0], 26) != 0) { in isMyDuty()
63 unsigned ra = AArch64InsnHelpers::getRa(code.insns[1]); in isMyDuty()
64 unsigned rm = AArch64InsnHelpers::getRm(code.insns[1]); in isMyDuty()
65 unsigned rn = AArch64InsnHelpers::getRn(code.insns[1]); in isMyDuty()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java158 private AppOpItem getAppOpItem(List<AppOpItem> appOpList, int code, int uid, in getAppOpItem() argument
163 if (item.getCode() == code && item.getUid() == uid in getAppOpItem()
171 private boolean updateActives(int code, int uid, String packageName, boolean active) { in updateActives() argument
173 AppOpItem item = getAppOpItem(mActiveItems, code, uid, packageName); in updateActives()
175 item = new AppOpItem(code, uid, packageName, System.currentTimeMillis()); in updateActives()
188 private void removeNoted(int code, int uid, String packageName) { in removeNoted() argument
191 item = getAppOpItem(mNotedItems, code, uid, packageName); in removeNoted()
196 notifySuscribers(code, uid, packageName, false); in removeNoted()
199 private void addNoted(int code, int uid, String packageName) { in addNoted() argument
202 item = getAppOpItem(mNotedItems, code, uid, packageName); in addNoted()
[all …]
/frameworks/native/cmds/installd/
Ddexopt_return_codes.h41 inline const char* get_installd_return_code_name(DexoptReturnCodes code) { in get_installd_return_code_name() argument
42 switch (code) { in get_installd_return_code_name()
73 inline const char* get_dex2oat_return_code_name(art::dex2oat::ReturnCode code) { in get_dex2oat_return_code_name() argument
74 switch (code) { in get_dex2oat_return_code_name()
87 inline const char* get_return_code_name(int code) { in get_return_code_name() argument
90 switch (code) { in get_return_code_name()
110 const char* value = get_installd_return_code_name(static_cast<DexoptReturnCodes>(code)); in get_return_code_name()
114 value = get_dex2oat_return_code_name(static_cast<art::dex2oat::ReturnCode>(code)); in get_return_code_name()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl32 int checkOperation(int code, int uid, String packageName); in checkOperation() argument
33 int noteOperation(int code, int uid, String packageName); in noteOperation() argument
34 int startOperation(IBinder token, int code, int uid, String packageName, in startOperation() argument
37 void finishOperation(IBinder token, int code, int uid, String packageName); in finishOperation() argument
42 int checkAudioOperation(int code, int usage, int uid, String packageName); in checkAudioOperation() argument
46 int noteProxyOperation(int code, int proxyUid, String proxyPackageName, in noteProxyOperation() argument
65 void setUidMode(int code, int uid, int mode); in setUidMode() argument
67 void setMode(int code, int uid, String packageName, int mode); in setMode() argument
70 void setAudioRestriction(int code, int usage, int uid, int mode, in String[] exceptionPackages); in setAudioRestriction() argument
73 …void setUserRestriction(int code, boolean restricted, IBinder token, int userHandle, in String[] e… in setUserRestriction() argument
[all …]
/frameworks/rs/script_api/
Drs_atomic.spec27 Note that in RenderScript, your code is likely to be running in separate
41 Atomicly adds a value to the value at addr, i.e. <code>*addr += value</code>.
61 i.e. <code>*addr &amp;= value</code>.
82 i.e. <code>if (*addr == compareValue) { *addr = newValue; }</code>.
104 …ly subtracts one from the value at addr. This is equivalent to <code>@rsAtomicSub(addr, 1)</code>.
121 Atomicly adds one to the value at addr. This is equivalent to <code>@rsAtomicAdd(addr, 1)</code>.
140 <code>*addr = max(*addr, value)</code>.
160 <code>*addr = min(*addr, value)</code>.
180 i.e. <code>*addr |= value</code>.
199 Atomicly subtracts a value from the value at addr, i.e. <code>*addr -= value</code>.
[all …]
Drs_value_types.spec37 between curly braces, e.g. <code>(float3){1.0f, 2.0f, 3.0f}</code>.
46 For example, with <code>int4 myVar;</code> the following are equivalent:<code><br/>
50 myVar.w == myVar.a == myVar.s3 == myVar.S3</code>
57 <code>myVar.yz</code>, <code>myVar.gb</code>, <code>myVar.s12</code>, and <code>myVar.S12</code>.
63 Here are examples of what can or can't be done:<code><br/>
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/exceptions/
DIkeException.java37 public IkeException(@IkeNotifyPayload.NotifyType int code) { in IkeException() argument
39 errorCode = code; in IkeException()
48 public IkeException(@IkeNotifyPayload.NotifyType int code, String message) { in IkeException() argument
50 errorCode = code; in IkeException()
59 public IkeException(@IkeNotifyPayload.NotifyType int code, Throwable cause) { in IkeException() argument
61 errorCode = code; in IkeException()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/docs/
Dthird_party.md3 This page lists code related to Protocol Buffers which is developed and maintained by third parties…
10 * Action Script: http://code.google.com/p/protobuf-actionscript3/
11 * Action Script: https://code.google.com/p/protoc-gen-as3/
21 * C#: http://code.google.com/p/protobuf-csharp-port
22 * C#: http://code.google.com/p/protosharp/
24 * C#/.NET/WCF/VB: http://code.google.com/p/protobuf-net/
31 …/dart-lang/dart-protobuf (runtime) https://github.com/dart-lang/dart-protoc-plugin (code generator)
37 * Erlang: https://code.google.com/p/protoc-gen-erl/
40 * Go: http://code.google.com/p/goprotobuf/
46 * Java ME: http://code.google.com/p/protobuf-javame/
[all …]
/frameworks/av/media/audioserver/
Dmain_audioserver.cpp80 const char *code; in main() local
83 code = "CLD_EXITED"; in main()
86 code = "CLD_KILLED"; in main()
89 code = "CLD_DUMPED"; in main()
92 code = "CLD_STOPPED"; in main()
95 code = "CLD_TRAPPED"; in main()
98 code = "CLD_CONTINUED"; in main()
102 code = buffer; in main()
108 info.si_pid, info.si_status, code, in main()
/frameworks/base/telephony/java/com/android/ims/
DImsException.java38 public ImsException(String message, int code) { in ImsException() argument
39 super(message + "(" + code + ")"); in ImsException()
40 mCode = code; in ImsException()
43 public ImsException(String message, Throwable cause, int code) { in ImsException() argument
45 mCode = code; in ImsException()
/frameworks/base/core/java/android/app/
DAppOpsManagerInternal.java43 int checkOperation(int code, int uid, String packageName, boolean raw, in checkOperation() argument
56 int checkAudioOperation(int code, int usage, int uid, String packageName, in checkAudioOperation() argument
68 int noteOperation(int code, int uid, String packageName, in noteOperation() argument
91 public abstract void setUidMode(int code, int uid, int mode); in setUidMode() argument
99 public abstract void setAllPkgModesToDefault(int code, int uid); in setAllPkgModesToDefault() argument
112 public abstract @AppOpsManager.Mode int checkOperationUnchecked(int code, int uid, in checkOperationUnchecked() argument

12345678910>>...46