Searched defs:prefix (Results 1 - 25 of 219) sorted by relevance

123456789

/frameworks/base/core/java/android/util/
H A DPrefixPrinter.java21 * prefix.
32 * <p>If prefix is null or empty, the provided printer is returned, rather
35 public static Printer create(Printer printer, String prefix) { argument
36 if (prefix == null || prefix.equals("")) {
39 return new PrefixPrinter(printer, prefix);
42 private PrefixPrinter(Printer printer, String prefix) { argument
44 mPrefix = prefix;
H A DDebugUtils.java215 public static String valueToString(Class<?> clazz, String prefix, int value) { argument
219 && field.getType().equals(int.class) && field.getName().startsWith(prefix)) {
222 return field.getName().substring(prefix.length());
237 public static String flagsToString(Class<?> clazz, String prefix, int flags) { argument
243 && field.getType().equals(int.class) && field.getName().startsWith(prefix)) {
248 res.append(field.getName().substring(prefix.length())).append('|');
/frameworks/av/services/mediaresourcemanager/
H A DServiceLog.cpp55 void ServiceLog::addLine(const char *log, const char *prefix, String8 *result) const { argument
56 if (prefix != NULL) {
57 result->append(prefix);
/frameworks/base/core/java/com/android/internal/util/
H A DDumpUtils.java39 final String prefix, long timeout) {
45 dump.dump(lpw, prefix);
56 void dump(PrintWriter pw, String prefix); argument
38 dumpAsync(Handler handler, final Dump dump, PrintWriter pw, final String prefix, long timeout) argument
H A DLocalLog.java49 public boolean dump(PrintWriter pw, String header, String prefix) { argument
58 if (prefix != null) {
59 pw.print(prefix);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DNamedCounter.java28 public NamedCounter(String prefix, String suffix) { argument
29 mPrefix = prefix;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPreferredIntentResolver.java36 protected void dumpFilter(PrintWriter out, String prefix, argument
38 filter.mPref.dump(out, prefix, filter);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParserTest.java85 private void dump(Node node, String prefix) { argument
105 prefix,
114 dump(n, prefix + "- ");
119 dump(n, prefix);
/frameworks/compile/mclinker/lib/Script/
H A DWildcardPattern.cpp41 llvm::StringRef WildcardPattern::prefix() const { function in class:mcld::WildcardPattern
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapCard.java41 public final String prefix; field in class:BluetoothPbapCard
58 prefix = parsedName.length < 4 ? null : parsedName[3];
72 json.put("prefix", prefix);
90 json.put("prefix", name.getPrefix());
/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DActivityCompatHoneycomb.java32 static void dump(Activity activity, String prefix, FileDescriptor fd, argument
34 activity.dump(prefix, fd, writer, args);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSessionRoute.cpp29 void SessionRoute::log(const char* prefix) argument
32 prefix, mStreamType, mSource, mSession,
/frameworks/base/core/java/android/content/pm/
H A DServiceInfo.java76 public void dump(Printer pw, String prefix) { argument
77 super.dumpFront(pw, prefix);
78 pw.println(prefix + "permission=" + permission);
79 pw.println(prefix + "flags=0x" + Integer.toHexString(flags));
H A DComponentInfo.java142 protected void dumpFront(Printer pw, String prefix) { argument
143 super.dumpFront(pw, prefix);
144 pw.println(prefix + "enabled=" + enabled + " exported=" + exported
147 pw.println(prefix + "description=" + descriptionRes);
151 protected void dumpBack(Printer pw, String prefix) { argument
153 pw.println(prefix + "ApplicationInfo:");
154 applicationInfo.dump(pw, prefix + " ");
156 pw.println(prefix + "ApplicationInfo: null");
158 super.dumpBack(pw, prefix);
H A DProviderInfo.java117 public void dump(Printer pw, String prefix) { argument
118 super.dumpFront(pw, prefix);
119 pw.println(prefix + "authority=" + authority);
120 pw.println(prefix + "flags=0x" + Integer.toHexString(flags));
/frameworks/base/core/java/android/net/
H A DIpPrefix.java28 * This class represents an IP prefix, i.e., a contiguous block of IP addresses aligned on a
29 * power of two boundary (also known as an "IP subnet"). A prefix is specified by two pieces of
33 * <li>A starting IP address (IPv4 or IPv6). This is the first IP address of the prefix.
34 * <li>A prefix length. This specifies the length of the prefix by specifing the number of bits
36 * are constant for all addresses in the prefix.
39 * For example, the prefix <code>192.0.2.0/24</code> covers the 256 IPv4 addresses from
40 * <code>192.0.2.0</code> to <code>192.0.2.255</code>, inclusive, and the prefix
60 * network byte order and a prefix length. Silently truncates the address to the prefix lengt
100 IpPrefix(String prefix) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DAppBindRecord.java34 void dump(PrintWriter pw, String prefix) { argument
35 pw.println(prefix + "service=" + service);
36 pw.println(prefix + "client=" + client);
37 dumpInIntentBind(pw, prefix);
40 void dumpInIntentBind(PrintWriter pw, String prefix) { argument
43 pw.println(prefix + "Per-process Connections:");
46 pw.println(prefix + " " + c);
H A DUserState.java54 void dump(String prefix, PrintWriter pw) { argument
55 pw.print(prefix); pw.print("mState=");
H A DAppTimeTracker.java97 public void dumpWithHeader(PrintWriter pw, String prefix, boolean details) { argument
98 pw.print(prefix); pw.print("AppTimeTracker #");
101 dump(pw, prefix + " ", details);
104 public void dump(PrintWriter pw, String prefix, boolean details) { argument
105 pw.print(prefix); pw.print("mReceiver="); pw.println(mReceiver);
106 pw.print(prefix); pw.print("mTotalTime=");
110 pw.print(prefix); pw.print("mPackageTime:"); pw.print(mPackageTimes.keyAt(i));
116 pw.print(prefix); pw.print("mStartedTime=");
119 pw.print(prefix); pw.print("mStartedPackage="); pw.println(mStartedPackage);
H A DBroadcastFilter.java43 public void dump(PrintWriter pw, String prefix) { argument
44 dumpInReceiverList(pw, new PrintWriterPrinter(pw), prefix);
45 receiverList.dumpLocal(pw, prefix);
48 public void dumpBrief(PrintWriter pw, String prefix) { argument
49 dumpBroadcastFilterState(pw, prefix);
52 public void dumpInReceiverList(PrintWriter pw, Printer pr, String prefix) { argument
53 super.dump(pr, prefix);
54 dumpBroadcastFilterState(pw, prefix);
57 void dumpBroadcastFilterState(PrintWriter pw, String prefix) { argument
59 pw.print(prefix); p
[all...]
H A DConnectionRecord.java38 void dump(PrintWriter pw, String prefix) { argument
39 pw.println(prefix + "binding=" + binding);
41 pw.println(prefix + "activity=" + activity);
43 pw.println(prefix + "conn=" + conn.asBinder()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DIMSIParameter.java9 public IMSIParameter(String imsi, boolean prefix) { argument
11 mPrefix = prefix;
52 // For a prefix match, the entire prefix must match the mcc+mnc
/frameworks/base/core/java/android/os/
H A DLooper.java269 * @param prefix A prefix to prepend to each line which is printed.
271 public void dump(@NonNull Printer pw, @NonNull String prefix) { argument
272 pw.println(prefix + toString());
273 mQueue.dump(pw, prefix + " ");
/frameworks/base/core/tests/coretests/src/android/net/
H A DRouteInfoTest.java35 private IpPrefix Prefix(String prefix) { argument
36 return new IpPrefix(prefix);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DAutoCompleteTextViewSimple.java68 * Set the autocomplete data to an adapter containing 0..n strings with a consistent prefix.
70 public void setStringAdapter(int numSuggestions, String prefix) { argument
74 strings[i] = prefix + String.valueOf(i);

Completed in 9160 milliseconds

123456789