Home
last modified time | relevance | path

Searched refs:reset (Results 1 – 25 of 1146) 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 …]
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()
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 …]
/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;
96 reset(mMockScreenDecorations); in hide_hidesHandlesWhenShowing()
111 reset(mMockScreenDecorations); in hide_doesNothingWhenHiding()
125 reset(mMockScreenDecorations); in showAndStay_showsHandlesWhenHiding()
140 reset(mMockScreenDecorations); in showAndStay_doesNothingWhenShowing()
154 reset(mMockScreenDecorations); in showAndStay_doesNothingWhenThereIsNoAssistant()
168 reset(mMockScreenDecorations); in showAndGo_showsThenHidesHandlesWhenHiding()
185 reset(mMockScreenDecorations); in showAndGo_hidesHandlesAfterTimeoutWhenShowing()
203 reset(mMockScreenDecorations); in showAndGo_doesNothingIfRecentlyHidden()
217 reset(mMockScreenDecorations); in showAndGo_doesNothingWhenThereIsNoAssistant()
[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/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.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/core/java/android/util/
DTimingLogger.java77 reset(tag, label); in TimingLogger()
88 public void reset(String tag, String label) { in reset() method in TimingLogger
91 reset(); in reset()
102 public void reset() { in reset() method in TimingLogger
/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/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/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/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/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPRequestManagerTest.java25 import static org.mockito.Mockito.reset;
167 reset(mHandler); in requestANQPElementsWithPendingRequest()
174 reset(mHandler); in requestANQPElementsWithPendingRequest()
196 reset(mHandler); in requestANQPElementsAfterRequestSendFailure()
217 reset(mHandler); in requestANQPElementsAfterRequestSucceeded()
242 reset(mHandler); in requestANQPElementsAfterRequestFailed()
274 reset(mHandler); in requestANQPElementsWithMaxRetries()
291 reset(mHandler); in requestANQPElementsWithMaxRetries()
306 reset(mHandler); in requestANQPElementsWithMaxRetries()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java31 import static org.mockito.Mockito.reset;
126 reset(mCarrierTextCallback); in testWrongSlots()
140 reset(mCarrierTextCallback); in testMoreSlotsThanSubs()
162 reset(mCarrierTextCallback); in testCallback()
175 reset(mCarrierTextCallback); in testNullingCallback()
187 reset(mCarrierTextCallback); in testCreateInfo_OneValidSubscription()
211 reset(mCarrierTextCallback); in testCreateInfo_OneValidSubscriptionWithRoaming()
235 reset(mCarrierTextCallback); in testCreateInfo_noSubscriptions()
255 reset(mCarrierTextCallback); in testCarrierText_twoValidSubscriptions()
278 reset(mCarrierTextCallback); in testCarrierText_oneDisabledSub()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DFingerprintGestureControllerTest.java24 import static org.mockito.Mockito.reset;
82 reset(mMockFingerprintGestureCallback); in testDetectionActiveCallback_noHandler_shouldCallback()
113 reset(mMockFingerprintGestureCallback); in testDetectionActiveCallback_withHandler_shouldPostRunnableToHandler()
132 reset(mMockFingerprintGestureCallback); in testGestureCallback_noHandler_shouldCallListener()
155 reset(mMockFingerprintGestureCallback); in testGestureCallback_withHandler_shouldPostRunnableToHandler()
/frameworks/compile/mclinker/lib/LD/
DDiagnosticEngine.cpp41 void DiagnosticEngine::reset(const LinkerConfig& pConfig) { in reset() function in mcld::DiagnosticEngine
45 m_State.reset(); in reset()
64 m_State.reset(); in emit()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DEntitlementManagerTest.java125 public void reset() { in reset() method in EntitlementManagerTest.WrappedEntitlementManager
262 mEnMgr.reset(); in testGetLastEntitlementCacheValue()
277 mEnMgr.reset(); in testGetLastEntitlementCacheValue()
291 mEnMgr.reset(); in testGetLastEntitlementCacheValue()
305 mEnMgr.reset(); in testGetLastEntitlementCacheValue()
319 mEnMgr.reset(); in testGetLastEntitlementCacheValue()
333 mEnMgr.reset(); in testGetLastEntitlementCacheValue()
346 mEnMgr.reset(); in testGetLastEntitlementCacheValue()
420 mEnMgr.reset(); in testRunTetherProvisioning()
428 mEnMgr.reset(); in testRunTetherProvisioning()
[all …]
/frameworks/base/core/jni/
Dandroid_view_PointerIcon.h67 reset(); in PointerIcon()
81 inline void reset() { in reset() function
83 bitmap.reset(); in reset()
/frameworks/av/media/mtp/
DMtpDevice.cpp335 mRequest.reset(); in openSession()
358 mRequest.reset(); in getDeviceInfo()
377 mRequest.reset(); in getStorageIDs()
392 mRequest.reset(); in getStorageInfo()
413 mRequest.reset(); in getObjectHandles()
433 mRequest.reset(); in getObjectInfo()
453 mRequest.reset(); in getThumbnail()
468 mRequest.reset(); in sendObjectInfo()
476 mData.reset(); in sendObjectInfo()
528 mRequest.reset(); in sendObject()
[all …]

12345678910>>...46