/frameworks/av/media/module/codecs/m4v_h263/dec/src/ |
D | vlc_decode.cpp | 106 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 …]
|
D | bitstream.h | 39 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 …]
|
/frameworks/base/core/jni/ |
D | android_app_NativeActivity.cpp | 186 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/ |
D | MtpDebug.cpp | 23 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/libs/binary_translation/tests/ndk_program_tests/arm/ |
D | runtime_code_patching_test.cc | 60 uint32_t* code = reinterpret_cast<uint32_t*>( in TEST() local 62 memcpy(code, code_image, sizeof(code_image)); in TEST() 63 code[11] = reinterpret_cast<uint32_t>(ClearInsnCache); in TEST() 65 ClearInsnCache(code, code + 1024); in TEST() 68 int32_t result = (reinterpret_cast<Func>(code))(); in TEST() 71 munmap(code, 4096); in TEST() 90 uint32_t* code = reinterpret_cast<uint32_t*>( in TEST() local 92 memcpy(code, code_image, sizeof(code_image)); in TEST() 94 ClearInsnCache(code, code + 1024); in TEST() 102 reinterpret_cast<Func>(code), in TEST() [all …]
|
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/ |
D | CodeUtilsTest.kt | 61 val code = """package org.example.test; in checkWildcardStaticImported_true() constant 65 StaticJavaParser.parse(code), "org.example.Test", "") in checkWildcardStaticImported_true() 70 val code = """package org.example.test; in checkWildcardStaticImported_notStatic() constant 74 StaticJavaParser.parse(code), "org.example.Test", "") in checkWildcardStaticImported_notStatic() 79 val code = """package org.example.test; in checkWildcardStaticImported_differentClass() constant 83 StaticJavaParser.parse(code), "org.example.Test", "") in checkWildcardStaticImported_differentClass() 88 val code = """package org.example.test; in checkWildcardStaticImported_notWildcard() constant 92 StaticJavaParser.parse(code), "org.example.Test", "") in checkWildcardStaticImported_notWildcard() 97 val code = """package org.example.test; in isClassImportedOrSamePackage_imported() constant 101 StaticJavaParser.parse(code), "org.example.Test")) in isClassImportedOrSamePackage_imported() [all …]
|
D | ProtoLogCallProcessorImplTest.kt | 61 val code = """ in process_samePackage() constant 73 visitor.process(StaticJavaParser.parse(code), processor, "") in process_samePackage() 87 val code = """ in process_imported() constant 100 visitor.process(StaticJavaParser.parse(code), processor, "") in process_imported() 106 val code = """ in process_importedStatic() constant 119 visitor.process(StaticJavaParser.parse(code), processor, "") in process_importedStatic() 125 val code = """ in process_groupNotImported() constant 137 visitor.process(StaticJavaParser.parse(code), processor, "") in process_groupNotImported() 142 val code = """ in process_protoLogNotImported() constant 154 visitor.process(StaticJavaParser.parse(code), processor, "") in process_protoLogNotImported() [all …]
|
D | SourceTransformerTest.kt | 150 var code = StaticJavaParser.parse(TEST_CODE) in <lambda>() variable 160 visitor.processCall(code.findAll(MethodCallExpr::class.java)[0], "test %d %f", in <lambda>() 166 val out = sourceJarWriter.processClass(TEST_CODE, PATH, PATH, code) in <lambda>() 167 code = StaticJavaParser.parse(out) in <lambda>() 169 val protoLogCalls = code.findAll(MethodCallExpr::class.java).filter { in <lambda>() 187 var code = StaticJavaParser.parse(TEST_CODE_MULTICALLS) in <lambda>() variable 197 val calls = code.findAll(MethodCallExpr::class.java) in <lambda>() 208 val out = sourceJarWriter.processClass(TEST_CODE_MULTICALLS, PATH, PATH, code) in <lambda>() 209 code = StaticJavaParser.parse(out) in <lambda>() 211 val protoLogCalls = code.findAll(MethodCallExpr::class.java).filter { in <lambda>() [all …]
|
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/ |
D | lite_translate_region_exec_tests.cc | 36 void Reset(const T code) { in Reset() argument 37 state_.cpu.insn_addr = ToGuestAddr(code); in Reset() 43 bool Run(T& code, GuestAddr expected_stop_addr) { in Run() argument 44 Reset(code); in Run() 45 GuestAddr code_end = ToGuestAddr(bit_cast<char*>(&code[0]) + sizeof(code)); in Run() 70 static const uint32_t code[] = { in TEST_F() local 77 EXPECT_TRUE(Run(code, ToGuestAddr(bit_cast<char*>(&code[0]) + sizeof(code)))); in TEST_F() 82 static const uint16_t code[] = { in TEST_F() local 94 EXPECT_TRUE(Run(code, ToGuestAddr(&code[0]))); in TEST_F() 99 static const uint32_t code[] = { in TEST_F() local [all …]
|
/frameworks/libs/binary_translation/runtime/ |
D | translator_riscv64_test.cc | 29 static const uint32_t code[] = { in TEST() local 35 TryLiteTranslateAndInstallRegion(ToGuestAddr(code)); in TEST() 38 EXPECT_NE(host_code_piece.code, nullptr); in TEST() 45 static const uint32_t code[] = { in TEST() local 50 TryLiteTranslateAndInstallRegion(ToGuestAddr(code)); in TEST() 56 static const uint32_t code[] = { in TEST() local 62 TryLiteTranslateAndInstallRegion(ToGuestAddr(code)); in TEST() 65 EXPECT_NE(host_code_piece.code, nullptr); in TEST() 72 static const uint32_t code[] = { in TEST() local 76 auto [success, host_code_piece, guest_size, kind] = HeavyOptimizeRegion(ToGuestAddr(code)); in TEST() [all …]
|
D | execute_guest_test.cc | 35 const uint32_t code[] = { in TEST() local 43 GuestMapShadow::GetInstance()->SetExecutable(ToGuestAddr(&code[0]), sizeof(code)); in TEST() 47 cpu_state.insn_addr = ToGuestAddr(&code[0]); in TEST() 51 GuestAddr stop_pc = ToGuestAddr(&code[0]) + 16; in TEST() 58 GuestMapShadow::GetInstance()->ClearExecutable(ToGuestAddr(&code[0]), sizeof(code)); in TEST()
|
/frameworks/libs/binary_translation/assembler/ |
D | assembler_test.cc | 51 const MachineCode& code) { in CompareCode() argument 52 if ((code_template_end - code_template_begin) != static_cast<intptr_t>(code.install_size())) { in CompareCode() 55 code.install_size()); in CompareCode() 59 if (memcmp(code_template_begin, code.AddrAs<uint8_t>(0), code.install_size()) != 0) { in CompareCode() 64 code.AsString(&code_str1); in CompareCode() 77 MachineCode code; in AssemblerTest() local 78 CodeEmitter assembler(&code); in AssemblerTest() 112 if (sizeof(code_template) != code.install_size()) { in AssemblerTest() 113 ALOGE("Code size mismatch: %zu != %u", sizeof(code_template), code.install_size()); in AssemblerTest() 117 if (memcmp(code_template, code.AddrAs<uint8_t>(0), code.install_size()) != 0) { in AssemblerTest() [all …]
|
/frameworks/av/media/module/codecs/amrwb/dec/src/ |
D | dec_acelp_4p_in_64.cpp | 123 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 …]
|
D | dec_acelp_2p_in_64.cpp | 126 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/base/telecomm/java/android/telecom/ |
D | DisconnectCause.java | 159 public DisconnectCause(@DisconnectCauseCode int code) { in DisconnectCause() argument 160 this(code, null, null, null, ToneGenerator.TONE_UNKNOWN); in DisconnectCause() 169 public DisconnectCause(@DisconnectCauseCode int code, String reason) { in DisconnectCause() argument 170 this(code, null, null, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause() 181 public DisconnectCause(@DisconnectCauseCode int code, CharSequence label, in DisconnectCause() argument 183 this(code, label, description, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause() 195 public DisconnectCause(@DisconnectCauseCode int code, CharSequence label, in DisconnectCause() argument 197 this(code, label, description, reason, toneToPlay, in DisconnectCause() 216 public DisconnectCause(@DisconnectCauseCode int code, @Nullable CharSequence label, in DisconnectCause() argument 221 mDisconnectCode = code; in DisconnectCause() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | AppOpsPolicy.java | 232 public int checkOperation(int code, int uid, String packageName, in checkOperation() argument 235 return superImpl.apply(code, resolveUid(code, uid), packageName, attributionTag, in checkOperation() 240 public int checkAudioOperation(int code, int usage, int uid, String packageName, in checkAudioOperation() argument 242 return superImpl.apply(code, usage, uid, packageName); in checkAudioOperation() 246 public SyncNotedAppOp noteOperation(int code, int uid, @Nullable String packageName, in noteOperation() argument 251 return superImpl.apply(resolveDatasourceOp(code, uid, packageName, attributionTag), in noteOperation() 252 resolveUid(code, uid), packageName, attributionTag, virtualDeviceId, in noteOperation() 257 public SyncNotedAppOp noteProxyOperation(int code, @NonNull AttributionSource attributionSource, in noteProxyOperation() argument 262 return superImpl.apply(resolveDatasourceOp(code, attributionSource.getUid(), in noteProxyOperation() 269 public SyncNotedAppOp startOperation(IBinder token, int code, int uid, in startOperation() argument [all …]
|
/frameworks/av/media/utils/include/mediautils/ |
D | MethodStatistics.h | 59 void event(C&& code, FloatType executeMs) { in event() argument 61 auto it = mStatisticsMap.lower_bound(code); in event() 62 if (it != mStatisticsMap.end() && it->first == static_cast<Code>(code)) { in event() 67 mStatisticsMap.emplace_hint(it, std::forward<C>(code), dataArray); in event() 74 std::string getMethodForCode(const Code& code) const { in getMethodForCode() argument 75 auto it = mMethodMap.find(code); in getMethodForCode() 76 return it == mMethodMap.end() ? std::to_string((int)code) : it->second; in getMethodForCode() 82 size_t getMethodCount(const Code& code) const { in getMethodCount() argument 84 auto it = mStatisticsMap.find(code); in getMethodCount() 91 StatsType getStatistics(const Code& code) const { in getStatistics() argument [all …]
|
/frameworks/av/media/module/codecs/amrnb/enc/src/ |
D | cbsearch.cpp | 192 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/ |
D | MtpPropertyGroup.java | 38 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 …]
|
D | MtpDeviceInfo.java | 167 public boolean isOperationSupported(int code) { in isOperationSupported() argument 168 return isSupported(mOperationsSupported, code); in isOperationSupported() 176 public boolean isEventSupported(int code) { in isEventSupported() argument 177 return isSupported(mEventsSupported, code); in isEventSupported() 187 public boolean isDevicePropertySupported(int code) { in isDevicePropertySupported() argument 188 return isSupported(mDevicePropertySupported, code); in isDevicePropertySupported() 195 private static boolean isSupported(@NonNull int[] set, int code) { in isSupported() argument 197 if (element == code) { in isSupported()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 47 int checkOperation(int code, int uid, String packageName); in checkOperation() argument 48 …SyncNotedAppOp noteOperation(int code, int uid, String packageName, @nullable String attributionTa… in noteOperation() argument 50 SyncNotedAppOp startOperation(IBinder clientId, int code, int uid, String packageName, in startOperation() argument 55 void finishOperation(IBinder clientId, int code, int uid, String packageName, in finishOperation() argument 60 int checkAudioOperation(int code, int usage, int uid, String packageName); in checkAudioOperation() argument 68 SyncNotedAppOp noteProxyOperation(int code, in AttributionSource attributionSource, in noteProxyOperation() argument 72 SyncNotedAppOp startProxyOperation(IBinder clientId, int code, in startProxyOperation() argument 78 void finishProxyOperation(IBinder clientId, int code, in AttributionSource attributionSource, in finishProxyOperation() argument 109 void setUidMode(int code, int uid, int mode); in setUidMode() argument 111 void setMode(int code, int uid, String packageName, int mode); in setMode() argument [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsException.java | 95 public ImsException(@Nullable String message, @ImsErrorCode int code) { in ImsException() argument 96 super(getMessage(message, code)); in ImsException() 97 mCode = code; in ImsException() 108 public ImsException(@Nullable String message, @ImsErrorCode int code, in ImsException() argument 110 super(getMessage(message, code), cause); in ImsException() 111 mCode = code; in ImsException() 121 private static String getMessage(String message, int code) { in getMessage() argument 126 builder.append(code); in getMessage() 130 return "code: " + code; in getMessage()
|
/frameworks/native/cmds/installd/ |
D | dexopt_return_codes.h | 39 inline const char* get_installd_return_code_name(DexoptReturnCodes code) { in get_installd_return_code_name() argument 40 switch (code) { in get_installd_return_code_name() 71 inline const char* get_dex2oat_return_code_name(int code) { in get_dex2oat_return_code_name() argument 72 if (code == 0) { in get_dex2oat_return_code_name() 80 inline const char* get_return_code_name(int code) { in get_return_code_name() argument 81 const char* value = get_installd_return_code_name(static_cast<DexoptReturnCodes>(code)); in get_return_code_name() 85 value = get_dex2oat_return_code_name(code); in get_return_code_name()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64CA53Erratum835769Stub.cpp | 51 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/ |
D | rs_atomic.spec | 27 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 &= 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 …]
|