/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 116 #define GrProgramDescTest(a) (*SkData::MakeWithCString(#a).get()) 132 ShaderCache::get().setFilename(cacheFile1.c_str()); in TEST() 133 ShaderCacheTestUtils::setSaveDelay(ShaderCache::get(), 0); // disable deferred save in TEST() 134 ShaderCache::get().initShaderDiskCache(); in TEST() 138 ASSERT_EQ(ShaderCache::get().load(GrProgramDescTest(432)), sk_sp<SkData>()); in TEST() 143 ShaderCache::get().store(GrProgramDescTest(100), *inVS.get()); in TEST() 145 ShaderCache::get().store(GrProgramDescTest(432), *inVS.get()); in TEST() 146 ASSERT_NE((outVS = ShaderCache::get().load(GrProgramDescTest(100))), sk_sp<SkData>()); in TEST() 148 ASSERT_NE((outVS = ShaderCache::get().load(GrProgramDescTest(432))), sk_sp<SkData>()); in TEST() 152 ShaderCacheTestUtils::terminate(ShaderCache::get(), true); in TEST() [all …]
|
D | LayerUpdateQueueTests.cpp | 45 queue.enqueueLayerWithDamage(a.get(), Rect(25, 25, 75, 75)); in TEST() 46 queue.enqueueLayerWithDamage(b.get(), Rect(100, 100, 300, 300)); in TEST() 47 queue.enqueueLayerWithDamage(c.get(), Rect(.5, .5, .5, .5)); in TEST() 51 EXPECT_EQ(a.get(), queue.entries()[0].renderNode.get()); in TEST() 53 EXPECT_EQ(b.get(), queue.entries()[1].renderNode.get()); in TEST() 55 EXPECT_EQ(c.get(), queue.entries()[2].renderNode.get()); in TEST() 63 queue.enqueueLayerWithDamage(a.get(), Rect(10, 10, 20, 20)); in TEST() 64 queue.enqueueLayerWithDamage(a.get(), Rect(30, 30, 40, 40)); in TEST() 68 EXPECT_EQ(a.get(), queue.entries()[0].renderNode.get()); in TEST() 76 queue.enqueueLayerWithDamage(a.get(), Rect(100, 100)); in TEST()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/textservices/ |
D | LocaleUtilsTest.java | 52 assertEquals(LOCALE_EN_US, locales.get(0)); in testGetSuitableLocalesForSpellChecker() 53 assertEquals(LOCALE_EN_GB, locales.get(1)); in testGetSuitableLocalesForSpellChecker() 54 assertEquals(LOCALE_EN, locales.get(2)); in testGetSuitableLocalesForSpellChecker() 61 assertEquals(LOCALE_EN_GB, locales.get(0)); in testGetSuitableLocalesForSpellChecker() 62 assertEquals(LOCALE_EN_US, locales.get(1)); in testGetSuitableLocalesForSpellChecker() 63 assertEquals(LOCALE_EN, locales.get(2)); in testGetSuitableLocalesForSpellChecker() 70 assertEquals(LOCALE_EN, locales.get(0)); in testGetSuitableLocalesForSpellChecker() 71 assertEquals(LOCALE_EN_US, locales.get(1)); in testGetSuitableLocalesForSpellChecker() 72 assertEquals(LOCALE_EN_GB, locales.get(2)); in testGetSuitableLocalesForSpellChecker() 79 assertEquals(LOCALE_EN_IN, locales.get(0)); in testGetSuitableLocalesForSpellChecker() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 132 int err = mANW->query(mANW.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, in TEST_F() 140 int err = mANW->query(mANW.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); in TEST_F() 171 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), in TEST_F() 185 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), nullptr); in TEST_F() 212 EXPECT_GT(OK, native_window_set_buffers_dimensions(mANW.get(), 0, 8)); in TEST_F() 213 EXPECT_GT(OK, native_window_set_buffers_dimensions(mANW.get(), 8, 0)); in TEST_F() 217 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() 219 ASSERT_EQ(OK, native_window_dequeue_buffer_and_wait(mANW.get(), &buf)); in TEST_F() 223 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F() 227 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() [all …]
|
D | SurfaceTextureGL_test.cpp | 31 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F() 33 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F() 35 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F() 37 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F() 41 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F() 52 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F() 81 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F() 83 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F() 85 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F() 87 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F() [all …]
|
/frameworks/native/libs/binder/ndk/include_cpp/android/ |
D | binder_auto_utils.h | 102 AIBinder* get() const { return mBinder; } in get() function 118 bool operator!=(const SpAIBinder& rhs) const { return get() != rhs.get(); } 119 bool operator<(const SpAIBinder& rhs) const { return get() < rhs.get(); } 120 bool operator<=(const SpAIBinder& rhs) const { return get() <= rhs.get(); } 121 bool operator==(const SpAIBinder& rhs) const { return get() == rhs.get(); } 122 bool operator>(const SpAIBinder& rhs) const { return get() > rhs.get(); } 123 bool operator>=(const SpAIBinder& rhs) const { return get() >= rhs.get(); } 158 T get() { return mT; } in get() function 163 const T get() const { return mT; } in get() function 212 bool operator!=(const ScopedAParcel& rhs) const { return get() != rhs.get(); } [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Dependency.java | 378 mProviders.put(TIME_TICK_HANDLER, mTimeTickHandler::get); in start() 379 mProviders.put(BG_LOOPER, mBgLooper::get); in start() 380 mProviders.put(MAIN_LOOPER, mMainLooper::get); in start() 381 mProviders.put(MAIN_HANDLER, mMainHandler::get); in start() 382 mProviders.put(MAIN_EXECUTOR, mMainExecutor::get); in start() 383 mProviders.put(BACKGROUND_EXECUTOR, mBackgroundExecutor::get); in start() 384 mProviders.put(ActivityStarter.class, mActivityStarter::get); in start() 385 mProviders.put(BroadcastDispatcher.class, mBroadcastDispatcher::get); in start() 387 mProviders.put(AsyncSensorManager.class, mAsyncSensorManager::get); in start() 389 mProviders.put(BluetoothController.class, mBluetoothController::get); in start() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | InputMethodSubtypeArrayTest.java | 45 assertEquals(subtypes.get(0), array.get(0)); in testInstantiate() 46 assertEquals(subtypes.get(1), array.get(1)); in testInstantiate() 47 assertEquals(subtypes.get(2), array.get(2)); in testInstantiate() 51 assertEquals(subtypes.get(0), clonedArray.get(0)); in testInstantiate() 52 assertEquals(subtypes.get(1), clonedArray.get(1)); in testInstantiate() 53 assertEquals(subtypes.get(2), clonedArray.get(2)); in testInstantiate() 57 assertEquals(clonedArray.get(0), clonedClonedArray.get(0)); in testInstantiate() 58 assertEquals(clonedArray.get(1), clonedClonedArray.get(1)); in testInstantiate() 59 assertEquals(clonedArray.get(2), clonedClonedArray.get(2)); in testInstantiate()
|
/frameworks/av/media/utils/tests/ |
D | media_synchronization_tests.cpp | 33 MyObject(const MyObject<T>& mo) : value_(mo.get()) {} in MyObject() 34 T get() const { return value_; } in get() function in MyObject 43 ASSERT_EQ(20, wpobj.load().promote()->get()); in TEST() 46 ASSERT_EQ(refobj.get(), wpobj.load().promote().get()); in TEST() 50 ASSERT_EQ(10, refobj->get()); in TEST() 52 ASSERT_EQ(5, wpobj.load().promote()->get()); in TEST() 59 ASSERT_NE(nullptr, refobj.get()); in TEST() 67 ASSERT_EQ(refobj.get(), spobj.load().get()); in TEST() 70 ASSERT_EQ(20, spobj.load()->get()); in TEST() 72 ASSERT_EQ(10, refobj->get()); in TEST() [all …]
|
/frameworks/native/libs/vr/libpdx/ |
D | variant_tests.cpp | 40 const T& get() const { return value_; } in get() function in __anon5eba89260111::TestType 61 InstrumentType(const TestType<T>& other) : value_(other.get()) { in InstrumentType() 83 value_ = other.get(); in operator =() 97 const T& get() const { return value_; } in get() function in __anon5eba89260111::InstrumentType 144 EXPECT_EQ(10, std::get<int>(v)); in TEST() 154 EXPECT_EQ(false, std::get<bool>(v)); in TEST() 164 EXPECT_FLOAT_EQ(1.0f, std::get<float>(v)); in TEST() 183 EXPECT_FLOAT_EQ(1.1, std::get<float>(v)); in TEST() 199 EXPECT_EQ(20, std::get<int>(v)); in TEST() 208 EXPECT_EQ("test", std::get<std::string>(v)); in TEST() [all …]
|
D | status_tests.cpp | 14 EXPECT_EQ(0, status.get()); in TEST() 22 EXPECT_EQ(0, status_int.get()); in TEST() 26 EXPECT_EQ(3, status_int.get()); in TEST() 30 EXPECT_EQ(-3, status_int.get()); in TEST() 35 EXPECT_EQ("foo", status_str.get()); in TEST() 42 EXPECT_EQ(0, status_int.get()); in TEST() 69 EXPECT_EQ(12, status1.get()); in TEST() 71 EXPECT_EQ(0, status2.get()); in TEST() 79 EXPECT_EQ(0, status1.get()); in TEST() 81 EXPECT_EQ(0, status2.get()); in TEST() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | IntRangeManagerTest.java | 123 checkConfigInfo(testManager.mConfigList.get(0), 123, 123, SMS_CB_CODE_SCHEME_MIN, in testAddSingleChannel() 129 checkConfigInfo(testManager.mConfigList.get(0), 123, 123, SMS_CB_CODE_SCHEME_MIN, in testAddSingleChannel() 166 checkConfigInfo(testManager.mConfigList.get(0), 100, 120, SMS_CB_CODE_SCHEME_MIN, in testAddTwoChannels() 172 checkConfigInfo(testManager.mConfigList.get(0), 200, 250, SMS_CB_CODE_SCHEME_MIN, in testAddTwoChannels() 178 checkConfigInfo(testManager.mConfigList.get(0), 100, 120, SMS_CB_CODE_SCHEME_MIN, in testAddTwoChannels() 180 checkConfigInfo(testManager.mConfigList.get(1), 200, 250, SMS_CB_CODE_SCHEME_MIN, in testAddTwoChannels() 191 checkConfigInfo(testManager.mConfigList.get(0), 100, 200, SMS_CB_CODE_SCHEME_MIN, in testOverlappingChannels() 197 checkConfigInfo(testManager.mConfigList.get(0), 201, 250, SMS_CB_CODE_SCHEME_MIN, in testOverlappingChannels() 203 checkConfigInfo(testManager.mConfigList.get(0), 100, 250, SMS_CB_CODE_SCHEME_MIN, in testOverlappingChannels() 209 checkConfigInfo(testManager.mConfigList.get(0), 150, 250, SMS_CB_CODE_SCHEME_MIN, in testOverlappingChannels() [all …]
|
/frameworks/base/media/jni/soundpool/ |
D | Sound.cpp | 45 ALOGV("%s(soundID=%d, fd=%d)", __func__, mSoundID, mFd.get()); in ~Sound() 56 status_t err = AMediaExtractor_setDataSourceFd(ex.get(), fd, offset, length); in decode() 63 const size_t numTracks = AMediaExtractor_getTrackCount(ex.get()); in decode() 66 AMediaExtractor_getTrackFormat(ex.get(), i), &AMediaFormat_delete}; in decode() 68 if (!AMediaFormat_getString(format.get(), AMEDIAFORMAT_KEY_MIME, &mime)) { in decode() 75 || AMediaCodec_configure(codec.get(), format.get(), in decode() 77 || AMediaCodec_start(codec.get()) != AMEDIA_OK in decode() 78 || AMediaExtractor_selectTrack(ex.get(), i) != AMEDIA_OK) { in decode() 87 format.reset(AMediaCodec_getOutputFormat(codec.get())); // update format. in decode() 91 ssize_t bufidx = AMediaCodec_dequeueInputBuffer(codec.get(), 5000); in decode() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | VibrationThreadTest.java | 138 VibrationEffect.get(VibrationEffect.EFFECT_CLICK)); in vibrate_noVibrator_ignoresVibration() 150 .addNext(2, VibrationEffect.get(VibrationEffect.EFFECT_CLICK)) in vibrate_missingVibrators_ignoresVibration() 151 .addNext(3, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in vibrate_missingVibrators_ignoresVibration() 162 mVibratorProviders.get(VIBRATOR_ID).setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() 173 assertFalse(thread.getVibrators().get(VIBRATOR_ID).isVibrating()); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() 176 mVibratorProviders.get(VIBRATOR_ID).getEffectSegments()); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() 177 assertEquals(expectedAmplitudes(100), mVibratorProviders.get(VIBRATOR_ID).getAmplitudes()); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() 192 assertFalse(thread.getVibrators().get(VIBRATOR_ID).isVibrating()); in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() 195 mVibratorProviders.get(VIBRATOR_ID).getEffectSegments()); in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() 196 assertTrue(mVibratorProviders.get(VIBRATOR_ID).getAmplitudes().isEmpty()); in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | ParcelFileDescriptor.h | 37 int get() const { return mFd.get(); } in get() function 46 return mFd.get() != rhs.mFd.get(); 49 return mFd.get() < rhs.mFd.get(); 52 return mFd.get() <= rhs.mFd.get(); 55 return mFd.get() == rhs.mFd.get(); 58 return mFd.get() > rhs.mFd.get(); 61 return mFd.get() >= rhs.mFd.get();
|
/frameworks/native/include/binder/ |
D | ParcelFileDescriptor.h | 37 int get() const { return mFd.get(); } in get() function 46 return mFd.get() != rhs.mFd.get(); 49 return mFd.get() < rhs.mFd.get(); 52 return mFd.get() <= rhs.mFd.get(); 55 return mFd.get() == rhs.mFd.get(); 58 return mFd.get() > rhs.mFd.get(); 61 return mFd.get() >= rhs.mFd.get();
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | PerformanceTracker.java | 38 return sTrackers.get(sensorId); in getInstanceForSensorId() 72 mAllUsersInfo.get(userId).mAccept++; in incrementAuthForUser() 74 mAllUsersInfo.get(userId).mReject++; in incrementAuthForUser() 82 mAllUsersInfo.get(userId).mAcceptCrypto++; in incrementCryptoAuthForUser() 84 mAllUsersInfo.get(userId).mRejectCrypto++; in incrementCryptoAuthForUser() 92 mAllUsersInfo.get(userId).mAcquireCrypto++; in incrementAcquireForUser() 94 mAllUsersInfo.get(userId).mAcquire++; in incrementAcquireForUser() 101 mAllUsersInfo.get(userId).mTimedLockout++; in incrementTimedLockoutForUser() 107 mAllUsersInfo.get(userId).mPermanentLockout++; in incrementPermanentLockoutForUser() 120 return mAllUsersInfo.contains(userId) ? mAllUsersInfo.get(userId).mAccept : 0; in getAcceptForUser() [all …]
|
/frameworks/base/tools/aapt2/optimize/ |
D | VersionCollapser_test.cpp | 45 ASSERT_TRUE(collapser.Consume(context.get(), table.get())); in TEST() 49 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 52 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 57 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 62 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 67 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 70 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 73 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 87 ASSERT_TRUE(collapser.Consume(context.get(), table.get())); in TEST() 91 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateSelectionTest.cpp | 129 .WillOnce(Return(new EventThreadConnection(eventThread.get(), /*callingUid=*/0, in setupScheduler() 134 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler() 155 setParent(mChild.get(), mParent.get()); in TEST_F() 157 setParent(mGrandChild.get(), mChild.get()); in TEST_F() 165 commitTransaction(mGrandChild.get()); in TEST_F() 172 commitTransaction(mChild.get()); in TEST_F() 174 commitTransaction(mGrandChild.get()); in TEST_F() 182 commitTransaction(mParent.get()); in TEST_F() 184 commitTransaction(mChild.get()); in TEST_F() 186 commitTransaction(mGrandChild.get()); in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | FalsingDataProviderTest.java | 81 assertThat(motionEventList.get(0).getActionMasked()).isEqualTo(MotionEvent.ACTION_DOWN); in test_trackMotionEvents() 82 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackMotionEvents() 83 assertThat(motionEventList.get(2).getActionMasked()).isEqualTo(MotionEvent.ACTION_UP); in test_trackMotionEvents() 84 assertThat(motionEventList.get(0).getEventTime()).isEqualTo(1L); in test_trackMotionEvents() 85 assertThat(motionEventList.get(1).getEventTime()).isEqualTo(2L); in test_trackMotionEvents() 86 assertThat(motionEventList.get(2).getEventTime()).isEqualTo(3L); in test_trackMotionEvents() 87 assertThat(motionEventList.get(0).getX()).isEqualTo(2f); in test_trackMotionEvents() 88 assertThat(motionEventList.get(1).getX()).isEqualTo(4f); in test_trackMotionEvents() 89 assertThat(motionEventList.get(2).getX()).isEqualTo(6f); in test_trackMotionEvents() 90 assertThat(motionEventList.get(0).getY()).isEqualTo(9f); in test_trackMotionEvents() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerUITest.java | 101 when(mStatusBarLazy.get()).thenReturn(mStatusBar); in setup() 127 TestableLooper.get(this).processAllMessages(); in testSkinWarning_throttlingCritical() 140 TestableLooper.get(this).processAllMessages(); in testSkinWarning_throttlingEmergency() 153 TestableLooper.get(this).processAllMessages(); in testUsbAlarm_throttlingCritical() 165 TestableLooper.get(this).processAllMessages(); in testUsbAlarm_throttlingEmergency() 177 TestableLooper.get(this).processAllMessages(); in testSettingOverrideConfig_enableSkinTemperatureWarning() 190 TestableLooper.get(this).processAllMessages(); in testSettingOverrideConfig_enableUsbTemperatureAlarm() 203 TestableLooper.get(this).processAllMessages(); in testSettingOverrideConfig_disableSkinTemperatureWarning() 216 TestableLooper.get(this).processAllMessages(); in testSettingOverrideConfig_disableUsbTemperatureAlarm() 233 TestableLooper.get(this).processAllMessages(); in testThermalEventListenerRegistration_success_skinType() [all …]
|
/frameworks/native/libs/nativewindow/tests/ |
D | ANativeWindowTest.cpp | 56 const int success = native_window_api_connect(mWindow.get(), NATIVE_WINDOW_API_CPU); in SetUp() 64 const int success = native_window_api_disconnect(mWindow.get(), NATIVE_WINDOW_API_CPU); in TearDown() 75 int result = ANativeWindow_getLastDequeueDuration(mWindow.get()); in TEST_F() 83 int result = ANativeWindow_dequeueBuffer(mWindow.get(), &buffer, &fd); in TEST_F() 87 result = ANativeWindow_getLastDequeueDuration(mWindow.get()); in TEST_F() 93 int result = ANativeWindow_getLastQueueDuration(mWindow.get()); in TEST_F() 101 int result = ANativeWindow_dequeueBuffer(mWindow.get(), &buffer, &fd); in TEST_F() 105 result = ANativeWindow_getLastQueueDuration(mWindow.get()); in TEST_F() 113 int result = ANativeWindow_dequeueBuffer(mWindow.get(), &buffer, &fd); in TEST_F() 117 result = ANativeWindow_queueBuffer(mWindow.get(), buffer, 0); in TEST_F() [all …]
|
/frameworks/base/tools/aapt2/format/ |
D | Archive_test.cpp | 64 stream.read(buffer.get(), kTestDataLength); in VerifyDirectory() 96 ASSERT_TRUE(writer->Write(static_cast<const void*>(data1.get()), kTestDataLength)); in TEST_F() 101 ASSERT_TRUE(writer->Write(static_cast<const void*>(data2.get()), kTestDataLength)); in TEST_F() 107 VerifyDirectory(output_path, "test1", data1.get()); in TEST_F() 108 VerifyDirectory(output_path, "test2", data2.get()); in TEST_F() 117 std::copy(data1.get(), data1.get() + kTestDataLength, data1_copy.get()); in TEST_F() 121 std::copy(data2.get(), data2.get() + kTestDataLength, data2_copy.get()); in TEST_F() 126 ASSERT_TRUE(writer->WriteFile("test1", 0, input1.get())); in TEST_F() 128 ASSERT_TRUE(writer->WriteFile("test2", 0, input2.get())); in TEST_F() 133 VerifyDirectory(output_path, "test1", data1.get()); in TEST_F() [all …]
|
/frameworks/av/media/libeffects/preprocessing/tests/ |
D | correlation.cpp | 88 if (fInput1.get() == NULL) { in main() 93 if (fInput2.get() == NULL) { in main() 99 fseek(fInput1.get(), 0L, SEEK_END); in main() 100 unsigned int fileSize1 = ftell(fInput1.get()); in main() 101 rewind(fInput1.get()); in main() 102 fseek(fInput2.get(), 0L, SEEK_END); in main() 103 unsigned int fileSize2 = ftell(fInput2.get()); in main() 104 rewind(fInput2.get()); in main() 114 if (numFrames != fread(inBuffer1.get(), sizeof(int16_t), numFrames, fInput1.get())) { in main() 119 if (numFrames != fread(inBuffer2.get(), sizeof(int16_t), numFrames, fInput2.get())) { in main() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | LayoutCacheTest.cpp | 41 const LayoutPiece* get() const { return mLayout; } in get() function in minikin::LayoutCapture 62 EXPECT_EQ(layout1.get(), layout2.get()); in TEST() 81 EXPECT_NE(layout1.get(), layout2.get()); in TEST() 89 EXPECT_NE(layout1.get(), layout2.get()); in TEST() 97 EXPECT_NE(layout1.get(), layout2.get()); in TEST() 105 EXPECT_NE(layout1.get(), layout2.get()); in TEST() 113 EXPECT_NE(layout1.get(), layout2.get()); in TEST() 121 EXPECT_NE(layout1.get(), layout2.get()); in TEST() 131 EXPECT_NE(layout1.get(), layout2.get()); in TEST() 144 EXPECT_NE(layout1.get(), layout2.get()); in TEST() [all …]
|