Searched refs:ap (Results 1 - 25 of 66) 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
2002 android_audioPlayer_setPlaybackRateAndConstraints(CAudioPlayer *ap, SLpermille rate, SLuint32 constraints) argument
2044 android_audioPlayer_metadata_getItemCount(CAudioPlayer *ap, SLuint32 *pItemCount) argument
2070 android_audioPlayer_metadata_getKeySize(CAudioPlayer *ap, SLuint32 index, SLuint32 *pKeySize) argument
2106 android_audioPlayer_metadata_getKey(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) argument
2143 android_audioPlayer_metadata_getValueSize(CAudioPlayer *ap, SLuint32 index, SLuint32 *pValueSize) argument
2179 android_audioPlayer_metadata_getValue(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pValue) argument
2216 android_audioPlayer_setPlayState(CAudioPlayer *ap) argument
2281 android_audioPlayer_usePlayEventMask(CAudioPlayer *ap) argument
2337 CAudioPlayer *ap = (CAudioPlayer *)pPlayItf->mThis; local
2363 CAudioPlayer *ap = (CAudioPlayer *)pPlayItf->mThis; local
2396 android_audioPlayer_seek(CAudioPlayer *ap, SLmillisecond posMsec) argument
2422 android_audioPlayer_loop(CAudioPlayer *ap, SLboolean loopEnable) argument
2442 android_audioPlayer_setBufferingUpdateThresholdPerMille(CAudioPlayer *ap, SLpermille threshold) argument
2461 android_audioPlayer_bufferQueue_onRefilled_l(CAudioPlayer *ap) argument
2495 android_audioPlayer_bufferQueue_onClear(CAudioPlayer *ap) argument
2516 android_audioPlayer_androidBufferQueue_clear_l(CAudioPlayer *ap) argument
2530 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 DUsbConfirmActivity.java70 final AlertController.AlertParams ap = mAlertParams;
71 ap.mTitle = appName;
73 ap.mMessage = getString(R.string.usb_accessory_confirm_prompt, appName,
77 ap.mMessage = getString(R.string.usb_device_confirm_prompt, appName,
81 ap.mPositiveButtonText = getString(android.R.string.ok);
82 ap.mNegativeButtonText = getString(android.R.string.cancel);
83 ap.mPositiveButtonListener = this;
84 ap.mNegativeButtonListener = this;
89 ap.mView = inflater.inflate(com.android.internal.R.layout.always_use_checkbox, null);
90 mAlwaysUse = (CheckBox)ap
[all...]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
H A DAccessPointTest.java110 final AccessPoint ap = new AccessPoint(InstrumentationRegistry.getTargetContext(), bundle);
111 final CharSequence ssid = ap.getSsid();
226 AccessPoint ap = createAccessPointWithScanResultCache();
227 int originalRssi = ap.getRssi();
233 AccessPoint ap = createAccessPointWithScanResultCache();
234 int originalRssi = ap.getRssi();
236 ap.setRssi(newRssi);
237 assertThat(ap.getRssi()).isEqualTo(newRssi);
246 AccessPoint ap =
256 ap
828 performGivenUpdateAndThenNullListenerBeforeResumingMainHandlerExecution( AccessPoint ap, Runnable r) argument
[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/libs/androidfw/
H A DAssetManager.cpp177 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
303 asset_path ap; local
337 asset_path ap; local
536 appendPathToResTable(asset_path& ap, bool appAsLib) const argument
779 openNonAssetInPathLocked(const char* fileName, AccessMode mode, asset_path& ap) argument
850 createPathNameLocked(const asset_path& ap, const char* rootDir) argument
861 getZipFileLocked(asset_path& ap) argument
991 const asset_path& ap = mAssetPaths.itemAt(i); local
1040 const asset_path& ap = mAssetPaths.itemAt(which); local
1070 scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* rootDir, const char* dirName) argument
1201 scanAndMergeZipLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* rootDir, const char* baseDirName) argument
1524 addOverlay(const asset_path& ap) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DAccessPointControllerImpl.java109 public int getIcon(AccessPoint ap) { argument
110 int level = ap.getLevel();
114 public boolean connect(AccessPoint ap) { argument
115 if (ap == null) return false;
116 if (DEBUG) Log.d(TAG, "connect networkId=" + ap.getConfig().networkId);
117 if (ap.isSaved()) {
118 mWifiTracker.getManager().connect(ap.getConfig().networkId, mConnectListener);
121 if (ap.getSecurity() != AccessPoint.SECURITY_NONE) {
123 intent.putExtra(EXTRA_START_CONNECT_SSID, ap.getSsidStr());
128 ap
[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/media/jni/
H A Dandroid_media_AudioPresentation.h134 const sp<AudioPresentation> &ap = info.getPresentation(i); local
138 for (size_t i = 0; i < ap->mLabels.size(); ++i) {
139 labelMessage->setString(ap->mLabels.keyAt(i).string(),
140 ap->mLabels.valueAt(i).string());
145 jstring jLanguage = env->NewStringUTF(ap->mLanguage.string());
148 static_cast<jint>(ap->mPresentationId),
149 static_cast<jint>(ap->mProgramId),
152 static_cast<jint>(ap->mMasteringIndication),
153 static_cast<jboolean>((ap->mAudioDescriptionAvailable == 1) ?
155 static_cast<jboolean>((ap
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DSuspendedAppActivity.java95 final AlertController.AlertParams ap = mAlertParams;
96 ap.mTitle = getString(R.string.app_suspended_title);
97 ap.mMessage = dialogMessage;
98 ap.mPositiveButtonText = getString(android.R.string.ok);
101 ap.mNeutralButtonText = getString(R.string.app_suspended_more_details);
103 ap.mPositiveButtonListener = ap.mNeutralButtonListener = this;
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/core/tests/coretests/src/android/util/
H A DBase64Test.java329 int ap;
337 ap = 0;
338 while ((b = b64is.read(actual, ap, actual.length-ap)) != -1) {
339 ap += b;
341 assertEquals(actual, ap, plain);
346 ap = 0;
348 actual[ap++] = (byte) b;
350 assertEquals(actual, ap, plain);
355 ap
[all...]

Completed in 705 milliseconds

123