Home
last modified time | relevance | path

Searched full:simulate (Results 1 – 25 of 3374) sorted by relevance

12345678910>>...135

/aosp_15_r20/external/minijail/tools/
H A Dcompiler_unittest.py62 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
65 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
110 block.simulate(self.arch.arch_nr,
119 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
122 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
125 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
128 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
131 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
134 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
137 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
[all …]
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorTouchStateTest.java62 // Simulate an ACTION_DOWN event. in testUpdate_singleTap()
68 // Simulate an ACTION_UP event. in testUpdate_singleTap()
83 // Simulate an ACTION_DOWN event. in testUpdate_doubleTap_sameArea()
89 // Simulate an ACTION_UP event. in testUpdate_doubleTap_sameArea()
105 // Simulate an ACTION_DOWN event. in testUpdate_doubleTap_notSameArea()
111 // Simulate an ACTION_UP event. in testUpdate_doubleTap_notSameArea()
124 // Simulate an ACTION_UP event. in testUpdate_doubleTap_notSameArea()
134 // Simulate an ACTION_DOWN event. in testUpdate_doubleTap_delayAfterFirstDownEvent()
140 // Simulate an ACTION_UP event with a delay that's longer than the double-tap timeout. in testUpdate_doubleTap_delayAfterFirstDownEvent()
158 // Simulate an ACTION_DOWN event. in testUpdate_quickTapAfterDrag()
[all …]
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzStateMachineImplTest.java121 // Simulate country being known. in test_countryThenNitz()
130 // Simulate NITZ being received and verify the behavior. in test_countryThenNitz()
165 // Simulate receiving the NITZ signal. in test_nitzThenCountry()
178 // Simulate country being known and verify the behavior. in test_nitzThenCountry()
197 // Simulate an empty country being set. in test_emptyCountryString_countryReceivedFirst()
207 // Simulate receiving the NITZ signal. in test_emptyCountryString_countryReceivedFirst()
241 // Simulate receiving the NITZ signal. in test_emptyCountryStringUsTime_nitzReceivedFirst()
255 // Simulate an empty country being set. in test_emptyCountryStringUsTime_nitzReceivedFirst()
285 // Pre-flight: Simulate a device receiving signals that allow it to detect time and time in test_airplaneModeClearsState()
293 // Simulate receiving the NITZ signal and country. in test_airplaneModeClearsState()
[all …]
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/education/
H A DAppHandleEducationControllerTest.kt120 // Simulate app handle visible. in init_appHandleVisible_shouldCallShowEducationTooltip()
137 // Simulate app handle visible. in init_flagDisabled_shouldNotCallShowEducationTooltip()
153 // Simulate app handle visible. in init_shouldShowAppHandleEducationReturnsFalse_shouldNotCallShowEducationTooltip()
168 // Simulate app handle is not visible. in init_appHandleNotVisible_shouldNotCallShowEducationTooltip()
187 // Simulate app handle visible. in init_appHandleHintViewedAlready_shouldNotCallShowEducationTooltip()
211 // Simulate app handle visible. in overridePrerequisite_appHandleHintViewedAlready_shouldCallShowEducationTooltip()
225 // Simulate app handle visible and expanded. in init_appHandleExpanded_shouldMarkAppHandleHintUsed()
240 // Simulate app handle visible. in init_showFirstTooltip_shouldMarkAppHandleHintViewed()
257 // Simulate app handle expanded. in showWindowingImageButtonTooltip_appHandleExpanded_shouldCallShowEducationTooltipTwice()
279 // Simulate app handle expanded. in showWindowingImageButtonTooltip_appHandleExpandedAfterTimeout_shouldCallShowEducationTooltipOnce()
[all …]
/aosp_15_r20/external/toolchain-utils/llvm_tools/
H A Dupdate_tryjob_status_unittest.py76 # Simulate the behavior of `os.rename()` when successfully renamed a file.
78 # Simulate the behavior of `os.path.basename()` when successfully retrieved
86 # Simulate the behavior of 'subprocess.Popen()' when executing the
148 # Simulate the behavior of `os.rename()` when successfully renamed a file.
150 # Simulate the behavior of `os.path.basename()` when successfully retrieved
156 # Simulate the behavior of 'subprocess.Popen()' when executing the
198 # Create a temporary .JSON file to simulate a .JSON file that has
222 # Simulate the behavior of `FindTryjobIndex()` when the tryjob does not
236 # Create a temporary .JSON file to simulate a .JSON file that has
264 # Simulate the behavior of `FindTryjobIndex()` when the tryjob exists in the
[all …]
H A Dmodify_a_tryjob_unittest.py25 # Create a temporary .JSON file to simulate a .JSON file that has
54 # Simulate the behavior of `FindTryjobIndex()` when the index of the tryjob
68 # Create a temporary .JSON file to simulate a .JSON file that has
102 # Simulate the behavior of `FindTryjobIndex()` when the index of the tryjob
114 # Create a temporary .JSON file to simulate a .JSON file that has
150 # Simulate the behavior of `RunTryJobs()` when successfully submitted a
153 # Simulate the behavior of `FindTryjobIndex()` when the index of the tryjob
182 # Create a temporary .JSON file to simulate a .JSON file that has
232 # Simulate the behavior of `FindTryjobIndex()` when the index of the tryjob
244 # Create a temporary .JSON file to simulate a .JSON file that has
[all …]
/aosp_15_r20/frameworks/base/services/companion/java/com/android/server/companion/
H A DCompanionDeviceShellCommand.java143 case "simulate-device-appeared": in onCommand()
148 case "simulate-device-disappeared": in onCommand()
153 case "simulate-device-event": { in onCommand()
162 case "simulate-device-uuid-event": { in onCommand()
176 case "simulate-device-event-device-locked": { in onCommand()
190 case "simulate-device-event-device-unlocked": { in onCommand()
495 pw.println(" simulate-device-appeared ASSOCIATION_ID"); in onHelp()
500 pw.println(" will act as if device disappeared, unless 'simulate-device-disappeared'"); in onHelp()
501 pw.println(" or 'simulate-device-appeared' is called again before 60 seconds run out" in onHelp()
505 pw.println(" simulate-device-disappeared ASSOCIATION_ID"); in onHelp()
[all …]
/aosp_15_r20/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/
H A DLocationTimeZoneProviderControllerTest.java303 // Simulate time passing with no provider event being received from the primary. in enabled_uncertaintySuggestionSentIfNoEventReceived()
317 // Simulate time passing with no provider event being received from either the primary or in enabled_uncertaintySuggestionSentIfNoEventReceived()
367 // Simulate a location event being received from the primary provider. This should cause a in enabled_eventReceivedBeforeInitializationTimeout()
403 // Simulate time passing with no provider event being received from the primary. in enabled_eventReceivedFromPrimaryAfterInitializationTimeout()
415 // Simulate a location event being received from the primary provider. This should cause a in enabled_eventReceivedFromPrimaryAfterInitializationTimeout()
451 // Simulate time passing with no provider event being received from the primary. in enabled_eventReceivedFromSecondaryAfterInitializationTimeout()
463 // Simulate a location event being received from the secondary provider. This should cause a in enabled_eventReceivedFromSecondaryAfterInitializationTimeout()
500 // Simulate a location event being received from the primary provider. This should cause a in enabled_repeatedPrimaryCertainty()
561 // Simulate time passing with no provider event being received from the primary. in enabled_repeatedSecondaryCertainty()
573 // Simulate a location event being received from the secondary provider. This should cause a in enabled_repeatedSecondaryCertainty()
[all …]
/aosp_15_r20/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java39 * InstrumentationTestCase or ActivityInstrumentationTestCase2 to simulate user interaction with
51 * Simulate touching in the center of the screen and dragging one quarter of the way down
64 * Simulate touching in the center of the screen and dragging one quarter of the way down
80 * Simulate touching in the center of the screen and dragging one quarter of the way up
93 * Simulate touching in the center of the screen and dragging one quarter of the way up
189 * Simulate touching the center of a view and dragging to the bottom of the screen.
204 * Simulate touching the center of a view and dragging to the bottom of the screen.
215 * Simulate touching the center of a view and dragging to the bottom of the screen.
232 * Simulate touching the center of a view and dragging to the bottom of the screen.
259 * Simulate touching the center of a view and releasing quickly (before the tap timeout).
[all …]
/aosp_15_r20/external/webrtc/video/
H A Dstream_synchronization_unittest.cc107 // Simulate audio playback 300 ms after capture and video rendering 100 ms
109 // audio and video, and that they change correctly when we simulate that
130 // Simulate base_target_delay_ms minimum delay in the VCM. in BothDelayedAudioLaterTest()
143 // Simulate base_target_delay_ms minimum delay in the VCM. in BothDelayedAudioLaterTest()
151 // Simulate that NetEQ introduces some audio delay. in BothDelayedAudioLaterTest()
157 // Simulate base_target_delay_ms minimum delay in the VCM. in BothDelayedAudioLaterTest()
168 // Simulate that NetEQ reduces its delay. in BothDelayedAudioLaterTest()
174 // Simulate base_target_delay_ms minimum delay in the VCM. in BothDelayedAudioLaterTest()
231 // Simulate that NetEQ for some reason reduced the delay. in BothDelayedVideoLaterTest()
246 // Simulate that NetEQ for some reason significantly increased the delay. in BothDelayedVideoLaterTest()
[all …]
/aosp_15_r20/cts/tests/tests/companion/core/src/android/companion/cts/core/
H A DDeviceEventDeviceLockedTest.kt70 // simulate send call back when the device is locked. in test_ble_event_on_device_locked()
79 // simulate device is unlocked. in test_ble_event_on_device_locked()
110 // simulate send call back when the device is locked. in test_bt_event_on_device_locked()
119 // simulate device is unlocked. in test_bt_event_on_device_locked()
150 // simulate send call back when the device is locked. in test_bt_ble_event_on_device_locked()
166 // simulate device is unlocked. in test_bt_ble_event_on_device_locked()
194 // simulate device is unlocked. in test_uuid_event_on_device_locked()
223 // simulate send call back when the device is locked. in test_ble_event_disappeared_before_device_unlocked()
231 // simulate send negative callback before device is unlocked. in test_ble_event_disappeared_before_device_unlocked()
264 // simulate send call back when the device is locked. in test_bt_event_disconnected_before_device_unlocked()
[all …]
/aosp_15_r20/external/angle/third_party/spirv-tools/src/source/opt/
H A Dpropagator.cpp87 bool SSAPropagator::Simulate(Instruction* instr) { in Simulate() function in spvtools::opt::SSAPropagator
101 // not to simulate anymore and add its SSA def-use edges for simulation. in Simulate()
135 // of D might affect |instr|, so we should simulate |instr| again. in Simulate()
175 bool SSAPropagator::Simulate(BasicBlock* block) { in Simulate() function in spvtools::opt::SSAPropagator
180 // Always simulate Phi instructions, even if we have simulated this block in Simulate()
186 [&changed, this](Instruction* instr) { changed |= Simulate(instr); }); in Simulate()
188 // If this is the first time this block is being simulated, simulate every in Simulate()
193 changed |= Simulate(instr); in Simulate()
244 // Simulate all blocks first. Simulating blocks will add SSA edges to in Run()
248 changed |= Simulate(block); in Run()
[all …]
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/source/opt/
Dpropagator.cpp87 bool SSAPropagator::Simulate(Instruction* instr) { in Simulate() function in spvtools::opt::SSAPropagator
101 // not to simulate anymore and add its SSA def-use edges for simulation. in Simulate()
135 // of D might affect |instr|, so we should simulate |instr| again. in Simulate()
175 bool SSAPropagator::Simulate(BasicBlock* block) { in Simulate() function in spvtools::opt::SSAPropagator
180 // Always simulate Phi instructions, even if we have simulated this block in Simulate()
186 [&changed, this](Instruction* instr) { changed |= Simulate(instr); }); in Simulate()
188 // If this is the first time this block is being simulated, simulate every in Simulate()
193 changed |= Simulate(instr); in Simulate()
244 // Simulate all blocks first. Simulating blocks will add SSA edges to in Run()
248 changed |= Simulate(block); in Run()
[all …]
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dpropagator.cpp87 bool SSAPropagator::Simulate(Instruction* instr) { in Simulate() function in spvtools::opt::SSAPropagator
101 // not to simulate anymore and add its SSA def-use edges for simulation. in Simulate()
135 // of D might affect |instr|, so we should simulate |instr| again. in Simulate()
175 bool SSAPropagator::Simulate(BasicBlock* block) { in Simulate() function in spvtools::opt::SSAPropagator
180 // Always simulate Phi instructions, even if we have simulated this block in Simulate()
186 [&changed, this](Instruction* instr) { changed |= Simulate(instr); }); in Simulate()
188 // If this is the first time this block is being simulated, simulate every in Simulate()
193 changed |= Simulate(instr); in Simulate()
244 // Simulate all blocks first. Simulating blocks will add SSA edges to in Run()
248 changed |= Simulate(block); in Run()
[all …]
/aosp_15_r20/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiNetworkRequestTest.py126 3. Simulate user selecting the network.
140 3. Simulate user selecting the network.
155 3. Simulate user selecting the network.
175 3. Simulate user selecting the network.
182 9. Simulate user selecting the new network.
211 5. Simulate user selecting the new network.
229 3. Simulate user selecting the network.
235 8. Simulate user selecting the new network.
269 3. Simulate user selecting the network.
321 3. Simulate user selecting the network.
[all …]
/aosp_15_r20/frameworks/base/services/robotests/src/com/android/server/location/gnss/
H A DTimeDetectorNetworkTimeHelperTest.java96 // All injections are async, so we have to simulate the async work taking place. in testSetPeriodicTimeInjectionMode()
125 // All query/injections are async, so we have to simulate the async work taking place. in periodicInjectionBehavior()
143 // All query/injections are async, so we have to simulate the async work taking place, in periodicInjectionBehavior()
163 // All query/injections are async, so we have to simulate the async work taking place, in periodicInjectionBehavior()
185 // All query/injections are async, so we have to simulate the async work taking place. in networkTimeAvailableBehavior()
204 // All query/injections are async, so we have to simulate the async work taking place, in networkTimeAvailableBehavior()
227 // All query/injections are async, so we have to simulate the async work taking place. in networkConnectivityAvailableBehavior()
244 // Simulate location code noticing that connectivity has changed and notifying the helper. in networkConnectivityAvailableBehavior()
247 // All query/injections are async, so we have to simulate the async work taking place, in networkConnectivityAvailableBehavior()
275 // All injections are async, so we have to simulate the async work taking place. in oldTimesNotInjected()
/aosp_15_r20/external/libchrome/base/task/sequence_manager/
H A Dtask_queue_selector_unittest.cc374 // Don't remove task from queue to simulate all queues still being full. in TEST_F()
392 // Don't remove task from queue to simulate all queues still being full. in TEST_F()
412 // Don't remove task from queue to simulate all queues still being full. in TEST_F()
441 // Don't remove task from queue to simulate all queues still being full. in TEST_F()
470 // Don't remove task from queue to simulate all queues still being full. in TEST_F()
493 // Don't remove task from queue to simulate all queues still being full. in TEST_F()
519 // Don't remove task from queue to simulate all queues still being full. in TEST_F()
538 // Don't remove task from queue to simulate all queues still being full. in TEST_F()
547 // Don't remove task from queue to simulate all queues still being full. in TEST_F()
555 // Don't remove task from queue to simulate all queues still being full. in TEST_F()
[all …]
/aosp_15_r20/frameworks/opt/net/ims/tests/src/com/android/ims/
DFeatureConnectorTest.java155 // simulate callback from ImsResolver in testConnect()
162 // simulate callback from ImsResolver in testConnect()
188 // simulate callback from ImsResolver in testConnectReadyNotReady()
211 // simulate callback from ImsResolver in testConnectReadyAndInitializing()
242 // simulate callback from ImsResolver in testConnectReadyAndUnavailable()
302 // simulate callback from ImsResolver in testConnectReadyRemovedReady()
326 // simulate callback from ImsResolver in testConnectDisconnect()
353 // simulate callback from ImsResolver in testConnectDisconnectConnect()
365 // simulate callback from ImsResolver in testConnectDisconnectConnect()
379 // simulate callback from ImsResolver in testUpdateCapabilities()
[all …]
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/testutils/src/main/java/com/google/android/exoplayer2/testutil/
H A DExtractorAsserts.java82 /** A config of different environments to simulate and extractor behaviours to test. */
90 /** Whether to simulate IO errors. */
92 /** Whether to simulate unknown input length. */
94 /** Whether to simulate partial reads. */
204 * boolean, boolean)} with all possible combinations of "simulate" parameters.
223 * boolean, boolean)} with all possible combinations of "simulate" parameters.
272 * @param simulationConfig Details on the environment to simulate and behaviours to assert.
287 * @param simulationConfig Details on the environment to simulate and behaviours to assert.
342 * @param simulateIOErrors Whether to simulate IO errors.
343 * @param simulateUnknownLength Whether to simulate unknown input length.
[all …]
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/testutils/src/main/java/com/google/android/exoplayer2/testutil/
H A DExtractorAsserts.java82 /** A config of different environments to simulate and extractor behaviours to test. */
90 /** Whether to simulate IO errors. */
92 /** Whether to simulate unknown input length. */
94 /** Whether to simulate partial reads. */
204 * boolean, boolean)} with all possible combinations of "simulate" parameters.
223 * boolean, boolean)} with all possible combinations of "simulate" parameters.
272 * @param simulationConfig Details on the environment to simulate and behaviours to assert.
287 * @param simulationConfig Details on the environment to simulate and behaviours to assert.
342 * @param simulateIOErrors Whether to simulate IO errors.
343 * @param simulateUnknownLength Whether to simulate unknown input length.
[all …]
/aosp_15_r20/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
H A DNetworkTimeUpdateServiceTest.java103 // Simulate the passage of time for realism. in engineImpl_refreshAndRescheduleIfRequired_success()
134 // Simulate the passage of time for realism. in engineImpl_refreshAndRescheduleIfRequired_failThenFailRepeatedly()
186 // Simulate the passage of time for realism. in engineImpl_refreshAndRescheduleIfRequired_successThenFailRepeatedly()
239 // Simulate the passage of time for realism. in engineImpl_refreshAndRescheduleIfRequired_successThenFailRepeatedly()
266 // Simulate the passage of time for realism. in engineImpl_refreshAndRescheduleIfRequired_successThenFail_tryAgainTimesZero()
314 // Simulate the passage of time for realism. in engineImpl_refreshAndRescheduleIfRequired_successThenFail_tryAgainTimesZero()
341 // Simulate the passage of time for realism. in engineImpl_refreshAndRescheduleIfRequired_successThenFail_tryAgainTimesNegative()
390 // Simulate the passage of time for realism. in engineImpl_refreshAndRescheduleIfRequired_successThenFail_tryAgainTimesNegative()
415 // Simulate the passage of time for realism. in engineImpl_refreshAndRescheduleIfRequired_successFailSuccess()
476 // Simulate the passage of time for realism. in engineImpl_refreshAndRescheduleIfRequired_successFailSuccess()
[all …]
H A DTimeDetectorStrategyImplTest.java290 // Increment the device clocks to simulate the passage of time. in testSuggestTelephonyTime_systemClockThreshold()
602 // Simulate time passing. in testSuggestTelephonyTime_timeDetectionToggled()
605 // Simulate the time signal being received. It should not be used because auto time in testSuggestTelephonyTime_timeDetectionToggled()
612 // Simulate more time passing. in testSuggestTelephonyTime_timeDetectionToggled()
634 // Simulate more time passing. in testSuggestTelephonyTime_timeDetectionToggled()
677 // Simulate time passing, long enough that telephonySuggestion is now too old. in testSuggestTelephonyTime_maxSuggestionAge()
816 // Simulate a telephony suggestion. in testSuggestManualTime_retainsAutoSignal()
821 // Simulate the passage of time. in testSuggestManualTime_retainsAutoSignal()
831 // Simulate the passage of time. in testSuggestManualTime_retainsAutoSignal()
840 // Simulate the passage of time. in testSuggestManualTime_retainsAutoSignal()
[all …]
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DClangCodeCoverageCollectorTest.java168 // Simulate a test run. in coverageDisabled_noCoverageLog()
183 // Simulate a test run. in clangCoverageDisabled_noCoverageLog()
203 // Simulate a test run. in coverageFlushEnabled_flushCalled()
232 // Simulate a test run. in testRun_misc_trace_only_logsCoverageFile()
289 // Simulate a test run. in testRun_local_tmp_only_logsCoverageFile()
342 // Simulate a test run. in testRun_both_locations_logsCoverageFile()
394 // Simulate a test run. in testRun_noModuleName_logsCoverageFile()
437 // Simulate a test run. in testRun_profraw_filter_option()
475 // Simulate a test run. in testOtherFileTypes_ignored()
503 // Simulate a test run. in testNoClangMeasurements_noLogFile()
[all …]
DJavaCodeCoverageCollectorTest.java159 // Simulate a test run. in testRunEnded_noCoverageEnabled_noop()
181 // Simulate a test run. in testRunEnded_rootEnabled_logsCoverageMeasurement()
213 // Simulate a test run. in testRunEnded_rootEnabled_noModuleName_logsCoverageMeasurement()
231 // Simulate a test run. in testFailure_unableToPullFile()
249 // Simulate a test run. in testRunEnded_rootDisabled_enablesRootBeforePullingFiles()
267 // Simulate a test run. in testRunEnded_rootDisabled_noLogIfCannotEnableRoot()
288 // Simulate a test run. in testRunEnded_rootDisabled_disablesRootAfterPullingFiles()
324 // Simulate a test run. in testCoverageFlush_producesMultipleMeasurements()
368 // Simulate a test run. in testRunningProcess_coverageFileNotDeleted()
402 // Simulate a test run. in testStreamingCoverage_logsReceived()
[all …]
/aosp_15_r20/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
H A DFieldsClassificationTest.java210 // Simulate user input in testMiss_exactMatchAlgorithm()
247 // Simulate user input in testHit_exactMatchLast4Algorithm()
284 // Simulate user input in testHit_CreditCardAlgorithm()
322 // Simulate user input in testHit_useDefaultAlgorithm()
359 // Simulate user input in simpleHitTest()
396 // Simulate user input in testHit_sameValueForMultipleCategories()
445 // Simulate user input in manyUserData_oneDetectableField()
492 // Simulate user input in testHit_oneUserData_manyDetectableFields()
542 // Simulate user input in testHit_manyUserData_manyDetectableFields()
602 // Simulate user input in testHit_manyUserData_manyDetectableFields_differentClassificationAlgo()
[all …]

12345678910>>...135