/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | weight_a.c | 21 * ap[i] = a[i] * (gamma ** i) * 30 Word16 ap[], /* (o) Q12 : Spectral expanded LPC coefficients */ 36 *ap++ = *a++; 39 *ap++ =(Word16)(((vo_L_mult((*a++), fac)) + 0x8000) >> 16); 43 *ap++ = (Word16)(((vo_L_mult((*a++), fac)) + 0x8000) >> 16); 28 Weight_a( Word16 a[], Word16 ap[], Word16 gamma, Word16 m ) argument
|
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 42 SLresult aplayer_setPlayState(const android::sp<android::GenericPlayer> &ap, SLuint32 playState, argument 50 ap->stop(); 57 ap->prepare(); 62 ap->pause(); 75 ap->prepare(); 80 ap->play(); 103 static size_t adecoder_writeToBufferQueue(const uint8_t *data, size_t size, CAudioPlayer* ap) { argument 104 if (!android::CallbackProtector::enterCbIfOk(ap->mCallbackProtector)) { 114 object_lock_exclusive(&ap->mObject); 116 if (ap 171 android_audioPlayer_volumeUpdate(CAudioPlayer* ap) argument 337 audioTrack_handleMarker_lockPlay(CAudioPlayer* ap) argument 354 audioTrack_handleNewPos_lockPlay(CAudioPlayer* ap) argument 372 audioTrack_handleUnderrun_lockPlay(CAudioPlayer* ap) argument 402 audioPlayer_dispatch_headAtEnd_lockPlay(CAudioPlayer *ap, bool setPlayStateToPaused, bool needToLock) argument 440 audioPlayer_setStreamType(CAudioPlayer* ap, SLint32 type) argument 484 audioPlayer_getStreamType(CAudioPlayer* ap, SLint32 *pType) argument 518 audioPlayer_auxEffectUpdate(CAudioPlayer* ap) argument 565 audioPlayer_getAndroidObjectTypeForSourceSink(CAudioPlayer *ap) argument 660 CAudioPlayer *ap = (CAudioPlayer *)user; local 1179 CAudioPlayer *ap = (CAudioPlayer *)user; local 1363 android_audioPlayer_setConfig(CAudioPlayer *ap, const SLchar *configKey, const void *pConfigValue, SLuint32 valueSize) argument 1389 android_audioPlayer_getConfig(CAudioPlayer* ap, const SLchar *configKey, SLuint32* pValueSize, void *pConfigValue) argument 1795 android_audioPlayer_setPlaybackRateAndConstraints(CAudioPlayer *ap, SLpermille rate, SLuint32 constraints) argument 1837 android_audioPlayer_metadata_getItemCount(CAudioPlayer *ap, SLuint32 *pItemCount) argument 1863 android_audioPlayer_metadata_getKeySize(CAudioPlayer *ap, SLuint32 index, SLuint32 *pKeySize) argument 1899 android_audioPlayer_metadata_getKey(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) argument 1936 android_audioPlayer_metadata_getValueSize(CAudioPlayer *ap, SLuint32 index, SLuint32 *pValueSize) argument 1972 android_audioPlayer_metadata_getValue(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pValue) argument 2009 android_audioPlayer_setPlayState(CAudioPlayer *ap) argument 2059 android_audioPlayer_usePlayEventMask(CAudioPlayer *ap) argument 2111 CAudioPlayer *ap = (CAudioPlayer *)pPlayItf->mThis; local 2137 CAudioPlayer *ap = (CAudioPlayer *)pPlayItf->mThis; local 2170 android_audioPlayer_seek(CAudioPlayer *ap, SLmillisecond posMsec) argument 2196 android_audioPlayer_loop(CAudioPlayer *ap, SLboolean loopEnable) argument 2216 android_audioPlayer_setBufferingUpdateThresholdPerMille(CAudioPlayer *ap, SLpermille threshold) argument 2235 android_audioPlayer_bufferQueue_onRefilled_l(CAudioPlayer *ap) argument 2268 android_audioPlayer_bufferQueue_onClear(CAudioPlayer *ap) argument 2289 android_audioPlayer_androidBufferQueue_clear_l(CAudioPlayer *ap) argument 2303 android_audioPlayer_androidBufferQueue_onRefilled_l(CAudioPlayer *ap) argument [all...] |
/frameworks/wilhelm/src/ |
H A D | handler_bodies.c | 27 CAudioPlayer *ap = (CAudioPlayer *) thiz; local 28 android_audioPlayer_volumeUpdate(ap); 62 CAudioPlayer *ap; local 63 ap = (CAudioPlayer *) thiz; 65 (void) android_audioPlayer_seek(ap, ap->mSeek.mPos); 81 CAudioPlayer *ap = (CAudioPlayer *) thiz; local 82 android_audioPlayer_usePlayEventMask(ap); 90 CAudioPlayer *ap = (CAudioPlayer *) thiz; local 91 android_audioPlayer_setPlayState(ap); 130 CAudioPlayer *ap = (CAudioPlayer *) thiz; local 141 CAudioPlayer *ap = (CAudioPlayer *) thiz; local 172 CAudioPlayer *ap = (CAudioPlayer *) thiz; local [all...] |
H A D | locks.c | 222 CAudioPlayer *ap = (CAudioPlayer *) thiz; local 223 prefetchCallback = ap->mPrefetchStatus.mDeferredPrefetchCallback; 224 prefetchContext = ap->mPrefetchStatus.mDeferredPrefetchContext; 225 prefetchEvents = ap->mPrefetchStatus.mDeferredPrefetchEvents; 226 ap->mPrefetchStatus.mDeferredPrefetchCallback = NULL; 228 ap->mPrefetchStatus.mDeferredPrefetchContext = NULL; 229 ap->mPrefetchStatus.mDeferredPrefetchEvents = SL_PREFETCHEVENT_NONE; 230 if (ap->mDeferredStart) { 231 audioTrack = ap->mAudioTrack; 232 ap 250 CAudioPlayer *ap = (CAudioPlayer *) thiz; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | weight_amrwb_lpc.cpp | 48 int16 ap[], (o) Q12 : Spectral expanded LPC coefficients 56 ap[i] = a[i] (gamma i) 118 int16 ap[], /* (o) Q12 : Spectral expanded LPC coefficients */ 125 ap[0] = a[0]; 129 ap[i] = (int16)(fxp_mac_16by16(a[i], fac, roundFactor) >> 15); 132 ap[i] = (int16)(fxp_mac_16by16(a[i], fac, roundFactor) >> 15); 116 weight_amrwb_lpc( int16 a[], int16 ap[], int16 gamma, int16 m ) argument
|
/frameworks/base/libs/hwui/utils/ |
H A D | TraceUtils.h | 41 va_list ap; local 44 va_start(ap, fmt); 45 vsnprintf(buf, BUFFER_SIZE, fmt, ap); 46 va_end(ap);
|
/frameworks/base/media/jni/soundpool/ |
H A D | android_media_SoundPool_SoundPoolImpl.cpp | 52 SoundPool *ap = MusterSoundPool(env, thiz); local 58 int id = ap->load(s, priority); 68 SoundPool *ap = MusterSoundPool(env, thiz); local 69 if (ap == NULL) return 0; 70 return (jint) ap->load(jniGetFDFromFileDescriptor(env, fileDescriptor), 77 SoundPool *ap = MusterSoundPool(env, thiz); local 78 if (ap == NULL) return JNI_FALSE; 79 return ap->unload(sampleID) ? JNI_TRUE : JNI_FALSE; 88 SoundPool *ap = MusterSoundPool(env, thiz); local 89 if (ap 97 SoundPool *ap = MusterSoundPool(env, thiz); local 106 SoundPool *ap = MusterSoundPool(env, thiz); local 115 SoundPool *ap = MusterSoundPool(env, thiz); local 124 SoundPool *ap = MusterSoundPool(env, thiz); local 133 SoundPool *ap = MusterSoundPool(env, thiz); local 143 SoundPool *ap = MusterSoundPool(env, thiz); local 153 SoundPool *ap = MusterSoundPool(env, thiz); local 163 SoundPool *ap = MusterSoundPool(env, thiz); local 173 SoundPool *ap = MusterSoundPool(env, thiz); local 209 SoundPool *ap = new SoundPool(maxChannels, paa); local 231 SoundPool *ap = MusterSoundPool(env, thiz); local [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IAndroidEffectSend.c | 35 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 37 if (NULL == ap) { 41 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); 44 result = android_fxSend_attachToAux(ap, effectImplementationId, enable, 45 initialLevel + ap->mVolume.mLevel); 93 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 95 if (NULL != ap) { 96 SLmillibel oldDirectLevel = ap->mDirectLevel; 98 ap->mDirectLevel = directLevel; 99 ap 126 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 155 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 194 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local [all...] |
H A D | IMuteSolo.c | 31 CAudioPlayer *ap = (CAudioPlayer *) thisObject; local 33 SLuint8 numChannels = ap->mNumChannels; 42 SLuint8 oldMuteMask = ap->mMuteMask; 44 ap->mMuteMask |= mask; 46 ap->mMuteMask &= ~mask; 48 interface_unlock_exclusive_attributes(thiz, oldMuteMask != ap->mMuteMask ? ATTR_GAIN : 70 CAudioPlayer *ap = (CAudioPlayer *) thisObject; local 73 SLuint8 numChannels = ap->mNumChannels; 81 SLuint8 mask = ap->mMuteMask; 103 CAudioPlayer *ap local 142 CAudioPlayer *ap = (CAudioPlayer *) thisObject; local 178 CAudioPlayer *ap = (CAudioPlayer *) thisObject; local [all...] |
H A D | IEffectSend.c | 133 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 136 assert(NULL != ap); 138 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); 142 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable, 144 initialLevel + ap->mVolume.mLevel)); 146 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable, 148 initialLevel + ap->mVolume.mLevel)); 199 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 201 if (NULL != ap) { 202 SLmillibel oldDirectLevel = ap 234 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 270 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local [all...] |
H A D | IPlaybackRate.c | 33 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 35 if (NULL != ap) { 36 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, rate, thiz->mProperties); 87 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 89 if (NULL != ap) { 90 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, thiz->mRate,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbAccessoryUriActivity.java | 70 final AlertController.AlertParams ap = mAlertParams; 71 ap.mTitle = mAccessory.getDescription(); 72 if (ap.mTitle == null || ap.mTitle.length() == 0) { 73 ap.mTitle = getString(R.string.title_usb_accessory); 75 ap.mMessage = getString(R.string.usb_accessory_uri_prompt, mUri); 76 ap.mPositiveButtonText = getString(R.string.label_view); 77 ap.mNegativeButtonText = getString(android.R.string.cancel); 78 ap.mPositiveButtonListener = this; 79 ap [all...] |
H A D | UsbDebuggingActivity.java | 66 final AlertController.AlertParams ap = mAlertParams; 67 ap.mTitle = getString(R.string.usb_debugging_title); 68 ap.mMessage = getString(R.string.usb_debugging_message, fingerprints); 69 ap.mPositiveButtonText = getString(android.R.string.ok); 70 ap.mNegativeButtonText = getString(android.R.string.cancel); 71 ap.mPositiveButtonListener = this; 72 ap.mNegativeButtonListener = this; 75 LayoutInflater inflater = LayoutInflater.from(ap.mContext); 79 ap.mView = checkbox;
|
H A D | UsbConfirmActivity.java | 70 final AlertController.AlertParams ap = mAlertParams; 71 ap.mIcon = mResolveInfo.loadIcon(packageManager); 72 ap.mTitle = appName; 74 ap.mMessage = getString(R.string.usb_accessory_confirm_prompt, appName); 77 ap.mMessage = getString(R.string.usb_device_confirm_prompt, appName); 80 ap.mPositiveButtonText = getString(android.R.string.ok); 81 ap.mNegativeButtonText = getString(android.R.string.cancel); 82 ap.mPositiveButtonListener = this; 83 ap.mNegativeButtonListener = this; 88 ap [all...] |
H A D | UsbPermissionActivity.java | 83 final AlertController.AlertParams ap = mAlertParams; 84 ap.mIcon = aInfo.loadIcon(packageManager); 85 ap.mTitle = appName; 87 ap.mMessage = getString(R.string.usb_accessory_permission_prompt, appName); 90 ap.mMessage = getString(R.string.usb_device_permission_prompt, appName); 93 ap.mPositiveButtonText = getString(android.R.string.ok); 94 ap.mNegativeButtonText = getString(android.R.string.cancel); 95 ap.mPositiveButtonListener = this; 96 ap.mNegativeButtonListener = this; 101 ap [all...] |
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportWarningActivity.java | 54 final AlertController.AlertParams ap = mAlertParams; 55 ap.mView = LayoutInflater.from(this).inflate(R.layout.confirm_repeat, null); 56 ap.mPositiveButtonText = getString(android.R.string.ok); 57 ap.mNegativeButtonText = getString(android.R.string.cancel); 58 ap.mPositiveButtonListener = this; 59 ap.mNegativeButtonListener = this; 61 mConfirmRepeat = (CheckBox) ap.mView.findViewById(android.R.id.checkbox);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | AccessPointControllerImpl.java | 119 public boolean connect(AccessPoint ap) { argument 120 if (ap == null) return false; 121 if (DEBUG) Log.d(TAG, "connect networkId=" + ap.networkId); 122 if (ap.networkId < 0) { 124 if (ap.hasSecurity) { 126 intent.putExtra(EXTRA_START_CONNECT_SSID, ap.ssid); 132 config.SSID = "\"" + ap.ssid + "\""; 137 mWifiManager.connect(ap.networkId, mConnectListener); 191 final AccessPoint ap = new AccessPoint(); 192 ap [all...] |
/frameworks/base/tools/aapt/ |
H A D | SourcePos.cpp | 116 va_list ap; local 117 va_start(ap, fmt); 118 String8 msg = String8::formatV(fmt, ap); 119 va_end(ap); 126 va_list ap; local 127 va_start(ap, fmt); 128 String8 msg = String8::formatV(fmt, ap); 129 va_end(ap); 136 va_list ap; local 137 va_start(ap, fm [all...] |
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 177 asset_path ap; local 183 ap.type = ::getFileType(realPath.string()); 184 if (ap.type == kFileTypeRegular) { 185 ap.path = realPath; 187 ap.path = path; 188 ap.type = ::getFileType(path.string()); 189 if (ap.type != kFileTypeDirectory && ap.type != kFileTypeRegular) { 191 path.string(), (int)ap.type); 198 if (mAssetPaths[i].path == ap 310 asset_path ap; local 843 openNonAssetInPathLocked(const char* fileName, AccessMode mode, const asset_path& ap) argument 900 openInPathLocked(const char* fileName, AccessMode mode, const asset_path& ap) argument 929 openInLocaleVendorLocked(const char* fileName, AccessMode mode, const asset_path& ap, const char* locale, const char* vendor) argument 1064 createPathNameLocked(const asset_path& ap, const char* locale, const char* vendor) argument 1076 createPathNameLocked(const asset_path& ap, const char* rootDir) argument 1096 getZipFileLocked(const asset_path& ap) argument 1223 const asset_path& ap = mAssetPaths.itemAt(i); local 1277 const asset_path& ap = mAssetPaths.itemAt(which); local 1307 scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* rootDir, const char* dirName) argument 1495 scanAndMergeZipLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* rootDir, const char* baseDirName) argument 1764 const asset_path& ap = mAssetPaths.itemAt(i); local 1781 fncScanAndMergeDirLocked( SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* locale, const char* vendor, const char* dirName) argument 1945 addOverlay(const asset_path& ap) argument [all...] |
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 115 va_list ap; local 117 va_start(ap, fmt); 119 vfprintf(stderr, fmt, ap); 120 va_end(ap); 128 va_list ap; local 130 va_start(ap, fmt); 132 vprintf(fmt, ap); 134 va_end(ap); 138 va_list ap; local 140 va_start(ap, fm [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | RestrictionsPinActivity.java | 61 AlertController.AlertParams ap = mAlertParams; 62 ap.mTitle = getString(R.string.restr_pin_enter_admin_pin); 65 ap.mView = inflater.inflate(R.layout.restrictions_pin_challenge, null); 67 mPinErrorMessage = (TextView) ap.mView.findViewById(R.id.pin_error_message); 68 mPinText = (EditText) ap.mView.findViewById(R.id.pin_text); 69 mOkButton = (Button) ap.mView.findViewById(R.id.pin_ok_button); 70 mCancelButton = (Button) ap.mView.findViewById(R.id.pin_cancel_button);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | Base64Test.java | 327 int ap; 335 ap = 0; 336 while ((b = b64is.read(actual, ap, actual.length-ap)) != -1) { 337 ap += b; 339 assertEquals(actual, ap, plain); 344 ap = 0; 346 actual[ap++] = (byte) b; 348 assertEquals(actual, ap, plain); 353 ap [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioPort.java | 168 AudioPort ap = (AudioPort)o; 169 return mHandle.equals(ap.handle());
|
/frameworks/rs/cpu_ref/linkloader/ |
H A D | main.cpp | 78 va_list ap; local 79 va_start(ap, fmt); 80 int result = vprintf(fmt, ap); 81 va_end(ap); 86 va_list ap; local 87 va_start(ap, fmt); 88 int result = vscanf(fmt, ap); 89 va_end(ap);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | armVCM4P10_DeBlockPixel.c | 71 int ap, aq, delta; local 94 ap = armAbs(p2 - p0); 107 if (ap < beta) 123 if (ChromaFlag==0 && ap<beta) 139 if (ChromaFlag==0 && ap<beta && armAbs(p0-q0)<((alpha>>2)+2))
|