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;
95 public Result init(long timeout) {
98 Result result = acquireLock(timeout);
142 * {@link Result#SUCCESS}.
155 public Result acquire(long timeout) {
162 Result result = acquireLock(timeout);
176 * {@link Result#SUCCESS} if the lock already belonged to that thread, or another
177 * instance (see {@link Result#getStatus()}) if an error occurred.
185 private Result acquireLock(long timeout) {