Lines Matching refs:Result
19 import static com.android.ide.common.rendering.api.Result.Status.ERROR_LOCK_INTERRUPTED;
20 import static com.android.ide.common.rendering.api.Result.Status.ERROR_TIMEOUT;
21 import static com.android.ide.common.rendering.api.Result.Status.SUCCESS;
28 import com.android.ide.common.rendering.api.Result;
94 public Result init(long timeout) {
97 Result result = acquireLock(timeout);
140 * {@link Result#SUCCESS}.
153 public Result acquire(long timeout) {
160 Result result = acquireLock(timeout);
174 * {@link Result#SUCCESS} if the lock already belonged to that thread, or another
175 * instance (see {@link Result#getStatus()}) if an error occurred.
183 private Result acquireLock(long timeout) {