/frameworks/native/libs/debugstore/rust/src/ |
D | storage.rs | 40 let mut acc = init; in fold() localVariable 42 acc = func(acc, &value); in fold() 44 acc in fold() 62 let sum = storage.fold(0, |acc, &x| acc + x); in test_insert_and_retrieve() 73 let sum = storage.fold(0, |acc, &x| acc + x); in test_fold_functionality() 87 let first_sum = storage.fold(0, |acc, &x| acc + x); in test_insert_and_retrieve_multiple_values() 93 let second_sum = storage.fold(0, |acc, &x| acc + x); in test_insert_and_retrieve_multiple_values() 106 let sum = storage.fold(0, |acc, &x| acc + x); in test_storage_limit() 131 let count = storage.fold(0, |acc, _| acc + 1); in test_concurrent_insertions()
|
D | core.rs | 130 self.event_store.fold(String::new(), |mut acc, event| { in fmt() 131 if !acc.is_empty() { in fmt() 132 acc.push_str("||"); in fmt() 134 acc.push_str(&event.to_string()); in fmt() 135 acc in fmt()
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioBiquadFilter.cpp | 163 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 …]
|
D | AudioCommon.h | 55 …_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/media/utils/include/mediautils/ |
D | ExtendedAccumulator.h | 64 auto acc = mAccumulated.load(std::memory_order_relaxed); in poll() local 65 const auto bottom_bits = static_cast<UnsignedInt>(acc); in poll() 73 const bool acc_overflow = __builtin_add_overflow(acc, res.first, &acc); in poll() 78 mAccumulated.store(acc, std::memory_order_relaxed); in poll()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | TrackedGarbage.java | 89 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/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 124 AutoCallerClear acc; in doOnNewAudioModulesAvailable() local 150 AutoCallerClear acc; in setDeviceConnectionState() local 172 AutoCallerClear acc; in getDeviceConnectionState() local 200 AutoCallerClear acc; in handleDeviceConfigChange() local 242 AutoCallerClear acc; in setPhoneState() local 280 AutoCallerClear acc; in setForceUse() local 299 AutoCallerClear acc; in getForceUse() local 322 AutoCallerClear acc; in getOutput() local 381 AutoCallerClear acc; in getOutputForAttr() local 499 AutoCallerClear acc; in startOutput() local [all …]
|
/frameworks/base/core/java/android/hardware/usb/ |
D | AccessoryFilter.java | 102 public boolean matches(UsbAccessory acc) { in matches() argument 103 if (mManufacturer != null && !acc.getManufacturer().equals(mManufacturer)) return false; in matches() 104 if (mModel != null && !acc.getModel().equals(mModel)) return false; in matches() 105 return !(mVersion != null && !mVersion.equals(acc.getVersion())); in matches()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | NotificationsSoundPolicyInteractorTest.kt | 131 NotificationManager.Policy.ALL_PRIORITY_CATEGORIES.reduce { acc, value -> in <lambda>() method 132 acc or value in <lambda>() 270 NotificationManager.Policy.ALL_PRIORITY_CATEGORIES.reduce { acc, value -> in <lambda>() method 271 acc or value in <lambda>() 296 NotificationManager.Policy.ALL_PRIORITY_CATEGORIES.reduce { acc, value -> in <lambda>() method 297 acc or value in <lambda>()
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 78 byte acc = 0; in calibrateMethod() 80 acc += buffer[i]; in calibrateMethod() 82 buffer[0] = acc; in calibrateMethod()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerFirProcess.h | 88 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/ |
D | nbody.rscript | 67 float3 acc = force; 72 out.xyz = mad(acc, half_dt, mad(v.xyz, dt, in.xyz)); 73 v.xyz += acc;
|
/frameworks/native/libs/binder/tests/ |
D | binderRpcTestService.cpp | 67 std::string acc; in concatFiles() local 71 acc.append(result); in concatFiles() 73 out->reset(mockFileDescriptor(acc)); in concatFiles()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServerPermissionProvider.java | 206 IntArray acc = new IntArray(); in getUidsHoldingPerm() local 211 acc.add(uid); in getUidsHoldingPerm() 215 var unwrapped = acc.toArray(); in getUidsHoldingPerm()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | SparseArrayUtils.kt | 68 val acc = sparseArray.get(key) ?: initial in foldToSparseArray() constant 69 sparseArray.put(key, operation(acc, elem)) in foldToSparseArray()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/ui/view/ |
D | MirroringConfirmationDialogDelegate.kt | 126 animations.fold(0) { acc: Int, it -> acc or it.typeMask } in <lambda>() method
|
/frameworks/base/packages/SystemUI/scripts/token_alignment/ |
D | index.ts | 177 .reduce<Array<[string, string]>>((acc, prefix) => { 179 ...acc,
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.cpp | 71 BufferInfo acc, cur; in pinSelectedBuffer() local 94 acc = cur; in pinSelectedBuffer() 95 accPtr = &acc; in pinSelectedBuffer()
|
/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/ |
D | DOMFuncs.ts | 217 (acc, attr) => ({ ...acc, [attr]: el.getAttribute(attr) || '' }),
|
/frameworks/native/services/sensorservice/ |
D | SensorFusion.cpp | 117 const vec3_t acc(event.data); in process() local 120 mFusions[i].handleAcc(acc, dT); in process()
|
D | SensorService.cpp | 2702 AutoCallerClear acc; in registerSelf() local 2709 AutoCallerClear acc; in unregisterSelf() local 2734 AutoCallerClear acc; in registerSelf() local 2747 AutoCallerClear acc; in unregisterSelf() local
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 1118 AccountInfo acc = accIt.next(); in removeStaleAccounts() local 1119 if (acc.accountAndUser.userId != userId) { in removeStaleAccounts() 1123 || !ArrayUtils.contains(currentAccounts, acc.accountAndUser.account)) { in removeStaleAccounts() 1126 Slog.v(TAG, "Account removed: " + acc.accountAndUser); in removeStaleAccounts() 1128 for (AuthorityInfo auth : acc.authorities.values()) { in removeStaleAccounts()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 8422 float acc = acceleration; in collect() local 8426 if (scale > 1) acc *= scale; in collect() 8429 + " scale=" + scale + " acc=" + acc); in collect() 8430 acceleration = acc < MAX_ACCELERATION ? acc : MAX_ACCELERATION; in collect() 8434 if (scale > 1) acc /= scale; in collect() 8437 + " scale=" + scale + " acc=" + acc); in collect() 8438 acceleration = acc > 1 ? acc : 1; in collect() 8495 float acc = acceleration; in generate() local 8496 acc *= 1.1f; in generate() 8497 acceleration = acc < MAX_ACCELERATION ? acc : acceleration; in generate()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 3070 private int calculateAvg(long acc, int count) { in calculateAvg() argument 3071 return (count > 0) ? (int) (acc / count) : 0; in calculateAvg()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 1862 for (Account acc : getAccounts(parentUserId, mContext.getOpPackageName())) { in completeCloningAccount() 1863 if (acc.equals(account)) { in completeCloningAccount() 2897 for (Account acc : accounts.accountCache.get(account.type)) { in accountExistsCache() 2898 if (acc.name.equals(account.name)) { in accountExistsCache()
|