/system/tools/hidl/ |
D | Location.cpp | 56 Location::Location(const Position& begin, const Position& end) in Location() function in android::Location 59 void Location::setLocation(const Position& begin, const Position& end) { in setLocation() 65 bool Location::isValid() const { in isValid() 69 const Position& Location::begin() const { in begin() 73 const Position& Location::end() const { in end() 77 Location Location::startOf(const std::string& path) { in startOf() 78 return Location(Position(path, 1, 1), Position(path, 1, 1)); in startOf() 81 bool Location::inSameFile(const Location& lhs, const Location& rhs) { in inSameFile() 85 bool Location::intersect(const Location& lhs, const Location& rhs) { in intersect() 90 bool Location::operator<(const Location& loc) const { in operator <() [all …]
|
D | Location.h | 28 Location { \ 56 struct Location { struct 57 Location() = default; 58 Location(const Position& begin, const Position& end); 66 static Location startOf(const std::string& path); 68 static bool inSameFile(const Location& lhs, const Location& rhs); 69 static bool intersect(const Location& lhs, const Location& rhs); 71 bool operator<(const Location& loc) const; 82 std::ostream& operator<<(std::ostream& ostr, const Location& loc); argument
|
D | DocComment.h | 44 DocComment(const std::string& comment, const Location& location, 47 DocComment(const std::vector<std::string>& lines, const Location& location, 56 const Location& location() const { return mLocation; } in location() 61 Location mLocation;
|
D | NamedType.h | 31 NamedType(const std::string& localName, const FQName& fullName, const Location& loc, 43 const Location& location() const; 52 const Location mLocation;
|
D | Reference.h | 39 Reference(const std::string& localName, const FQName& fqName, const Location& location, 47 Reference(const std::string& localName, T* type, const Location& location, 65 Reference(const Reference<OtherT>& ref, const Location& location) in Reference() 118 const Location& location() const { in location() 134 Location mLocation; 154 NamedReference(const std::string& name, const Reference<T>& reference, const Location& location) in NamedReference()
|
D | hidl-gen_y-helpers.h | 27 struct Location; 31 android::Location convertYYLoc(const yy::parser::location_type& loc, const android::AST* ast);
|
D | main.cpp | 69 Coordinator::Location location, std::string* file) const { in getOutputFile() 78 Coordinator::Location location, in appendOutputFiles() 80 if (location == Coordinator::Location::STANDARD_OUT) { in appendOutputFiles() 97 Coordinator::Location location) const { in generate() 127 Coordinator::Location mLocation; // how to compute location relative to the output directory 509 status_t err = coordinator->getFilepath(fqName, Coordinator::Location::PACKAGE_ROOT, in isTestPackage() 1053 Coordinator::Location::STANDARD_OUT, 1068 Coordinator::Location::GEN_OUTPUT, 1077 Coordinator::Location::GEN_OUTPUT, 1086 Coordinator::Location::GEN_OUTPUT, [all …]
|
D | NamedType.cpp | 23 NamedType::NamedType(const std::string& localName, const FQName& fullName, const Location& loc, in NamedType() 43 const Location &NamedType::location() const { in location()
|
D | Method.h | 57 std::vector<Annotation*>* annotations, const Location& location); 109 const Location& location() const; 125 const Location mLocation;
|
D | EnumType.h | 34 EnumType(const std::string& localName, const FQName& fullName, const Location& location, 150 EnumValue(const std::string& name, ConstantExpression* value, const Location& location); 162 const Location& location() const; 167 const Location mLocation;
|
/system/tools/hidl/test/host_test/ |
D | main.cpp | 74 using Location = Coordinator::Location; in TEST_F() typedef 87 EXPECT_EQ_OK("foo/x.y", coordinator.getFilepath, kName, Location::DIRECT, "x.y"); in TEST_F() 88 EXPECT_EQ_OK("foo/a1/b1/c/1.2/x.y", coordinator.getFilepath, kName, Location::PACKAGE_ROOT, in TEST_F() 90 EXPECT_EQ_OK("foo/a/b/c/1.2/x.y", coordinator.getFilepath, kName, Location::GEN_OUTPUT, "x.y"); in TEST_F() 91 EXPECT_EQ_OK("foo/a/b/c/V1_2/x.y", coordinator.getFilepath, kName, Location::GEN_SANITIZED, in TEST_F() 95 EXPECT_EQ_OK("foo/", coordinator.getFilepath, kName, Location::DIRECT, ""); in TEST_F() 96 EXPECT_EQ_OK("foo/a1/b1/c/1.2/", coordinator.getFilepath, kName, Location::PACKAGE_ROOT, ""); in TEST_F() 97 EXPECT_EQ_OK("foo/a/b/c/1.2/", coordinator.getFilepath, kName, Location::GEN_OUTPUT, ""); in TEST_F() 98 EXPECT_EQ_OK("foo/a/b/c/V1_2/", coordinator.getFilepath, kName, Location::GEN_SANITIZED, ""); in TEST_F() 102 Location a{{"file", 3, 4}, {"file", 3, 5}}; in TEST_F() [all …]
|
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | ApkArchive.java | 57 final static class Location { class in ApkArchive 61 public Location(long offset, long size) { in Location() method in ApkArchive.Location 81 Location cdLoc = getCDLocation(); in extractMetadata() 85 Location sigLoc = getSignatureLocation(cdLoc.offset); in extractMetadata() 120 private Location findCDRecord(ByteBuffer buf) { in findCDRecord() 141 return new Location(offset, size); in findCDRecord() 145 Location getCDLocation() throws IOException { in getCDLocation() 151 Location location = findCDRecord(mChannel.map(FileChannel.MapMode.READ_ONLY, eocdRecord, in getCDLocation() 162 Location getSignatureLocation(long cdRecordOffset) throws IOException { in getSignatureLocation() 184 return new Location(offset, size); in getSignatureLocation() [all …]
|
/system/core/adb/fastdeploy/deploypatchgenerator/ |
D | apk_archive.h | 37 struct Location { struct 58 std::string ReadMetadata(Location loc) const; argument 61 Location GetCDLocation(); 65 Location GetSignatureLocation(off_t cdRecordOffset); 72 Location FindCDRecord(const char* cursor);
|
D | apk_archive_test.cpp | 32 ApkArchive::Location GetCDLocation() { return archive_.GetCDLocation(); } in GetCDLocation() 33 ApkArchive::Location GetSignatureLocation(size_t start) { in GetSignatureLocation() 45 ApkArchive::Location cdLoc = archiveTester.GetCDLocation(); in TEST() 51 ApkArchive::Location sigLoc = archiveTester.GetSignatureLocation(cdLoc.offset); in TEST()
|
D | apk_archive.cpp | 92 Location cdLoc = GetCDLocation(); in ExtractMetadata() 101 Location sigLoc = GetSignatureLocation(cdLoc.offset); in ExtractMetadata() 131 ApkArchive::Location ApkArchive::FindCDRecord(const char* cursor) { in FindCDRecord() 145 Location location; in FindCDRecord() 152 ApkArchive::Location ApkArchive::GetCDLocation() { in GetCDLocation() 154 Location location; in GetCDLocation() 176 ApkArchive::Location ApkArchive::GetSignatureLocation(off_t cdRecordOffset) { in GetSignatureLocation() 177 Location location; in GetSignatureLocation() 204 std::string ApkArchive::ReadMetadata(Location loc) const { in ReadMetadata()
|
/system/core/libunwindstack/include/unwindstack/ |
D | Regs.h | 42 struct Location { struct 43 Location(LocationEnum type, int16_t value) : type(type), value(value) {} in Location() argument 49 Regs(uint16_t total_regs, const Location& return_loc) in Regs() argument 86 Location return_loc_; 93 RegsImpl(uint16_t total_regs, Location return_loc) in RegsImpl()
|
/system/bt/stack/include/ |
D | btu.h | 47 void btu_hcif_send_cmd_with_cb(const base::Location& posted_from, 63 bt_status_t do_in_main_thread(const base::Location& from_here, 65 bt_status_t do_in_main_thread_delayed(const base::Location& from_here,
|
/system/tools/hidl/lint/ |
D | Lint.h | 32 Lint(LintLevel level, const Location& location, const std::string& message = ""); 44 const Location& getLocation() const; 52 Location mLocation;
|
/system/bt/hci/include/ |
D | hci_layer.h | 75 base::Callback<void(const base::Location&, BT_HDR*)> send_data_cb); 100 void post_to_main_message_loop(const base::Location& from_here, BT_HDR* p_msg);
|
/system/bt/common/ |
D | message_loop_thread.h | 70 bool DoInThread(const base::Location& from_here, base::OnceClosure task); 176 bool DoInThreadDelayed(const base::Location& from_here,
|
/system/bt/btif/include/ |
D | btif_common.h | 178 extern bt_status_t do_in_jni_thread(const base::Location& from_here, 187 base::Callback<R(Args...)> jni_thread_wrapper(const base::Location& from_here, in jni_thread_wrapper() 190 [](const base::Location& from_here, base::Callback<R(Args...)> cb, in jni_thread_wrapper()
|
/system/core/adb/fastdeploy/deployagent/test/com/android/fastdeploy/ |
D | ApkArchiveTest.java | 44 ApkArchive.Location cdLoc = archive.getCDLocation(); in testApkArchiveSizes() 50 ApkArchive.Location sigLoc = archive.getSignatureLocation(cdLoc.offset); in testApkArchiveSizes()
|
/system/extras/power_profile/gps_on/Application/src/main/java/com/example/android/powerprofile/gpson/ |
D | GpsActivity.java | 22 import android.location.Location; 70 public void onLocationChanged(Location location) {} in initLocation()
|
/system/bt/stack/btu/ |
D | btu_task.cc | 91 bt_status_t do_in_main_thread(const base::Location& from_here, in do_in_main_thread() 100 bt_status_t do_in_main_thread_delayed(const base::Location& from_here, in do_in_main_thread_delayed()
|
/system/tools/hidl/lint/lints/ |
D | safeunion.cpp | 71 if (!Location::inSameFile(scope->location(), nextRef->location())) continue; in lintUnionRecursively() 74 if (Location::inSameFile(scope->location(), compoundType->location())) continue; in lintUnionRecursively()
|