/frameworks/base/cmds/incidentd/tests/ |
D | FdBuffer_test.cpp | 129 c2pPipe.readFd().reset(); in TEST_F() 136 c2pPipe.writeFd().reset(); in TEST_F() 155 p2cPipe.writeFd().reset(); in TEST_F() 156 c2pPipe.readFd().reset(); in TEST_F() 159 p2cPipe.readFd().reset(); in TEST_F() 160 c2pPipe.writeFd().reset(); in TEST_F() 164 p2cPipe.readFd().reset(); in TEST_F() 165 c2pPipe.writeFd().reset(); in TEST_F() 185 p2cPipe.writeFd().reset(); in TEST_F() 186 c2pPipe.readFd().reset(); in TEST_F() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | IntRangeManagerTest.java | 83 void reset() { in reset() method in IntRangeManagerTest.TestIntRangeManager 125 testManager.reset(); in testAddSingleChannel() 139 testManager.reset(); in testRemoveSingleChannel() 144 testManager.reset(); in testRemoveSingleChannel() 168 testManager.reset(); in testAddTwoChannels() 174 testManager.reset(); in testAddTwoChannels() 193 testManager.reset(); in testOverlappingChannels() 199 testManager.reset(); in testOverlappingChannels() 205 testManager.reset(); in testOverlappingChannels() 211 testManager.reset(); in testOverlappingChannels() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | PropertyAnimatorTest.java | 111 mAnimationFilter.reset(); in testAnimationStarted() 119 mAnimationFilter.reset(); in testNoAnimationStarted() 126 mAnimationFilter.reset(); in testEndValueUpdated() 136 mAnimationFilter.reset(); in testStartTagUpdated() 145 mAnimationFilter.reset(); in testValueIsSetUnAnimated() 152 mAnimationFilter.reset(); in testAnimationToRightValueUpdated() 155 mAnimationFilter.reset(); in testAnimationToRightValueUpdated() 164 mAnimationFilter.reset(); in testAnimationToRightValueUpdateAnimated() 167 mAnimationFilter.reset(); in testAnimationToRightValueUpdateAnimated() 178 mAnimationFilter.reset(); in testStartTagShiftedWhenChanging() [all …]
|
/frameworks/base/tools/aapt2/io/ |
D | FileStream.cpp | 43 fd_.reset(TEMP_FAILURE_RETRY(::android::base::utf8::open(path.c_str(), mode))); in FileInputStream() 47 buffer_.reset(new uint8_t[buffer_capacity_]); in FileInputStream() 56 buffer_.reset(new uint8_t[buffer_capacity_]); in FileInputStream() 77 fd_.reset(); in Next() 78 buffer_.reset(); in Next() 114 owned_fd_.reset(TEMP_FAILURE_RETRY(::android::base::utf8::open(path.c_str(), mode, 0666))); in FileOutputStream() 119 buffer_.reset(new uint8_t[buffer_capacity_]); in FileOutputStream() 133 buffer_.reset(new uint8_t[buffer_capacity_]); in FileOutputStream() 184 owned_fd_.reset(); in FlushImpl() 186 buffer_.reset(); in FlushImpl()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | KeyguardIndicationRotateTextViewControllerTest.java | 33 import static org.mockito.Mockito.reset; 170 reset(mView); in testShowTwoRotatingMessages() 189 reset(mView); in testUpdateCurrentMessage() 210 reset(mView); in testUpdateRotatingMessageForUndisplayedIndication() 211 reset(mExecutor); in testUpdateRotatingMessageForUndisplayedIndication() 234 reset(mView); in testUpdateImmediately() 235 reset(mExecutor); in testUpdateImmediately() 249 reset(mView); in testUpdateImmediately() 250 reset(mExecutor); in testUpdateImmediately() 267 reset(mView); in testSameMessage_noIndicationUpdate() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarTransitionsTest.kt | 36 import org.mockito.Mockito.reset 61 reset(batteryView) in <lambda>() 62 reset(statusIcons) in <lambda>() 63 reset(startIcons) in <lambda>() 139 reset(startIcons) in transitionTo_transparentMode_startIconsShown() 170 reset(startIcons) in onHeadsUpStateChanged_true_semiTransparentMode_startIconsShown() 180 reset(startIcons) in onHeadsUpStateChanged_true_opaqueMode_startIconsUseResourceAlpha() 191 reset(startIcons) in onHeadsUpStateChanged_true_lightsOutMode_startIconsUseResourceAlpha() 201 reset(startIcons) in onHeadsUpStateChanged_false_semiTransparentMode_startIconsShown() 211 reset(startIcons) in onHeadsUpStateChanged_false_opaqueMode_startIconsUseResourceAlpha() [all …]
|
/frameworks/native/libs/gui/ |
D | BitTube.cpp | 58 mReceiveFd.reset(sockets[0]); in init() 59 mSendFd.reset(sockets[1]); in init() 61 mReceiveFd.reset(); in init() 121 mReceiveFd.reset(); in writeToParcel() 126 mSendFd.reset(); in writeToParcel() 131 mReceiveFd.reset(dup(parcel->readFileDescriptor())); in readFromParcel() 133 mReceiveFd.reset(); in readFromParcel() 138 mSendFd.reset(dup(parcel->readFileDescriptor())); in readFromParcel() 140 mSendFd.reset(); in readFromParcel()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTimer.cpp | 100 bool ResourceTimer::copy(int counter, Timer &dst, bool reset) { in copy() argument 103 dst.reset(); in copy() 104 if (reset) t->reset(); in copy() 107 Timer::copy(dst, *t, reset); in copy() 111 void ResourceTimer::reset() { in reset() function in android::ResourceTimer 114 t->reset(); in reset() 121 reset(); in Timer() 137 void ResourceTimer::Timer::reset() { in reset() function in android::ResourceTimer::Timer 147 void ResourceTimer::Timer::copy(Timer &dst, Timer &src, bool reset) { in copy() argument 151 if (reset) { in copy() [all …]
|
/frameworks/av/services/oboeservice/ |
D | SharedMemoryWrapper.cpp | 33 mCounterFd.reset(ashmem_create_region("AAudioSharedMemoryWrapper", WRAPPER_SIZE_IN_BYTES)); in SharedMemoryWrapper() 41 mCounterFd.reset(); in SharedMemoryWrapper() 50 mCounterFd.reset(); in SharedMemoryWrapper() 61 reset(); in ~SharedMemoryWrapper() 95 void SharedMemoryWrapper::reset() { in reset() function in aaudio::SharedMemoryWrapper 96 mFifoBuffer.reset(); in reset() 101 mDataFd.reset(); in reset()
|
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/ |
D | DeviceStateManagerGlobalTest.java | 24 import static org.mockito.Mockito.reset; 83 reset(callback1); in registerCallback() 84 reset(callback2); in registerCallback() 92 reset(callback1); in registerCallback() 93 reset(callback2); in registerCallback() 102 reset(callback1); in registerCallback() 103 reset(callback2); in registerCallback() 124 reset(callback); in unregisterCallback() 140 reset(callback); in submitRequest() 146 reset(callback); in submitRequest() [all …]
|
/frameworks/base/cmds/idmap2/ |
D | valgrind.sh | 29 local reset="\e[0m" 32 _log "${green}[ RUN ]${reset} ${label}" 35 _log "${green}[ OK ]${reset} ${label}" 39 _log "${red}[ FAILED ]${reset} ${label}"
|
D | static-checks.sh | 29 local reset="\e[0m" 32 _log "${green}[ RUN ]${reset} ${label}" 35 _log "${green}[ OK ]${reset} ${label}" 39 _log "${red}[ FAILED ]${reset} ${label}"
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | LockIconViewControllerWithCoroutinesTest.kt | 36 import org.mockito.Mockito.reset 56 reset(mLockIconView) in testLockIcon_clearsIconOnAod_whenUdfpsNotEnrolled() 78 reset(mLockIconView) in testLockIcon_updateToAodLock_whenUdfpsEnrolled() 102 reset(mLockIconView) in testBurnInOffsetsUpdated_onDozeAmountChanged() 111 reset(mLockIconView) in testBurnInOffsetsUpdated_onDozeAmountChanged() 129 reset(mLockIconView) in testHideLockIconView_onLockscreenHostedDreamStateChanged() 138 reset(mLockIconView) in testHideLockIconView_onLockscreenHostedDreamStateChanged()
|
D | LockIconViewControllerTest.java | 29 import static org.mockito.Mockito.reset; 168 reset(mLockIconView); in testLockIcon_updateToUnlock() 190 reset(mLockIconView); in testLockIcon_clearsIconOnAod_whenUdfpsNotEnrolled() 211 reset(mLockIconView); in testLockIcon_updateToAodLock_whenUdfpsEnrolled() 234 reset(mLockIconView); in testBurnInOffsetsUpdated_onDozeAmountChanged() 243 reset(mLockIconView); in testBurnInOffsetsUpdated_onDozeAmountChanged() 266 reset(mLockIconView); in lockIconShows_afterUnlockStateChanges() 288 reset(mLockIconView); in lockIconAccessibility_notVisibleToUser() 311 reset(mLockIconView); in lockIconAccessibility_bouncerAnimatingAway() 335 reset(mLockIconView); in lockIconAccessibility_bouncerNotAnimatingAway_viewVisible()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioMixer.cpp | 146 mPostDownmixReformatBufferProvider->reset(); in unprepareForDownmix() 152 mDownmixerBufferProvider.reset(nullptr); in unprepareForDownmix() 180 mDownmixerBufferProvider.reset(new DownmixerBufferProvider( in prepareForDownmix() 199 mDownmixerBufferProvider.reset(new ChannelMixBufferProvider(channelMask, in prepareForDownmix() 213 mDownmixerBufferProvider.reset(new RemixBufferProvider(channelMask, in prepareForDownmix() 224 mReformatBufferProvider.reset(nullptr); in unprepareForReformat() 228 mPostDownmixReformatBufferProvider.reset(nullptr); in unprepareForReformat() 246 mReformatBufferProvider.reset(new ReformatBufferProvider( in prepareForReformat() 256 mReformatBufferProvider.reset(new ClampFloatBufferProvider( in prepareForReformat() 262 mPostDownmixReformatBufferProvider.reset(new ReformatBufferProvider( in prepareForReformat() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/ |
D | TableChangeTest.kt | 34 underTest.reset( in setString_isString() 50 underTest.reset( in setString_null() 66 underTest.reset( in setBoolean_isBoolean() 82 underTest.reset( in setInt_isInt() 98 underTest.reset( in setInt_null() 114 underTest.reset( in setThenReset_isEmpty() 121 underTest.reset( in setThenReset_isEmpty() 167 underTest.reset( in resetThenSet_hasNewValue() 174 underTest.reset(timestamp = 0, columnPrefix = "", columnName = "updated", isInitial = false) in resetThenSet_hasNewValue() 188 underTest.reset( in reset_initialToNotInitial_valDoesNotHaveInitial() [all …]
|
/frameworks/native/libs/binder/ |
D | UtilsHost.cpp | 49 pid.reset(); in ~CommandResult() 53 pid.reset(); in ~CommandResult() 95 ret.outPipe.reset(); in execute() 96 ret.errPipe.reset(); in execute() 100 outWrite.reset(); in execute() 104 errWrite.reset(); in execute() 110 outWrite.reset(); in execute() 111 errWrite.reset(); in execute() 123 fd->reset(); in execute()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/ |
D | TemporaryViewDisplayControllerTest.kt | 49 import org.mockito.Mockito.reset 181 reset(windowManager) in displayView_twice_viewNotAddedTwice() 226 reset(windowManager) in displayView_viewDoesNotDisappearsBeforeTimeout() 240 reset(windowManager) in displayView_viewDisappearsAfterTimeout() 292 reset(windowManager) in displayScaleChange_viewReinflatedWithMostRecentState() 343 reset(windowManager) in multipleViewsWithDifferentIds_newViewRemoved_previousViewIsDisplayed() 349 reset(windowManager) in multipleViewsWithDifferentIds_newViewRemoved_previousViewIsDisplayed() 365 reset(windowManager) in multipleViewsWithDifferentIds_newViewRemoved_previousViewIsDisplayed() 382 reset(windowManager) in multipleViewsWithDifferentIds_oldViewRemoved_recentViewIsDisplayed() 388 reset(windowManager) in multipleViewsWithDifferentIds_oldViewRemoved_recentViewIsDisplayed() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/ |
D | DreamOverlayCallbackControllerTest.kt | 27 import org.mockito.Mockito.reset 57 reset(callback) in onWakeUpInvokesCallback() 63 reset(callback) in onWakeUpInvokesCallback() 80 reset(callback) in onStartDreamInvokesCallback() 86 reset(callback) in onStartDreamInvokesCallback()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerStateUnitTestTemplate.java | 176 mMediaPlayer.reset(); in setMediaPlayerToIdleStateAfterReset() 179 mMediaPlayer.reset(); in setMediaPlayerToIdleStateAfterReset() 188 mMediaPlayer.reset(); in setMediaPlayerToInitializedState() 198 mMediaPlayer.reset(); in setMediaPlayerToPreparedState() 209 mMediaPlayer.reset(); in setMediaPlayerToPreparedStateAfterStop() 223 mMediaPlayer.reset(); in setMediaPlayerToStartedState() 235 mMediaPlayer.reset(); in setMediaPlayerToStartedStateAfterPause() 260 mMediaPlayer.reset(); in setMediaPlayerToPausedState() 273 mMediaPlayer.reset(); in setMediaPlayerToStoppedState() 286 mMediaPlayer.reset(); in setMediaPlayerToPlaybackCompletedState() [all …]
|
D | MediaRecorderStateUnitTestTemplate.java | 87 mMediaRecorder.reset(); in setMediaRecorderToInitialStateAfterReset() 100 mMediaRecorder.reset(); in setMediaRecorderToInitialStateAfterStop() 117 mMediaRecorder.reset(); in setMediaRecorderToInitializedState() 128 mMediaRecorder.reset(); in setMediaRecorderToPreparedState() 141 mMediaRecorder.reset(); in setMediaRecorderToRecordingState() 155 mMediaRecorder.reset(); in setMediaRecorderToDataSourceConfiguredState() 181 mMediaRecorder.reset(); in setMediaRecorderToErrorState()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | OneShotTimerTest.cpp | 88 mIdleTimer->reset(); in TEST_F() 108 mIdleTimer->reset(); in TEST_F() 112 mIdleTimer->reset(); in TEST_F() 116 mIdleTimer->reset(); in TEST_F() 120 mIdleTimer->reset(); in TEST_F() 143 mIdleTimer->reset(); in TEST_F() 148 mIdleTimer->reset(); in TEST_F() 157 mIdleTimer->reset(); in TEST_F() 198 mIdleTimer->reset(); in TEST_F() 240 mIdleTimer->reset(); in TEST_F() [all …]
|
/frameworks/native/cmds/installd/ |
D | unique_file.cpp | 40 reset(); in ~UniqueFile() 53 void UniqueFile::reset() { in reset() function in android::installd::UniqueFile 54 reset(-1, ""); in reset() 57 void UniqueFile::reset(int new_value, std::string path, CleanUpFunction new_cleanup) { in reset() function in android::installd::UniqueFile
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | AudioMixer.h | 79 mTimestretchBufferProvider.reset(nullptr); in ~Track() 80 mPostDownmixReformatBufferProvider.reset(nullptr); in ~Track() 81 mDownmixerBufferProvider.reset(nullptr); in ~Track() 82 mReformatBufferProvider.reset(nullptr); in ~Track() 83 mAdjustChannelsBufferProvider.reset(nullptr); in ~Track()
|
/frameworks/base/libs/hwui/ |
D | SkiaInterpolator.h | 32 void reset(int elemCount, int frameCount); 63 void setReset(bool reset) { fFlags = static_cast<uint8_t>((fFlags & ~kReset) | (int)reset); } in setReset() argument 88 void reset(int elemCount, int frameCount);
|