Home
last modified time | relevance | path

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

1234567891011

/system/unwinding/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 …]
/system/core/fastboot/testdata/
DAndroid.bp40 cmd: "$(location fastboot_gen_rand) --seed dtb --length 1024 > $(out)",
48 cmd: "$(location fastboot_gen_rand) --seed bootconfig --length 1024 > $(out)",
56 cmd: "$(location fastboot_gen_rand) --seed vendor_ramdisk_none --length 1024 > $(out)",
64 cmd: "$(location fastboot_gen_rand) --seed vendor_ramdisk_platform --length 1024 > $(out)",
72 cmd: "$(location fastboot_gen_rand) --seed replace --length 3072 > $(out)",
77 fastboot_sign_test_image = "$(location avbtool) add_hash_footer --salt 00 --image $(out) " +
97 cmd: "$(location mkbootimg) --header_version 3 " +
98 "--vendor_ramdisk $(location :fastboot_test_vendor_ramdisk_none) " +
99 "--dtb $(location :fastboot_test_dtb) " +
113 cmd: "$(location mkbootimg) --header_version 4 " +
[all …]
/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()
/system/apex/apexer/
DAndroid.bp169 cmd: "HOST_OUT_BIN=$$(dirname $(location apexer)) && " +
181 "cp $(location apexer) $$BIN && " +
182 "cp $(location deapexer) $$BIN && " +
183 "cp $(location avbtool) $$BIN && " +
184 "cp $(location aapt2) $$BIN && " +
185 "cp $(location e2fsdroid) $$BIN && " +
186 "cp $(location make_erofs) $$BIN && " +
187 "cp $(location merge_zips) $$BIN && " +
188 "cp $(location mke2fs) $$BIN && " +
189 "cp $(location resize2fs) $$BIN && " +
[all …]
/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()
/system/extras/simpleperf/scripts/
Dpprof_proto_generator.py86 print('%d locations' % len(p.location))
87 for i in range(len(p.location)):
89 self.show_location(p.location[i], sub_space)
126 location = self.profile.location[location_id - 1]
127 self.show_location(location, space)
129 def show_location(self, location, space=''): argument
131 print('%sid: %d' % (space, location.id))
132 print('%smapping_id: %d' % (space, location.mapping_id))
133 self.show_mapping_id(location.mapping_id, sub_space)
134 print('%saddress: %x' % (space, location.address))
[all …]
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DChreCrossValidatorBase.java19 import android.hardware.location.ContextHubClient;
20 import android.hardware.location.ContextHubClientCallback;
21 import android.hardware.location.ContextHubInfo;
22 import android.hardware.location.ContextHubManager;
23 import android.hardware.location.ContextHubTransaction;
24 import android.hardware.location.NanoAppBinary;
25 import android.hardware.location.NanoAppMessage;
26 import android.hardware.location.NanoAppState;
/system/extras/simpleperf/scripts/test/
Dpprof_proto_generator_test.py118 for location in profile.location:
119 mapping = profile.mapping[location.mapping_id - 1]
120 self.assertLessEqual(mapping.memory_start, location.address)
121 self.assertGreaterEqual(mapping.memory_limit, location.address)
193 for location in profile.location:
194 if location.mapping_id != mapping.id:
196 addr = location.address - mapping.memory_start + mapping.file_offset
199 self.assertEqual(len(location.line), 1)
200 line = location.line[0]
228 location = generator.location_list[sample.location_ids[0] - 1]
[all …]
/system/tools/aidl/
Daidl_const_expressions.cpp378 AidlLocation location = specifier.GetLocation(); in Default() local
387 return Boolean(location, false); in Default()
390 return Character(location, "'\\0'"); // literal to be used in backends in Default()
393 return Integral(location, "0"); in Default()
396 return Floating(location, "0.0f"); in Default()
399 return Floating(location, "0.0"); in Default()
404 AidlConstantValue* AidlConstantValue::Boolean(const AidlLocation& location, bool value) { in Boolean() argument
405 return new AidlConstantValue(location, Type::BOOLEAN, value ? "true" : "false"); in Boolean()
408 AidlConstantValue* AidlConstantValue::Character(const AidlLocation& location, in Character() argument
415 AIDL_FATAL_IF(value.size() != 3 || value[0] != '\'' || value[2] != '\'', location) << value; in Character()
[all …]
Dlogging.cpp23 AidlErrorLog::AidlErrorLog(Severity severity, const AidlLocation& location, in AidlErrorLog() argument
25 : os_(&std::cerr), severity_(severity), location_(location), suffix_(suffix) { in AidlErrorLog()
29 (*os_) << location << ": "; in AidlErrorLog()
/system/bpf/bpfloader/
DBpfLoader.cpp178 int loadAllElfObjects(const android::bpf::Location& location) { in loadAllElfObjects() argument
183 if ((dir = opendir(location.dir)) != NULL) { in loadAllElfObjects()
188 string progPath(location.dir); in loadAllElfObjects()
192 int ret = android::bpf::loadProg(progPath.c_str(), &critical, location); in loadAllElfObjects()
286 for (const auto& location : locations) { in main() local
287 if (createSysFsBpfSubDir(location.prefix)) return 1; in main()
298 for (const auto& location : locations) { in main() local
299 if (loadAllElfObjects(location) != 0) { in main()
300 ALOGE("=== CRITICAL FAILURE LOADING BPF PROGRAMS FROM %s ===", location.dir); in main()
/system/chre/java/test/permissions/src/com/google/android/chre/test/permissions/
DContextHubChrePermissionsTestExecutor.java19 import android.hardware.location.ContextHubClient;
20 import android.hardware.location.ContextHubClientCallback;
21 import android.hardware.location.ContextHubInfo;
22 import android.hardware.location.ContextHubManager;
23 import android.hardware.location.ContextHubTransaction;
24 import android.hardware.location.NanoAppBinary;
25 import android.hardware.location.NanoAppMessage;
DContextHubFrameworkPermissionsTestExecutor.java23 import android.hardware.location.ContextHubClient;
24 import android.hardware.location.ContextHubClientCallback;
25 import android.hardware.location.ContextHubInfo;
26 import android.hardware.location.ContextHubManager;
27 import android.hardware.location.ContextHubTransaction;
28 import android.hardware.location.NanoAppBinary;
29 import android.hardware.location.NanoAppMessage;
/system/chre/java/utils/pigweed/src/com/google/android/chre/utils/pigweed/
DChreRpcClient.java19 import android.hardware.location.ContextHubClient;
20 import android.hardware.location.ContextHubClientCallback;
21 import android.hardware.location.ContextHubInfo;
22 import android.hardware.location.ContextHubManager;
23 import android.hardware.location.NanoAppRpcService;
24 import android.hardware.location.NanoAppState;
DChreIntentHandler.java18 import static android.hardware.location.ContextHubManager.AUTHORIZATION_DENIED;
19 import static android.hardware.location.ContextHubManager.AUTHORIZATION_GRANTED;
22 import android.hardware.location.ContextHubIntentEvent;
23 import android.hardware.location.ContextHubManager;
DChreCallbackHandler.java18 import static android.hardware.location.ContextHubManager.AUTHORIZATION_DENIED;
19 import static android.hardware.location.ContextHubManager.AUTHORIZATION_GRANTED;
21 import android.hardware.location.ContextHubClient;
22 import android.hardware.location.ContextHubClientCallback;
23 import android.hardware.location.NanoAppMessage;
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubBusyStartupTestExecutor.java18 import android.hardware.location.ContextHubInfo;
19 import android.hardware.location.ContextHubManager;
20 import android.hardware.location.NanoAppBinary;
DContextHubSimpleGeneralTestExecutor.java18 import android.hardware.location.ContextHubInfo;
19 import android.hardware.location.ContextHubManager;
20 import android.hardware.location.NanoAppBinary;
DContextHubChreApiTestExecutor.java20 import android.hardware.location.ContextHubClient;
21 import android.hardware.location.ContextHubClientCallback;
22 import android.hardware.location.ContextHubInfo;
23 import android.hardware.location.ContextHubManager;
24 import android.hardware.location.NanoAppBinary;
DContextHubTrivialNanoAppsTestExecutor.java18 import android.hardware.location.ContextHubInfo;
19 import android.hardware.location.ContextHubManager;
20 import android.hardware.location.NanoAppBinary;
DContextHubSimpleHeapAllocTestExecutor.java18 import android.hardware.location.ContextHubInfo;
19 import android.hardware.location.ContextHubManager;
20 import android.hardware.location.NanoAppBinary;
/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()

1234567891011