Home
last modified time | relevance | path

Searched refs:extras (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/external/dagger2/java/dagger/internal/codegen/extension/
DDaggerCollectors.java80 @Nullable List<Object> extras; field in DaggerCollectors.ToOptionalState
84 extras = null; in ToOptionalState()
90 for (Object o : extras) { in multiples()
104 } else if (extras == null) { in add()
105 extras = new ArrayList<>(MAX_EXTRAS); in add()
106 extras.add(o); in add()
107 } else if (extras.size() < MAX_EXTRAS) { in add()
108 extras.add(o); in add()
120 if (extras == null) { in combine()
121 extras = new ArrayList<>(); in combine()
[all …]
/external/guava/guava/src/com/google/common/collect/
DMoreCollectors.java93 @Nullable List<Object> extras; field in MoreCollectors.ToOptionalState
97 extras = null; in ToOptionalState()
103 for (Object o : extras) { in multiples()
117 } else if (extras == null) { in add()
118 extras = new ArrayList<>(MAX_EXTRAS); in add()
119 extras.add(o); in add()
120 } else if (extras.size() < MAX_EXTRAS) { in add()
121 extras.add(o); in add()
133 if (extras == null) { in combine()
134 extras = new ArrayList<>(); in combine()
[all …]
/external/robolectric-shadows/shadows/playservices/src/main/java/org/robolectric/shadows/gms/
DShadowGoogleAuthUtil.java72 Bundle extras) throws IOException, UserRecoverableAuthException, GoogleAuthException { in getToken() argument
73 return googleAuthUtilImpl.getToken(context, account, scope, extras); in getToken()
84 Bundle extras) throws IOException, UserRecoverableAuthException, GoogleAuthException { in getToken() argument
85 return googleAuthUtilImpl.getToken(context, accountName, scope, extras); in getToken()
90 String scope, Bundle extras) in getTokenWithNotification() argument
92 return googleAuthUtilImpl.getTokenWithNotification(context, account, scope, extras); in getTokenWithNotification()
97 String scope, Bundle extras, Intent callback) in getTokenWithNotification() argument
100 .getTokenWithNotification(context, account, scope, extras, callback); in getTokenWithNotification()
105 String scope, Bundle extras, String authority, Bundle syncBundle) in getTokenWithNotification() argument
108 .getTokenWithNotification(context, account, scope, extras, authority, syncBundle); in getTokenWithNotification()
[all …]
/external/tensorflow/tensorflow/python/keras/benchmarks/keras_examples_benchmarks/
Dbidirectional_lstm_benchmark_test.py61 metrics, wall_time, extras = benchmark_util.measure_performance(
72 extras.update(metadata)
73 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
78 metrics, wall_time, extras = benchmark_util.measure_performance(
89 extras.update(metadata)
90 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
95 metrics, wall_time, extras = benchmark_util.measure_performance(
106 extras.update(metadata)
107 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
115 metrics, wall_time, extras = benchmark_util.measure_performance(
[all …]
Dreuters_mlp_benchmark_test.py66 metrics, wall_time, extras = benchmark_util.measure_performance(
77 extras.update(metadata)
78 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
83 metrics, wall_time, extras = benchmark_util.measure_performance(
94 extras.update(metadata)
95 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
100 metrics, wall_time, extras = benchmark_util.measure_performance(
111 extras.update(metadata)
112 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
120 metrics, wall_time, extras = benchmark_util.measure_performance(
[all …]
Dmnist_conv_benchmark_test.py66 metrics, wall_time, extras = benchmark_util.measure_performance(
77 extras.update(metadata)
78 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
83 metrics, wall_time, extras = benchmark_util.measure_performance(
94 extras.update(metadata)
95 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
100 metrics, wall_time, extras = benchmark_util.measure_performance(
111 extras.update(metadata)
112 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
120 metrics, wall_time, extras = benchmark_util.measure_performance(
[all …]
Dmnist_hierarchical_rnn_benchmark_test.py67 metrics, wall_time, extras = benchmark_util.measure_performance(
78 extras.update(metadata)
79 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
84 metrics, wall_time, extras = benchmark_util.measure_performance(
95 extras.update(metadata)
96 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
101 metrics, wall_time, extras = benchmark_util.measure_performance(
112 extras.update(metadata)
113 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
121 metrics, wall_time, extras = benchmark_util.measure_performance(
[all …]
Dmnist_irnn_benchmark_test.py67 metrics, wall_time, extras = benchmark_util.measure_performance(
77 extras.update(metadata)
78 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
83 metrics, wall_time, extras = benchmark_util.measure_performance(
93 extras.update(metadata)
94 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
99 metrics, wall_time, extras = benchmark_util.measure_performance(
109 extras.update(metadata)
110 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
118 metrics, wall_time, extras = benchmark_util.measure_performance(
[all …]
Dantirectifier_benchmark_test.py59 metrics, wall_time, extras = benchmark_util.measure_performance(
70 extras.update(metadata)
71 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
76 metrics, wall_time, extras = benchmark_util.measure_performance(
87 extras.update(metadata)
88 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
93 metrics, wall_time, extras = benchmark_util.measure_performance(
104 extras.update(metadata)
105 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
113 metrics, wall_time, extras = benchmark_util.measure_performance(
[all …]
Dcifar10_cnn_benchmark_test.py75 metrics, wall_time, extras = benchmark_util.measure_performance(
86 extras.update(metadata)
87 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
92 metrics, wall_time, extras = benchmark_util.measure_performance(
103 extras.update(metadata)
104 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
109 metrics, wall_time, extras = benchmark_util.measure_performance(
120 extras.update(metadata)
121 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
129 metrics, wall_time, extras = benchmark_util.measure_performance(
[all …]
Dtext_classification_transformer_benchmark_test.py71 metrics, wall_time, extras = benchmark_util.measure_performance(
82 extras.update(metadata)
83 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
88 metrics, wall_time, extras = benchmark_util.measure_performance(
99 extras.update(metadata)
100 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
105 metrics, wall_time, extras = benchmark_util.measure_performance(
116 extras.update(metadata)
117 self.report_benchmark(wall_time=wall_time, metrics=metrics, extras=extras)
125 metrics, wall_time, extras = benchmark_util.measure_performance(
[all …]
Dmnist_conv_custom_training_benchmark_test.py285 extras = benchmark_util.get_keras_examples_metadata('conv', batch_size,
288 iters=run_iters, wall_time=wall_time, metrics=metrics, extras=extras)
307 extras = benchmark_util.get_keras_examples_metadata('conv', batch_size,
310 iters=run_iters, wall_time=wall_time, metrics=metrics, extras=extras)
329 extras = benchmark_util.get_keras_examples_metadata('conv', batch_size,
332 iters=run_iters, wall_time=wall_time, metrics=metrics, extras=extras)
366 extras = benchmark_util.get_keras_examples_metadata('conv', batch_size,
369 iters=run_iters, wall_time=wall_time, metrics=metrics, extras=extras)
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNotification.java33 ? realNotification.extras.getCharSequence(Notification.EXTRA_TITLE) in getContentTitle()
39 ? realNotification.extras.getCharSequence(Notification.EXTRA_TEXT) in getContentText()
45 return realNotification.extras.getCharSequence(Notification.EXTRA_INFO_TEXT); in getContentInfo()
57 return realNotification.extras.getCharSequence(Notification.EXTRA_BIG_TEXT); in getBigText()
65 return realNotification.extras.getCharSequence(Notification.EXTRA_TITLE_BIG); in getBigContentTitle()
73 return realNotification.extras.getCharSequence(Notification.EXTRA_SUMMARY_TEXT); in getBigContentText()
81 return realNotification.extras.getParcelable(Notification.EXTRA_PICTURE); in getBigPicture()
91 ? realNotification.extras.getBoolean(Notification.EXTRA_SHOW_WHEN) in isWhenShown()
102 ? realNotification.extras.getBoolean(Notification.EXTRA_PROGRESS_INDETERMINATE) in isIndeterminate()
108 ? realNotification.extras.getInt(Notification.EXTRA_PROGRESS_MAX) in getMax()
[all …]
/external/skqp/src/compute/skc/
Dstyling.c74 styling->extras.count = 0; in skc_styling_reset()
106 styling->groups.extent[group_id].cmds.enter = styling->extras.count; in skc_styling_group_enter()
108 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_enter()
110 styling->extras.count += n; in skc_styling_group_enter()
123 styling->groups.extent[group_id].cmds.leave = styling->extras.count; in skc_styling_group_leave()
125 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_leave()
127 styling->extras.count += n; in skc_styling_group_leave()
143 .base = styling->extras.count in skc_styling_group_parents()
147 styling->extras.extent[styling->extras.count++].parent = parents[n]; in skc_styling_group_parents()
187 .cmds = styling->extras.count, in skc_styling_group_layer()
[all …]
/external/exoplayer/tree/extensions/jobdispatcher/src/main/java/com/google/android/exoplayer2/ext/jobdispatcher/
DJobDispatcherScheduler.java125 Bundle extras = new Bundle(); in buildJob() local
126 extras.putString(KEY_SERVICE_ACTION, serviceAction); in buildJob()
127 extras.putString(KEY_SERVICE_PACKAGE, servicePackage); in buildJob()
128 extras.putInt(KEY_REQUIREMENTS, requirements.getRequirements()); in buildJob()
129 builder.setExtras(extras); in buildJob()
145 Bundle extras = params.getExtras(); in onStartJob() local
146 Assertions.checkNotNull(extras, "Service started without extras."); in onStartJob()
147 Requirements requirements = new Requirements(extras.getInt(KEY_REQUIREMENTS)); in onStartJob()
150 String serviceAction = extras.getString(KEY_SERVICE_ACTION); in onStartJob()
151 String servicePackage = extras.getString(KEY_SERVICE_PACKAGE); in onStartJob()
/external/tensorflow/tensorflow/python/keras/benchmarks/layer_benchmarks/
Dlayer_benchmarks_test_base.py60 extras = {
68 extras["python_trace_xprof_link"] = xprof_link
69 extras["us_per_example_with_xprof_and_python"] = us_per_example
72 extras.update(metadata)
74 iters=num_iters, wall_time=us_mean_time, extras=extras, metrics=metrics)
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/scheduler/
DPlatformScheduler.java108 PersistableBundle extras = new PersistableBundle(); in buildJobInfo() local
109 extras.putString(KEY_SERVICE_ACTION, serviceAction); in buildJobInfo()
110 extras.putString(KEY_SERVICE_PACKAGE, servicePackage); in buildJobInfo()
111 extras.putInt(KEY_REQUIREMENTS, requirements.getRequirements()); in buildJobInfo()
112 builder.setExtras(extras); in buildJobInfo()
128 PersistableBundle extras = params.getExtras(); in onStartJob() local
129 Requirements requirements = new Requirements(extras.getInt(KEY_REQUIREMENTS)); in onStartJob()
132 String serviceAction = extras.getString(KEY_SERVICE_ACTION); in onStartJob()
133 String servicePackage = extras.getString(KEY_SERVICE_PACKAGE); in onStartJob()
/external/tensorflow/tensorflow/python/eager/
Dbenchmarks_test_base.py57 extras = {
69 extras["xprof link with python trace"] = xprof_link
70 extras["us_per_example with xprof and python"] = us_per_example
76 extras["xprof link"] = xprof_link
77 extras["us_per_example with xprof"] = us_per_example
81 iters=num_iters, wall_time=mean_us, extras=extras, name=benchmark_name)
/external/autotest/site_utils/sponge_lib/
Dacts_job_info.py227 def extras(self): member in ACTSRecord
239 extras = self.extras
240 if not extras:
243 test_tracker_info = self.extras.get('test_tracker_info')
245 return self.extras.get('test_tracker_environment_info')
252 extras = self.extras
253 if not extras:
256 test_tracker_info = self.extras.get('test_tracker_info')
258 return self.extras.get('test_tracker_uuid')
/external/tensorflow/tensorflow/python/platform/
Dbenchmark.py93 throughput=None, extras=None, metrics=None): argument
117 str(extras) if extras else "None",
131 if extras is not None:
132 if not isinstance(extras, dict):
134 for (k, v) in extras.items():
136 entry.extras[k].double_value = v
138 entry.extras[k].string_value = str(v)
280 extras=None, argument
303 throughput=throughput, extras=extras, metrics=metrics)
344 extras=None, argument
[all …]
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_channel/
D_invocation.py138 def _with_extras_cancel(handler, extras): argument
139 with extras.condition:
141 extras.cancelled = True
147 def _extras_without_cancelled(extras): argument
148 with extras.condition:
149 return extras.cancelled
160 def _with_extras_unary_response(handler, extras): argument
161 with extras.condition:
162 if extras.unary_response is _NOT_YET_OBSERVED:
165 extras.unary_response = read.response
[all …]
/external/tensorflow/tensorflow/python/keras/benchmarks/
Dkeras_cpu_benchmark_test.py98 metrics, wall_time, extras = benchmark_util.measure_performance(
107 iters=run_iters, wall_time=wall_time, metrics=metrics, extras=extras)
113 metrics, wall_time, extras = benchmark_util.measure_performance(
122 iters=run_iters, wall_time=wall_time, metrics=metrics, extras=extras)
128 metrics, wall_time, extras = benchmark_util.measure_performance(
137 iters=run_iters, wall_time=wall_time, metrics=metrics, extras=extras)
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DMediaSessionConnector.java170 @Nullable Bundle extras, in onCommand() argument
212 void onPrepareFromMediaId(String mediaId, boolean playWhenReady, @Nullable Bundle extras); in onPrepareFromMediaId() argument
220 void onPrepareFromSearch(String query, boolean playWhenReady, @Nullable Bundle extras); in onPrepareFromSearch() argument
228 void onPrepareFromUri(Uri uri, boolean playWhenReady, @Nullable Bundle extras); in onPrepareFromUri() argument
328 void onSetRating(Player player, RatingCompat rating, @Nullable Bundle extras); in onSetRating() argument
376 Player player, ControlDispatcher controlDispatcher, String action, @Nullable Bundle extras); in onCustomAction() argument
663 @Nullable CharSequence message, int code, @Nullable Bundle extras) { in setCustomErrorMessage() argument
665 customErrorExtras = (message == null) ? null : extras; in setCustomErrorMessage()
748 Bundle extras = new Bundle(); in invalidateMediaSessionPlaybackState() local
758 extras.putAll(customErrorExtras); in invalidateMediaSessionPlaybackState()
[all …]
/external/webrtc/examples/androidapp/
Dstart_loopback_stubbed_camera_saved_video_out.py82 extras = {
92 extras.update({'org.appspot.apprtc.VIDEO_FILE_AS_CAMERA': videoin})
95 extras.update({
100 print extras
104 component='org.appspot.apprtc/.ConnectActivity', extras=extras)
/external/cldr/tools/java/org/unicode/cldr/draft/
DEnumLookup.java22 T to, Object... extras) { in of() argument
25 for (int i = 0; i < extras.length; i += 2) { in of()
26 newExtras.put(extras[i].toString(), (T) extras[i + 1]); in of()
32 Map<String, T> extras) { in of() argument
49 if (extras == null) { in of()
52 for (Entry<String, T> entry : extras.entrySet()) { in of()

12345678910>>...13