Searched defs:template (Results 51 - 68 of 68) sorted by relevance

123

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Settings.java57 * options in the same way as the provided template would.
59 * <p>The default settings provided by the given template are only ever used
65 * the template that is provided to the camera framework at that time.</p>
69 * @param template Specific template to use for the defaults.
79 public AndroidCamera2Settings(CameraDevice camera, int template, Rect activeArray, argument
88 mTemplateSettings = camera.createCaptureRequest(template);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifLayout.java39 import com.android.setupwizardlib.template.ButtonFooterMixin;
40 import com.android.setupwizardlib.template.ColoredHeaderMixin;
41 import com.android.setupwizardlib.template.HeaderMixin;
42 import com.android.setupwizardlib.template.IconMixin;
43 import com.android.setupwizardlib.template.ProgressBarMixin;
44 import com.android.setupwizardlib.template.RequireScrollMixin;
45 import com.android.setupwizardlib.template.ScrollViewScrollHandlingDelegate;
86 public GlifLayout(Context context, int template) { argument
87 this(context, template, 0);
90 public GlifLayout(Context context, int template, in argument
159 onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) argument
[all...]
H A DSetupWizardLayout.java42 import com.android.setupwizardlib.template.HeaderMixin;
43 import com.android.setupwizardlib.template.NavigationBarMixin;
44 import com.android.setupwizardlib.template.ProgressBarMixin;
45 import com.android.setupwizardlib.template.RequireScrollMixin;
46 import com.android.setupwizardlib.template.ScrollViewScrollHandlingDelegate;
59 public SetupWizardLayout(Context context, int template) { argument
60 this(context, template, 0);
63 public SetupWizardLayout(Context context, int template, int containerId) { argument
64 super(context, template, containerId);
171 protected View onInflateTemplate(LayoutInflater inflater, int template) { argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkTemplate.java162 * that should be considered to match this template.
197 Log.e(TAG, "Unknown network template rule " + matchRule
309 * Test if given {@link NetworkIdentity} matches this template.
332 // We have no idea what kind of network template we are, so we
375 * Check if matches Wi-Fi network template.
388 * Check if matches Ethernet network template.
416 * Check if matches Bluetooth network template.
426 * Check if matches Proxy network template.
454 * Examine the given template and normalize if it refers to a "merged"
456 * for key purposes, and expand the template t
463 normalize(NetworkTemplate template, String[] merged) argument
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsObservers.java206 request.template, thresholdInBytes);
340 long bytesSoFar = getTotalBytesForNetwork(mRequest.template);
343 + mRequest.template);
361 * Reads stats matching the given template. {@link NetworkStatsCollection} will aggregate
365 private long getTotalBytesForNetwork(NetworkTemplate template) { argument
366 NetworkStats stats = mCollection.getSummary(template,
385 long bytesSoFar = getTotalBytesForNetworkUid(mRequest.template, uidsToMonitor[i]);
403 * Reads all stats matching the given template and uid. Ther history will likely only
407 private long getTotalBytesForNetworkUid(NetworkTemplate template, int uid) { argument
409 NetworkStatsHistory history = mCollection.getHistory(template, nul
[all...]
H A DNetworkStatsRecorder.java154 public NetworkStats.Entry getTotalSinceBootLocked(NetworkTemplate template) { argument
155 return mSinceBoot.getSummary(template, Long.MIN_VALUE, Long.MAX_VALUE,
H A DNetworkStatsCollection.java242 public NetworkStatsHistory getHistory(NetworkTemplate template, SubscriptionPlan augmentPlan, argument
295 && templateMatches(template, key.ident)) {
355 public NetworkStats getSummary(NetworkTemplate template, long start, long end, argument
369 if (templateMatches(template, key.ident)
766 private static boolean templateMatches(NetworkTemplate template, NetworkIdentitySet identSet) { argument
768 if (template.matches(ident)) {
H A DNetworkStatsService.java597 NetworkTemplate template, long start, long end) {
598 return internalGetSummaryForNetwork(template, usedFlags, start, end, mAccessLevel,
604 NetworkTemplate template, long start, long end) {
605 return internalGetSummaryForNetwork(template, usedFlags, start, end, mAccessLevel,
610 public NetworkStatsHistory getHistoryForNetwork(NetworkTemplate template, int fields) {
611 return internalGetHistoryForNetwork(template, usedFlags, fields, mAccessLevel,
617 NetworkTemplate template, long start, long end, boolean includeTags) {
620 .getSummary(template, start, end, mAccessLevel, mCallingUid);
623 .getSummary(template, start, end, mAccessLevel, mCallingUid);
636 NetworkTemplate template, in
682 resolveSubscriptionPlan(NetworkTemplate template, int flags) argument
703 internalGetSummaryForNetwork(NetworkTemplate template, int flags, long start, long end, @NetworkStatsAccess.Level int accessLevel, int callingUid) argument
724 internalGetHistoryForNetwork(NetworkTemplate template, int flags, int fields, @NetworkStatsAccess.Level int accessLevel, int callingUid) argument
736 getNetworkTotalBytes(NetworkTemplate template, long start, long end) argument
747 getNetworkUidBytes(NetworkTemplate template, long start, long end) argument
1400 getNetworkTotalBytes(NetworkTemplate template, long start, long end) argument
1410 getNetworkUidBytes(NetworkTemplate template, long start, long end) argument
[all...]
H A DNetworkPolicyManagerService.java1038 final NetworkTemplate template = intent.getParcelableExtra(EXTRA_NETWORK_TEMPLATE);
1040 performSnooze(template, TYPE_WARNING);
1042 performSnooze(template, TYPE_RAPID);
1135 final int subId = findRelevantSubIdNL(policy.template);
1145 final long totalBytes = getTotalBytes(policy.template, cycleStart, cycleEnd);
1174 notifyOverLimitNL(policy.template);
1177 notifyUnderLimitNL(policy.template);
1187 final long recentBytes = getTotalBytes(policy.template, recentStart, recentEnd);
1202 findRapidBlame(policy.template, recentStart, recentEnd));
1222 private @Nullable ApplicationInfo findRapidBlame(NetworkTemplate template, argument
1266 findRelevantSubIdNL(NetworkTemplate template) argument
1285 notifyOverLimitNL(NetworkTemplate template) argument
1292 notifyUnderLimitNL(NetworkTemplate template) argument
1672 setNetworkTemplateEnabled(NetworkTemplate template, boolean enabled) argument
1679 setNetworkTemplateEnabledInner(NetworkTemplate template, boolean enabled) argument
2726 snoozeLimit(NetworkTemplate template) argument
2737 performSnooze(NetworkTemplate template, int type) argument
4642 getTotalBytes(NetworkTemplate template, long start, long end) argument
4646 getNetworkTotalBytes(NetworkTemplate template, long start, long end) argument
4655 getNetworkUidBytes(NetworkTemplate template, long start, long end) argument
4680 buildSnoozeWarningIntent(NetworkTemplate template) argument
4687 buildSnoozeRapidIntent(NetworkTemplate template) argument
4694 buildNetworkOverLimitIntent(Resources res, NetworkTemplate template) argument
4703 buildViewDataUsageIntent(Resources res, NetworkTemplate template) argument
4903 getSubscriptionPlan(NetworkTemplate template) argument
[all...]
/frameworks/base/core/java/android/app/usage/
H A DNetworkStats.java104 NetworkStats(Context context, NetworkTemplate template, int flags, long startTimestamp, argument
110 mTemplate = template;
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DCameraOps.java392 public CaptureRequest.Builder createCaptureRequest(int template) throws CameraAccessException { argument
397 return device.createCaptureRequest(template);
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DCameraOps.java357 public CaptureRequest.Builder createCaptureRequest(int template) throws CameraAccessException { argument
362 return device.createCaptureRequest(template);
/frameworks/base/core/java/android/hardware/camera2/
H A DCaptureRequest.java717 * Initialize the builder using the template; the request takes
718 * ownership of the template.
720 * @param template Template settings for this capture request.
738 public Builder(CameraMetadataNative template, boolean reprocess, argument
741 mRequest = new CaptureRequest(template, reprocess, reprocessableSessionId,
1934 * TEMPLATE_STILL_CAPTURE template may be <code>true</code>. The value in other templates is always
1938 * <p>For application-operated ZSL, use CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG template.</p>
/frameworks/base/tests/net/java/com/android/server/net/
H A DNetworkStatsServiceTest.java475 // and verify new history also recorded under different template, which
596 // verify that ALL_MOBILE template combines both
962 assertTrue(Objects.equals(sTemplateWifi, request.template));
1039 private void assertNetworkTotal(NetworkTemplate template, long rxBytes, long rxPackets, argument
1041 assertNetworkTotal(template, Long.MIN_VALUE, Long.MAX_VALUE, rxBytes, rxPackets, txBytes,
1045 private void assertNetworkTotal(NetworkTemplate template, long start, long end, long rxBytes, argument
1048 final NetworkStatsHistory history = mSession.getHistoryForNetwork(template, FIELD_ALL);
1052 final NetworkStats stats = mSession.getSummaryForNetwork(template, start, end);
1057 private void assertUidTotal(NetworkTemplate template, int uid, long rxBytes, long rxPackets, argument
1059 assertUidTotal(template, ui
1063 assertUidTotal(NetworkTemplate template, int uid, int set, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, long txBytes, long txPackets, int operations) argument
[all...]
/frameworks/base/core/java/android/text/
H A DTextUtils.java905 public static CharSequence replace(CharSequence template, argument
908 SpannableStringBuilder tb = new SpannableStringBuilder(template);
932 * <code>template</code> CharSequence with the corresponding
938 * @param template the input text containing "^1"-style
942 * @param values CharSequences substituted into the template. The
947 * @throws IllegalArgumentException if the template requests a
951 public static CharSequence expandTemplate(CharSequence template, argument
957 SpannableStringBuilder ssb = new SpannableStringBuilder(template);
972 "template requests value ^" + (which+1));
976 "template request
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 480 milliseconds

123