Home
last modified time | relevance | path

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

12345678910>>...106

/aosp12/frameworks/av/media/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp106 uint32 code; in DecodeUserData() local
455 uint code; in PV_VlcDecMV() local
468 code = (code >> 8) - 2; in PV_VlcDecMV()
476 code = (code >> 2) - 32; in PV_VlcDecMV()
488 code -= 4; in PV_VlcDecMV()
1371 code = (code >> 6 & 0x1F) | (code << 5 & 0x7ff); in VlcDecTCOEFShortHeader_AnnexT()
1444 code = (code >> 6 & 0x1F) | (code << 5 & 0x7ff); in VlcDecTCOEFShortHeader_AnnexIT()
1526 code = code & 0x7fff; in RvlcDecTCOEFInter()
1527 code = code >> (15 - (len + 1)); in RvlcDecTCOEFInter()
1609 code = code & 0x7fff; in RvlcDecTCOEFIntra()
[all …]
H A Dbitstream.h46 PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code);
47 PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code);
62 *code = stream->curr_word >> (32 - nbits); in BitstreamShowBits16()
78 *code = stream->curr_word >> 17; in BitstreamShow15Bits()
92 *code = stream->curr_word >> 19; in BitstreamShow13Bits()
97 uint code; in BitstreamReadBits16_INLINE() local
104 code = stream->curr_word >> (32 - nbits); in BitstreamReadBits16_INLINE()
106 return code; in BitstreamReadBits16_INLINE()
112 uint code; in BitstreamRead1Bits_INLINE() local
119 code = stream->curr_word >> 31; in BitstreamRead1Bits_INLINE()
[all …]
/aosp12/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp240 code->env->CallVoidMethod(code->clazz, in mainWorkCallback()
245 code->env->CallVoidMethod(code->clazz, in mainWorkCallback()
250 code->env->CallVoidMethod(code->clazz, in mainWorkCallback()
255 code->env->CallVoidMethod(code->clazz, in mainWorkCallback()
375 code->obbPath = code->obbPathObj.string(); in loadNativeCode_native()
420 code->callbacks.onStart(code); in onStart_native()
434 code->callbacks.onResume(code); in onResume_native()
477 code->callbacks.onPause(code); in onPause_native()
491 code->callbacks.onStop(code); in onStop_native()
519 code->callbacks.onLowMemory(code); in onLowMemory_native()
[all …]
/aosp12/art/libdexfile/dex/
H A Ddex_instruction_utils.h88 return Instruction::IGET <= code && code <= Instruction::IGET_SHORT; in IsInstructionIGet()
92 return Instruction::IPUT <= code && code <= Instruction::IPUT_SHORT; in IsInstructionIPut()
96 return Instruction::SGET <= code && code <= Instruction::SGET_SHORT; in IsInstructionSGet()
100 return Instruction::SPUT <= code && code <= Instruction::SPUT_SHORT; in IsInstructionSPut()
104 return Instruction::AGET <= code && code <= Instruction::AGET_SHORT; in IsInstructionAGet()
108 return Instruction::APUT <= code && code <= Instruction::APUT_SHORT; in IsInstructionAPut()
112 return Instruction::IGET <= code && code <= Instruction::IPUT_SHORT; in IsInstructionIGetOrIPut()
116 return Instruction::SGET <= code && code <= Instruction::SPUT_SHORT; in IsInstructionSGetOrSPut()
171 return (code >= Instruction::IPUT) ? IPutMemAccessType(code) : IGetMemAccessType(code); in IGetOrIPutMemAccessType()
176 return (code >= Instruction::SPUT) ? SPutMemAccessType(code) : SGetMemAccessType(code); in SGetOrSPutMemAccessType()
[all …]
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardStateTestsBase.java108 mSwitcher.onCodeInput(code); in releaseKey()
121 pressKey(code, afterPress); in pressAndReleaseKey()
122 releaseKey(code, afterRelease); in pressAndReleaseKey()
143 mSwitcher.onCodeInput(code); in chordingReleaseKey()
157 chordingPressKey(code, afterPress); in chordingPressAndReleaseKey()
169 pressKey(code, afterPress); in pressAndSlideFromKey()
170 mSwitcher.onReleaseKey(code, SLIDING); in pressAndSlideFromKey()
182 pressKey(code, afterPress); in stopSlidingOnKey()
183 mSwitcher.onCodeInput(code); in stopSlidingOnKey()
250 secondPressKey(code, afterPress); in secondPressAndReleaseKey()
[all …]
/aosp12/system/bt/bta/ag/
H A Dbta_ag_rfc.cc120 if (code == PORT_SUCCESS) { in bta_ag_mgmt_cback()
169 bta_ag_mgmt_cback(code, port_handle, 1); in bta_ag_mgmt_cback_1()
172 bta_ag_mgmt_cback(code, port_handle, 2); in bta_ag_mgmt_cback_2()
175 bta_ag_mgmt_cback(code, port_handle, 3); in bta_ag_mgmt_cback_3()
178 bta_ag_mgmt_cback(code, port_handle, 4); in bta_ag_mgmt_cback_4()
181 bta_ag_mgmt_cback(code, port_handle, 5); in bta_ag_mgmt_cback_5()
184 bta_ag_mgmt_cback(code, port_handle, 6); in bta_ag_mgmt_cback_6()
187 bta_ag_port_cback(code, port_handle, 1); in bta_ag_port_cback_1()
190 bta_ag_port_cback(code, port_handle, 2); in bta_ag_port_cback_2()
193 bta_ag_port_cback(code, port_handle, 3); in bta_ag_port_cback_3()
[all …]
/aosp12/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
H A DCodeUtilsTest.kt60 val code = """package org.example.test; regex
69 val code = """package org.example.test; regex
78 val code = """package org.example.test; regex
87 val code = """package org.example.test; regex
96 val code = """package org.example.test; regex
100 StaticJavaParser.parse(code), "org.example.Test"))
105 val code = """package org.example.test; regex
113 val code = """package org.example.test; regex
122 val code = """ regex
134 val code = """ regex
[all …]
H A DProtoLogCallProcessorTest.kt57 val code = """ regex
69 visitor.process(StaticJavaParser.parse(code), processor, "")
83 val code = """ regex
102 val code = """ regex
121 val code = """ regex
138 val code = """ regex
156 val code = """ regex
170 val code = """ regex
184 val code = """ regex
198 val code = """ regex
[all …]
H A DSourceTransformerTest.kt176 var code = StaticJavaParser.parse(TEST_CODE) regex
190 code = StaticJavaParser.parse(out)
232 code = StaticJavaParser.parse(out)
270 code = StaticJavaParser.parse(out)
307 code = StaticJavaParser.parse(out)
327 var code = StaticJavaParser.parse(TEST_CODE) regex
341 code = StaticJavaParser.parse(out)
379 code = StaticJavaParser.parse(out)
403 var code = StaticJavaParser.parse(TEST_CODE) regex
417 code = StaticJavaParser.parse(out)
[all …]
/aosp12/art/dex2oat/linker/x86/
H A Drelative_patcher_x86.cc34 DCHECK_LT(anchor_literal_offset, code->size()); in PatchPcRelativeReference()
35 DCHECK_EQ((*code)[anchor_literal_offset - 5u], 0xe8u); in PatchPcRelativeReference()
36 DCHECK_EQ((*code)[anchor_literal_offset - 4u], 0x00u); in PatchPcRelativeReference()
37 DCHECK_EQ((*code)[anchor_literal_offset - 3u], 0x00u); in PatchPcRelativeReference()
38 DCHECK_EQ((*code)[anchor_literal_offset - 2u], 0x00u); in PatchPcRelativeReference()
39 DCHECK_EQ((*code)[anchor_literal_offset - 1u], 0x00u); in PatchPcRelativeReference()
40 DCHECK_EQ((*code)[anchor_literal_offset] & 0xf8u, 0x58u); in PatchPcRelativeReference()
45 DCHECK_LE(literal_offset, code->size()); in PatchPcRelativeReference()
54 (*code)[literal_offset + 0u] = static_cast<uint8_t>(diff >> 0); in PatchPcRelativeReference()
55 (*code)[literal_offset + 1u] = static_cast<uint8_t>(diff >> 8); in PatchPcRelativeReference()
[all …]
/aosp12/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
H A Dsupplicant_sta_network_hidl_test.cpp175 status_and_interface_name.first.code); in TEST_P()
185 status_and_interface_type.first.code); in TEST_P()
195 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
211 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
215 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
230 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
247 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
250 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
590 status_and_subject_match.first.code); in TEST_P()
775 .code); in TEST_P()
[all …]
H A Dsupplicant_p2p_iface_hidl_test.cpp210 status_and_interface_name.first.code); in TEST_P()
382 status.code); in TEST_P()
394 status.code); in TEST_P()
495 .code); in TEST_P()
572 .code); in TEST_P()
592 .code); in TEST_P()
599 .code); in TEST_P()
608 .code); in TEST_P()
622 .code); in TEST_P()
626 .code); in TEST_P()
[all …]
H A Dsupplicant_sta_iface_hidl_test.cpp201 status_and_interface_name.first.code); in TEST_P()
211 status_and_interface_type.first.code); in TEST_P()
221 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
231 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
251 status.code); in TEST_P()
371 status.code); in TEST_P()
376 status.code); in TEST_P()
387 status.code); in TEST_P()
392 status.code); in TEST_P()
518 .code); in TEST_P()
[all …]
/aosp12/hardware/interfaces/wifi/supplicant/1.3/vts/functional/
H A Dsupplicant_sta_network_hidl_test.cpp88 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
123 if (SupplicantStatusCode::SUCCESS != status.code) { in TEST_P()
131 if (SupplicantStatusCode::SUCCESS != status.code) { in TEST_P()
141 if (SupplicantStatusCode::SUCCESS != status.code) { in TEST_P()
149 if (SupplicantStatusCode::SUCCESS != status.code) { in TEST_P()
164 if (SupplicantStatusCode::SUCCESS != status.code) { in TEST_P()
170 if (SupplicantStatusCode::SUCCESS != status.code) { in TEST_P()
188 if (SupplicantStatusCode::SUCCESS != status.code) { in TEST_P()
197 if (SupplicantStatusCode::SUCCESS != status.code) { in TEST_P()
245 status.code); in TEST_P()
[all …]
/aosp12/art/runtime/
H A Doat_file-inl.h29 if (code == nullptr) { in GetOatQuickMethodHeader()
33 return reinterpret_cast<const OatQuickMethodHeader*>(code) - 1; in GetOatQuickMethodHeader()
45 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetFrameSizeInBytes() local
46 if (code == nullptr) { in GetFrameSizeInBytes()
53 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetCoreSpillMask() local
54 if (code == nullptr) { in GetCoreSpillMask()
61 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetFpSpillMask() local
62 if (code == nullptr) { in GetFpSpillMask()
75 if (code == nullptr) { in GetVmapTable()
82 return reinterpret_cast<const uint8_t*>(code) - offset; in GetVmapTable()
[all …]
/aosp12/frameworks/av/media/mtp/
H A DMtpDebug.cpp23 uint16_t code; member
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()
393 if (code == 0) in getObjectPropCodeName()
395 return getCodeName(code, sObjectPropCodes); in getObjectPropCodeName()
399 if (code == 0) in getDevicePropCodeName()
[all …]
/aosp12/frameworks/base/telecomm/java/android/telecom/
H A DDisconnectCause.java187 mDisconnectCode = code; in DisconnectCause()
349 String code = ""; in toString() local
352 code = "UNKNOWN"; in toString()
355 code = "ERROR"; in toString()
358 code = "LOCAL"; in toString()
361 code = "REMOTE"; in toString()
364 code = "CANCELED"; in toString()
367 code = "MISSED"; in toString()
370 code = "REJECTED"; in toString()
373 code = "BUSY"; in toString()
[all …]
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
H A DKeyboardLayoutSetNavigateMoreKeysBase.java88 final Key actualKey = keyboard.getKey(code); in doTestMoreKeysOf()
123 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
127 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
131 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
135 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
139 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
143 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
147 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
151 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
156 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
[all …]
/aosp12/frameworks/base/obex/javax/obex/
H A DServerSession.java178 code = validateResponseCode(code); in handleAbortRequest()
180 sendResponse(code, null); in handleAbortRequest()
303 int code = -1; in handleSetPathRequest() local
372 code = validateResponseCode(code); in handleSetPathRequest()
537 int code = -1; in handleConnectRequest() local
616 code = validateResponseCode(code); in handleConnectRequest()
718 return code; in validateResponseCode()
722 return code; in validateResponseCode()
726 return code; in validateResponseCode()
730 return code; in validateResponseCode()
[all …]
/aosp12/art/dex2oat/linker/arm/
H A Drelative_patcher_thumb2.cc63 PatchBl(code, literal_offset, displacement); in PatchCall()
83 SetInsn32(code, literal_offset, insn); in PatchPcRelativeReference()
103 DCHECK_LT(literal_offset, code->size()); in PatchBakerReadBarrierBranch()
116 SetInsn32(code, literal_offset, insn); in PatchBakerReadBarrierBranch()
158 SetInsn32(code, literal_offset, value); in PatchBl()
162 DCHECK_LE(offset + 4u, code->size()); in SetInsn32()
164 uint8_t* addr = &(*code)[offset]; in SetInsn32()
172 DCHECK_LE(offset + 4u, code.size()); in GetInsn32()
174 const uint8_t* addr = &code[offset]; in GetInsn32()
189 DCHECK_LE(offset + 2u, code.size()); in GetInsn16()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/policy/
H A DAppOpsPolicy.java207 return superImpl.apply(code, resolveUid(code, uid), packageName, attributionTag, raw); in checkOperation()
286 code = resolveRecordAudioOp(code, uid); in resolveDatasourceOp()
288 return code; in resolveDatasourceOp()
291 if (resolvedCode != code) { in resolveDatasourceOp()
305 return code; in resolveDatasourceOp()
373 switch (code) { in resolveLocationOp()
379 return code; in resolveLocationOp()
386 return code; in resolveArOp()
392 return code; in resolveRecordAudioOp()
400 return code; in resolveRecordAudioOp()
[all …]
/aosp12/hardware/interfaces/wifi/supplicant/1.2/vts/functional/
H A Dsupplicant_sta_network_hidl_test.cpp60 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
65 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
78 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
83 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
97 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
103 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
118 if (status.code != SupplicantStatusCode::FAILURE_UNKNOWN) { in TEST_P()
119 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
201 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
206 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
[all …]
/aosp12/frameworks/av/media/codecs/amrwb/dec/src/
H A Ddec_acelp_4p_in_64.cpp162 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()
227 add_pulses(pos, 4, k, code); in dec_acelp_4p_in_64()
258 code[i] += 512; in add_pulses()
[all …]
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DSpacingAndPunctuations.java95 public boolean isWordSeparator(final int code) { in isWordSeparator() argument
99 public boolean isWordConnector(final int code) { in isWordConnector() argument
103 public boolean isWordCodePoint(final int code) { in isWordCodePoint() argument
104 return Character.isLetter(code) || isWordConnector(code); in isWordCodePoint()
107 public boolean isUsuallyPrecededBySpace(final int code) { in isUsuallyPrecededBySpace() argument
115 public boolean isClusteringSymbol(final int code) { in isClusteringSymbol() argument
119 public boolean isSentenceTerminator(final int code) { in isSentenceTerminator() argument
123 public boolean isAbbreviationMarker(final int code) { in isAbbreviationMarker() argument
124 return code == mAbbreviationMarker; in isAbbreviationMarker()
127 public boolean isSentenceSeparator(final int code) { in isSentenceSeparator() argument
[all …]
/aosp12/hardware/interfaces/wifi/1.0/vts/functional/
H A Dwifi_chip_hidl_test.cpp108 return status_and_iface.first.code; in createP2pIface()
118 return status_and_iface.first.code; in createStaIface()
145 HIDL_INVOKE(wifi_chip_, getId).first.code); in TEST_P()
222 status_and_firmware_dump.first.code); in TEST_P()
252 status_and_ring_buffer_status.first.code); in TEST_P()
284 EXPECT_EQ(WifiStatusCode::SUCCESS, status.code); in TEST_P()
310 EXPECT_EQ(WifiStatusCode::SUCCESS, status.code); in TEST_P()
325 status_and_debug_wake_reason.first.code); in TEST_P()
328 status_and_debug_wake_reason.first.code); in TEST_P()
530 if (status_and_rtt_controller.first.code != in TEST_P()
[all …]

12345678910>>...106