Searched defs:prefix (Results 101 - 125 of 282) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/policy/keyguard/
H A DKeyguardServiceWrapper.java245 public void dump(String prefix, PrintWriter pw) { argument
246 mKeyguardStateMonitor.dump(prefix, pw);
/frameworks/base/services/core/java/com/android/server/wm/
H A DDimLayer.java364 public void printTo(String prefix, PrintWriter pw) { argument
365 pw.print(prefix); pw.print("mDimSurface="); pw.print(mDimSurface);
368 pw.print(prefix); pw.print("mLastBounds="); pw.print(mLastBounds.toShortString());
370 pw.print(prefix); pw.print("Last animation: ");
374 pw.print(prefix); pw.print(" mStartAlpha="); pw.print(mStartAlpha);
H A DDimLayerController.java339 void dump(String prefix, PrintWriter pw) { argument
340 pw.println(prefix + "DimLayerController");
342 final String prefixPlusDoubleSpace = prefix + doubleSpace;
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp132 int prefix; local
136 while (sscanf(addresses, " %64[^/]/%d %n", address, &prefix, &chars) == 2) {
142 prefix < 0 || prefix > 128) {
147 ifr6.ifr6_prefixlen = prefix;
155 prefix < 0 || prefix > 32) {
168 in_addr_t mask = prefix ? (~0 << (32 - prefix)) : 0;
175 ALOGD("Address added on %s: %s/%d", name, address, prefix);
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMountServiceTests.java43 private static void assertStartsWith(String message, String prefix, String actual) { argument
44 if (!actual.startsWith(prefix)) {
45 throw new ComparisonFailure(message, prefix, actual);
/frameworks/base/tools/aapt/
H A DXMLNode.h45 sp<XMLNode> newNamespace(const String8& filename, const String16& prefix, const String16& uri) { argument
46 return new XMLNode(filename, prefix, uri, true);
161 startNamespace(void *userData, const char *prefix, const char *uri);
169 endNamespace(void *userData, const char *prefix);
/frameworks/base/tools/aapt2/link/
H A DTableMerger.cpp281 StringPiece16 prefix, entry, suffix; local
282 if (util::extractResFilePathParts(*fileRef.path, &prefix, &entry, &suffix)) {
284 std::u16string newPath = prefix.toString() + mangledEntry + suffix.toString();
/frameworks/base/tools/aapt2/util/
H A DUtil.h38 * Returns true if the string starts with prefix.
41 bool stringStartsWith(const BasicStringPiece<T>& str, const BasicStringPiece<T>& prefix) { argument
42 if (str.size() < prefix.size()) {
45 return str.substr(0, prefix.size()) == prefix;
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.h173 * An XML DOM visitor that will record the package name for a namespace prefix.
178 std::u16string prefix; member in struct:aapt::xml::PackageAwareVisitor::PackageDecl
H A DXmlPullParser.cpp144 if (alias == iter->prefix) {
204 void XMLCALL XmlPullParser::startNamespaceHandler(void* userData, const char* prefix, argument
213 prefix != nullptr ? util::utf8ToUtf16(prefix) : std::u16string(),
264 void XMLCALL XmlPullParser::endNamespaceHandler(void* userData, const char* prefix) { argument
271 prefix != nullptr ? util::utf8ToUtf16(prefix) : std::u16string(),
H A DXmlPullParser.h93 // Namespace prefix and URI are available for StartNamespace and EndNamespace.
147 static void XMLCALL startNamespaceHandler(void* userData, const char* prefix, const char* uri);
151 static void XMLCALL endNamespaceHandler(void* userData, const char* prefix);
173 std::u16string prefix; member in struct:aapt::xml::XmlPullParser::PackageDecl
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
H A DProcessBindable.java185 private static boolean prefixes(CharSequence sequence, String prefix) { argument
187 if (sequence.length() > prefix.length()) {
188 int count = prefix.length();
191 if (sequence.charAt(i) != prefix.charAt(i)) {
/frameworks/native/cmds/installd/tests/
H A Dinstalld_utils_test.cpp325 std::string prefix = std::string(TEST_DATA_DIR) + PRIMARY_USER_PREFIX; local
326 size_t offset = prefix.length();
/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp181 const char* prefix = stringForIndent(b->indent); local
182 err = b->append(prefix, strlen(prefix));
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DScanTestUtil.java236 private static void assertScanResultsEquals(String prefix, ScanResult[] expected, argument
238 assertNotNull(prefix + "expected ScanResults was null", expected);
239 assertNotNull(prefix + "actual ScanResults was null", actual);
240 assertEquals(prefix + "results.length", expected.length, actual.length);
244 assertEquals(prefix + "results[" + j + "].SSID",
246 assertEquals(prefix + "results[" + j + "].wifiSsid",
248 assertEquals(prefix + "results[" + j + "].BSSID",
250 assertEquals(prefix + "results[" + j + "].capabilities",
252 assertEquals(prefix + "results[" + j + "].level",
254 assertEquals(prefix
270 assertScanDataEquals(String prefix, ScanData expected, ScanData actual) argument
282 assertScanDatasEquals(String prefix, ScanData[] expected, ScanData[] actual) argument
[all...]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DGenericInflater.java69 * Note that it is good practice to prefix these custom names with your
357 public final T createItem(String name, String prefix, AttributeSet attrs) argument
366 prefix != null ? (prefix + name) : name);
379 + (prefix != null ? (prefix + name) : name));
389 + (prefix != null ? (prefix + name) : name));
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneFilterTypeAdapter.java168 protected FilterResults performFiltering(CharSequence prefix) { argument
170 Log.d(TAG, "performFiltering >>>> [" + prefix + "]");
175 if (prefix != null) {
176 prefixString = prefix.toString().trim().toLowerCase();
250 Log.d(TAG, "performFiltering <<<< " + filtered.size() + "[" + prefix + "]");
/frameworks/support/v4/java/android/support/v4/content/
H A DAsyncTaskLoader.java342 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
343 super.dump(prefix, fd, writer, args);
345 writer.print(prefix); writer.print("mTask="); writer.print(mTask);
349 writer.print(prefix); writer.print("mCancellingTask="); writer.print(mCancellingTask);
353 writer.print(prefix); writer.print("mUpdateThrottle=");
H A DCursorLoader.java227 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
228 super.dump(prefix, fd, writer, args);
229 writer.print(prefix); writer.print("mUri="); writer.println(mUri);
230 writer.print(prefix); writer.print("mProjection=");
232 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection);
233 writer.print(prefix); writer.print("mSelectionArgs=");
235 writer.print(prefix); writer.print("mSortOrder="); writer.println(mSortOrder);
236 writer.print(prefix); writer.print("mCursor="); writer.println(mCursor);
237 writer.print(prefix); writer.print("mContentChanged="); writer.println(mContentChanged);
H A DLoader.java516 * @param prefix Text to print at the front of each line.
521 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
522 writer.print(prefix); writer.print("mId="); writer.print(mId);
525 writer.print(prefix); writer.print("mStarted="); writer.print(mStarted);
530 writer.print(prefix); writer.print("mAbandoned="); writer.print(mAbandoned);
/frameworks/base/core/java/android/app/
H A DFragmentHostCallback.java75 * @param prefix Desired prefix to prepend at each line of output.
81 public void onDump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
346 void dumpLoaders(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
347 writer.print(prefix); writer.print("mLoadersStarted=");
350 writer.print(prefix); writer.print("Loader Manager ");
353 mLoaderManager.dump(prefix + " ", fd, writer, args);
H A DLauncherActivity.java181 * An array filters constrains the content of the array adapter with a prefix. Each
182 * item that does not start with the supplied prefix is removed from the list.
186 protected FilterResults performFiltering(CharSequence prefix) { argument
195 if (prefix == null || prefix.length() == 0) {
202 final String prefixString = prefix.toString().toLowerCase();
H A DLoaderManager.java183 * @param prefix Text to print at the front of each line.
188 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); argument
509 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
510 writer.print(prefix); writer.print("mId="); writer.print(mId);
512 writer.print(prefix); writer.print("mCallbacks="); writer.println(mCallbacks);
513 writer.print(prefix); writer.print("mLoader="); writer.println(mLoader);
515 mLoader.dump(prefix + " ", fd, writer, args);
518 writer.print(prefix); writer.print("mHaveData="); writer.print(mHaveData);
520 writer.print(prefix); writer.print("mData="); writer.println(mData);
522 writer.print(prefix); write
862 dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) argument
[all...]
/frameworks/base/core/java/android/os/
H A DHandler.java704 public final void dump(Printer pw, String prefix) { argument
705 pw.println(prefix + this + " @ " + SystemClock.uptimeMillis());
707 pw.println(prefix + "looper uninitialized");
709 mLooper.dump(pw, prefix + " ");
H A DMessageQueue.java760 void dump(Printer pw, String prefix) { argument
765 pw.println(prefix + "Message " + n + ": " + msg.toString(now));
768 pw.println(prefix + "(Total messages: " + n + ", polling=" + isPollingLocked()

Completed in 444 milliseconds

1234567891011>>