HomeSort by relevance Sort by last modified time
    Searched defs:source (Results 501 - 525 of 4045) sorted by null

<<21222324252627282930>>

  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
EventLogLogger.java 2 * Copyright (C) 2009 The Android Open Source Project
102 String source = cursor.getSuggestionSource().getName(); local
106 sb.append(source).append(':').append(type).append(':').append(shortcut);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSearch.java 2 * Copyright (C) 2008 The Android Open Source Project
51 // "source" parameter for Google search requests from unknown sources (e.g. apps). This will get
119 // If the caller specified a 'source' url parameter, use that and if not use default.
121 String source = GOOGLE_SEARCH_SOURCE_UNKNOWN; local
123 source = appSearchData.getString(Search.SOURCE);
137 + "&source=android-" + source
  /packages/apps/Settings/tests/robotests/src/com/android/settings/search/
InlineListPayloadTest.java 32 final int source = ResultPayload.SettingsSource.SYSTEM; local
38 InlineListPayload payload = new InlineListPayload(uri, source,
44 assertThat(payload.mSettingSource).isEqualTo(source);
53 int source = ResultPayload.SettingsSource.SYSTEM; local
62 parcel.writeInt(source);
72 assertThat(payload.mSettingSource).isEqualTo(source);
  /packages/experimental/TestBack/src/foo/bar/testback/
TestBackService.java 2 * Copyright 2017 The Android Open Source Project
61 AccessibilityNodeInfo source = event.getSource(); local
63 if (source != null) {
65 (CAN_TAKE_A11Y_FOCUS.test(source)) ? source : findParent(
66 source, AccessibilityFocusManager::canTakeAccessibilityFocus);
74 mCurrentA11yFocus = source;
75 AccessibilityNodeInfo.CollectionItemInfo itemInfo = source.getCollectionItemInfo();
83 mCollectionWithAccessibiltyFocus = findParent(source,
87 source.getBoundsInScreen(bounds)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
HanziToPinyin.java 2 * Copyright (C) 2011 The Android Open Source Project
42 * Separator between target string for each source char
53 public Token(int type, String source, String target) {
55 this.source = source;
66 public String source; field in class:HanziToPinyin.Token
68 * Translated string of source. For Han, target is corresponding Pinyin. Otherwise target is
69 * original string in source.
99 token.source = Character.toString(character);
104 token.target = token.source;
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
fsl_hypervisor.h 7 * Redistribution and use in source and binary forms, with or without
9 * * Redistributions of source code must retain the above copyright
111 * @source: the partition ID of the source partition, or -1 for this
127 * the 'source' paritition' to the 'target' partition.
133 * partitions or within the same partition, so either 'source' or
136 * source == local and target == remote
138 * source == remote and target == local
142 __u32 source; member in struct:fsl_hv_ioctl_memcpy
  /prebuilts/go/darwin-x86/src/go/scanner/
scanner_test.go 2 // Use of this source code is governed by a BSD-style
185 var source = func() []byte { var
231 s.Init(fset.AddFile("", fset.Base(), len(source)), source, eh, ScanComments|dontInsertSemis)
248 epos.Line = newlineCount(string(source))
346 // # indicates a semicolon present in the source
484 srcline string // a line of source text
524 // make source
776 file := fset.AddFile("", fset.Base(), len(source))
780 s.Init(file, source, nil, ScanComments
    [all...]
  /prebuilts/go/linux-x86/src/go/scanner/
scanner_test.go 2 // Use of this source code is governed by a BSD-style
185 var source = func() []byte { var
231 s.Init(fset.AddFile("", fset.Base(), len(source)), source, eh, ScanComments|dontInsertSemis)
248 epos.Line = newlineCount(string(source))
346 // # indicates a semicolon present in the source
484 srcline string // a line of source text
524 // make source
776 file := fset.AddFile("", fset.Base(), len(source))
780 s.Init(file, source, nil, ScanComments
    [all...]
  /prebuilts/jdk/jdk8/darwin-x86/sample/nio/file/
Copy.java 4 * Redistribution and use in source and binary forms, with or without
8 * - Redistributions of source code must retain the above copyright
33 * This source code is provided to illustrate the usage of a given feature
63 * Copy source file to target location. If {@code prompt} is true then
67 static void copyFile(Path source, Path target, boolean prompt, boolean preserve) {
73 Files.copy(source, target, options);
75 System.err.format("Unable to copy: %s: %s%n", source, x);
84 private final Path source; field in class:Copy.TreeCopier
89 TreeCopier(Path source, Path target, boolean prompt, boolean preserve) {
90 this.source = source
183 Path[] source = new Path[remaining-1]; local
    [all...]
  /prebuilts/jdk/jdk8/darwin-x86/sample/nio/multicast/
Reader.java 4 * Redistribution and use in source and binary forms, with or without
8 * - Redistributions of source code must retain the above copyright
33 * This source code is provided to illustrate the usage of a given feature
51 System.err.println("usage: java Reader group:port@interf [-only source...] [-block source...]");
79 // addition arguments are source addresses to include or exclude
114 for (InetAddress source: excludeList) {
115 key.block(source);
118 // join with source-specific membership for each source
120 dc.join(target.group(), target.interf(), source); local
    [all...]
  /prebuilts/jdk/jdk8/linux-x86/sample/nio/file/
Copy.java 4 * Redistribution and use in source and binary forms, with or without
8 * - Redistributions of source code must retain the above copyright
33 * This source code is provided to illustrate the usage of a given feature
63 * Copy source file to target location. If {@code prompt} is true then
67 static void copyFile(Path source, Path target, boolean prompt, boolean preserve) {
73 Files.copy(source, target, options);
75 System.err.format("Unable to copy: %s: %s%n", source, x);
84 private final Path source; field in class:Copy.TreeCopier
89 TreeCopier(Path source, Path target, boolean prompt, boolean preserve) {
90 this.source = source
183 Path[] source = new Path[remaining-1]; local
    [all...]
  /prebuilts/jdk/jdk8/linux-x86/sample/nio/multicast/
Reader.java 4 * Redistribution and use in source and binary forms, with or without
8 * - Redistributions of source code must retain the above copyright
33 * This source code is provided to illustrate the usage of a given feature
51 System.err.println("usage: java Reader group:port@interf [-only source...] [-block source...]");
79 // addition arguments are source addresses to include or exclude
114 for (InetAddress source: excludeList) {
115 key.block(source);
118 // join with source-specific membership for each source
120 dc.join(target.group(), target.interf(), source); local
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/algorithms/alg.modifying.operations/alg.fill/
fill_n.pass.cpp 6 // Source Licenses. See LICENSE.TXT for details.
63 struct source { struct
64 source() : i(0) { } function in struct:source
75 assert(std::fill_n(ia, UDI(n), source()) == std::next(ia, n));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
AndroidManifestWriter.java 2 * Copyright (C) 2009 The Android Open Source Project
37 import javax.xml.transform.Source;
88 Source source = new DOMSource(mDoc); local
96 xformer.transform(source, result);
  /system/sepolicy/tools/
sepolicy-check.c 18 fprintf(stderr, "%s -s <source> -t <target> -c <class> -p <perm> -P <policy file>\n", arg0);
133 fprintf(stderr, "source type %s does not exist\n", s);
235 char *policy = NULL, *source = NULL, *target = NULL, *class = NULL, *perm = NULL; local
243 {"source", required_argument, NULL, 's'},
254 source = optarg;
273 if (!source || !target || !class || !perm || !policy)
282 match = check_rule(source, target, class, perm, &policydb);
  /system/update_engine/
metrics_reporter_omaha_unittest.cc 2 // Copyright (C) 2017 The Android Open Source Project
384 int source = 2; local
388 SendEnumToUMA(metrics::kMetricInstallDateProvisioningSource, source, max))
391 reporter_.ReportInstallDateProvisioningSource(source, max);
  /system/update_engine/payload_generator/
payload_generation_config.h 2 // Copyright (C) 2015 The Android Open Source Project
78 // the source image, and the size of that data it should generate for the
155 ImageConfig source; member in struct:chromeos_update_engine::PayloadGenerationConfig
164 // filesystem in either source or target version, since there is some space
  /tools/tradefederation/core/src/com/android/tradefed/util/xml/
AndroidManifestWriter.java 2 * Copyright (C) 2009 The Android Open Source Project
34 import javax.xml.transform.Source;
46 * <android source>/platform/sdk/.../adt-tests/com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper.
90 Source source = new DOMSource(mDoc); local
98 xformer.transform(source, result);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
BitmapDrawableTest.java 2 * Copyright (C) 2008 The Android Open Source Project
130 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); local
131 BitmapDrawable bitmapDrawable = new BitmapDrawable(source);
147 Bitmap source = BitmapFactory.decodeResource(mContext.getResources(), R.raw.testimage); local
148 BitmapDrawable bitmapDrawable = new BitmapDrawable(source);
151 assertTrue(source.hasMipMap());
154 assertFalse(source.hasMipMap());
159 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); local
160 BitmapDrawable bitmapDrawable = new BitmapDrawable(source);
173 InputStream source = mContext.getResources().openRawResource(R.raw.testimage) local
187 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); local
204 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); local
219 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); local
260 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); local
274 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); local
295 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); local
310 final InputStream source = mContext.getResources().openRawResource(R.raw.testimage); local
327 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); local
344 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); local
369 InputStream source = mContext.getResources().openRawResource(R.drawable.size_48x48); local
416 InputStream source = mContext.getResources().openRawResource(R.drawable.size_48x48); local
496 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); local
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
JetPlayerTest.java 2 * Copyright (C) 2009 The Android Open Source Project
181 InputStream source = null; local
184 source = mContext.getResources().openRawResource(R.raw.test_jet);
188 while ((length = source.read(buffer)) != -1) {
192 if (source != null) {
193 source.close();
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
CharsetCompoundText.java 200 private static int findNextEsc(ByteBuffer source) {
201 int sourceLimit = source.limit();
202 for (int i = (source.position() + 1); i < sourceLimit; i++) {
203 if (source.get(i) == 0x1B) {
242 private static byte findStateFromEscSeq(ByteBuffer source, byte[] toUBytes, int toUBytesLength) {
244 int sourceIndex = source.position();
248 int sourceLimit = source.limit();
260 } else if (source.get(sourceIndex + (n - offset)) != escSeqCompoundText[i][n]) {
272 source.position(sourceIndex + (escSeqCompoundText[i].length - offset));
344 protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean flush)
    [all...]
CharsetEncoderICU.java 75 CharBuffer source, ByteBuffer target, IntBuffer offsets,
78 return onUnmappableInput.call(encoder, context, source, target,
81 return onMalformedInput.call(encoder, context, source, target,
84 // return CharsetCallback.FROM_U_CALLBACK_STOP.call(encoder, context, source, target, offsets, buffer, length, cp, cr);
282 * @param source
287 abstract CoderResult encodeLoop(CharBuffer source, ByteBuffer target,
292 * @param source The input character buffer
299 final CoderResult encode(CharBuffer source, ByteBuffer target,
303 if (target == null || source == null) {
315 * not be able to maintain the semantics that either the source must b
    [all...]
  /external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/
Main.java 2 * Copyright (C) 2015 The Android Open Source Project
76 String source = readSource(inputFile); local
78 new CompilationUnitHandler(inputFile, parser, source, new PrintWriter(reportWriter));
108 String source = document.get(); local
114 writer.write(source.toCharArray());
147 public CompilationUnitHandler(File file, ASTParser parser, String source,
153 // Initialize source / AST state.
154 documentBefore = new Document(source);
  /external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
Main.java 158 BufferedSource source = response.body().source(); local
159 while (!source.exhausted()) {
160 out.write(source.buffer(), source.buffer().size());
  /frameworks/base/core/java/android/app/admin/
SecurityLog.java 2 * Copyright (C) 2016 The Android Open Source Project
48 @Retention(RetentionPolicy.SOURCE)
87 @Retention(RetentionPolicy.SOURCE)
487 /* package */ SecurityEvent(Parcel source) {
488 this(source.readLong(), source.createByteArray());
606 public SecurityEvent createFromParcel(Parcel source) {
607 return new SecurityEvent(source);

Completed in 1071 milliseconds

<<21222324252627282930>>