/frameworks/base/tools/aapt2/ |
D | Source.h | 31 struct Source { struct 36 Source() = default; argument 38 inline Source(const android::StringPiece& path) : path(path.to_string()) { // NOLINT(implicit) in Source() function 41 inline Source(const android::StringPiece& path, const android::StringPiece& archive) in Source() argument 44 inline Source(const android::StringPiece& path, size_t line) in Source() function 47 inline Source WithLine(size_t line) const { in WithLine() argument 48 return Source(path, line); in WithLine() 67 inline ::std::ostream& operator<<(::std::ostream& out, const Source& source) { argument 71 inline bool operator==(const Source& lhs, const Source& rhs) { 75 inline bool operator<(const Source& lhs, const Source& rhs) {
|
D | Diagnostics.h | 33 Source source; 43 explicit DiagMessage(const Source& src) : source_(src) {} in DiagMessage() 45 explicit DiagMessage(size_t line) : source_(Source().WithLine(line)) {} in DiagMessage() 58 Source source_; 130 SourcePathDiagnostics(const Source& src, IDiagnostics* diag) in SourcePathDiagnostics() 146 Source source_;
|
D | LoadedApk.h | 53 const Source& source, std::unique_ptr<io::IFileCollection> collection, IDiagnostics* diag); 57 const Source& source, std::unique_ptr<io::IFileCollection> collection, IDiagnostics* diag); 59 LoadedApk(const Source& source, std::unique_ptr<io::IFileCollection> apk, in LoadedApk() 85 const Source& GetSource() { in GetSource() 119 Source source_;
|
/frameworks/compile/libbcc/lib/ |
D | Source.cpp | 87 unsigned Source::getCompilerVersion() const { in getCompilerVersion() 91 void Source::getWrapperInformation(unsigned *compilerVersion, in getWrapperInformation() 98 void Source::setModule(llvm::Module *pModule) { in setModule() 103 Source *Source::CreateFromBuffer(BCCContext &pContext, in CreateFromBuffer() 129 Source *result = CreateFromModule(pContext, pName, *module, in CreateFromBuffer() 139 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { in CreateFromFile() 166 Source *result = CreateFromModule(pContext, pPath.c_str(), *module, in CreateFromFile() 176 Source *Source::CreateFromModule(BCCContext &pContext, const char* name, llvm::Module &pModule, in CreateFromModule() 189 Source *result = new (std::nothrow) Source(name, pContext, pModule, pNoDelete); in CreateFromModule() 198 Source::Source(const char* name, BCCContext &pContext, llvm::Module &pModule, in Source() function in bcc::Source [all …]
|
D | Script.cpp | 31 Script::Script(Source *pSource) in Script() 43 Source *libclcore_source = Source::CreateFromFile(context, core_lib); in LinkRuntime() 90 bool Script::mergeSource(Source &pSource) { return mSource->merge(pSource); } in mergeSource()
|
D | RSScriptGroupFusion.h | 29 class Source; variable 42 const std::vector<Source *>& sources, 47 bool renameInvoke(BCCContext& Context, const Source* source, const int slot,
|
D | RSCompilerDriver.cpp | 255 Source *source = Source::CreateFromBuffer(pContext, pResName, in build() 306 const std::vector<Source*>& sources, in buildScriptGroup() 314 for (Source* source : sources) { in buildScriptGroup() 331 for (Source* source : sources) { in buildScriptGroup() 367 std::vector<Source*> sourcesToFuse; in buildScriptGroup() 388 Source* source = sources[p.first]; in buildScriptGroup() 400 const std::unique_ptr<Source> source( in buildScriptGroup() 401 Source::CreateFromModule(Context, pOutputFilepath, module, in buildScriptGroup()
|
D | BCCContextImpl.h | 26 class Source; variable 37 llvm::SmallPtrSet<Source *, 2> mOwnSources;
|
D | RSScriptGroupFusion.cpp | 39 const Function* getInvokeFunction(const Source& source, const int slot, in getInvokeFunction() 52 getFunction(Module* mergedModule, const Source* source, const int slot, in getFunction() 91 int getFusedFuncSig(const std::vector<Source*>& sources, in getFusedFuncSig() 98 for (const Source* source : sources) { in getFusedFuncSig() 134 const std::vector<Source*>& sources, in getFusedFuncType() 177 const std::vector<Source *>& sources, in fuseKernels() 227 for (const Source* source : sources) { in fuseKernels() 319 bool renameInvoke(BCCContext& Context, const Source* source, const int slot, in renameInvoke()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | ImageDecoder.java | 50 public static abstract class Source { class in ImageDecoder 51 private Source() {} in Source() method in ImageDecoder.Source 75 private static class ByteArraySource extends Source { 91 private static class ByteBufferSource extends Source { 103 private static class ContentResolverSource extends Source { 121 private static class InputStreamSource extends Source { 152 public static class AssetInputStreamSource extends Source { 185 private static class ResourceSource extends Source { 208 private static class FileSource extends Source { 276 @NonNull ImageInfo info, @NonNull Source source); in onHeaderDecoded() [all …]
|
/frameworks/compile/libbcc/include/bcc/ |
D | Source.h | 34 class Source { 50 Source(const char* name, BCCContext &pContext, llvm::Module &pModule, 54 static Source *CreateFromBuffer(BCCContext &pContext, 59 static Source *CreateFromFile(BCCContext &pContext, 64 static Source *CreateFromModule(BCCContext &pContext, 75 bool merge(Source &pSource); 112 ~Source();
|
D | Script.h | 32 class Source; variable 43 Source *mSource; 60 explicit Script(Source *pSource); 112 bool mergeSource(Source &pSource); 114 inline Source &getSource() { return *mSource; } in getSource() 115 inline const Source &getSource() const { return *mSource; } in getSource()
|
D | BCCContext.h | 27 class Source; variable 42 void addSource(Source &pSource); 43 void removeSource(Source &pSource);
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 191 public static abstract class Source { class in ImageDecoder 192 private Source() {} in Source() method in ImageDecoder.Source 212 private static class ByteArraySource extends Source { 228 private static class ByteBufferSource extends Source { 246 private static class ContentResolverSource extends Source { 292 boolean preferAnimation, @NonNull Source source) throws IOException { in createFromFile() 317 boolean closeInputStream, boolean preferAnimation, Source source) throws IOException { in createFromStream() 340 boolean preferAnimation, Source source) throws IOException { in createFromAssetFileDescriptor() 370 private static class InputStreamSource extends Source { 409 public static class AssetInputStreamSource extends Source { [all …]
|
/frameworks/base/tools/aapt2/link/ |
D | ProductFilter_test.cpp | 34 .SetValue(test::ValueBuilder<Id>().SetSource(Source("land/default.xml")).Build(), land) in TEST() 40 .SetValue(test::ValueBuilder<Id>().SetSource(Source("land/tablet.xml")).Build(), land, in TEST() 47 .SetValue(test::ValueBuilder<Id>().SetSource(Source("port/default.xml")).Build(), port) in TEST() 53 .SetValue(test::ValueBuilder<Id>().SetSource(Source("port/tablet.xml")).Build(), port, in TEST() 77 .SetValue(test::ValueBuilder<Id>().SetSource(Source("default.xml")).Build()) in TEST() 83 .SetValue(test::ValueBuilder<Id>().SetSource(Source("tablet.xml")).Build(), {}, "tablet") in TEST() 105 .SetValue(test::ValueBuilder<Id>().SetSource(Source("default.xml")).Build()) in TEST() 111 .SetValue(test::ValueBuilder<Id>().SetSource(Source("tablet.xml")).Build(), {}, "tablet") in TEST() 117 .SetValue(test::ValueBuilder<Id>().SetSource(Source("no-sdcard.xml")).Build(), {}, in TEST() 132 .SetValue(test::ValueBuilder<Id>().SetSource(Source(".xml")).Build()) in TEST() [all …]
|
D | TableMerger.h | 70 bool Merge(const Source& src, ResourceTable* table, bool overlay); 74 bool MergeAndMangle(const Source& src, const android::StringPiece& package, ResourceTable* table); 88 bool MergeImpl(const Source& src, ResourceTable* src_table, bool overlay, bool allow_new); 90 bool DoMerge(const Source& src, ResourceTablePackage* src_package, bool mangle_package,
|
/frameworks/native/libs/input/tests/ |
D | IdGenerator_test.cpp | 25 class IdGeneratorTest : public testing::TestWithParam<IdGenerator::Source> { 41 IdGenerator::Source source = IdGenerator::getSource(id); in TEST_P() 49 testing::Values(IdGenerator::Source::INPUT_READER, 50 IdGenerator::Source::INPUT_DISPATCHER, 51 IdGenerator::Source::OTHER));
|
/frameworks/native/services/inputflinger/ |
D | InputClassifierConverter.cpp | 24 static common::V1_0::Source getSource(uint32_t source) { in getSource() 25 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_UNKNOWN) == in getSource() 26 common::V1_0::Source::UNKNOWN, "SOURCE_UNKNOWN mismatch"); in getSource() 27 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_KEYBOARD) == in getSource() 28 common::V1_0::Source::KEYBOARD, "SOURCE_KEYBOARD mismatch"); in getSource() 29 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_DPAD) == in getSource() 30 common::V1_0::Source::DPAD, "SOURCE_DPAD mismatch"); in getSource() 31 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_GAMEPAD) == in getSource() 32 common::V1_0::Source::GAMEPAD, "SOURCE_GAMEPAD mismatch"); in getSource() 33 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_TOUCHSCREEN) == in getSource() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.h | 97 enum Source {SOURCE_SINK = 0, SOURCE_SCRATCH = 1}; enum 135 static Source fbSourceForCompositionType(CompositionType); 136 status_t dequeueBuffer(Source, PixelFormat, uint64_t usage, int* sslot, sp<Fence>*); 147 static int mapSource2ProducerSlot(Source, int sslot); 148 static int mapProducer2SourceSlot(Source, int pslot); 252 static const char* dbgSourceStr(Source s);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerSource.h | 34 struct NuPlayer::Source : public AHandler { struct 66 explicit Source(const sp<AMessage> ¬ify) in Source() argument 149 virtual ~Source() {} in ~Source() argument 165 DISALLOW_EVIL_CONSTRUCTORS(Source); argument
|
/frameworks/base/tools/aapt2/io/ |
D | ZipArchive.h | 35 ZipFile(::ZipArchiveHandle handle, const ::ZipEntry& entry, const Source& source); 39 const Source& GetSource() const override; 45 Source source_;
|
D | FileSystem.h | 30 explicit RegularFile(const Source& source); 34 const Source& GetSource() const override; 39 Source source_;
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InlineSuggestionInfo.java | 43 public static final @Source String SOURCE_AUTOFILL = "android:autofill"; 47 public static final @Source String SOURCE_PLATFORM = "android:platform"; 64 private final @NonNull @Source String mSource; 89 @NonNull @Source String source, in newInlineSuggestionInfo() 104 @NonNull @Source String source, in newInlineSuggestionInfo() 135 public @interface Source {} annotation in InlineSuggestionInfo 164 @NonNull @Source String source, in InlineSuggestionInfo() 215 public @NonNull @Source String getSource() { in getSource()
|
/frameworks/base/core/proto/android/hardware/ |
D | sensorprivacy.proto | 2 * Copyright (C) 2020 The Android Open Source Project 73 enum Source { enum 83 // Source for which sensor privacy was toggled. 84 optional Source source = 1;
|
/frameworks/base/core/java/android/view/ |
D | ContentInfo.java | 55 public @interface Source {} annotation in ContentInfo 99 static String sourceToString(@Source int source) { in sourceToString() 139 @Source 203 @Source 295 @Source 326 public Builder(@NonNull ClipData clip, @Source int source) { in Builder() 348 public Builder setSource(@Source int source) { in setSource()
|