Home
last modified time | relevance | path

Searched refs:acc (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/media/libeffects/testlibs/
DAudioBiquadFilter.cpp163 audio_coef_sample_acc_t acc; in process_normal_mono() local
164 acc = mul_coef_sample(b0, x0); in process_normal_mono()
165 acc = mac_coef_sample(b1, x1, acc); in process_normal_mono()
166 acc = mac_coef_sample(b2, x2, acc); in process_normal_mono()
167 acc = mac_coef_sample(a1, y1, acc); in process_normal_mono()
168 acc = mac_coef_sample(a2, y2, acc); in process_normal_mono()
169 audio_sample_t y0 = coef_sample_acc_to_sample(acc); in process_normal_mono()
216 audio_coef_sample_acc_t acc; in process_normal_multi() local
217 acc = mul_coef_sample(b0, x0); in process_normal_multi()
218 acc = mac_coef_sample(b1, x1, acc); in process_normal_multi()
[all …]
DAudioCommon.h55 …_coef_sample_acc_t mac_coef_sample(audio_coef_t x, audio_sample_t y, audio_coef_sample_acc_t acc) { in mac_coef_sample() argument
56 return acc + ((audio_coef_sample_acc_t) (x)) * y; in mac_coef_sample()
60 inline audio_sample_t coef_sample_acc_to_sample(audio_coef_sample_acc_t acc) { in coef_sample_acc_to_sample() argument
61 if (acc < 0) { in coef_sample_acc_to_sample()
62 acc += AUDIO_COEF_ONE - 1; in coef_sample_acc_to_sample()
64 return (audio_sample_t) (acc >> AUDIO_COEF_PRECISION); in coef_sample_acc_to_sample()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp35 AutoCallerClear acc; in doOnNewAudioModulesAvailable() local
58 AutoCallerClear acc; in setDeviceConnectionState() local
70 AutoCallerClear acc; in getDeviceConnectionState() local
89 AutoCallerClear acc; in handleDeviceConfigChange() local
115 AutoCallerClear acc; in setPhoneState() local
146 AutoCallerClear acc; in setForceUse() local
159 AutoCallerClear acc; in getForceUse() local
173 AutoCallerClear acc; in getOutput() local
209 AutoCallerClear acc; in getOutputForAttr() local
274 AutoCallerClear acc; in startOutput() local
[all …]
DAudioPolicyService.cpp633 AutoCallerClear acc; in setAppState_l() local
/frameworks/ml/nn/common/
DQuantUtils.h38 int32_t acc = bias[row]; in MatrixBatchVectorMultiplyAccumulate() local
42 acc += input_val * weights_val; in MatrixBatchVectorMultiplyAccumulate()
44 acc = MultiplyByQuantizedMultiplier(acc, multiplier, shift); in MatrixBatchVectorMultiplyAccumulate()
45 acc += output_zp; in MatrixBatchVectorMultiplyAccumulate()
46 acc += output[batch * n_output + row]; in MatrixBatchVectorMultiplyAccumulate()
47 if (acc > output_max) { in MatrixBatchVectorMultiplyAccumulate()
48 acc = output_max; in MatrixBatchVectorMultiplyAccumulate()
50 if (acc < output_min) { in MatrixBatchVectorMultiplyAccumulate()
51 acc = output_min; in MatrixBatchVectorMultiplyAccumulate()
53 output[batch * n_output + row] = static_cast<T>(acc); in MatrixBatchVectorMultiplyAccumulate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageProcessHelper.java170 float[] acc = new float[256]; in compute() local
171 for (int i = 0; i < acc.length; i++) { in compute()
172 acc[i] = (float) histogram[i] / pixelCount; in compute()
173 float prev = i == 0 ? 0f : acc[i - 1]; in compute()
174 float next = acc[i]; in compute()
181 acc[i] += acc[i - 1]; in compute()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DTrackedGarbage.java89 ArrayMap<Class<?>, Integer> acc = new ArrayMap<>(); in dump() local
92 acc.put(ref.clazz, acc.getOrDefault(ref.clazz, 0) + 1); in dump()
98 for (Map.Entry<Class<?>, Integer> entry : acc.entrySet()) { in dump()
/frameworks/base/core/java/android/hardware/usb/
DAccessoryFilter.java95 public boolean matches(UsbAccessory acc) { in matches() argument
96 if (mManufacturer != null && !acc.getManufacturer().equals(mManufacturer)) return false; in matches()
97 if (mModel != null && !acc.getModel().equals(mModel)) return false; in matches()
98 return !(mVersion != null && !acc.getVersion().equals(mVersion)); in matches()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java78 byte acc = 0; in calibrateMethod()
80 acc += buffer[i]; in calibrateMethod()
82 buffer[0] = acc; in calibrateMethod()
/frameworks/av/media/libaudioprocessing/
DAudioResamplerFirProcess.h88 inline void acc(TC coef, const TI*& data) { in acc() function
90 Accumulator<CHANNELS-1, TO>::acc(coef, data); in acc()
106 inline void acc(TC coef __unused, const TI*& data __unused) { in acc() function
202 accum.acc(c, tmp_data); in ProcessBase()
210 accum.acc(c, tmp_data); in ProcessBase()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
Dnbody.rscript67 float3 acc = force;
72 out.xyz = mad(acc, half_dt, mad(v.xyz, dt, in.xyz));
73 v.xyz += acc;
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.cpp70 BufferInfo acc, cur; in pinSelectedBuffer() local
93 acc = cur; in pinSelectedBuffer()
94 accPtr = &acc; in pinSelectedBuffer()
/frameworks/native/services/sensorservice/
DSensorFusion.cpp108 const vec3_t acc(event.data); in process() local
111 mFusions[i].handleAcc(acc, dT); in process()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1038 AccountInfo acc = accIt.next(); in removeStaleAccounts() local
1039 if (acc.accountAndUser.userId != userId) { in removeStaleAccounts()
1043 || !ArrayUtils.contains(currentAccounts, acc.accountAndUser.account)) { in removeStaleAccounts()
1046 Slog.v(TAG, "Account removed: " + acc.accountAndUser); in removeStaleAccounts()
1048 for (AuthorityInfo auth : acc.authorities.values()) { in removeStaleAccounts()
DSyncManager.java3233 for (AccountAndUser acc : mRunningAccounts) { in updateRunningAccountsH()
3234 Slog.v(TAG, acc.toString()); in updateRunningAccountsH()
/frameworks/base/core/java/android/view/
DViewRootImpl.java6055 float acc = acceleration; in collect() local
6059 if (scale > 1) acc *= scale; in collect()
6062 + " scale=" + scale + " acc=" + acc); in collect()
6063 acceleration = acc < MAX_ACCELERATION ? acc : MAX_ACCELERATION; in collect()
6067 if (scale > 1) acc /= scale; in collect()
6070 + " scale=" + scale + " acc=" + acc); in collect()
6071 acceleration = acc > 1 ? acc : 1; in collect()
6128 float acc = acceleration; in generate() local
6129 acc *= 1.1f; in generate()
6130 acceleration = acc < MAX_ACCELERATION ? acc : acceleration; in generate()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1764 for (Account acc : getAccounts(parentUserId, mContext.getOpPackageName())) { in completeCloningAccount()
1765 if (acc.equals(account)) { in completeCloningAccount()
2694 for (Account acc : accounts.accountCache.get(account.type)) { in accountExistsCache()
2695 if (acc.name.equals(account.name)) { in accountExistsCache()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt103272 Ljava/io/ObjectInputStream$ValidationList$Callback;->acc:Ljava/security/AccessControlContext;
108823 Ljava/util/concurrent/Executors$PrivilegedCallable;->acc:Ljava/security/AccessControlContext;
108826 Ljava/util/concurrent/Executors$PrivilegedCallableUsingCurrentClassLoader;->acc:Ljava/security/Acce…
108830 Ljava/util/concurrent/Executors$PrivilegedThreadFactory;->acc:Ljava/security/AccessControlContext;
112620 Lsun/misc/URLClassPath$JarLoader;->acc:Ljava/security/AccessControlContext;
112649 Lsun/misc/URLClassPath;->acc:Ljava/security/AccessControlContext;