/frameworks/av/media/libstagefright/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 …]
|
D | bitstream.cpp | 175 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/ |
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/base/telecomm/java/android/telecom/ |
D | DisconnectCause.java | 119 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/ |
D | ServerSession.java | 164 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/ |
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/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() 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 …]
|
D | MtpDeviceInfo.java | 151 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/av/media/libstagefright/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/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 160 private AppOpItem getAppOpItem(List<AppOpItem> appOpList, int code, int uid, in getAppOpItem() argument 165 if (item.getCode() == code && item.getUid() == uid in getAppOpItem() 173 private boolean updateActives(int code, int uid, String packageName, boolean active) { in updateActives() argument 175 AppOpItem item = getAppOpItem(mActiveItems, code, uid, packageName); in updateActives() 177 item = new AppOpItem(code, uid, packageName, System.currentTimeMillis()); in updateActives() 190 private void removeNoted(int code, int uid, String packageName) { in removeNoted() argument 193 item = getAppOpItem(mNotedItems, code, uid, packageName); in removeNoted() 201 active = getAppOpItem(mActiveItems, code, uid, packageName) != null; in removeNoted() 204 notifySuscribers(code, uid, packageName, false); in removeNoted() 208 private boolean addNoted(int code, int uid, String packageName) { in addNoted() argument [all …]
|
/frameworks/native/libs/binder/ |
D | IAppOpsService.cpp | 39 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/base/telephony/java/android/telephony/ims/ |
D | ImsException.java | 98 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/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 …]
|
D | rs_value_types.spec | 37 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/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 32 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/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/native/cmds/installd/ |
D | dexopt_return_codes.h | 41 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/av/media/audioserver/ |
D | main_audioserver.cpp | 80 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/services/core/java/com/android/server/ |
D | NativeDaemonEvent.java | 41 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 …]
|
/frameworks/base/tools/processors/view_inspector/test/resources/android/processor/view/inspector/InspectionCompanionGeneratorTest/ |
D | SimpleProperties.java.txt | 22 * Property ID of {@code boolean}. 27 * Property ID of {@code byte}. 32 * Property ID of {@code char}. 37 * Property ID of {@code color}. 42 * Property ID of {@code double}. 47 * Property ID of {@code float}. 52 * Property ID of {@code gravity}. 57 * Property ID of {@code int}. 62 * Property ID of {@code long}. 67 * Property ID of {@code object}. [all …]
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 97 bool hasKey(int32_t code) { return getEventHub()->hasScanCode(mId, code); } in hasKey() argument 99 bool hasAbsoluteAxis(int32_t code) { in hasAbsoluteAxis() argument 101 getEventHub()->getAbsoluteAxisInfo(mId, code, &info); in hasAbsoluteAxis() 105 bool isKeyPressed(int32_t code) { in isKeyPressed() argument 106 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN; in isKeyPressed() 109 int32_t getAbsoluteAxisValue(int32_t code) { in getAbsoluteAxisValue() argument 111 getEventHub()->getAbsoluteAxisValue(mId, code, &value); in getAbsoluteAxisValue() 134 typedef int32_t (InputMapper::*GetStateFunc)(uint32_t sourceMask, int32_t code); 135 int32_t getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc);
|
/frameworks/base/telephony/java/com/android/ims/ |
D | ImsException.java | 38 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()
|