Home
last modified time | relevance | path

Searched refs:pi (Results 1 – 15 of 15) sorted by relevance

/system/apex/tests/app/src/com/android/tests/apex/app/
DApexCompressionTests.java76 PackageInfo pi = mPm.getPackageInfo( in testDecompressedApexIsConsideredFactory() local
78 assertThat(pi).isNotNull(); in testDecompressedApexIsConsideredFactory()
79 assertThat(pi.isApex).isTrue(); in testDecompressedApexIsConsideredFactory()
80 assertThat(pi.packageName).isEqualTo(COMPRESSED_APEX_PACKAGE_NAME); in testDecompressedApexIsConsideredFactory()
81 assertThat(pi.getLongVersionCode()).isEqualTo(1); in testDecompressedApexIsConsideredFactory()
82 boolean isFactoryPackage = (pi.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in testDecompressedApexIsConsideredFactory()
100 PackageInfo pi = mPm.getPackageInfo( in testCapexToApexSwitch() local
102 assertThat(pi).isNotNull(); in testCapexToApexSwitch()
103 assertThat(pi.isApex).isTrue(); in testCapexToApexSwitch()
104 assertThat(pi.packageName).isEqualTo(COMPRESSED_APEX_PACKAGE_NAME); in testCapexToApexSwitch()
[all …]
/system/extras/checkpoint_gc/
Dcheckpoint_gc.sh49 log -pi -t checkpoint_gc Turning on GC for userdata
56 log -pi -t checkpoint_gc ${METRIC}:${CURRENT} \(threshold:${THRESHOLD}\)
70 log -pi -t checkpoint_gc Timed out with gc threshold not met.
80 log -pi -t checkpoint_gc Leaving on low GC for userdata
/system/libbase/
Dproperties.cpp112 const prop_info* pi = __system_property_find(key.c_str()); in GetProperty() local
113 if (pi == nullptr) return default_value; in GetProperty()
115 __system_property_read_callback(pi, in GetProperty()
184 const prop_info* pi; in WaitForPropertyCreation() local
186 while ((pi = __system_property_find(key.c_str())) == nullptr) { in WaitForPropertyCreation()
193 return pi; in WaitForPropertyCreation()
199 const prop_info* pi = WaitForPropertyCreation(key, relative_timeout, start_time); in WaitForProperty() local
200 if (pi == nullptr) return false; in WaitForProperty()
208 __system_property_read_callback(pi, WaitForPropertyCallback, &data); in WaitForProperty()
214 if (!__system_property_wait(pi, data.last_read_serial, &unused, &ts)) return false; in WaitForProperty()
/system/core/fastboot/
Dfs.cpp41 PROCESS_INFORMATION pi; in exec_cmd() local
46 ZeroMemory(&pi, sizeof(pi)); in exec_cmd()
65 &pi) // Pointer to PROCESS_INFORMATION structure in exec_cmd()
72 WaitForSingleObject(pi.hProcess, INFINITE); in exec_cmd()
74 GetExitCodeProcess(pi.hProcess, &exit_code); in exec_cmd()
76 CloseHandle(pi.hProcess); in exec_cmd()
77 CloseHandle(pi.hThread); in exec_cmd()
/system/extras/simpleperf/
Dcommand.cpp34 bool Command::NextArgumentOrError(const std::vector<std::string>& args, size_t* pi) { in NextArgumentOrError() argument
35 if (*pi + 1 == args.size()) { in NextArgumentOrError()
36 LOG(ERROR) << "No argument following " << args[*pi] << " option. Try `simpleperf help " << name_ in NextArgumentOrError()
40 ++*pi; in NextArgumentOrError()
127 bool Command::GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value, in GetDoubleOption() argument
129 if (!NextArgumentOrError(args, pi)) { in GetDoubleOption()
132 if (!android::base::ParseDouble(args[*pi].c_str(), value, min, max)) { in GetDoubleOption()
133 LOG(ERROR) << "Invalid argument for option " << args[*pi - 1] << ": " << args[*pi]; in GetDoubleOption()
Dcommand.h168 bool GetUintOption(const std::vector<std::string>& args, size_t* pi, T* value, uint64_t min = 0,
170 if (!NextArgumentOrError(args, pi)) {
174 if (!android::base::ParseUint(args[*pi], &tmp_value, max, allow_suffixes) || tmp_value < min) {
175 LOG(ERROR) << "Invalid argument for option " << args[*pi - 1] << ": " << args[*pi];
182 bool GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value,
186 bool NextArgumentOrError(const std::vector<std::string>& args, size_t* pi);
/system/libvintf/include/vintf/
DVndk.h33 VndkVersionRange(size_t s, size_t v, size_t pi, size_t pa) in VndkVersionRange()
34 : sdk(s), vndk(v), patchMin(pi), patchMax(pa) {} in VndkVersionRange()
/system/core/libcutils/
Dproperties.cpp109 static void property_list_callback(const prop_info* pi, void* data) { in property_list_callback() argument
110 __system_property_read_callback(pi, trampoline, data); in property_list_callback()
/system/core/toolbox/
Dgetprop.cpp41 [](const prop_info* pi, void* cookie) { in PrintAllProperties() argument
43 pi, in PrintAllProperties()
/system/libufdt/sysdeps/
Dlibufdt_sysdeps_vendor.c65 TYPE *pi = (TYPE *)(parmi); \
68 TYPE t = *pi; \
69 *pi++ = *pj; \
/system/core/init/
Dpersistent_properties.cpp128 [](const prop_info* pi, void* cookie) { in LoadPersistentPropertiesFromMemory() argument
130 pi, in LoadPersistentPropertiesFromMemory()
Dproperty_service.cpp188 prop_info* pi = (prop_info*) __system_property_find(name.c_str()); in PropertySet() local
189 if (pi != nullptr) { in PropertySet()
196 __system_property_update(pi, value.c_str(), valuelen); in PropertySet()
/system/chre/external/kiss_fft/
Dkiss_fft.c366 const double pi=3.141592653589793238462643383279502884197169399375105820974944; in kiss_fft_alloc() local
367 double phase = -2*pi*i / nfft; in kiss_fft_alloc()
/system/extras/simpleperf/scripts/purgatorio/
Dpurgatorio.py78 graph.xaxis.major_label_orientation = math.pi/6
/system/logging/logcat/
Devent.logtags43 314 pi