Home
last modified time | relevance | path

Searched refs:location (Results 1 – 25 of 156) sorted by relevance

1234567

/system/core/libunwindstack/tests/
DDwarfCfaTest.cpp111 auto location = loc_regs.find(3); in TYPED_TEST_P() local
112 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P()
113 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
114 ASSERT_EQ(32U, location->second.values[0]); in TYPED_TEST_P()
126 location = loc_regs.find(3); in TYPED_TEST_P()
127 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P()
128 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
129 ASSERT_EQ(1056U, location->second.values[0]); in TYPED_TEST_P()
142 auto location = loc_regs.find(3); in TYPED_TEST_P() local
143 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P()
[all …]
DVerifyBionicTerminationTest.cpp81 DwarfLocationEnum location = GetReturnAddressLocation(frame.rel_pc, interface->debug_frame()); in VerifyReturnAddress() local
82 if (location == DWARF_LOCATION_UNDEFINED) { in VerifyReturnAddress()
86 location = GetReturnAddressLocation(frame.rel_pc, interface->eh_frame()); in VerifyReturnAddress()
87 ASSERT_EQ(DWARF_LOCATION_UNDEFINED, location); in VerifyReturnAddress()
/system/tools/hidl/lint/lints/
Dsafeunion.cpp54 errors->push_back(Lint(ERROR, compoundType->location()) in lintUnionRecursively()
71 if (!Location::inSameFile(scope->location(), nextRef->location())) continue; in lintUnionRecursively()
74 if (Location::inSameFile(scope->location(), compoundType->location())) continue; in lintUnionRecursively()
76 errors->push_back(Lint(ERROR, nextRef->location()) in lintUnionRecursively()
78 << " located in " << compoundType->location().begin().filename() in lintUnionRecursively()
102 errors->push_back(Lint(ERROR, nextRef->location()) in lintUnionRecursively()
104 << " located in " << compoundType->location().begin().filename() in lintUnionRecursively()
DmethodDocComment.cpp102 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments()
109 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments()
117 Lint(WARNING, docComment->location()) in methodDocComments()
131 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments()
137 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments()
144 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments()
151 Lint(WARNING, docComment->location()) in methodDocComments()
162 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments()
167 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments()
DemptyStructs.cpp39 if (!Location::inSameFile(compoundType->location(), in checkSmallStructs()
40 ast.getRootScope().location())) { in checkSmallStructs()
46 Lint(ERROR, compoundType->location()) in checkSmallStructs()
50 errors->push_back(Lint(ERROR, compoundType->location()) in checkSmallStructs()
DnamingConventions.cpp43 if (!Location::inSameFile(ast.getRootScope().location(), namedType->location())) { in namingConventions()
56 errors->push_back(Lint(WARNING, namedType->location()) in namingConventions()
68 errors->push_back(Lint(WARNING, (*ref).location()) in namingConventions()
80 errors->push_back(Lint(WARNING, ev->location()) in namingConventions()
DenumMaxAndAll.cpp41 if (!Location::inSameFile(ast.getRootScope().location(), enumType->location())) { in enumValueNames()
62 errors->push_back(Lint(WARNING, ev->location(), errorString)); in enumValueNames()
/system/tools/hidl/
DReference.h39 Reference(const std::string& localName, const FQName& fqName, const Location& location,
43 mLocation(location), in mResolved()
47 Reference(const std::string& localName, T* type, const Location& location,
50 mLocation(location), in mResolved()
65 Reference(const Reference<OtherT>& ref, const Location& location) in Reference()
68 mLocation(location), in Reference()
118 const Location& location() const { in location() function
154 NamedReference(const std::string& name, const Reference<T>& reference, const Location& location) in NamedReference()
155 : Reference<T>(reference, location), mName(name) {} in NamedReference()
DDocComment.h44 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() function
DDocComment.cpp30 DocComment::DocComment(const std::string& comment, const Location& location, CommentType type) in DocComment() argument
31 : DocComment(std::vector<std::string>(), location, type) { in DocComment()
62 DocComment::DocComment(const std::vector<std::string>& lines, const Location& location, in DocComment() argument
64 : mLines(lines), mType(type), mLocation(location) {} in DocComment()
/system/core/adb/fastdeploy/deploypatchgenerator/
Dapk_archive.cpp145 Location location; in FindCDRecord() local
146 location.offset = header->offsetToCdHeader; in FindCDRecord()
147 location.size = header->crSize; in FindCDRecord()
148 location.valid = true; in FindCDRecord()
149 return location; in FindCDRecord()
154 Location location; in GetCDLocation() local
161 return location; in GetCDLocation()
166 location = FindCDRecord(mapped.data()); in GetCDLocation()
167 if (!location.valid) { in GetCDLocation()
170 return location; in GetCDLocation()
[all …]
/system/extras/simpleperf/scripts/
Dpprof_proto_generator.py74 print('%d locations' % len(p.location))
75 for i in range(len(p.location)):
77 self.show_location(p.location[i], sub_space)
113 location = self.profile.location[location_id - 1]
114 self.show_location(location, space)
116 def show_location(self, location, space=''): argument
118 print('%sid: %d' % (space, location.id))
119 print('%smapping_id: %d' % (space, location.mapping_id))
120 self.show_mapping_id(location.mapping_id, sub_space)
121 print('%saddress: %x' % (space, location.address))
[all …]
/system/tools/aidl/
Daidl_const_expressions.cpp218 AidlLocation location = specifier.GetLocation(); in Default() local
227 return Boolean(location, false); in Default()
230 return Integral(location, "0"); in Default()
233 return Floating(location, "0.0f"); in Default()
236 return Floating(location, "0.0"); in Default()
241 AidlConstantValue* AidlConstantValue::Boolean(const AidlLocation& location, bool value) { in Boolean() argument
242 return new AidlConstantValue(location, Type::BOOLEAN, value ? "true" : "false"); in Boolean()
245 AidlConstantValue* AidlConstantValue::Character(const AidlLocation& location, char value) { in Character() argument
248 AIDL_ERROR(location) << "Invalid character literal " << value; in Character()
249 return new AidlConstantValue(location, Type::ERROR, explicit_value); in Character()
[all …]
Daidl_language.cpp96 AidlNode::AidlNode(const AidlLocation& location) : location_(location) {} in AidlNode() argument
142 const AidlLocation& location, const string& name, in Parse() argument
159 AIDL_ERROR(location) << stream.str(); in Parse()
163 return new AidlAnnotation(location, *schema, {}); in Parse()
166 return new AidlAnnotation(location, *schema, std::move(*parameter_list)); in Parse()
170 const AidlLocation& location, const Schema& schema, in AidlAnnotation() argument
172 : AidlNode(location), schema_(schema), parameters_(std::move(parameters)) {} in AidlAnnotation()
259 AidlAnnotatable::AidlAnnotatable(const AidlLocation& location) : AidlNode(location) {} in AidlAnnotatable() argument
358 AidlTypeSpecifier::AidlTypeSpecifier(const AidlLocation& location, const string& unresolved_name, in AidlTypeSpecifier() argument
362 : AidlAnnotatable(location), in AidlTypeSpecifier()
[all …]
Daidl_language.h96 AidlNode(const AidlLocation& location);
174 const AidlLocation& location, const string& name,
202 AidlAnnotation(const AidlLocation& location, const Schema& schema,
219 AidlAnnotatable(const AidlLocation& location);
260 AidlTypeSpecifier(const AidlLocation& location, const string& unresolved_name, bool is_array,
328 AidlVariableDeclaration(const AidlLocation& location, AidlTypeSpecifier* type,
330 AidlVariableDeclaration(const AidlLocation& location, AidlTypeSpecifier* type,
367 AidlArgument(const AidlLocation& location, AidlArgument::Direction direction,
369 AidlArgument(const AidlLocation& location, AidlTypeSpecifier* type, const std::string& name);
397 AidlMember(const AidlLocation& location);
[all …]
Dhiddenapi-greylist155 "android.hardware.location.IActivityRecognitionHardware",
156 "android.hardware.location.IActivityRecognitionHardwareClient",
157 "android.hardware.location.IActivityRecognitionHardwareSink",
158 "android.hardware.location.IActivityRecognitionHardwareWatcher",
159 "android.hardware.location.IContextHubCallback",
160 "android.hardware.location.IContextHubClient",
161 "android.hardware.location.IContextHubClientCallback",
162 "android.hardware.location.IContextHubService",
163 "android.hardware.location.IContextHubTransactionCallback",
164 "android.hardware.location.IGeofenceHardware",
[all …]
/system/apex/shim/build/
DAndroid.bp28 cmd: "$(location avbtool) extract_public_key --key $(in) --output $(out)",
219 cmd: "$(location avbtool) extract_public_key --key $(in) --output $(out)",
294location :apksigner) rotate --out $(out) --old-signer --key $(location alice.pk8) --cert $(locatio…
308location :apksigner) rotate --out $(out) --old-signer --key $(location alice.pk8) --cert $(locatio…
325location :apksigner) sign --v1-signing-enabled false --v2-signing-enabled false --key $(location :…
343location :apksigner) sign --v1-signing-enabled false --v2-signing-enabled false --key $(location :…
361location :apksigner) sign --v1-signing-enabled false --v2-signing-enabled false --key $(location :…
378location :apksigner) sign --v1-signing-enabled false --v2-signing-enabled false --key $(location :…
396location :apksigner) sign --v1-signing-enabled false --v2-signing-enabled false --key $(location :…
418 cmd: "$(location zip2zip) -i $(in) -x apex_manifest.pb -o $(out)",
/system/bt/gd/dumpsys/
DAndroid.bp24 cmd: "$(location flatc) -I system/bt/gd -b --schema -o $(genDir) --cpp $(in) ",
46 cmd: "$(location flatc) -I system/bt/gd -b --schema -o $(genDir) --cpp $(in) ",
68 …cmd: "$(location bluetooth_flatbuffer_bundler) -w -m bluetooth.DumpsysData -f dumpsys_module_schem…
82 …cmd: "$(location bluetooth_flatbuffer_bundler) -w -m bluetooth.DumpsysData -f generated_dumpsys_bu…
96 …cmd: "$(location bluetooth_flatbuffer_bundler) -w -m testing.DumpsysTestDataRoot -f generated_dum…
110 cmd: "$(location flatc) -I system/bt/gd -b --schema -o $(genDir) --cpp $(in) ",
/system/tools/hidl/test/hash_test/
DAndroid.bp6 cmd: "$(location hidl-gen) -L check " +
11 "!($(location hidl-gen) -F -L check " +
16 "!($(location hidl-gen) -L check " +
21 "$(location hidl-gen) -L hash " +
/system/extras/power_profile/gps_on/Application/src/main/java/com/example/android/powerprofile/gpson/
DGpsActivity.java22 import android.location.Location;
23 import android.location.LocationManager;
24 import android.location.LocationListener;
70 public void onLocationChanged(Location location) {} in initLocation()
/system/tools/hidl/test/cpp_impl_test/
DAndroid.bp10 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-impl-headers android.hardware.tests.foo@1.0 && " +
11 "$(location hidl-gen) -o $(genDir) -r hidl.tests:system/tools/hidl/test/ " +
32 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-impl-sources android.hardware.tests.foo@1.0 && " +
33 "$(location hidl-gen) -o $(genDir) -r hidl.tests:system/tools/hidl/test/ " +
/system/tools/hidl/test/version_test/
DAndroid.bp6 cmd: "$(location hidl-gen) -L check " +
16 "($(location hidl-gen) -L check " +
20 "($(location hidl-gen) -L check " +
24 "($(location hidl-gen) -L check " +
28 "($(location hidl-gen) -L check " +
32 "($(location hidl-gen) -L check " +
/system/extras/simpleperf/
DJITDebugReader.cpp467 const DescriptorsLocation* location = GetDescriptorsLocation(art_lib_path, process.is_64bit); in InitializeProcess() local
468 if (location == nullptr) { in InitializeProcess()
471 process.descriptors_addr = location->relative_addr + min_vaddr_in_memory; in InitializeProcess()
472 process.descriptors_size = location->size; in InitializeProcess()
473 process.jit_descriptor_offset = location->jit_descriptor_offset; in InitializeProcess()
474 process.dex_descriptor_offset = location->dex_descriptor_offset; in InitializeProcess()
485 DescriptorsLocation& location = descriptors_location_cache_[art_lib_path]; in GetDescriptorsLocation() local
515 location.relative_addr = std::min(jit_addr, dex_addr); in GetDescriptorsLocation()
516 location.size = std::max(jit_addr, dex_addr) + in GetDescriptorsLocation()
518 location.relative_addr; in GetDescriptorsLocation()
[all …]
/system/core/init/test_utils/
Dservice_utils.cpp35 for (const auto& location : { in GetOnDeviceServiceInterfacesMap()
43 parser.ParseConfig(location); in GetOnDeviceServiceInterfacesMap()
/system/tools/hidl/test/error_test/
DAndroid.bp5 cmd: "$(location hidl_error_test.sh) $(location hidl-gen) &&" +

1234567