Home
last modified time | relevance | path

Searched refs:Runnable (Results 1 – 25 of 1978) sorted by relevance

12345678910>>...80

/aosp12/art/test/1922-owned-monitors-info/src/art/
H A DTest1922.java183 List<Function<Runnable, Runnable>> MkSafepoints = Arrays.asList( in runTestsOtherThread()
193 ListIterator<Function<Runnable, Runnable>> li1 = MkSafepoints.listIterator(); in runTestsOtherThread()
194 for (Function<Runnable, Runnable> r1 = li1.next(); li1.hasNext(); r1 = li1.next()) { in runTestsOtherThread()
195 ListIterator<Function<Runnable, Runnable>> li2 = in runTestsOtherThread()
197 for (Function<Runnable, Runnable> r2 = li2.next(); li2.hasNext(); r2 = li2.next()) { in runTestsOtherThread()
198 ListIterator<Function<Runnable, Runnable>> li3 = in runTestsOtherThread()
228 List<Function<Runnable, Runnable>> MkSafepoints = Arrays.asList( in runTestsCurrentThread()
237 ListIterator<Function<Runnable, Runnable>> li1 = MkSafepoints.listIterator(); in runTestsCurrentThread()
238 for (Function<Runnable, Runnable> r1 = li1.next(); li1.hasNext(); r1 = li1.next()) { in runTestsCurrentThread()
239 ListIterator<Function<Runnable, Runnable>> li2 = in runTestsCurrentThread()
[all …]
/aosp12/art/test/1912-get-set-local-primitive/
H A Dexpected-stdout.txt1 Running public static void art.Test1912.IntMethod(java.lang.Runnable) with "GetInt" on remote threa…
2 "GetInt" on public static void art.Test1912.IntMethod(java.lang.Runnable) got value: 42
4 Running public static void art.Test1912.IntMethod(java.lang.Runnable) with "GetLong" on remote thre…
7 Running public static void art.Test1912.IntMethod(java.lang.Runnable) with "GetFloat" on remote thr…
10 Running public static void art.Test1912.IntMethod(java.lang.Runnable) with "GetDouble" on remote th…
16 Running public static void art.Test1912.IntMethod(java.lang.Runnable) with "SetInt" on remote threa…
17 "SetInt" on public static void art.Test1912.IntMethod(java.lang.Runnable) set value: 2147483647
38 "GetLong" on public static void art.Test1912.LongMethod(java.lang.Runnable) got value: 9001
74 "GetFloat" on public static void art.Test1912.FloatMethod(java.lang.Runnable) got value: 1.618
89 "SetFloat" on public static void art.Test1912.FloatMethod(java.lang.Runnable) set value: 9.2
[all …]
/aosp12/art/test/1967-get-set-local-bad-slot/
H A Dexpected-stdout.txt1 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "GetInt_at_too_high" on …
2 "GetInt_at_too_high" on public static void art.Test1967.IntMethod(java.lang.Runnable) failed due to…
4 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "GetLong_at_too_high" on…
7 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "GetObject_at_too_high" …
10 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "SetInt_at_too_high" on …
13 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "SetLong_at_too_high" on…
16 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "SetObject_at_too_high" …
19 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "GetInt_at_negative" on …
22 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "GetLong_at_negative" on…
28 Running public static void art.Test1967.IntMethod(java.lang.Runnable) with "SetInt_at_negative" on …
[all …]
/aosp12/art/test/1913-get-set-local-objects/
H A Dexpected-stdout.txt1 Running public static void art.Test1913.ObjectMethod(java.lang.Runnable) with "GetGetObject" on rem…
2 "GetGetObject" on public static void art.Test1913.ObjectMethod(java.lang.Runnable) got value: TestC…
4 Running public static void art.Test1913.ObjectMethod(java.lang.Runnable) with "SetNull" on remote t…
5 "SetNull" on public static void art.Test1913.ObjectMethod(java.lang.Runnable) set value: null
7 Running public static void art.Test1913.ObjectMethod(java.lang.Runnable) with "SetTestClass1" on re…
22 Running public static void art.Test1913.InterfaceMethod(java.lang.Runnable) with "SetNull" on remot…
23 "SetNull" on public static void art.Test1913.InterfaceMethod(java.lang.Runnable) set value: null
41 "SetNull" on public static void art.Test1913.SpecificClassMethod(java.lang.Runnable) set value: null
74 "GetGetObject" on public static void art.Test1913.NullObjectMethod(java.lang.Runnable) got value: n…
77 "SetNull" on public static void art.Test1913.NullObjectMethod(java.lang.Runnable) set value: null
[all …]
/aosp12/frameworks/base/tests/testables/tests/src/android/testing/
H A DTestableLooperTest.java54 Runnable r = mock(Runnable.class); in testMessageExecuted()
65 Runnable r = mock(Runnable.class); in testMessageCallback()
84 Runnable r = mock(Runnable.class); in testProcessNumberOfMessages()
97 Runnable r = mock(Runnable.class); in testProcessAllMessages()
98 Runnable poster = () -> h.post(r); in testProcessAllMessages()
108 Runnable r = mock(Runnable.class); in test3Chain()
120 Runnable r = mock(Runnable.class); in testProcessAllMessages_2Messages()
121 Runnable r2 = mock(Runnable.class); in testProcessAllMessages_2Messages()
133 Runnable r = mock(Runnable.class); in testMainLooper()
134 Runnable r2 = mock(Runnable.class); in testMainLooper()
[all …]
/aosp12/art/test/993-breakpoints/src/art/
H A DTest993.java353 Runnable[] tc1_constructors = new Runnable[] {
415 Runnable[] static_invokes = new Runnable[] {
455 Runnable[] public_invokes = new Runnable[] {
482 Runnable[] static_invokes = new Runnable[] {
506 Runnable[] i_static_invokes = new Runnable[] {
519 Runnable[] tc1_invokes = new Runnable[] {
535 Runnable[] tc1ext_invokes = new Runnable[] {
555 Runnable[] tc2_invokes = new Runnable[] {
573 Runnable[] tc2ext_invokes = new Runnable[] {
595 Runnable[] tc3_invokes = new Runnable[] {
[all …]
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/test/widgets/
H A DHookWidget.java29 private static final Runnable NOP_RUNNABLE = () -> {};
30 private static Runnable sOnPreDrawHook = NOP_RUNNABLE;
31 private static Runnable sOnPreMeasure = NOP_RUNNABLE;
32 private static Runnable sOnPreLayout = NOP_RUNNABLE;
33 private static Runnable sOnPostDrawHook = NOP_RUNNABLE;
34 private static Runnable sOnPostMeasure = NOP_RUNNABLE;
35 private static Runnable sOnPostLayout = NOP_RUNNABLE;
37 public static void setOnPreDrawHook(Runnable runnable) { in setOnPreDrawHook()
41 public static void setOnPreMeasure(Runnable runnable) { in setOnPreMeasure()
45 public static void setOnPreLayout(Runnable runnable) { in setOnPreLayout()
[all …]
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTestExecutorService.java45 private Runnable mRunnable;
57 CompletedFuture(Runnable task, long delayMs) { in CompletedFuture()
126 public List<Runnable> shutdownNow() { in shutdownNow()
151 public <T> Future<T> submit(Runnable task, T result) { in submit()
156 public Future<?> submit(Runnable task) { in submit()
224 public void execute(Runnable command) { in execute()
234 Map<Long, Runnable> nextRepeats = new HashMap<>(); in advanceTime()
235 List<Runnable> toRun = new ArrayList<>(); in advanceTime()
239 Map.Entry<Long, Runnable> entry = iterator.next(); in advanceTime()
243 Runnable r = entry.getValue(); in advanceTime()
[all …]
/aosp12/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraAgent.java71 mHandler.post(new Runnable() { in onPreviewStarted()
113 mHandler.post(new Runnable() { in onCameraOpened()
122 mHandler.post(new Runnable() { in onCameraDisabled()
131 mHandler.post(new Runnable() { in onDeviceOpenFailure()
140 mHandler.post(new Runnable() { in onDeviceOpenedAlready()
149 mHandler.post(new Runnable() { in onReconnectionFailure()
289 getDispatchThread().runJob(new Runnable() { in openCamera()
566 getDispatchThread().runJob(new Runnable() { in startPreview()
583 getDispatchThread().runJob(new Runnable() { in startPreviewWithCallback()
955 public final Runnable mUnlockRunnable;
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
H A DDelayableExecutor.java33 default Runnable executeDelayed(Runnable r, long delayMillis) { in executeDelayed()
44 Runnable executeDelayed(Runnable r, long delay, TimeUnit unit); in executeDelayed()
53 default Runnable executeAtTime(Runnable r, long uptime) { in executeAtTime()
64 Runnable executeAtTime(Runnable r, long uptimeMillis, TimeUnit unit); in executeAtTime()
H A DExecutorImpl.java37 public void execute(Runnable command) { in execute()
44 public Runnable executeDelayed(Runnable r, long delay, TimeUnit unit) { in executeDelayed()
53 public Runnable executeAtTime(Runnable r, long uptimeMillis, TimeUnit unit) { in executeAtTime()
71 private class ExecutionToken implements Runnable {
72 public final Runnable runnable;
74 private ExecutionToken(Runnable runnable) { in ExecutionToken()
H A DRepeatableExecutorImpl.java33 public void execute(Runnable command) { in execute()
38 public Runnable executeRepeatedly(Runnable r, long initDelay, long delay, TimeUnit unit) { in executeRepeatedly()
44 private class ExecutionToken implements Runnable {
45 private final Runnable mCommand;
49 private Runnable mCancel;
51 ExecutionToken(Runnable r, long delay, TimeUnit unit) { in ExecutionToken()
/aosp12/frameworks/base/core/tests/coretests/src/android/animation/
H A DValueAnimatorTests.java90 mActivityRule.runOnUiThread(new Runnable() { in testStartDelay()
104 mActivityRule.runOnUiThread(new Runnable() { in testStartDelay()
113 mActivityRule.runOnUiThread(new Runnable() { in testStartDelay()
136 mActivityRule.runOnUiThread(new Runnable() { in testListenerCallbacks()
148 mActivityRule.runOnUiThread(new Runnable() { in testListenerCallbacks()
174 mActivityRule.runOnUiThread(new Runnable() { in testListenerCallbacks()
200 mActivityRule.runOnUiThread(new Runnable() { in testIsStarted()
225 mActivityRule.runOnUiThread(new Runnable() { in testIsStarted()
235 mActivityRule.runOnUiThread(new Runnable() { in testIsStarted()
248 mActivityRule.runOnUiThread(new Runnable() { in testPause()
[all …]
/aosp12/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionListenerProxy.java49 proxy(new Runnable() { in onCalling()
65 proxy(new Runnable() { in onRinging()
80 proxy(new Runnable() { in onRingingBack()
96 proxy(new Runnable() { in onCallEstablished()
111 proxy(new Runnable() { in onCallEnded()
127 proxy(new Runnable() { in onCallTransferring()
142 proxy(new Runnable() { in onCallBusy()
158 proxy(new Runnable() { in onCallChangeFailed()
174 proxy(new Runnable() { in onError()
189 proxy(new Runnable() { in onRegistering()
[all …]
/aosp12/art/test/1925-self-frame-pop/src/art/
H A DTest1925.java38 public static void recurTimesA(int times, Runnable safepoint) { in recurTimesA()
46 public static void recurTimesB(int times, Runnable safepoint) { in recurTimesB()
54 public static void recurTimesC(int times, Runnable safepoint) { in recurTimesC()
62 public static void recurTimesD(int times, Runnable safepoint) { in recurTimesD()
70 public static void recurTimesE(int times, Runnable safepoint) { in recurTimesE()
78 public static void recurTimesF(int times, Runnable safepoint) { in recurTimesF()
86 public static void recurTimesG(int times, Runnable safepoint) { in recurTimesG()
94 public static void recurTimesH(int times, Runnable safepoint) { in recurTimesH()
102 public static void recurTimesI(int times, Runnable safepoint) { in recurTimesI()
110 public static void recurTimesJ(int times, Runnable safepoint) { in recurTimesJ()
[all …]
/aosp12/art/test/1926-missed-frame-pop/src/art/
H A DTest1926.java38 public static void recurTimesA(int times, Runnable safepoint) { in recurTimesA()
46 public static void recurTimesB(int times, Runnable safepoint) { in recurTimesB()
54 public static void recurTimesC(int times, Runnable safepoint) { in recurTimesC()
62 public static void recurTimesD(int times, Runnable safepoint) { in recurTimesD()
70 public static void recurTimesE(int times, Runnable safepoint) { in recurTimesE()
78 public static void recurTimesF(int times, Runnable safepoint) { in recurTimesF()
86 public static void recurTimesG(int times, Runnable safepoint) { in recurTimesG()
94 public static void recurTimesH(int times, Runnable safepoint) { in recurTimesH()
102 public static void recurTimesI(int times, Runnable safepoint) { in recurTimesI()
110 public static void recurTimesJ(int times, Runnable safepoint) { in recurTimesJ()
[all …]
/aosp12/art/test/1939-proxy-frames/
H A Dexpected-stdout.txt1 Running public abstract void art.Test1939$Foo.InterfaceProxyMethod(java.lang.Runnable) with "GetThi…
2 "GetThis" on public abstract void art.Test1939$Foo.InterfaceProxyMethod(java.lang.Runnable) got val…
3 Running public abstract void art.Test1939$Foo.InterfaceProxyMethod(java.lang.Runnable) with "GetLoc…
4 …on public abstract void art.Test1939$Foo.InterfaceProxyMethod(java.lang.Runnable) failed due to JV…
5 Running public abstract void art.Test1939$Foo.InterfaceProxyMethod(java.lang.Runnable) with "GetPro…
6 …on" on public abstract void art.Test1939$Foo.InterfaceProxyMethod(java.lang.Runnable) got value: -1
7 Running public abstract void art.Test1939$Foo.InterfaceProxyMethod(java.lang.Runnable) with "GetPro…
8 ….InterfaceProxyMethod(java.lang.Runnable) got value: public final void $__PROXY__.InterfaceProxyMe…
/aosp12/art/test/1914-get-local-instance/
H A Dexpected-stdout.txt1 Running public static void art.Test1914.StaticMethod(java.lang.Runnable) with "GetThis" on remote t…
2 "GetThis" on public static void art.Test1914.StaticMethod(java.lang.Runnable) got value: null
4 Running public static native void art.Test1914.NativeStaticMethod(java.lang.Runnable) with "GetThis…
5 "GetThis" on public static native void art.Test1914.NativeStaticMethod(java.lang.Runnable) got valu…
7 Running public void art.Test1914$TargetClass.InstanceMethod(java.lang.Runnable) with "GetThis" on r…
8 "GetThis" on public void art.Test1914$TargetClass.InstanceMethod(java.lang.Runnable) got value: Tar…
10 Running public native void art.Test1914$TargetClass.NativeInstanceMethod(java.lang.Runnable) with "…
11 "GetThis" on public native void art.Test1914$TargetClass.NativeInstanceMethod(java.lang.Runnable) g…
13 Running public abstract void art.Test1914$Foo.InterfaceProxyMethod(java.lang.Runnable) with "GetThi…
14 "GetThis" on public abstract void art.Test1914$Foo.InterfaceProxyMethod(java.lang.Runnable) got val…
/aosp12/art/test/1923-frame-pop/src/art/
H A DTest1923.java38 public static void recurTimesA(int times, Runnable safepoint) { in recurTimesA()
46 public static void recurTimesB(int times, Runnable safepoint) { in recurTimesB()
54 public static void recurTimesC(int times, Runnable safepoint) { in recurTimesC()
62 public static void recurTimesD(int times, Runnable safepoint) { in recurTimesD()
70 public static void recurTimesE(int times, Runnable safepoint) { in recurTimesE()
78 public static void recurTimesF(int times, Runnable safepoint) { in recurTimesF()
86 public static void recurTimesG(int times, Runnable safepoint) { in recurTimesG()
94 public static void recurTimesH(int times, Runnable safepoint) { in recurTimesH()
102 public static void recurTimesI(int times, Runnable safepoint) { in recurTimesI()
110 public static void recurTimesJ(int times, Runnable safepoint) { in recurTimesJ()
[all …]
/aosp12/art/test/1924-frame-pop-toggle/src/art/
H A DTest1924.java38 public static void recurTimesA(int times, Runnable safepoint) { in recurTimesA()
46 public static void recurTimesB(int times, Runnable safepoint) { in recurTimesB()
54 public static void recurTimesC(int times, Runnable safepoint) { in recurTimesC()
62 public static void recurTimesD(int times, Runnable safepoint) { in recurTimesD()
70 public static void recurTimesE(int times, Runnable safepoint) { in recurTimesE()
78 public static void recurTimesF(int times, Runnable safepoint) { in recurTimesF()
86 public static void recurTimesG(int times, Runnable safepoint) { in recurTimesG()
94 public static void recurTimesH(int times, Runnable safepoint) { in recurTimesH()
102 public static void recurTimesI(int times, Runnable safepoint) { in recurTimesI()
110 public static void recurTimesJ(int times, Runnable safepoint) { in recurTimesJ()
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
H A DPhysicsAnimationLayout.java88 void startAll(Runnable... endActions); in startAll()
231 final Runnable runAllEndActions = () -> { in animationsForChildrenFromIndex()
232 for (Runnable action : endActions) { in animationsForChildrenFromIndex()
271 final Runnable checkIfAllFinished = () -> {
656 @Nullable private Runnable[] mPositionEndActions;
790 Runnable... pathAnimEndActions) {
895 public void start(Runnable... after) {
911 for (Runnable callback : after) {
924 final Runnable waitForBothXAndY = () -> {
1001 Runnable... afterCallbacks) {
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DMockScheduledExecutorService.java43 private final List<Runnable> mExecutes = new ArrayList<>();
67 List<Runnable> getExecutes() { in getExecutes()
84 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule()
103 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, in scheduleWithFixedDelay()
114 public List<Runnable> shutdownNow() { in shutdownNow()
145 public <T> Future<T> submit(Runnable task, T result) { in submit()
150 public Future<?> submit(Runnable runnable) { in submit()
183 public void execute(Runnable command) { in execute()
190 private final Runnable mRunnable;
195 MockScheduledFuture(Runnable runnable, long delay, TimeUnit timeUnit) { in MockScheduledFuture()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A DListenerSetTest.kt31 var runnableSet: ListenerSet<Runnable> = ListenerSet()
41 val runnable1 = Runnable { }
42 val runnable2 = Runnable { }
61 val runnable1 = Runnable { }
62 val runnable2 = Runnable { }
86 val runnable1 = object : Runnable {
92 val runnable2 = Runnable {
112 val runnable99 = Runnable {
116 val runnable1 = Runnable {
120 val runnable2 = Runnable {
/aosp12/art/test/1969-force-early-return-void/src/art/
H A DTest1969.java110 public Runnable Id(final Runnable tr) {
112 return new Runnable() {
125 public Thread mkThread(Runnable r) {
142 public final Runnable testObj;
145 public TestConfig(Runnable obj, TestSuspender su) {
157 Runnable normal_run = Id(normal_config.testObj);
171 Runnable testObj = Id(force_return_config.testObj);
176 Runnable await =
282 implements Runnable {
651 public ObjectInitTarget(Runnable r) {
[all …]
/aosp12/packages/services/Telephony/tests/src/com/android/
H A DTestExecutorService.java109 private final ArrayList<Runnable> mPendingRunnables = new ArrayList<>();
130 for (Runnable r : mPendingRunnables) { in shutdown()
136 public List<Runnable> shutdownNow() { in shutdownNow()
138 List<Runnable> runnables = new ArrayList<>(mPendingRunnables); in shutdownNow()
167 public <T> Future<T> submit(Runnable task, T result) { in submit()
172 public Future<?> submit(Runnable task) { in submit()
203 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule()
228 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, in scheduleWithFixedDelay()
234 public void execute(Runnable command) { in execute()
238 private void onExecute(Runnable command) { in onExecute()
[all …]

12345678910>>...80