Home
last modified time | relevance | path

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

12345678910>>...41

/aosp14/frameworks/base/cmds/incidentd/tests/
H A DFdBuffer_test.cpp129 c2pPipe.readFd().reset(); in TEST_F()
136 c2pPipe.writeFd().reset(); in TEST_F()
156 c2pPipe.readFd().reset(); in TEST_F()
159 p2cPipe.readFd().reset(); in TEST_F()
164 p2cPipe.readFd().reset(); in TEST_F()
186 c2pPipe.readFd().reset(); in TEST_F()
192 p2cPipe.readFd().reset(); in TEST_F()
197 p2cPipe.readFd().reset(); in TEST_F()
217 c2pPipe.readFd().reset(); in TEST_F()
219 p2cPipe.readFd().reset(); in TEST_F()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A 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 …]
/aosp14/frameworks/base/tools/aapt2/io/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DKeyguardIndicationRotateTextViewControllerTest.java170 reset(mView); in testShowTwoRotatingMessages()
189 reset(mView); in testUpdateCurrentMessage()
210 reset(mView); in testUpdateRotatingMessageForUndisplayedIndication()
211 reset(mExecutor); in testUpdateRotatingMessageForUndisplayedIndication()
234 reset(mView); in testUpdateImmediately()
249 reset(mView); in testUpdateImmediately()
267 reset(mView); in testSameMessage_noIndicationUpdate()
287 reset(mView); in testTransientIndication()
307 reset(mView); in testHideIndicationOneMessage()
355 reset(mView); in testStoppedDozing()
[all …]
/aosp14/system/core/fastboot/device/
H A Dtcp_client.cpp73 socket_.reset(nullptr); in Read()
88 socket_.reset(nullptr); in Read()
112 socket_.reset(nullptr); in Write()
130 socket_.reset(nullptr); in Close()
149 socket_.reset(nullptr); in ListenFastbootSocket()
155 socket_.reset(nullptr); in ListenFastbootSocket()
163 socket_.reset(nullptr); in ListenFastbootSocket()
170 socket_.reset(nullptr); in ListenFastbootSocket()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarTransitionsTest.kt36 import org.mockito.Mockito.reset
61 reset(batteryView)
62 reset(statusIcons)
63 reset(startIcons)
139 reset(startIcons)
170 reset(startIcons)
180 reset(startIcons)
191 reset(startIcons)
201 reset(startIcons)
211 reset(startIcons)
[all …]
/aosp14/frameworks/base/libs/androidfw/
H A DResourceTimer.cpp100 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 …]
/aosp14/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/
H A DDeviceStateManagerGlobalTest.java83 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()
161 reset(callback); in submitBaseStateOverrideRequest()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
H A DTableChangeTest.kt34 underTest.reset(
50 underTest.reset(
66 underTest.reset(
82 underTest.reset(
98 underTest.reset(
114 underTest.reset(
121 underTest.reset(
167 underTest.reset(
188 underTest.reset(
205 underTest.reset(
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DLockIconViewControllerWithCoroutinesTest.kt36 import org.mockito.Mockito.reset
56 reset(mLockIconView)
78 reset(mLockIconView)
102 reset(mLockIconView)
111 reset(mLockIconView)
129 reset(mLockIconView)
138 reset(mLockIconView)
H A DLockIconViewControllerTest.java29 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()
/aosp14/frameworks/base/cmds/idmap2/
H A Dvalgrind.sh29 local reset="\e[0m"
32 _log "${green}[ RUN ]${reset} ${label}"
35 _log "${green}[ OK ]${reset} ${label}"
39 _log "${red}[ FAILED ]${reset} ${label}"
H A 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}"
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/
H A DTemporaryViewDisplayControllerTest.kt181 reset(windowManager)
226 reset(windowManager)
240 reset(windowManager)
292 reset(windowManager)
343 reset(windowManager)
349 reset(windowManager)
365 reset(windowManager)
382 reset(windowManager)
388 reset(windowManager)
419 reset(windowManager)
[all …]
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A 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 …]
H A 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()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare/
H A DAgentTrendCalculatorTest.java121 trendCalculator.reset(0, 0, null); in testNoOngoingEvents()
137 trendCalculator.reset(1234, 1234, affordabilityNotes); in testNoOngoingEvents()
159 trendCalculator.reset(0, 100, null); in testNoAffordabilityNotes()
169 trendCalculator.reset(1234, 1234, affordabilityNotes); in testNoAffordabilityNotes()
194 trendCalculator.reset(1234, 1234, affordabilityNotes); in testNoTrendToThreshold()
212 trendCalculator.reset(1, 0, affordabilityNotes); in testNoTrendToThreshold()
243 trendCalculator.reset(0, 1000, affordabilityNotes); in testSimpleTrendToThreshold_Balance()
259 trendCalculator.reset(40, 100, affordabilityNotes); in testSimpleTrendToThreshold_Balance()
300 trendCalculator.reset(0, 10_000, affordabilityNotes); in testSelectCorrectThreshold_Balance()
312 trendCalculator.reset(30, 500, affordabilityNotes); in testSelectCorrectThreshold_Balance()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/
H A DDreamOverlayCallbackControllerTest.kt27 import org.mockito.Mockito.reset
57 reset(callback)
63 reset(callback)
80 reset(callback)
86 reset(callback)
/aosp14/frameworks/base/libs/hwui/apex/java/android/graphics/
H A 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()
/aosp14/frameworks/base/libs/hwui/
H A DSkiaInterpolator.h32 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);
/aosp14/frameworks/base/core/java/android/util/
H A 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
/aosp14/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyLogger.java424 data.reset(); in uidStateChanged()
437 data.reset(); in event()
448 data.reset(); in networkBlocked()
461 data.reset(); in uidPolicyChanged()
473 data.reset(); in meterednessChanged()
484 data.reset(); in userRemoved()
494 data.reset(); in restrictBackgroundChanged()
505 data.reset(); in deviceIdleModeEnabled()
515 data.reset(); in appIdleStateChanged()
526 data.reset(); in appIdleWlChanged()
[all …]
/aosp14/frameworks/base/apct-tests/perftests/core/src/com/android/internal/util/
H A DFastDataPerfTest.java56 os.reset(); in timeWrite_Upstream()
73 os.reset(); in timeWrite_LocalUsing4ByteSequences()
89 os.reset(); in timeWrite_LocalUsing3ByteSequences()
105 is.reset(); in timeRead_Upstream()
121 is.reset(); in timeRead_LocalUsing4ByteSequences()
136 is.reset(); in timeRead_LocalUsing3ByteSequences()
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTimer.h125 void reset();
134 static void copy(Timer &dst, Timer &src, bool reset);
168 static bool copy(int src, Timer &dst, bool reset);
176 static void reset();
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationGroupingUtil.java77 public void apply(View parent, View view, boolean apply, boolean reset) {
284 public void apply(ExpandableNotificationRow row, boolean reset) { in apply() argument
285 boolean apply = mApply && !reset; in apply()
291 applyToView(apply, reset, row.getPrivateLayout().getHeadsUpChild()); in apply()
292 applyToView(apply, reset, row.getPrivateLayout().getExpandedChild()); in apply()
295 private void applyToView(boolean apply, boolean reset, View parent) { in applyToView() argument
299 mApplicator.apply(parent, view, apply, reset); in applyToView()
386 void apply(View parent, View view, boolean apply, boolean reset); in apply() argument
392 public void apply(View parent, View view, boolean apply, boolean reset) { in apply() argument
403 if (reset && parent instanceof ConversationLayout) { in apply()
[all …]

12345678910>>...41