HomeSort by relevance Sort by last modified time
    Searched refs:workerOptions (Results 1 - 12 of 12) sorted by null

  /external/caliper/caliper/src/main/java/com/google/caliper/bridge/
WorkerSpec.java 36 public final ImmutableMap<String, String> workerOptions;
48 ImmutableMap<String, String> workerOptions,
54 this.workerOptions = workerOptions;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
BitmapWorkerTask.java 81 protected Bitmap retrieveBitmap(BitmapWorkerOptions workerOptions) {
83 if (workerOptions.getIconResource() != null) {
84 return getBitmapFromResource(workerOptions.getContext(),
85 workerOptions.getIconResource(),
86 workerOptions);
87 } else if (workerOptions.getResourceUri() != null) {
88 if (UriUtils.isAndroidResourceUri(workerOptions.getResourceUri())
89 || UriUtils.isShortcutIconResourceUri(workerOptions.getResourceUri())) {
91 return getBitmapFromResource(workerOptions.getContext(),
92 UriUtils.getIconResource(workerOptions.getResourceUri())
    [all...]
DrawableLoader.java 99 protected Drawable retrieveDrawable(BitmapWorkerOptions workerOptions) {
101 if (workerOptions.getIconResource() != null) {
102 return getBitmapFromResource(workerOptions.getIconResource(), workerOptions);
103 } else if (workerOptions.getResourceUri() != null) {
104 if (UriUtils.isAndroidResourceUri(workerOptions.getResourceUri())
105 || UriUtils.isShortcutIconResourceUri(workerOptions.getResourceUri())) {
108 UriUtils.getIconResource(workerOptions.getResourceUri()),
109 workerOptions);
110 } else if (UriUtils.isWebUri(workerOptions.getResourceUri()))
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
WorkerModule.java 47 private final ImmutableMap<String, String> workerOptions;
53 this.workerOptions = workerSpec.workerOptions;
129 return Boolean.valueOf(workerOptions.get("trackAllocations"))
140 @WorkerOptions
142 return workerOptions;
RuntimeWorker.java 53 Map<String, String> workerOptions) {
58 this.options = new Options(workerOptions);
106 @WorkerOptions Map<String, String> workerOptions) {
107 super(benchmark, method, random, ticker, workerOptions);
132 @WorkerOptions Map<String, String> workerOptions) {
133 super(benchmark, method, random, ticker, workerOptions);
ArbitraryMeasurementWorker.java 43 @WorkerOptions Map<String, String> workerOptions) {
45 this.options = new Options(workerOptions);
MacrobenchmarkWorker.java 48 Ticker ticker, @WorkerOptions Map<String, String> workerOptions) {
55 this.gcBeforeEach = Boolean.parseBoolean(workerOptions.get("gcBeforeEach"));
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
AllocationInstrument.java 111 @Override public ImmutableMap<String, String> workerOptions() {
152 @Override public ImmutableMap<String, String> workerOptions() {
ArbitraryMeasurementInstrument.java 108 @Override public ImmutableMap<String, String> workerOptions() {
Instrument.java 126 public ImmutableMap<String, String> workerOptions() {
WorkerProcess.java 155 instrumentation.workerOptions(),
RuntimeInstrument.java 191 @Override public ImmutableMap<String, String> workerOptions() {

Completed in 996 milliseconds