Home
last modified time | relevance | path

Searched refs:template (Results 1 – 25 of 557) sorted by relevance

12345678910>>...23

/packages/modules/Bluetooth/system/log/include/bluetooth/
Dlog.h62 template <class T>
68 template <>
76 template <>
83 template <Level level, typename... T>
94 template <int level, typename... T>
105 template <typename... T>
107 template <typename... T>
109 template <typename... T>
111 template <typename... T>
113 template <typename... T>
[all …]
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStatsManager.java248 public Bucket querySummaryForDevice(@NonNull NetworkTemplate template, in querySummaryForDevice() argument
250 Objects.requireNonNull(template); in querySummaryForDevice()
253 new NetworkStats(mContext, template, mFlags, startTime, endTime, mService); in querySummaryForDevice()
299 NetworkTemplate template; in querySummaryForDevice() local
301 template = createTemplate(networkType, subscriberId); in querySummaryForDevice()
307 return querySummaryForDevice(template, startTime, endTime); in querySummaryForDevice()
344 NetworkTemplate template; in querySummaryForUser() local
346 template = createTemplate(networkType, subscriberId); in querySummaryForUser()
353 stats = new NetworkStats(mContext, template, mFlags, startTime, endTime, mService); in querySummaryForUser()
393 NetworkTemplate template; in querySummary() local
[all …]
/packages/modules/Connectivity/framework-t/src/android/net/
DDataUsageRequest.java48 public final NetworkTemplate template; field in DataUsageRequest
55 public DataUsageRequest(int requestId, NetworkTemplate template, long thresholdInBytes) { in DataUsageRequest() argument
57 this.template = template; in DataUsageRequest()
69 dest.writeParcelable(template, flags); in writeToParcel()
78 … NetworkTemplate template = in.readParcelable(null, android.net.NetworkTemplate.class);
80 DataUsageRequest result = new DataUsageRequest(requestId, template,
94 + ", networkTemplate=" + template in toString()
103 && Objects.equals(that.template, this.template) in equals()
109 return Objects.hash(requestId, template, thresholdInBytes); in hashCode()
DINetworkStatsSession.aidl27 NetworkStats getDeviceSummaryForNetwork(in NetworkTemplate template, long start, long end); in getDeviceSummaryForNetwork() argument
31 NetworkStats getSummaryForNetwork(in NetworkTemplate template, long start, long end); in getSummaryForNetwork() argument
34 NetworkStatsHistory getHistoryForNetwork(in NetworkTemplate template, int fields); in getHistoryForNetwork() argument
39 …NetworkStatsHistory getHistoryIntervalForNetwork(in NetworkTemplate template, int fields, long sta… in getHistoryIntervalForNetwork() argument
53 …NetworkStats getSummaryForAllUid(in NetworkTemplate template, long start, long end, boolean includ… in getSummaryForAllUid() argument
56 NetworkStats getTaggedSummaryForAllUid(in NetworkTemplate template, long start, long end); in getTaggedSummaryForAllUid() argument
60 …NetworkStatsHistory getHistoryForUid(in NetworkTemplate template, int uid, int set, int tag, int f… in getHistoryForUid() argument
62 …NetworkStatsHistory getHistoryIntervalForUid(in NetworkTemplate template, int uid, int set, int ta… in getHistoryIntervalForUid() argument
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.kt52 var template: NetworkTemplate? = null in <lambda>() variable in com.android.settings.datausage.DataUsageList
87 val template = template in <lambda>() constant
88 if (template == null) { in <lambda>()
95 init(template) in <lambda>()
98 .apply { init(template) } in <lambda>()
104 val template = template ?: return in <lambda>() constant
106 if (template.matchRule != NetworkTemplate.MATCH_WIFI) { in <lambda>()
119 val template = template ?: return in <lambda>() constant
120 viewModel.templateFlow.value = template in <lambda>()
123 template, in <lambda>()
[all …]
DDataUsageListAppsController.kt46 private lateinit var template: NetworkTemplate in <lambda>() variable
53 open fun init(template: NetworkTemplate) { in <lambda>()
54 this.template = template in <lambda>()
58 template = template, in <lambda>()
99 putParcelable(AppDataUsage.ARG_NETWORK_TEMPLATE, template) in <lambda>()
DDataUsageListViewModel.kt48 private val bucketsFlow = templateFlow.filterNotNull().map { template -> in <lambda>() method
49 NetworkStatsRepository(getApplication(), template).queryDetailsForDevice() in <lambda>()
52 val cyclesFlow = combine(templateFlow.filterNotNull(), bucketsFlow) { template, buckets -> in <lambda>() method
53 NetworkCycleBucketRepository(application, template, buckets).loadCycles() in <lambda>()
67 combine(templateFlow.filterNotNull(), selectedBucketsFlow) { template, selectedBuckets -> in <lambda>() method
68 NetworkCycleBucketRepository(application, template, selectedBuckets.buckets) in <lambda>()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DResult.h37 template <typename Type>
42 template <typename... Ts>
45 template <typename... Us>
48 template <typename T, typename E>
57 template <typename T>
73 template <typename... Types>
99 template <typename T, typename E>
104 template <typename T, typename E>
109 template <typename T, typename E>
114 template <typename T>
[all …]
/packages/modules/Bluetooth/system/include/hardware/
Dbt_hf.h144 template <>
147 template <>
150 template <>
153 template <>
156 template <>
159 template <>
162 template <>
165 template <>
168 template <>
171 template <>
/packages/modules/StatsD/statsd/src/anomaly/
Dindexed_priority_queue.h30 template <class AA>
43 template <class AA, class Comparator>
87 template <class AA, class Comparator>
92 template <class AA, class Comparator>
102 template <class AA, class Comparator>
130 template <class AA, class Comparator>
151 template <class AA, class Comparator>
158 template <class AA, class Comparator>
164 template <class AA, class Comparator>
170 template <class AA, class Comparator>
[all …]
/packages/modules/Bluetooth/system/common/
Dleaky_bonded_queue.h42 template <class T>
94 template <class T>
99 template <class T>
102 template <class T>
112 template <class T>
126 template <class T>
134 template <class T>
143 template <class T>
149 template <class T>
154 template <class T>
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/
Doutput.py50 template = TEMPLATE_ALL_PHASES
52 template = TEMPLATE_EXECUTION_ONLY
54 template = template.replace("self-times", "total time")
59 template = template.replace("Execution", "Benchmark")
65 template = template.replace(":fl", ":>11.2f")
66 template = template.replace(":f", ":>9.2f")
112 output = template.format(**values)
/packages/modules/Bluetooth/system/gd/common/
Dcircular_buffer.h29 template <typename T>
62 template <typename T>
68 template <typename T>
85 template <typename T>
88 template <typename T>
97 template <typename T>
103 template <typename T>
111 template <typename T>
116 template <typename T>
122 template <typename T>
[all …]
/packages/modules/Bluetooth/system/gd/packet/
Dcustom_type_checker.h28 template <typename T, bool packet_little_endian>
31 template <class C, void (C::*)(BitInserter&) const>
34 template <class C, size_t (C::*)() const>
37template <class C, bool little_endian, std::optional<Iterator<little_endian>> (*)(C* vec, Iterator…
40 template <class C, std::string (C::*)() const>
43 template <class C, bool little_endian>
50 template <class C, bool little_endian>
Dchecksum_type_checker.h28 template <typename T, typename TRET>
31 template <class C, void (C::*)()>
34 template <class C, void (C::*)(uint8_t byte)>
37 template <class C, typename CRET, CRET (C::*)() const>
41 template <class C, typename CRET>
48 template <class C, typename CRET>
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationTypeItem.java21 import com.android.car.notification.template.BasicNotificationViewHolder;
22 import com.android.car.notification.template.CallNotificationViewHolder;
23 import com.android.car.notification.template.CarNotificationBaseViewHolder;
24 import com.android.car.notification.template.EmergencyNotificationViewHolder;
25 import com.android.car.notification.template.GroupNotificationViewHolder;
26 import com.android.car.notification.template.GroupSummaryNotificationViewHolder;
27 import com.android.car.notification.template.InboxNotificationViewHolder;
28 import com.android.car.notification.template.MessageNotificationViewHolder;
29 import com.android.car.notification.template.NavigationNotificationViewHolder;
30 import com.android.car.notification.template.ProgressNotificationViewHolder;
/packages/modules/Bluetooth/system/include/hardware/avrcp/
Davrcp_logging_helper.h291 template <>
293 template <>
295 template <>
297 template <>
299 template <>
301 template <>
303 template <>
305 template <>
307 template <>
309 template <>
[all …]
/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
DOperationSignatureUtils.h41 template <TestOperandType type>
43 template <>
47 template <>
51 template <>
55 template <>
59 template <>
63 template <>
67 template <>
71 template <>
75 template <>
[all …]
/packages/apps/TV/common/src/com/android/tv/common/
DSoftPreconditions.java213 static String format(@Nullable String template, @Nullable Object... args) { in format() argument
214 template = String.valueOf(template); // null -> "null" in format()
219 StringBuilder builder = new StringBuilder(template.length() + 16 * args.length); in format()
223 int placeholderStart = template.indexOf("%s", templateStart); in format()
227 builder.append(template, templateStart, placeholderStart); in format()
231 builder.append(template, templateStart, template.length()); in format()
/packages/modules/Bluetooth/system/gd/os/
Dqueue.h36 template <typename T>
46 template <typename T>
56 template <typename T>
102 template <typename T>
161 template <typename T>
164 template <typename T>
170 template <typename T>
182 template <typename T>
203 template <typename T>
213 template <typename T>
[all …]
/packages/apps/Gallery2/jni/filters/
Dkmeans.h25 template <typename T, typename N>
39 template <typename T, typename N>
47 template <typename T, typename N>
55 template <typename T, typename N>
70 template <typename T, typename N>
87 template <typename T>
122 template <typename T, typename N>
140 template <typename T, typename N>
178 template <typename T, typename N>
208 template <typename T, typename N>
[all …]
/packages/modules/NeuralNetworks/common/random/
Drandom_distributions.h60 template <typename Int>
79 template <class Generator, typename RealType>
82 template <class Generator>
106 template <class Generator>
130 template <class Generator>
154 template <class Generator>
178 template <class Generator>
213 template <class Generator>
251 template <class Generator>
322 template <class Generator, typename RealType>
[all …]
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/
DDataUsageListTest.kt73 assertThat(template).isNull() in launchFragment_withoutArguments_finish()
112 assertThat(template).isNotNull() in launchFragment_withArguments_getTemplateFromArgument()
128 assertThat(template).isNotNull() in launchFragment_withIntent_getTemplateFromIntent()
136 val template = NetworkTemplate.Builder(NetworkTemplate.MATCH_WIFI).build() in warning_wifiAndHasSim_displayNonCarrierWarning() constant
141 putExtra(Settings.EXTRA_NETWORK_TEMPLATE, template) in warning_wifiAndHasSim_displayNonCarrierWarning()
154 val template = NetworkTemplate.Builder(NetworkTemplate.MATCH_WIFI).build() in warning_wifiAndNoSim_noWarning() constant
159 putExtra(Settings.EXTRA_NETWORK_TEMPLATE, template) in warning_wifiAndNoSim_noWarning()
171 val template = NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE).build() in warning_mobile_operatorWarning() constant
173 putExtra(Settings.EXTRA_NETWORK_TEMPLATE, template) in warning_mobile_operatorWarning()
/packages/modules/Bluetooth/system/gd/
Dmodule.h60 template <class T>
111 template <class T>
116 template <typename Functor, typename... Args>
121 template <typename T, typename Functor, typename... Args>
141 template <class T>
152 template <class T>
187 template <class T>
217 template <class T>
224 template <class T>
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DDataUsageLib.kt69 template: NetworkTemplate, in normalizeMobileTemplate()
72 val subscriberId = template.subscriberIds.firstOrNull() ?: return template in normalizeMobileTemplate()
82 NetworkTemplate.Builder(template.matchRule) in normalizeMobileTemplate()
84 .setMeteredness(template.meteredness) in normalizeMobileTemplate()
86 } else template in normalizeMobileTemplate()

12345678910>>...23