Home
last modified time | relevance | path

Searched refs:reset (Results 1 – 25 of 1263) sorted by relevance

12345678910>>...51

/frameworks/base/cmds/incidentd/tests/
DFdBuffer_test.cpp129 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/
DIntRangeManagerTest.java83 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSelfRecoveryTest.java65 reset(mActiveModeWarden); in testValidTriggerReasonsSendMessageToWifiController()
71 reset(mActiveModeWarden); in testValidTriggerReasonsSendMessageToWifiController()
109 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse()
117 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse()
122 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse()
127 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse()
132 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse()
139 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse()
145 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse()
161 reset(mActiveModeWarden); in testTimeWindowLimiting_NativeFailureOff()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DPropertyAnimatorTest.java111 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/
DFileStream.cpp43 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/assist/
DAssistHandleBehaviorControllerTest.java27 import static org.mockito.Mockito.reset;
117 reset(mMockAssistHandleViewController); in hide_hidesHandlesWhenShowing()
132 reset(mMockAssistHandleViewController); in hide_doesNothingWhenHiding()
146 reset(mMockAssistHandleViewController); in showAndStay_showsHandlesWhenHiding()
161 reset(mMockAssistHandleViewController); in showAndStay_doesNothingWhenShowing()
175 reset(mMockAssistHandleViewController); in showAndStay_doesNothingWhenThereIsNoAssistant()
189 reset(mMockAssistHandleViewController); in showAndGo_showsThenHidesHandlesWhenHiding()
206 reset(mMockAssistHandleViewController); in showAndGo_hidesHandlesAfterTimeoutWhenShowing()
224 reset(mMockAssistHandleViewController); in showAndGo_doesNothingIfRecentlyHidden()
238 reset(mMockAssistHandleViewController); in showAndGo_doesNothingWhenThereIsNoAssistant()
[all …]
DAssistHandleLikeHomeBehaviorTest.java21 import static org.mockito.Mockito.reset;
140 reset( in onModeDeactivated_stopsObserving()
164 reset( in onAssistantGesturePerformed_doesNothing()
185 reset( in onAssistHandlesRequested_doesNothing()
215 reset( in onBothAwakeAndUnDoze_handlesShow()
234 reset(mMockAssistHandleCallbacks); in onBothAwakeAndUnDoze_handlesShow()
272 reset( in onSleepOrDoze_handlesHide()
291 reset(mMockAssistHandleCallbacks); in onSleepOrDoze_handlesHide()
315 reset( in onHomeHandleHide_handlesHide()
346 reset( in onHomeHandleUnhide_handlesShow()
DAssistHandleOffBehaviorTest.java19 import static org.mockito.Mockito.reset;
67 reset(mMockAssistHandleCallbacks); in onModeDeactivated_doesNothing()
80 reset(mMockAssistHandleCallbacks); in onAssistantGesturePerformed_doesNothing()
93 reset(mMockAssistHandleCallbacks); in onAssistHandlesRequested_doesNothing()
/frameworks/native/libs/gui/
DBitTube.cpp58 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/av/media/libaudioprocessing/
DAudioMixer.cpp144 mPostDownmixReformatBufferProvider->reset(); in unprepareForDownmix()
150 mDownmixerBufferProvider.reset(nullptr); in unprepareForDownmix()
178 mDownmixerBufferProvider.reset(new DownmixerBufferProvider( in prepareForDownmix()
193 mDownmixerBufferProvider.reset(new RemixBufferProvider(channelMask, in prepareForDownmix()
204 mReformatBufferProvider.reset(nullptr); in unprepareForReformat()
208 mPostDownmixReformatBufferProvider.reset(nullptr); in unprepareForReformat()
226 mReformatBufferProvider.reset(new ReformatBufferProvider( in prepareForReformat()
236 mReformatBufferProvider.reset(new ClampFloatBufferProvider( in prepareForReformat()
242 mPostDownmixReformatBufferProvider.reset(new ReformatBufferProvider( in prepareForReformat()
259 mAdjustChannelsBufferProvider.reset(nullptr); in unprepareForAdjustChannels()
[all …]
/frameworks/base/cmds/idmap2/
Dvalgrind.sh29 local reset="\e[0m"
32 _log "${green}[ RUN ]${reset} ${label}"
35 _log "${green}[ OK ]${reset} ${label}"
39 _log "${red}[ FAILED ]${reset} ${label}"
Dstatic-checks.sh29 local reset="\e[0m"
32 _log "${green}[ RUN ]${reset} ${label}"
35 _log "${green}[ OK ]${reset} ${label}"
39 _log "${red}[ FAILED ]${reset} ${label}"
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsSubscriptionsMonitorTest.java26 import static org.mockito.Mockito.reset;
184 reset(mDelegate); in testSubChangedAndRatTypeChanged()
194 reset(mDelegate); in testSubChangedAndRatTypeChanged()
204 reset(mDelegate); in testSubChangedAndRatTypeChanged()
213 reset(mDelegate); in testSubChangedAndRatTypeChanged()
220 reset(mDelegate); in testSubChangedAndRatTypeChanged()
250 reset(mDelegate); in test5g()
256 reset(mDelegate); in test5g()
263 reset(mDelegate); in test5g()
269 reset(mDelegate); in test5g()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerStateUnitTestTemplate.java176 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 …]
DMediaRecorderStateUnitTestTemplate.java87 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/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java227 state.reset(); in onInputEvent()
543 mTouchScreenStreamState.reset(); in resetStreamState()
546 mMouseStreamState.reset(); in resetStreamState()
549 mKeyboardStreamState.reset(); in resetStreamState()
583 reset(); in updateInputSource()
598 public void reset() { in reset() method in AccessibilityInputFilter.EventStreamState
633 reset(); in MouseEventStreamState()
637 final public void reset() { in reset() method in AccessibilityInputFilter.MouseEventStreamState
638 super.reset(); in reset()
668 reset(); in TouchScreenEventStreamState()
[all …]
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixer.h104 mTimestretchBufferProvider.reset(nullptr); in ~Track()
105 mPostDownmixReformatBufferProvider.reset(nullptr); in ~Track()
106 mDownmixerBufferProvider.reset(nullptr); in ~Track()
107 mReformatBufferProvider.reset(nullptr); in ~Track()
108 mContractChannelsNonDestructiveBufferProvider.reset(nullptr); in ~Track()
109 mAdjustChannelsBufferProvider.reset(nullptr); in ~Track()
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DPlatformCompatTest.java24 import static org.mockito.Mockito.reset;
182 reset(mListener1); in testListenerCalledOnSetOverridesTwoListeners()
183 reset(mListener2); in testListenerCalledOnSetOverridesTwoListeners()
218 reset(mListener1); in testListenerCalledOnSetOverridesTwoListenersForTest()
219 reset(mListener2); in testListenerCalledOnSetOverridesTwoListenersForTest()
242 reset(mListener1); in testListenerCalledOnClearOverrides()
243 reset(mListener2); in testListenerCalledOnClearOverrides()
261 reset(mListener1); in testListenerCalledOnClearOverridesMultipleOverrides()
262 reset(mListener2); in testListenerCalledOnClearOverridesMultipleOverrides()
280 reset(mListener1); in testListenerCalledOnClearOverrideExists()
[all …]
/frameworks/base/graphics/java/android/graphics/
DColorMatrix.java69 reset(); in ColorMatrix()
100 public void reset() { in reset() method in ColorMatrix
145 reset(); in setRotate()
235 reset(); in setSaturation()
252 reset(); in setRGB2YUV()
264 reset(); in setYUV2RGB()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationHeaderUtil.java69 public void apply(View parent, View view, boolean apply, boolean reset) {
305 public void apply(ExpandableNotificationRow row, boolean reset) { in apply() argument
306 boolean apply = mApply && !reset; in apply()
308 applyToView(apply, reset, row.getNotificationHeader()); in apply()
311 applyToView(apply, reset, row.getPrivateLayout().getContractedChild()); in apply()
312 applyToView(apply, reset, row.getPrivateLayout().getHeadsUpChild()); in apply()
313 applyToView(apply, reset, row.getPrivateLayout().getExpandedChild()); in apply()
316 private void applyToView(boolean apply, boolean reset, View parent) { in applyToView() argument
320 mApplicator.apply(parent, view, apply, reset); in applyToView()
384 void apply(View parent, View view, boolean apply, boolean reset); in apply() argument
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DOneShotTimerTest.cpp91 mIdleTimer->reset(); in TEST_F()
114 mIdleTimer->reset(); in TEST_F()
118 mIdleTimer->reset(); in TEST_F()
122 mIdleTimer->reset(); in TEST_F()
126 mIdleTimer->reset(); in TEST_F()
162 mIdleTimer->reset(); in TEST_F()
189 mIdleTimer->reset(); in TEST_F()
202 mIdleTimer->reset(); in TEST_F()
/frameworks/base/core/java/android/util/
DTimingLogger.java84 reset(tag, label); in TimingLogger()
95 public void reset(String tag, String label) { in reset() method in TimingLogger
98 reset(); in reset()
109 public void reset() { in reset() method in TimingLogger
/frameworks/native/libs/input/
DVelocityControl.cpp37 reset(); in VelocityControl()
42 reset(); in setParameters()
45 void VelocityControl::reset() { in reset() function in android::VelocityControl
59 reset(); in move()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java36 import static org.mockito.Mockito.reset;
179 reset(mCarrierTextCallback); in testAirplaneMode()
199 reset(mCarrierTextCallback); in testCardIOError()
223 reset(mCarrierTextCallback); in testCardIOError()
234 reset(mCarrierTextCallback); in testWrongSlots()
248 reset(mCarrierTextCallback); in testMoreSlotsThanSubs()
270 reset(mCarrierTextCallback); in testCallback()
283 reset(mCarrierTextCallback); in testNullingCallback()
295 reset(mCarrierTextCallback); in testCreateInfo_OneValidSubscription()
320 reset(mCarrierTextCallback); in testCreateInfo_OneValidSubscriptionWithRoaming()
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DEntitlementManagerTest.java129 public void reset() { in reset() method in EntitlementManagerTest.WrappedEntitlementManager
308 mEnMgr.reset(); in testRequestLastEntitlementCacheValue()
321 mEnMgr.reset(); in testRequestLastEntitlementCacheValue()
333 mEnMgr.reset(); in testRequestLastEntitlementCacheValue()
346 mEnMgr.reset(); in testRequestLastEntitlementCacheValue()
358 mEnMgr.reset(); in testRequestLastEntitlementCacheValue()
370 mEnMgr.reset(); in testRequestLastEntitlementCacheValue()
381 mEnMgr.reset(); in testRequestLastEntitlementCacheValue()
393 mEnMgr.reset(); in testRequestLastEntitlementCacheValue()
507 mEnMgr.reset(); in testRunTetherProvisioning()
[all …]

12345678910>>...51