Home
last modified time | relevance | path

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

12345678910>>...46

/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.java51 reset(mWifiController); in testValidTriggerReasonsSendMessageToWifiController()
57 reset(mWifiController); in testValidTriggerReasonsSendMessageToWifiController()
96 reset(mWifiController); in testTimeWindowLimiting_typicalUse()
101 reset(mWifiController); in testTimeWindowLimiting_typicalUse()
107 reset(mWifiController); in testTimeWindowLimiting_typicalUse()
115 reset(mWifiController); in testTimeWindowLimiting_typicalUse()
121 reset(mWifiController); in testTimeWindowLimiting_typicalUse()
127 reset(mWifiController); in testTimeWindowLimiting_typicalUse()
132 reset(mWifiController); in testTimeWindowLimiting_typicalUse()
139 reset(mWifiController); in testTimeWindowLimiting_typicalUse()
[all …]
DWifiControllerTest.java182 reset(mActiveModeWarden); in testEnterScanModeAtStartWhenSet()
211 reset(mActiveModeWarden); in testDoesNotEnterScanModeWhenLocationModeDisabled()
234 reset(mContext, mActiveModeWarden); in testEnterScanModeWhenLocationModeEnabled()
268 reset(mContext, mActiveModeWarden); in testExitScanModeWhenLocationModeDisabled()
336 reset(mActiveModeWarden); in testEcmDisabledReturnsToClientMode()
409 reset(mActiveModeWarden); in testEcmDisabledReturnsToScanMode()
487 reset(mActiveModeWarden); in testEcmDisabledRemainsDisabledWhenSoftApHadBeenOn()
529 reset(mActiveModeWarden); in testEnterEcmOnEmergencyCallStateChange()
554 reset(mActiveModeWarden); in testEnterEcmOnEmergencyCallStateChangeAndUpdateWithInvalidState()
564 reset(mActiveModeWarden); in testEnterEcmOnEmergencyCallStateChangeAndUpdateWithInvalidState()
[all …]
DScanOnlyModeManagerTest.java31 import static org.mockito.Mockito.reset;
144 reset(mWifiNative, mContext); in scanOnlyModeStartCalledTwice()
156 reset(mContext, mListener); in scanModeStopCleansUpState()
171 reset(mContext); in scanModeStopsOnInterfaceDestroyed()
185 reset(mContext, mListener); in scanModeStopWhenNotStartedDoesNotUpdateScanStateUpdates()
201 reset(mContext); in scanModeStartedStopsWhenInterfaceDown()
214 reset(mContext, mListener); in scanModeStartedDoesNotStopOnDownForDifferentIface()
229 reset(mListener); in noCallbackOnInterfaceDestroyedWhenAlreadyStopped()
/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.java26 import static org.mockito.Mockito.reset;
116 reset(mMockScreenDecorations); in hide_hidesHandlesWhenShowing()
131 reset(mMockScreenDecorations); in hide_doesNothingWhenHiding()
145 reset(mMockScreenDecorations); in showAndStay_showsHandlesWhenHiding()
160 reset(mMockScreenDecorations); in showAndStay_doesNothingWhenShowing()
174 reset(mMockScreenDecorations); in showAndStay_doesNothingWhenThereIsNoAssistant()
188 reset(mMockScreenDecorations); in showAndGo_showsThenHidesHandlesWhenHiding()
205 reset(mMockScreenDecorations); in showAndGo_hidesHandlesAfterTimeoutWhenShowing()
223 reset(mMockScreenDecorations); in showAndGo_doesNothingIfRecentlyHidden()
237 reset(mMockScreenDecorations); in showAndGo_doesNothingWhenThereIsNoAssistant()
[all …]
DAssistHandleLikeHomeBehaviorTest.java21 import static org.mockito.Mockito.reset;
141 reset( in onModeDeactivated_stopsObserving()
165 reset( in onAssistantGesturePerformed_doesNothing()
186 reset( in onAssistHandlesRequested_doesNothing()
216 reset( in onBothAwakeAndUnDoze_handlesShow()
235 reset(mMockAssistHandleCallbacks); in onBothAwakeAndUnDoze_handlesShow()
273 reset( in onSleepOrDoze_handlesHide()
292 reset(mMockAssistHandleCallbacks); in onSleepOrDoze_handlesHide()
316 reset( in onHomeHandleHide_handlesHide()
347 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/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/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java197 state.reset(); in onInputEvent()
502 mTouchScreenStreamState.reset(); in resetStreamState()
505 mMouseStreamState.reset(); in resetStreamState()
508 mKeyboardStreamState.reset(); in resetStreamState()
542 reset(); in updateInputSource()
557 public void reset() { in reset() method in AccessibilityInputFilter.EventStreamState
592 reset(); in MouseEventStreamState()
596 final public void reset() { in reset() method in AccessibilityInputFilter.MouseEventStreamState
597 super.reset(); in reset()
627 reset(); in TouchScreenEventStreamState()
[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/tests/servicestests/src/com/android/server/compat/
DPlatformCompatTest.java23 import static org.mockito.Mockito.reset;
172 reset(mListener1); in testListenerCalledOnSetOverridesTwoListeners()
173 reset(mListener2); in testListenerCalledOnSetOverridesTwoListeners()
208 reset(mListener1); in testListenerCalledOnSetOverridesTwoListenersForTest()
209 reset(mListener2); in testListenerCalledOnSetOverridesTwoListenersForTest()
232 reset(mListener1); in testListenerCalledOnClearOverrides()
233 reset(mListener2); in testListenerCalledOnClearOverrides()
251 reset(mListener1); in testListenerCalledOnClearOverridesMultipleOverrides()
252 reset(mListener2); in testListenerCalledOnClearOverridesMultipleOverrides()
270 reset(mListener1); in testListenerCalledOnClearOverrideExists()
[all …]
/frameworks/base/cmds/idmap2/
Dstatic-checks.sh29 local reset="\e[0m"
31 _log "${green}[ RUN ]${reset} ${label}"
34 _log "${green}[ OK ]${reset} ${label}"
38 _log "${red}[ FAILED ]${reset} ${label}"
/frameworks/av/media/libaudioclient/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/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java34 import static org.mockito.Mockito.reset;
139 reset(mCarrierTextCallback); in testAirplaneMode()
159 reset(mCarrierTextCallback); in testCardIOError()
183 reset(mCarrierTextCallback); in testCardIOError()
194 reset(mCarrierTextCallback); in testWrongSlots()
208 reset(mCarrierTextCallback); in testMoreSlotsThanSubs()
230 reset(mCarrierTextCallback); in testCallback()
243 reset(mCarrierTextCallback); in testNullingCallback()
255 reset(mCarrierTextCallback); in testCreateInfo_OneValidSubscription()
279 reset(mCarrierTextCallback); in testCreateInfo_OneValidSubscriptionWithRoaming()
[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/native/libs/gui/
DBitTube.cpp58 mReceiveFd.reset(sockets[0]); in init()
59 mSendFd.reset(sockets[1]); in init()
61 mReceiveFd.reset(); in init()
117 mReceiveFd.reset(); in writeToParcel()
122 mReceiveFd.reset(dup(parcel->readFileDescriptor())); in readFromParcel()
124 mReceiveFd.reset(); in readFromParcel()
/frameworks/native/services/surfaceflinger/tests/unittests/
DIdleTimerTest.cpp90 mIdleTimer->reset(); in TEST_F()
113 mIdleTimer->reset(); in TEST_F()
117 mIdleTimer->reset(); in TEST_F()
121 mIdleTimer->reset(); in TEST_F()
125 mIdleTimer->reset(); in TEST_F()
161 mIdleTimer->reset(); in TEST_F()
188 mIdleTimer->reset(); in TEST_F()
201 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/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java330 data.reset(); in uidStateChanged()
342 data.reset(); in event()
352 data.reset(); in networkBlocked()
363 data.reset(); in uidPolicyChanged()
375 data.reset(); in meterednessChanged()
386 data.reset(); in userRemoved()
396 data.reset(); in restrictBackgroundChanged()
407 data.reset(); in deviceIdleModeEnabled()
417 data.reset(); in appIdleStateChanged()
428 data.reset(); in appIdleWlChanged()
[all …]
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsSubscriptionsMonitorTest.java27 import static org.mockito.Mockito.reset;
178 reset(mDelegate); in testSubChangedAndRatTypeChanged()
188 reset(mDelegate); in testSubChangedAndRatTypeChanged()
198 reset(mDelegate); in testSubChangedAndRatTypeChanged()
207 reset(mDelegate); in testSubChangedAndRatTypeChanged()
214 reset(mDelegate); in testSubChangedAndRatTypeChanged()
244 reset(mDelegate); in test5g()
250 reset(mDelegate); in test5g()
257 reset(mDelegate); in test5g()
263 reset(mDelegate); in test5g()
/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()

12345678910>>...46