Searched refs:ap (Results 1 - 25 of 62) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dweight_a.c21 * 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 DAudioPlayer_to_android.cpp52 inline void audioManagerPlayerEvent(CAudioPlayer* ap, android::player_state_t event) { argument
53 if (ap->mObject.mEngine->mAudioManager != 0) {
54 ap->mObject.mEngine->mAudioManager->playerEvent(ap->mPIId, event);
86 SLresult aplayer_setPlayState(const android::sp<android::GenericPlayer> &ap, SLuint32 playState, argument
94 ap->stop();
101 ap->prepare();
106 ap->pause();
119 ap->prepare();
124 ap
147 adecoder_writeToBufferQueue(const uint8_t *data, size_t size, CAudioPlayer* ap) argument
215 android_audioPlayer_volumeUpdate(CAudioPlayer* ap) argument
381 audioTrack_handleMarker_lockPlay(CAudioPlayer* ap) argument
398 audioTrack_handleNewPos_lockPlay(CAudioPlayer* ap) argument
416 audioTrack_handleUnderrun_lockPlay(CAudioPlayer* ap) argument
446 audioPlayer_dispatch_headAtEnd_lockPlay(CAudioPlayer *ap, bool setPlayStateToPaused, bool needToLock) argument
484 audioPlayer_setStreamType(CAudioPlayer* ap, SLint32 type) argument
527 audioPlayer_setPerformanceMode(CAudioPlayer* ap, SLuint32 mode) argument
564 audioPlayer_getStreamType(CAudioPlayer* ap, SLint32 *pType) argument
597 audioPlayer_getPerformanceMode(CAudioPlayer* ap, SLuint32 *pMode) argument
623 audioPlayer_auxEffectUpdate(CAudioPlayer* ap) argument
671 audioPlayer_getAndroidObjectTypeForSourceSink(const CAudioPlayer *ap) argument
766 CAudioPlayer *ap = (CAudioPlayer *)user; local
1235 CAudioPlayer *ap = (CAudioPlayer *)user; local
1429 android_audioPlayer_setConfig(CAudioPlayer *ap, const SLchar *configKey, const void *pConfigValue, SLuint32 valueSize) argument
1464 android_audioPlayer_getConfig(CAudioPlayer* ap, const SLchar *configKey, SLuint32* pValueSize, void *pConfigValue) argument
2001 android_audioPlayer_setPlaybackRateAndConstraints(CAudioPlayer *ap, SLpermille rate, SLuint32 constraints) argument
2043 android_audioPlayer_metadata_getItemCount(CAudioPlayer *ap, SLuint32 *pItemCount) argument
2069 android_audioPlayer_metadata_getKeySize(CAudioPlayer *ap, SLuint32 index, SLuint32 *pKeySize) argument
2105 android_audioPlayer_metadata_getKey(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) argument
2142 android_audioPlayer_metadata_getValueSize(CAudioPlayer *ap, SLuint32 index, SLuint32 *pValueSize) argument
2178 android_audioPlayer_metadata_getValue(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pValue) argument
2215 android_audioPlayer_setPlayState(CAudioPlayer *ap) argument
2280 android_audioPlayer_usePlayEventMask(CAudioPlayer *ap) argument
2332 CAudioPlayer *ap = (CAudioPlayer *)pPlayItf->mThis; local
2358 CAudioPlayer *ap = (CAudioPlayer *)pPlayItf->mThis; local
2391 android_audioPlayer_seek(CAudioPlayer *ap, SLmillisecond posMsec) argument
2417 android_audioPlayer_loop(CAudioPlayer *ap, SLboolean loopEnable) argument
2437 android_audioPlayer_setBufferingUpdateThresholdPerMille(CAudioPlayer *ap, SLpermille threshold) argument
2456 android_audioPlayer_bufferQueue_onRefilled_l(CAudioPlayer *ap) argument
2490 android_audioPlayer_bufferQueue_onClear(CAudioPlayer *ap) argument
2511 android_audioPlayer_androidBufferQueue_clear_l(CAudioPlayer *ap) argument
2525 android_audioPlayer_androidBufferQueue_onRefilled_l(CAudioPlayer *ap) argument
[all...]
/frameworks/wilhelm/src/
H A Dhandler_bodies.cpp27 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 Dlocks.cpp221 CAudioPlayer *ap = (CAudioPlayer *) thiz; local
222 prefetchCallback = ap->mPrefetchStatus.mDeferredPrefetchCallback;
223 prefetchContext = ap->mPrefetchStatus.mDeferredPrefetchContext;
224 prefetchEvents = ap->mPrefetchStatus.mDeferredPrefetchEvents;
225 ap->mPrefetchStatus.mDeferredPrefetchCallback = NULL;
227 ap->mPrefetchStatus.mDeferredPrefetchContext = NULL;
228 ap->mPrefetchStatus.mDeferredPrefetchEvents = SL_PREFETCHEVENT_NONE;
229 if (ap->mDeferredStart) {
230 audioTrack = ap->mTrackPlayer->mAudioTrack;
231 ap
249 CAudioPlayer *ap = (CAudioPlayer *) thiz; local
[all...]
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.cpp54 SoundPool *ap = MusterSoundPool(env, thiz); local
55 if (ap == NULL) return 0;
56 return (jint) ap->load(jniGetFDFromFileDescriptor(env, fileDescriptor),
63 SoundPool *ap = MusterSoundPool(env, thiz); local
64 if (ap == NULL) return JNI_FALSE;
65 return ap->unload(sampleID) ? JNI_TRUE : JNI_FALSE;
74 SoundPool *ap = MusterSoundPool(env, thiz); local
75 if (ap == NULL) return 0;
76 return (jint) ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate);
83 SoundPool *ap local
92 SoundPool *ap = MusterSoundPool(env, thiz); local
101 SoundPool *ap = MusterSoundPool(env, thiz); local
110 SoundPool *ap = MusterSoundPool(env, thiz); local
119 SoundPool *ap = MusterSoundPool(env, thiz); local
129 SoundPool *ap = MusterSoundPool(env, thiz); local
138 SoundPool *ap = MusterSoundPool(env, thiz); local
148 SoundPool *ap = MusterSoundPool(env, thiz); local
158 SoundPool *ap = MusterSoundPool(env, thiz); local
168 SoundPool *ap = MusterSoundPool(env, thiz); local
204 SoundPool *ap = new SoundPool(maxChannels, paa); local
226 SoundPool *ap = MusterSoundPool(env, thiz); local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dweight_amrwb_lpc.cpp48 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 DTraceUtils.h41 va_list ap; local
44 va_start(ap, fmt);
45 vsnprintf(buf, BUFFER_SIZE, fmt, ap);
46 va_end(ap);
/frameworks/wilhelm/src/itf/
H A DIAndroidEffectSend.cpp35 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
37 if (NULL == ap) {
43 result = android_fxSend_attachToAux(ap, effectImplementationId, enable,
44 initialLevel + ap->mVolume.mLevel);
92 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
94 if (NULL != ap) {
95 SLmillibel oldDirectLevel = ap->mDirectLevel;
97 ap->mDirectLevel = directLevel;
98 ap->mAmplFromDirectLevel = sles_to_android_amplification(directLevel);
125 CAudioPlayer *ap local
154 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
193 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
[all...]
H A DIMuteSolo.cpp31 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 DIEffectSend.cpp133 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 DIPlaybackRate.cpp33 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 DUsbAccessoryUriActivity.java70 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 DUsbDebuggingSecondaryUserActivity.java45 final AlertController.AlertParams ap = mAlertParams;
46 ap.mTitle = getString(R.string.usb_debugging_secondary_user_title);
47 ap.mMessage = getString(R.string.usb_debugging_secondary_user_message);
48 ap.mPositiveButtonText = getString(android.R.string.ok);
49 ap.mPositiveButtonListener = this;
H A DUsbDebuggingActivity.java66 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 DUsbConfirmActivity.java70 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 DUsbPermissionActivity.java83 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 DBugreportWarningActivity.java56 final AlertController.AlertParams ap = mAlertParams;
57 ap.mView = LayoutInflater.from(this).inflate(R.layout.confirm_repeat, null);
58 ap.mPositiveButtonText = getString(android.R.string.ok);
59 ap.mNegativeButtonText = getString(android.R.string.cancel);
60 ap.mPositiveButtonListener = this;
61 ap.mNegativeButtonListener = this;
63 mConfirmRepeat = (CheckBox) ap.mView.findViewById(android.R.id.checkbox);
/frameworks/native/vulkan/libvulkan/
H A Ddebug_report.h106 va_list ap; variable
107 va_start(ap, format);
109 GetObjectUInt64(object), format, ap);
110 va_end(ap); variable
116 va_list ap; variable
117 va_start(ap, format);
119 GetObjectUInt64(object), format, ap);
120 va_end(ap); variable
126 va_list ap; variable
127 va_start(ap, forma
130 va_end(ap); variable
[all...]
/frameworks/base/tools/aapt/
H A DSourcePos.cpp116 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DAccessPointControllerImpl.java105 public int getIcon(AccessPoint ap) { argument
106 int level = ap.getLevel();
110 public boolean connect(AccessPoint ap) { argument
111 if (ap == null) return false;
112 if (DEBUG) Log.d(TAG, "connect networkId=" + ap.getConfig().networkId);
113 if (ap.isSaved()) {
114 mWifiTracker.getManager().connect(ap.getConfig().networkId, mConnectListener);
117 if (ap.getSecurity() != AccessPoint.SECURITY_NONE) {
119 intent.putExtra(EXTRA_START_CONNECT_SSID, ap.getSsidStr());
124 ap
[all...]
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp164 asset_path ap; local
170 ap.type = ::getFileType(realPath.string());
171 if (ap.type == kFileTypeRegular) {
172 ap.path = realPath;
174 ap.path = path;
175 ap.type = ::getFileType(path.string());
176 if (ap.type != kFileTypeDirectory && ap.type != kFileTypeRegular) {
178 path.string(), (int)ap.type);
185 if (mAssetPaths[i].path == ap
296 asset_path ap; local
494 appendPathToResTable(const asset_path& ap, bool appAsLib) const argument
736 openNonAssetInPathLocked(const char* fileName, AccessMode mode, const asset_path& ap) argument
805 createPathNameLocked(const asset_path& ap, const char* rootDir) argument
816 getZipFileLocked(const asset_path& ap) argument
934 const asset_path& ap = mAssetPaths.itemAt(i); local
983 const asset_path& ap = mAssetPaths.itemAt(which); local
1013 scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* rootDir, const char* dirName) argument
1144 scanAndMergeZipLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* rootDir, const char* baseDirName) argument
1448 addOverlay(const asset_path& ap) argument
[all...]
/frameworks/base/cmds/idmap/
H A Dinspect.cpp116 va_list ap; local
118 va_start(ap, fmt);
120 vfprintf(stderr, fmt, ap);
121 va_end(ap);
129 va_list ap; local
131 va_start(ap, fmt);
133 vprintf(fmt, ap);
135 va_end(ap);
139 va_list ap; local
141 va_start(ap, fm
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java327 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/core/java/com/android/internal/app/
H A DConfirmUserCreationActivity.java71 final AlertController.AlertParams ap = mAlertParams;
72 ap.mMessage = message;
73 ap.mPositiveButtonText = getString(android.R.string.ok);
74 ap.mPositiveButtonListener = this;
78 ap.mNegativeButtonText = getString(android.R.string.cancel);
79 ap.mNegativeButtonListener = this;
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
H A DAccessPointTest.java70 final AccessPoint ap = new AccessPoint(InstrumentationRegistry.getTargetContext(), bundle);
71 final CharSequence ssid = ap.getSsid();
197 AccessPoint ap = createAccessPointWithScanResultCache();
198 int originalRssi = ap.getRssi();
204 AccessPoint ap = createAccessPointWithScanResultCache();
205 int originalRssi = ap.getRssi();
207 ap.setRssi(newRssi);
208 assertThat(ap.getRssi()).isEqualTo(newRssi);
217 AccessPoint ap =
226 assertThat(ap
[all...]

Completed in 3270 milliseconds

123