/frameworks/support/slices/core/src/main/java/androidx/slice/ |
H A D | ArrayUtils.java | 40 public static <T> T[] appendElement(Class<T> kind, T[] array, T element) { argument 45 result = (T[]) Array.newInstance(kind, end + 1); 49 result = (T[]) Array.newInstance(kind, 1); 55 public static <T> T[] removeElement(Class<T> kind, T[] array, T element) { argument 66 T[] result = (T[]) Array.newInstance(kind, length - 1);
|
/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | ExprToken.h | 30 Kind kind() const { return m_Kind; } function in class:mcld::ExprToken
|
H A D | StrToken.h | 38 Kind kind() const { return m_Kind; } function in class:mcld::StrToken 43 return pToken->kind() == StrToken::String;
|
H A D | InputToken.h | 36 return pToken->kind() == StrToken::Input;
|
H A D | WildcardPattern.h | 50 return pToken->kind() == StrToken::Wildcard;
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | Relation.java | 24 * An immutable value type representing a statement relation with "kind" and "detail". 43 private Relation(String kind, String detail) { argument 44 mKind = kind; 49 * Returns the relation's kind. 65 * Creates a new Relation object for the specified {@code kind} and {@code detail}. 67 * @throws AssociationServiceException if {@code kind} or {@code detail} is not well formatted. 69 public static Relation create(@NonNull String kind, @NonNull String detail) argument 71 if (!KIND_PATTERN.matcher(kind).matches() || !DETAIL_PATTERN.matcher(detail).matches()) { 74 return new Relation(kind, detail); 91 * Returns true if {@code relation} has the same kind an [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | LDSection.cpp | 88 assert(LDFileFormat::Relocation != kind() && LDFileFormat::EhFrame != kind()); 93 assert(LDFileFormat::Relocation == kind()); 98 assert(LDFileFormat::EhFrame == kind()); 103 assert(LDFileFormat::DebugString == kind());
|
H A D | ELFReaderIf.cpp | 55 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind()) 113 if (sect_hdr->kind() == LDFileFormat::Ignore) 116 if (sect_hdr->kind() == LDFileFormat::Group)
|
H A D | GarbageCollection.cpp | 61 /// shouldProcessGC - check if the section kind is handled in GC 63 if (pSection.kind() == LDFileFormat::TEXT || 64 pSection.kind() == LDFileFormat::DATA || 65 pSection.kind() == LDFileFormat::BSS || 66 pSection.kind() == LDFileFormat::GCCExceptTable) 132 // 1. its section kind is changed to Ignore. (The target section is a 138 if ((LDFileFormat::Ignore == reloc_sect->kind()) || 351 if (LDFileFormat::Ignore == reloc_sect->getLink()->kind())
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/log/ |
H A D | RLog.kt | 74 fun printMessage(kind: Diagnostic.Kind, msg: String, element: Element? = null) 78 override fun printMessage(kind: Diagnostic.Kind, msg: String, element: Element?) { 79 processingEnv.messager.printMessage(kind, msg, element) 85 override fun printMessage(kind: Diagnostic.Kind, msg: String, element: Element?) { 86 messages.getOrPut(kind, { 95 val kind = pair.key 97 env.messager.printMessage(kind, it.first, it.second)
|
/frameworks/ml/nn/common/ |
H A D | GraphDump.cpp | 68 const char* kind = nullptr; local 71 kind = "COPY"; 74 kind = "REF"; 77 kind = "NO"; 83 if (kind) { 84 outStream << ": " << kind; local
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
H A D | L.java | 34 public void printMessage(Kind kind, String message, Element element) { 35 if (kind == Kind.ERROR) { 117 private static void printMessage(Element element, Diagnostic.Kind kind, String message) { argument 118 if (kind == Kind.WARNING) { 122 sClient.printMessage(kind, ex.createHumanReadableMessage(), element); 126 sClient.printMessage(kind, message, element); 127 if (kind == Diagnostic.Kind.ERROR) { 137 void printMessage(Diagnostic.Kind kind, String message, Element element); argument
|
/frameworks/native/opengl/libs/EGL/ |
H A D | Loader.cpp | 320 static void* load_system_driver(const char* kind) { argument 324 static std::string find(const char* kind) { argument 338 result = std::string("/vendor/lib64/egl/lib") + kind + "_emulation.so"; 340 result = std::string("/vendor/lib/egl/lib") + kind + "_emulation.so"; 346 result = std::string("/vendor/lib64/egl/lib") + kind + "_swiftshader.so"; 348 result = std::string("/vendor/lib/egl/lib") + kind + "_swiftshader.so"; 356 std::string pattern = std::string("lib") + kind; 434 std::string absolutePath = MatchFile::find(kind); 463 static void* load_updated_driver(const char* kind, android_namespace_t* ns) { argument 473 std::string name = std::string("lib") + kind 483 load_driver(const char* kind, egl_connection_t* cnx, uint32_t mask) argument [all...] |
H A D | Loader.h | 57 void *load_driver(const char* kind, egl_connection_t* cnx, uint32_t mask);
|
/frameworks/base/core/java/android/text/ |
H A D | AlteredCharSequence.java | 66 public <T> T[] getSpans(int start, int end, Class<T> kind) { argument 67 return mSpanned.getSpans(start, end, kind); 82 public int nextSpanTransition(int start, int end, Class kind) { argument 83 return mSpanned.nextSpanTransition(start, end, kind);
|
H A D | SpannableStringInternal.java | 326 public <T> T[] getSpans(int queryStart, int queryEnd, Class<T> kind) { argument 356 if (kind != null && kind != Object.class && !kind.isInstance(spans[i])) { 365 ret = (Object[]) Array.newInstance(kind, spanCount - i + 1); 391 return (T[]) ArrayUtils.emptyArray(kind); 394 ret = (Object[]) Array.newInstance(kind, 1); 402 Object[] nret = (Object[]) Array.newInstance(kind, count); 407 public int nextSpanTransition(int start, int limit, Class kind) { argument 412 if (kind [all...] |
/frameworks/av/media/libaaudio/examples/loopback/jni/ |
H A D | Android.mk | 10 # NDK recommends using this kind of relative path instead of an absolute path.
|
/frameworks/compile/mclinker/include/mcld/MC/ |
H A D | ZOption.h | 53 Kind kind() const { return m_Kind; } function in class:mcld::ZOption
|
/frameworks/base/core/java/android/text/method/ |
H A D | DigitsKeyListener.java | 123 final int kind = (mSign ? SIGN : 0) | (mDecimal ? DECIMAL : 0); 124 mAccepted = COMPATIBILITY_CHARACTERS[kind]; 129 final int kind = (mSign ? SIGN : 0) | (mDecimal ? DECIMAL : 0); 130 mNeedsAdvancedInput = !ArrayUtils.containsAll(COMPATIBILITY_CHARACTERS[kind], mAccepted); 266 final int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0); 269 if (cachedValue != null && cachedValue[kind] != null) { 270 return cachedValue[kind]; 276 return cachedValue[kind] = new DigitsKeyListener(locale, sign, decimal);
|
H A D | TextKeyListener.java | 193 int kind = kmap.getKeyboardType(); 195 if (kind == KeyCharacterMap.ALPHA) { 197 } else if (kind == KeyCharacterMap.NUMERIC) { 199 } else if (kind == KeyCharacterMap.FULL 200 || kind == KeyCharacterMap.SPECIAL_FUNCTION) {
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/ext/ |
H A D | type_mirror_ext.kt | 27 return when (this.kind) {
|
H A D | element_ext.kt | 49 asType().kind.isPrimitive 60 .filter { it.kind == ElementKind.FIELD } 64 if (superclass.kind != TypeKind.NONE) { 175 if (from.kind != TypeKind.DECLARED || to.kind != TypeKind.DECLARED) { 243 it.kind == ElementKind.CLASS && it.simpleName.contentEquals(JvmAbi.DEFAULT_IMPLS_CLASS_NAME) 246 it.kind == ElementKind.METHOD && it.simpleName == this.simpleName
|
/frameworks/base/core/java/android/provider/ |
H A D | MediaStore.java | 683 * @param kind could be MINI_KIND or MICRO_KIND 687 * @return Bitmap bitmap of specified thumbnail kind 689 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind, argument 692 // Log.v(TAG, "getThumbnail: origId="+origId+", kind="+kind+", isVideo="+isVideo); 701 if (kind == MICRO_KIND) { 714 } else if (kind == MINI_KIND) { 735 if (kind == MICRO_KIND) { 748 } else if (kind == MINI_KIND) { 753 throw new IllegalArgumentException("Unsupported kind 919 StoreThumbnail( ContentResolver cr, Bitmap source, long id, float width, float height, int kind) argument 1067 queryMiniThumbnails(ContentResolver cr, Uri uri, int kind, String[] projection) argument 1072 queryMiniThumbnail(ContentResolver cr, long origId, int kind, String[] projection) argument 1103 getThumbnail(ContentResolver cr, long origId, int kind, BitmapFactory.Options options) argument 1135 getThumbnail(ContentResolver cr, long origId, long groupId, int kind, BitmapFactory.Options options) argument 2173 getThumbnail(ContentResolver cr, long origId, int kind, BitmapFactory.Options options) argument 2192 getThumbnail(ContentResolver cr, long origId, long groupId, int kind, BitmapFactory.Options options) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 112 public static <T> T[] emptyArray(Class<T> kind) { argument 113 if (kind == Object.class) { 117 int bucket = (kind.hashCode() & 0x7FFFFFFF) % CACHE_SIZE; 120 if (cache == null || cache.getClass().getComponentType() != kind) { 121 cache = Array.newInstance(kind, 0); 124 // Log.e("cache", "new empty " + kind.getName() + " at " + bucket); 316 public static @NonNull <T> T[] appendElement(Class<T> kind, @Nullable T[] array, T element) { argument 317 return appendElement(kind, array, element, false); 324 public static @NonNull <T> T[] appendElement(Class<T> kind, @Nullable T[] array, T element, argument 331 result = (T[])Array.newInstance(kind, en 345 removeElement(Class<T> kind, @Nullable T[] array, T element) argument [all...] |
/frameworks/av/media/libaaudio/examples/input_monitor/jni/ |
H A D | Android.mk | 11 # NDK recommends using this kind of relative path instead of an absolute path.
|