Loading core/java/android/os/LegacyMessageQueue/MessageQueue.java +4 −4 Original line number Diff line number Diff line Loading @@ -786,8 +786,8 @@ public final class MessageQueue { } /** * Get the timestamp of the next executable message in our priority queue. * Returns null if there are no messages ready for delivery. * Get the timestamp of the next message in our priority queue. * Returns null if there are no messages in the queue. * * Caller must ensure that this doesn't race 'next' from the Looper thread. */ Loading @@ -799,8 +799,8 @@ public final class MessageQueue { } /** * Return the next executable message in our priority queue. * Returns null if there are no messages ready for delivery * Return the next message in our priority queue. * Returns null if there are no messages in the queue. * * Caller must ensure that this doesn't race 'next' from the Looper thread. */ Loading core/java/android/os/TestLooperManager.java +5 −5 Original line number Diff line number Diff line Loading @@ -96,8 +96,8 @@ public class TestLooperManager { } /** * Retrieves and removes the next message that should be executed by this queue. * If the queue is empty or no messages are deliverable, returns null. * Retrieves and removes the next message in this queue. * If the queue is empty, returns null. * This method never blocks. * * <p>Callers should always call {@link #recycle(Message)} on the message when all interactions Loading @@ -112,9 +112,9 @@ public class TestLooperManager { } /** * Retrieves, but does not remove, the values of {@link Message#when} of next message that * should be executed by this queue. * If the queue is empty or no messages are deliverable, returns null. * Retrieves, but does not remove, the values of {@link Message#when} of next message in the * queue. * If the queue is empty, returns null. * This method never blocks. */ @FlaggedApi(Flags.FLAG_MESSAGE_QUEUE_TESTABILITY) Loading Loading
core/java/android/os/LegacyMessageQueue/MessageQueue.java +4 −4 Original line number Diff line number Diff line Loading @@ -786,8 +786,8 @@ public final class MessageQueue { } /** * Get the timestamp of the next executable message in our priority queue. * Returns null if there are no messages ready for delivery. * Get the timestamp of the next message in our priority queue. * Returns null if there are no messages in the queue. * * Caller must ensure that this doesn't race 'next' from the Looper thread. */ Loading @@ -799,8 +799,8 @@ public final class MessageQueue { } /** * Return the next executable message in our priority queue. * Returns null if there are no messages ready for delivery * Return the next message in our priority queue. * Returns null if there are no messages in the queue. * * Caller must ensure that this doesn't race 'next' from the Looper thread. */ Loading
core/java/android/os/TestLooperManager.java +5 −5 Original line number Diff line number Diff line Loading @@ -96,8 +96,8 @@ public class TestLooperManager { } /** * Retrieves and removes the next message that should be executed by this queue. * If the queue is empty or no messages are deliverable, returns null. * Retrieves and removes the next message in this queue. * If the queue is empty, returns null. * This method never blocks. * * <p>Callers should always call {@link #recycle(Message)} on the message when all interactions Loading @@ -112,9 +112,9 @@ public class TestLooperManager { } /** * Retrieves, but does not remove, the values of {@link Message#when} of next message that * should be executed by this queue. * If the queue is empty or no messages are deliverable, returns null. * Retrieves, but does not remove, the values of {@link Message#when} of next message in the * queue. * If the queue is empty, returns null. * This method never blocks. */ @FlaggedApi(Flags.FLAG_MESSAGE_QUEUE_TESTABILITY) Loading