/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() argument 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() argument 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_;
|
D | ResourceTable.h | 50 Source source; 56 Source source; 65 const Source& source) in Overlayable() 71 Source source; 109 Source source; 322 bool ValidateName(NameValidator validator, const ResourceNameRef& name, const Source& source,
|
D | Resources.proto | 2 * Copyright (C) 2016 The Android Open Source Project 38 message Source { message 132 Source source = 2; 142 Source source = 1; 154 Source source = 2; 174 Source source = 1; 230 Source source = 1; 380 Source source = 1; 433 Source source = 1; 449 Source parent_source = 2; [all …]
|
/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 | 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()
|
D | BCCContextImpl.h | 26 class Source; variable 37 llvm::SmallPtrSet<Source *, 2> mOwnSources;
|
D | BCCContext.cpp | 55 void BCCContext::addSource(Source &pSource) in addSource() 58 void BCCContext::removeSource(Source &pSource) in removeSource()
|
/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/tools/aapt2/link/ |
D | ProductFilter_test.cpp | 34 test::ValueBuilder<Id>().SetSource(Source("land/default.xml")).Build(), in TEST() 38 test::ValueBuilder<Id>().SetSource(Source("land/tablet.xml")).Build(), in TEST() 43 test::ValueBuilder<Id>().SetSource(Source("port/default.xml")).Build(), in TEST() 47 test::ValueBuilder<Id>().SetSource(Source("port/tablet.xml")).Build(), in TEST() 70 test::ValueBuilder<Id>().SetSource(Source("default.xml")).Build(), in TEST() 75 test::ValueBuilder<Id>().SetSource(Source("tablet.xml")).Build(), in TEST() 96 test::ValueBuilder<Id>().SetSource(Source("default.xml")).Build(), in TEST() 101 test::ValueBuilder<Id>().SetSource(Source("tablet.xml")).Build(), in TEST() 106 test::ValueBuilder<Id>().SetSource(Source("no-sdcard.xml")).Build(), in TEST() 120 test::ValueBuilder<Id>().SetSource(Source(".xml")).Build(), in TEST() [all …]
|
D | TableMerger.h | 68 bool Merge(const Source& src, ResourceTable* table, bool overlay); 72 bool MergeAndMangle(const Source& src, const android::StringPiece& package, ResourceTable* table); 86 bool MergeImpl(const Source& src, ResourceTable* src_table, bool overlay, bool allow_new); 88 bool DoMerge(const Source& src, ResourceTablePackage* src_package, bool mangle_package,
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 195 public static abstract class Source { class in ImageDecoder 196 private Source() {} in Source() method in ImageDecoder.Source 220 private static class ByteArraySource extends Source { 236 private static class ByteBufferSource extends Source { 254 private static class ContentResolverSource extends Source { 295 @NonNull Source source) throws IOException { in createFromFile() 320 boolean closeInputStream, Source source) throws IOException { in createFromStream() 343 Source source) throws IOException { in createFromAssetFileDescriptor() 370 private static class InputStreamSource extends Source { 409 public static class AssetInputStreamSource extends Source { [all …]
|
/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 138 static Source fbSourceForCompositionType(CompositionType type); 139 status_t dequeueBuffer(Source source, PixelFormat format, uint64_t usage, 151 static int mapSource2ProducerSlot(Source source, int sslot); 152 static int mapProducer2SourceSlot(Source 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 65 explicit Source(const sp<AMessage> ¬ify) in Source() argument 146 virtual ~Source() {} in ~Source() argument 162 DISALLOW_EVIL_CONSTRUCTORS(Source); argument
|
D | NuPlayer.cpp | 267 sp<Source> source; in setDataSourceAsync() 462 sp<Source> source; in resetAsync() 561 mSource = static_cast<Source *>(obj.get()); in onMessageReceived() 1031 if (mSourceFlags & Source::FLAG_DYNAMIC_DURATION) { in onMessageReceived() 1496 if (!(mSourceFlags & Source::FLAG_SECURE)) { in onInstantiateSecureDecoders() 1927 if (mSourceFlags & Source::FLAG_SECURE) { in instantiateDecoder() 1931 if (mSourceFlags & Source::FLAG_PROTECTED) { in instantiateDecoder() 1990 (mSourceFlags & Source::FLAG_SECURE) != 0); in instantiateDecoder() 2477 case Source::kWhatInstantiateSecureDecoders: in onSourceNotify() 2494 case Source::kWhatPrepared: in onSourceNotify() [all …]
|
/frameworks/base/tools/aapt2/io/ |
D | FileSystem.h | 30 explicit RegularFile(const Source& source); 34 const Source& GetSource() const override; 39 Source source_;
|
D | ZipArchive.h | 35 ZipFile(::ZipArchiveHandle handle, const ::ZipEntry& entry, const Source& source); 39 const Source& GetSource() const override; 45 Source source_;
|