Home
last modified time | relevance | path

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

12345678910>>...36

/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/tools/protologtool/tests/com/android/protolog/tool/
DCodeUtilsTest.kt60 val code = """package org.example.test; in checkWildcardStaticImported_true() constant
64 StaticJavaParser.parse(code), "org.example.Test", "") in checkWildcardStaticImported_true()
69 val code = """package org.example.test; in checkWildcardStaticImported_notStatic() constant
73 StaticJavaParser.parse(code), "org.example.Test", "") in checkWildcardStaticImported_notStatic()
78 val code = """package org.example.test; in checkWildcardStaticImported_differentClass() constant
82 StaticJavaParser.parse(code), "org.example.Test", "") in checkWildcardStaticImported_differentClass()
87 val code = """package org.example.test; in checkWildcardStaticImported_notWildcard() constant
91 StaticJavaParser.parse(code), "org.example.Test", "") in checkWildcardStaticImported_notWildcard()
96 val code = """package org.example.test; in isClassImportedOrSamePackage_imported() constant
100 StaticJavaParser.parse(code), "org.example.Test")) in isClassImportedOrSamePackage_imported()
[all …]
DProtoLogCallProcessorTest.kt57 val code = """ in process_samePackage() constant
69 visitor.process(StaticJavaParser.parse(code), processor, "") in process_samePackage()
83 val code = """ in process_imported() constant
96 visitor.process(StaticJavaParser.parse(code), processor, "") in process_imported()
102 val code = """ in process_importedStatic() constant
115 visitor.process(StaticJavaParser.parse(code), processor, "") in process_importedStatic()
121 val code = """ in process_groupNotImported() constant
133 visitor.process(StaticJavaParser.parse(code), processor, "") in process_groupNotImported()
138 val code = """ in process_protoLogNotImported() constant
150 visitor.process(StaticJavaParser.parse(code), processor, "") in process_protoLogNotImported()
[all …]
DSourceTransformerTest.kt176 var code = StaticJavaParser.parse(TEST_CODE) in <lambda>() variable
183 visitor.processCall(code.findAll(MethodCallExpr::class.java)[0], "test %d %f", in <lambda>()
189 val out = sourceJarWriter.processClass(TEST_CODE, PATH, PATH, code) in <lambda>()
190 code = StaticJavaParser.parse(out) in <lambda>()
192 val ifStmts = code.findAll(IfStmt::class.java) in <lambda>()
213 var code = StaticJavaParser.parse(TEST_CODE_MULTICALLS) in <lambda>() variable
220 val calls = code.findAll(MethodCallExpr::class.java) in <lambda>()
231 val out = sourceJarWriter.processClass(TEST_CODE_MULTICALLS, PATH, PATH, code) in <lambda>()
232 code = StaticJavaParser.parse(out) in <lambda>()
234 val ifStmts = code.findAll(IfStmt::class.java) in <lambda>()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java119 public DisconnectCause(int code) { in DisconnectCause() argument
120 this(code, null, null, null, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
129 public DisconnectCause(int code, String reason) { in DisconnectCause() argument
130 this(code, null, null, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
141 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { in DisconnectCause() argument
142 this(code, label, description, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
154 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause() argument
156 mDisconnectCode = code; in DisconnectCause()
221 int code = source.readInt();
226 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()
161 Log.e(TAG, "unsupported property " + code); in createProperty()
167 return new Property(code, type, columns.size() - 1); in createProperty()
169 return new Property(code, type, -1); in createProperty()
201 switch (property.code) { in getPropertyList()
204 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/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java167 private AppOpItem getAppOpItemLocked(List<AppOpItem> appOpList, int code, int uid, in getAppOpItemLocked() argument
172 if (item.getCode() == code && item.getUid() == uid in getAppOpItemLocked()
180 private boolean updateActives(int code, int uid, String packageName, boolean active) { in updateActives() argument
182 AppOpItem item = getAppOpItemLocked(mActiveItems, code, uid, packageName); in updateActives()
184 item = new AppOpItem(code, uid, packageName, System.currentTimeMillis()); in updateActives()
197 private void removeNoted(int code, int uid, String packageName) { in removeNoted() argument
200 item = getAppOpItemLocked(mNotedItems, code, uid, packageName); in removeNoted()
208 active = getAppOpItemLocked(mActiveItems, code, uid, packageName) != null; in removeNoted()
211 notifySuscribers(code, uid, packageName, false); in removeNoted()
215 private boolean addNoted(int code, int uid, String packageName) { in addNoted() argument
[all …]
/frameworks/base/telephony/java/android/telephony/ims/
DImsException.java98 public ImsException(@Nullable String message, @ImsErrorCode int code) { in ImsException() argument
99 super(getMessage(message, code)); in ImsException()
100 mCode = code; in ImsException()
112 public ImsException(@Nullable String message, @ImsErrorCode int code, in ImsException() argument
114 super(getMessage(message, code), cause); in ImsException()
115 mCode = code; in ImsException()
125 private static String getMessage(String message, int code) { in getMessage() argument
130 builder.append(code); in getMessage()
134 return "code: " + code; in getMessage()
/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/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/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/native/libs/binder/
DIAppOpsService.cpp37 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) { in checkOperation() argument
40 data.writeInt32(code); in checkOperation()
49 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName, in noteOperation() argument
54 data.writeInt32(code); in noteOperation()
66 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, in startOperation() argument
72 data.writeInt32(code); in startOperation()
85 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, in finishOperation() argument
90 data.writeInt32(code); in finishOperation()
124 virtual int32_t checkAudioOperation(int32_t code, int32_t usage, in checkAudioOperation() argument
128 data.writeInt32(code); in checkAudioOperation()
[all …]
/frameworks/av/media/audioserver/
Dmain_audioserver.cpp79 const char *code; in main() local
82 code = "CLD_EXITED"; in main()
85 code = "CLD_KILLED"; in main()
88 code = "CLD_DUMPED"; in main()
91 code = "CLD_STOPPED"; in main()
94 code = "CLD_TRAPPED"; in main()
97 code = "CLD_CONTINUED"; in main()
101 code = buffer; in main()
107 info.si_pid, info.si_status, code, in main()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl37 int checkOperation(int code, int uid, String packageName); in checkOperation() argument
38 int noteOperation(int code, int uid, String packageName, @nullable String attributionTag, in noteOperation() argument
40 int startOperation(IBinder clientId, int code, int uid, String packageName, in startOperation() argument
44 void finishOperation(IBinder clientId, int code, int uid, String packageName, in finishOperation() argument
49 int checkAudioOperation(int code, int usage, int uid, String packageName); in checkAudioOperation() argument
55 int noteProxyOperation(int code, int proxiedUid, String proxiedPackageName, in noteProxyOperation() argument
82 void setUidMode(int code, int uid, int mode); in setUidMode() argument
84 void setMode(int code, int uid, String packageName, int mode); in setMode() argument
87 void setAudioRestriction(int code, int usage, int uid, int mode, in String[] exceptionPackages); in setAudioRestriction() argument
90 …void setUserRestriction(int code, boolean restricted, IBinder token, int userHandle, in String[] e… in setUserRestriction() argument
[all …]
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonEvent.java41 private NativeDaemonEvent(int cmdNumber, int code, String message, in NativeDaemonEvent() argument
44 mCode = code; in NativeDaemonEvent()
116 private static boolean isClassUnsolicited(int code) { in isClassUnsolicited() argument
117 return code >= 600 && code < 700; in isClassUnsolicited()
125 public void checkCode(int code) { in checkCode() argument
126 if (mCode != code) { in checkCode()
127 throw new IllegalStateException("Expected " + code + " but was: " + this); in checkCode()
145 final int code; in parseRawEvent() local
147 code = Integer.parseInt(parsed[0]); in parseRawEvent()
154 if (isClassUnsolicited(code) == false) { in parseRawEvent()
[all …]

12345678910>>...36