/frameworks/base/media/jni/soundpool/ |
D | android_media_SoundPool.cpp | 45 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_load_URL() local 51 int id = ap->load(s, priority); in android_media_SoundPool_load_URL() 61 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_load_FD() local 62 if (ap == NULL) return 0; in android_media_SoundPool_load_FD() 63 return ap->load(jniGetFDFromFileDescriptor(env, fileDescriptor), in android_media_SoundPool_load_FD() 70 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_unload() local 71 if (ap == NULL) return 0; in android_media_SoundPool_unload() 72 return ap->unload(sampleID); in android_media_SoundPool_unload() 81 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_play() local 82 if (ap == NULL) return 0; in android_media_SoundPool_play() [all …]
|
/frameworks/base/libs/utils/ |
D | AssetManager.cpp | 141 asset_path ap; in addAssetPath() local 147 ap.type = ::getFileType(realPath.string()); in addAssetPath() 148 if (ap.type == kFileTypeRegular) { in addAssetPath() 149 ap.path = realPath; in addAssetPath() 151 ap.path = path; in addAssetPath() 152 ap.type = ::getFileType(path.string()); in addAssetPath() 153 if (ap.type != kFileTypeDirectory && ap.type != kFileTypeRegular) { in addAssetPath() 155 path.string(), (int)ap.type); in addAssetPath() 162 if (mAssetPaths[i].path == ap.path) { in addAssetPath() 171 ap.type == kFileTypeDirectory ? "dir" : "zip", ap.path.string()); in addAssetPath() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbAccessoryUriActivity.java | 72 final AlertController.AlertParams ap = mAlertParams; in onCreate() local 73 ap.mTitle = mAccessory.getDescription(); in onCreate() 74 if (ap.mTitle == null || ap.mTitle.length() == 0) { in onCreate() 75 ap.mTitle = getString(R.string.title_usb_accessory); in onCreate() 77 ap.mMessage = getString(R.string.usb_accessory_uri_prompt, mUri); in onCreate() 78 ap.mPositiveButtonText = getString(R.string.label_view); in onCreate() 79 ap.mNegativeButtonText = getString(android.R.string.cancel); in onCreate() 80 ap.mPositiveButtonListener = this; in onCreate() 81 ap.mNegativeButtonListener = this; in onCreate()
|
D | UsbConfirmActivity.java | 73 final AlertController.AlertParams ap = mAlertParams; in onCreate() local 74 ap.mIcon = mResolveInfo.loadIcon(packageManager); in onCreate() 75 ap.mTitle = appName; in onCreate() 77 ap.mMessage = getString(R.string.usb_accessory_confirm_prompt, appName); in onCreate() 80 ap.mMessage = getString(R.string.usb_device_confirm_prompt, appName); in onCreate() 83 ap.mPositiveButtonText = getString(android.R.string.ok); in onCreate() 84 ap.mNegativeButtonText = getString(android.R.string.cancel); in onCreate() 85 ap.mPositiveButtonListener = this; in onCreate() 86 ap.mNegativeButtonListener = this; in onCreate() 91 ap.mView = inflater.inflate(com.android.internal.R.layout.always_use_checkbox, null); in onCreate() [all …]
|
D | UsbPermissionActivity.java | 84 final AlertController.AlertParams ap = mAlertParams; in onCreate() local 85 ap.mIcon = aInfo.loadIcon(packageManager); in onCreate() 86 ap.mTitle = appName; in onCreate() 88 ap.mMessage = getString(R.string.usb_accessory_permission_prompt, appName); in onCreate() 91 ap.mMessage = getString(R.string.usb_device_permission_prompt, appName); in onCreate() 94 ap.mPositiveButtonText = getString(android.R.string.ok); in onCreate() 95 ap.mNegativeButtonText = getString(android.R.string.cancel); in onCreate() 96 ap.mPositiveButtonListener = this; in onCreate() 97 ap.mNegativeButtonListener = this; in onCreate() 102 ap.mView = inflater.inflate(com.android.internal.R.layout.always_use_checkbox, null); in onCreate() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 327 int ap; in testInputStream() local 335 ap = 0; in testInputStream() 336 while ((b = b64is.read(actual, ap, actual.length-ap)) != -1) { in testInputStream() 337 ap += b; in testInputStream() 339 assertEquals(actual, ap, plain); in testInputStream() 344 ap = 0; in testInputStream() 346 actual[ap++] = (byte) b; in testInputStream() 348 assertEquals(actual, ap, plain); in testInputStream() 353 ap = 0; in testInputStream() 357 b = b64is.read(actual, ap, l); in testInputStream() [all …]
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
D | weight_a.c | 30 Word16 ap[], /* (o) Q12 : Spectral expanded LPC coefficients */ in Weight_a() argument 36 *ap++ = *a++; in Weight_a() 39 *ap++ =(Word16)(((vo_L_mult((*a++), fac)) + 0x8000) >> 16); in Weight_a() 43 *ap++ = (Word16)(((vo_L_mult((*a++), fac)) + 0x8000) >> 16); in Weight_a()
|
/frameworks/compile/libbcc/helper/ |
D | DebugHelper.c | 12 va_list ap; in __android_log_print() local 15 va_start(ap, fmt); in __android_log_print() 16 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); in __android_log_print() 17 va_end(ap); in __android_log_print()
|
/frameworks/base/tools/aapt/ |
D | SourcePos.cpp | 124 va_list ap; in error() local 125 va_start(ap, fmt); in error() 126 retval = vsnprintf(buf, sizeof(buf), fmt, ap); in error() 127 va_end(ap); in error() 142 va_list ap; in warning() local 143 va_start(ap, fmt); in warning() 144 retval = vsnprintf(buf, sizeof(buf), fmt, ap); in warning() 145 va_end(ap); in warning()
|
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
D | weight_amrwb_lpc.cpp | 118 int16 ap[], /* (o) Q12 : Spectral expanded LPC coefficients */ in weight_amrwb_lpc() argument 125 ap[0] = a[0]; in weight_amrwb_lpc() 129 ap[i] = (int16)(fxp_mac_16by16(a[i], fac, roundFactor) >> 15); in weight_amrwb_lpc() 132 ap[i] = (int16)(fxp_mac_16by16(a[i], fac, roundFactor) >> 15); in weight_amrwb_lpc()
|
D | pvamrwbdecoder_acelp.h | 116 int16 ap[], /* (o) Q12 : Spectral expanded LPC coefficients */
|
/frameworks/base/services/java/com/android/server/ |
D | DevicePolicyManagerService.java | 643 ActiveAdmin ap = mAdminList.get(i); in saveSettingsLocked() local 644 if (ap != null) { in saveSettingsLocked() 646 out.attribute(null, "name", ap.info.getComponent().flattenToString()); in saveSettingsLocked() 647 ap.writeToXml(out); in saveSettingsLocked() 737 ActiveAdmin ap = new ActiveAdmin(dai); in loadSettingsLocked() local 738 ap.readFromXml(parser); in loadSettingsLocked() 739 mAdminMap.put(ap.info.getComponent(), ap); in loadSettingsLocked() local 740 mAdminList.add(ap); in loadSettingsLocked() 1022 ActiveAdmin ap = getActiveAdminForCallerLocked(who, in setPasswordQuality() local 1024 if (ap.passwordQuality != quality) { in setPasswordQuality() [all …]
|
/frameworks/compile/linkloader/ |
D | main.cpp | 80 va_list ap; in stub_printf() local 81 va_start(ap, fmt); in stub_printf() 82 int result = vprintf(fmt, ap); in stub_printf() 83 va_end(ap); in stub_printf() 88 va_list ap; in stub_scanf() local 89 va_start(ap, fmt); in stub_scanf() 90 int result = vscanf(fmt, ap); in stub_scanf() 91 va_end(ap); in stub_scanf()
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | armVCM4P10_DeBlockPixel.c | 56 int ap, aq, delta; in armVCM4P10_DeBlockPixel() local 79 ap = armAbs(p2 - p0); in armVCM4P10_DeBlockPixel() 92 if (ap < beta) in armVCM4P10_DeBlockPixel() 108 if (ChromaFlag==0 && ap<beta) in armVCM4P10_DeBlockPixel() 124 if (ChromaFlag==0 && ap<beta && armAbs(p0-q0)<((alpha>>2)+2)) in armVCM4P10_DeBlockPixel()
|
/frameworks/compile/libbcc/tests/ |
D | main.cpp | 69 va_list ap; in disassemble_printf() local 70 va_start(ap, fmt); in disassemble_printf() 71 vfprintf(disasmOut, fmt, ap); in disassemble_printf() 72 va_end(ap); in disassemble_printf()
|
D | disassem.cpp | 694 va_list ap; in disassemble_printf() local 695 va_start(ap, fmt); in disassemble_printf() 696 vprintf(fmt, ap); in disassemble_printf() 697 va_end(ap); in disassemble_printf()
|
/frameworks/base/tools/localize/ |
D | SourcePos.cpp | 134 va_list ap; in Error() local 135 va_start(ap, fmt); in Error() 136 retval = vsnprintf(buf, sizeof(buf), fmt, ap); in Error() 137 va_end(ap); in Error()
|
D | localize.cpp | 526 va_list ap; in log_printf() local 529 va_start(ap, fmt); in log_printf() 530 ret = vfprintf(g_logFile, fmt, ap); in log_printf() 531 va_end(ap); in log_printf()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | DataCallState.java | 132 String [] ap = addr.split("/"); in setLinkProperties() local 133 if (ap.length == 2) { in setLinkProperties() 134 addr = ap[0]; in setLinkProperties() 135 addrPrefixLen = Integer.parseInt(ap[1]); in setLinkProperties()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 86 AlertController.AlertParams ap = mAlertParams; in onCreate() local 88 ap.mTitle = title; in onCreate() 89 ap.mOnClickListener = this; in onCreate() 94 ap.mView = inflater.inflate(R.layout.always_use_checkbox, null); in onCreate() 95 mAlwaysCheck = (CheckBox)ap.mView.findViewById(com.android.internal.R.id.alwaysUse); in onCreate() 98 mClearDefaultHint = (TextView)ap.mView.findViewById( in onCreate() 105 ap.mAdapter = mAdapter; in onCreate() 111 ap.mMessage = getResources().getText(com.android.internal.R.string.noApplications); in onCreate()
|
/frameworks/base/media/libstagefright/foundation/ |
D | AString.cpp | 314 va_list ap; in StringPrintf() local 315 va_start(ap, format); in StringPrintf() 318 vasprintf(&buffer, format, ap); in StringPrintf() 320 va_end(ap); in StringPrintf()
|
/frameworks/base/media/libstagefright/codecs/avc/common/src/ |
D | deblock.cpp | 1088 int pel, ap = 0, aq = 0, Strng; in EdgeLoop_Luma_horizontal() local 1131 ap = AbsDelta & (tmp - Beta); in EdgeLoop_Luma_horizontal() 1144 if (ap < 0) in EdgeLoop_Luma_horizontal() 1203 ap = tmp - Beta; in EdgeLoop_Luma_horizontal() 1207 if (ap < 0) c0++; in EdgeLoop_Luma_horizontal() 1251 … if (ap < 0) //SrcPtr[-inc2] += IClip(-C0, C0,(L2 + ((RL0 + 1) >> 1) - (L1<<1)) >> 1); in EdgeLoop_Luma_horizontal() 1277 int pel, ap = 1, aq = 1; in EdgeLoop_Luma_vertical() local 1329 ap = AbsDelta & (tmp1 - Beta); in EdgeLoop_Luma_vertical() 1350 if (ap < 0) in EdgeLoop_Luma_vertical() 1418 ap = tmp - Beta; in EdgeLoop_Luma_vertical() [all …]
|
/frameworks/base/cmds/dumpstate/ |
D | utils.c | 157 va_list ap; in run_command() local 158 va_start(ap, command); in run_command() 161 args[arg] = va_arg(ap, const char *); in run_command()
|
/frameworks/base/include/utils/ |
D | AssetManager.h | 272 Asset* openIdmapLocked(const struct asset_path& ap) const;
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
D | acelp.h | 94 Word16 ap[], /* (o) Q12 : Spectral expanded LPC coefficients */
|