Home
last modified time | relevance | path

Searched refs:zero (Results 1 – 25 of 97) sorted by relevance

1234

/frameworks/native/services/surfaceflinger/Scheduler/tests/
DPresentLatencyTrackerTest.cpp31 EXPECT_EQ(tracker.trackPendingFrame(kCompositeTime, FenceTime::NO_FENCE), Duration::zero()); in TEST()
32 EXPECT_EQ(tracker.trackPendingFrame(kCompositeTime, FenceTime::NO_FENCE), Duration::zero()); in TEST()
33 EXPECT_EQ(tracker.trackPendingFrame(kCompositeTime, FenceTime::NO_FENCE), Duration::zero()); in TEST()
37 EXPECT_EQ(tracker.trackPendingFrame(kCompositeTime, fenceTime), Duration::zero()); in TEST()
56 EXPECT_EQ(tracker.trackPendingFrame(kCompositeTime, fenceTime), Duration::zero()); in TEST()
/frameworks/native/libs/binder/
DDebug.cpp108 bool zero = true; in typetostring() local
111 if (!zero) valid = false; in typetostring()
113 zero = false; in typetostring()
119 if (zero) valid = false; in typetostring()
123 bool zero = true; in typetostring() local
126 if (!zero) valid = false; in typetostring()
128 zero = false; in typetostring()
/frameworks/av/media/module/codecs/amrnb/enc/src/
Dspreproc.cpp181 Word16 *zero, /* i : pointer to zero vector */ in subframePreProc() argument
211 Syn_filt(Aq, ai_zero, h1, L_SUBFR, zero, 0); in subframePreProc()
212 Syn_filt(Ap2, h1, h1, L_SUBFR, zero, 0); in subframePreProc()
Dcod_amr.cpp488 st->zero = st->ai_zero + MP1; in cod_amr_reset()
504 memset(st->zero, 0, sizeof(Word16)*L_SUBFR); in cod_amr_reset()
1329 memset(st->zero, 0, sizeof(Word16)*L_SUBFR); in cod_amr()
1459 st->mem_err, st->mem_w0, st->zero, in cod_amr()
1467 st->mem_err, mem_w0_save, st->zero, in cod_amr()
1575 st->mem_err, st->mem_w0, st->zero, in cod_amr()
Dspreproc.h118 Word16 *zero, /* i : pointer to zero vector */
Dcod_amr.h147 Word16 *zero; member
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/ui/viewmodel/
DPinInputViewModelTest.kt218 val zero = Digit(0) in <lambda>() constant
222 assertThat(zero.equals(zero.copy())).isTrue() in <lambda>()
224 assertThat(zero.equals(one)).isFalse() in <lambda>()
225 assertThat(zero.equals(clearAll)).isFalse() in <lambda>()
228 assertThat(clearAll.equals(zero)).isFalse() in <lambda>()
231 assertThat(zero.equals(Digit(0))).isFalse() in <lambda>()
/frameworks/base/services/core/java/com/android/server/locksettings/
DRebootEscrowProviderHalImpl.java92 int zero = 0; in getAndClearRebootEscrowKey() local
94 zero |= escrowKeyBytes[i]; in getAndClearRebootEscrowKey()
96 if (zero == 0) { in getAndClearRebootEscrowKey()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dfield_of_view.h47 float zero = 0.0f; in GetProjectionMatrix() local
49 z_near <= zero || z_far <= zero) { in GetProjectionMatrix()
/frameworks/wilhelm/src/objects/
DCEngine.cpp122 pthread_t zero; in CEngine_Destroy() local
123 memset(&zero, 0, sizeof(pthread_t)); in CEngine_Destroy()
124 if (0 != memcmp(&zero, &thiz->mSyncThread, sizeof(pthread_t))) { in CEngine_Destroy()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rscript337 half zero, minSubNormal, maxSubNormal, minNormal, infinity;
342 SET_HALF_WORD(zero, 0x0000);
355 // All-zero exponent is for zero and subnormals. All-one exponent is for
360 // Number of positive, non-zero and normal fp16 values = 30 * 1024 = 30720
361 // Number of negative, non-zero and normal fp16 values = 30 * 1024 = 30720
407 h = nextafter(zero, infinity);
410 h = nextafter(zero, negativeInfinity);
414 // nextafter(minNormal, negativeInfinity) = maxSubNormal or zero
416 if (h != maxSubNormal && h != zero)
/frameworks/base/startop/view_compiler/
Ddex_testcase_generator.cc151 LiveRegister zero = method.AllocRegister(); in GenerateSimpleTestCases() local
155 method.BuildConst4(zero, 0); in GenerateSimpleTestCases()
158 Instruction::OpWithArgs(Instruction::Op::kBranchEqz, /*dest=*/{}, zero, labelB)); in GenerateSimpleTestCases()
168 Instruction::OpWithArgs(Instruction::Op::kBranchEqz, /*dest=*/{}, zero, labelA)); in GenerateSimpleTestCases()
180 LiveRegister zero = method.AllocRegister(); in GenerateSimpleTestCases() local
181 method.BuildConst4(zero, 0); in GenerateSimpleTestCases()
182 method.BuildReturn(zero, /*is_object=*/true); in GenerateSimpleTestCases()
/frameworks/libs/net/common/netd/libnetdutils/
DMemBlockTest.cpp78 MemBlock zero(0); in TEST() local
79 EXPECT_TRUE(zero.get().empty()); in TEST()
80 EXPECT_EQ(nullptr, zero.get().base()); in TEST()
DFdTest.cpp52 Fd zero(0); in TEST() local
53 EXPECT_TRUE(isWellFormed(zero)); in TEST()
/frameworks/native/libs/cputimeinstate/
Dtesttimeinstate.cpp140 uint64_t zero = 0; in TEST_F() local
141 auto maps = {getUidsCpuFreqTimes(), getUidsUpdatedCpuFreqTimes(&zero)}; in TEST_F()
236 uint64_t zero = 0; in TEST_F() local
237 auto maps = {getUidsCpuFreqTimes(), getUidsUpdatedCpuFreqTimes(&zero)}; in TEST_F()
260 uint64_t zero = 0; in TEST_F() local
261 auto maps = {getUidsConcurrentTimes(), getUidsUpdatedConcurrentTimes(&zero)}; in TEST_F()
313 uint64_t zero = 0; in TEST_F() local
314 auto maps = {getUidsConcurrentTimes(), getUidsUpdatedConcurrentTimes(&zero)}; in TEST_F()
407 uint64_t zero = 0; in TEST_F() local
408 auto maps = {getUidsCpuFreqTimes(), getUidsUpdatedCpuFreqTimes(&zero)}; in TEST_F()
[all …]
/frameworks/compile/slang/tests/F_reflection3264_variable_mismatch_init/
Dreflection3264_variable_mismatch_init.rscript32 = 0 // we get an error even though explicit zero initialization is redundant
61 = 0 // we get an error even though explicit zero initialization is redundant
/frameworks/native/services/gpuservice/gpuwork/bpfprogs/
DgpuWork.c203 const uint32_t zero = 0; variable
205 GlobalData* global_data = bpf_gpu_work_global_data_lookup_elem(&zero);
/frameworks/rs/script_api/
Drs_vector_math.spec30 subnormal values may be flushed to zero, rounding towards zero may be used, and NaN and
33 values may be flushed to zero, and rounding towards zero may be used.</li>
/frameworks/av/media/utils/tests/
DAndroid.bp25 "float-divide-by-zero",
34 "float-divide-by-zero",
/frameworks/wilhelm/src/
Dlocks.cpp99 pthread_t zero; in object_lock_exclusive_() local
100 memset(&zero, 0, sizeof(pthread_t)); in object_lock_exclusive_()
101 if (0 != memcmp(&zero, &thiz->mOwner, sizeof(pthread_t))) { in object_lock_exclusive_()
/frameworks/native/services/surfaceflinger/Scheduler/src/
DPresentLatencyTracker.cpp27 Duration presentLatency = Duration::zero(); in trackPendingFrame()
/frameworks/hardware/interfaces/displayservice/1.0/
DIDisplayEventReceiver.hal36 * If zero, then only send callbacks when requestNextVsync is
37 * called. By default, this will be zero. Must be >= 0.
/frameworks/base/tools/aapt2/format/
DContainer.cpp60 const uint32_t zero = 0u; in WritePadding() local
61 static_assert(sizeof(zero) >= kPaddingAlignment, "Not enough source bytes for padding"); in WritePadding()
63 out->WriteRaw(&zero, padding); in WritePadding()
/frameworks/base/core/tests/coretests/src/android/net/sntp/
DTimestamp64Test.java261 Timestamp64 zero = Timestamp64.fromComponents(0, 0); in testMillisRandomizationConstant() local
262 Timestamp64 zeroWithFractionRandomized = zero.randomizeSubMillis(random); in testMillisRandomizationConstant()
263 assertEquals(zero.getEraSeconds(), zeroWithFractionRandomized.getEraSeconds()); in testMillisRandomizationConstant()
/frameworks/base/core/jni/
Dandroid_backup_BackupHelperDispatcher.cpp203 int zero = 0; in writeHeader_native() local
204 err = write(fd, &zero, namePadding); in writeHeader_native()

1234