Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 5698) sorted by relevance

12345678910>>...228

/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h238 static inline void PrintTo(const Buffer& settings, ::std::ostream* os) { in PrintTo() argument
239 *os << "Buffer {"; in PrintTo()
240 *os << "\n .buffer = " << settings.buffer.get() << " " in PrintTo()
243 *os << "\n .fence = " << settings.fence.get(); in PrintTo()
244 *os << "\n .textureName = " << settings.textureName; in PrintTo()
245 *os << "\n .useTextureFiltering = " << settings.useTextureFiltering; in PrintTo()
246 *os << "\n .textureTransform = "; in PrintTo()
247 PrintMatrix(settings.textureTransform, os); in PrintTo()
248 *os << "\n .usePremultipliedAlpha = " << settings.usePremultipliedAlpha; in PrintTo()
249 *os << "\n .isOpaque = " << settings.isOpaque; in PrintTo()
[all …]
DDisplaySettings.h118 static inline void PrintTo(const DisplaySettings& settings, ::std::ostream* os) { in PrintTo() argument
119 *os << "DisplaySettings {"; in PrintTo()
120 *os << "\n .physicalDisplay = "; in PrintTo()
121 PrintTo(settings.physicalDisplay, os); in PrintTo()
122 *os << "\n .clip = "; in PrintTo()
123 PrintTo(settings.clip, os); in PrintTo()
124 *os << "\n .maxLuminance = " << settings.maxLuminance; in PrintTo()
125 *os << "\n .currentLuminanceNits = " << settings.currentLuminanceNits; in PrintTo()
126 *os << "\n .outputDataspace = "; in PrintTo()
127 PrintTo(settings.outputDataspace, os); in PrintTo()
[all …]
/frameworks/av/media/codec2/vndk/util/
DC2Debug.cpp98 std::ostream& operator<<(std::ostream& os, const C2Param::CoreIndex &i) { in operator <<() argument
99 return os << "Param::CoreIndex(" << attribParamCoreIndex(i) << ")"; in operator <<()
102 std::ostream& operator<<(std::ostream& os, const C2Param::Type &i) { in operator <<() argument
103 return os << StringPrintf("Param::Type(%08x: ", i.type()) in operator <<()
107 std::ostream& operator<<(std::ostream& os, const C2Param::Index &i) { in operator <<() argument
108 return os << StringPrintf("Param::Index(%08x: ", (uint32_t)i) in operator <<()
119 std::ostream& operator<<(std::ostream& os, const _C2FieldId &i) { in operator <<() argument
120 return os << "<" << attribFieldId(i) << ">"; in operator <<()
124 std::ostream& operator<<(std::ostream& os, const C2FieldDescriptor &i) { in operator <<() argument
125 os << attribFieldId(_C2ParamInspector::GetField(i)) << " "; in operator <<()
[all …]
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DLayerSettings.h195 static inline void PrintTo(const Buffer& settings, ::std::ostream* os) { in PrintTo() argument
196 *os << "Buffer {"; in PrintTo()
197 *os << "\n .buffer = " << settings.buffer.get(); in PrintTo()
198 *os << "\n .fence = " << settings.fence.get(); in PrintTo()
199 *os << "\n .textureName = " << settings.textureName; in PrintTo()
200 *os << "\n .useTextureFiltering = " << settings.useTextureFiltering; in PrintTo()
201 *os << "\n .textureTransform = " << settings.textureTransform; in PrintTo()
202 *os << "\n .usePremultipliedAlpha = " << settings.usePremultipliedAlpha; in PrintTo()
203 *os << "\n .isOpaque = " << settings.isOpaque; in PrintTo()
204 *os << "\n .isY410BT2020 = " << settings.isY410BT2020; in PrintTo()
[all …]
DDisplaySettings.h73 static inline void PrintTo(const DisplaySettings& settings, ::std::ostream* os) { in PrintTo() argument
74 *os << "DisplaySettings {"; in PrintTo()
75 *os << "\n .physicalDisplay = "; in PrintTo()
76 PrintTo(settings.physicalDisplay, os); in PrintTo()
77 *os << "\n .clip = "; in PrintTo()
78 PrintTo(settings.clip, os); in PrintTo()
79 *os << "\n .maxLuminance = " << settings.maxLuminance; in PrintTo()
80 *os << "\n .outputDataspace = "; in PrintTo()
81 PrintTo(settings.outputDataspace, os); in PrintTo()
82 *os << "\n .colorTransform = " << settings.colorTransform; in PrintTo()
[all …]
/frameworks/rs/
Dbuild_rs.py21 import os
28 THIS_DIR = os.path.realpath(os.path.dirname(__file__))
29 ORIG_ENV = dict(os.environ)
33 out_dir = os.path.realpath(os.path.join(THIS_DIR, '../..', *args))
42 if not os.path.isabs(top_out):
43 top_out = os.path.realpath(top_out)
44 out_dir = os.path.join(top_out, *args)
104 install_dir = os.path.join(install_host_dir, package_name)
108 if os.path.exists(install_host_dir):
114 package_path = os.path.join(dist_dir, tarball_name) + '.tar.bz2'
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-unsupported.txt1 Landroid/accessibilityservice/IAccessibilityServiceConnection$Stub;->asInterface(Landroid/os/IBinde…
2 Landroid/accounts/IAccountAuthenticator$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
3 Landroid/accounts/IAccountAuthenticator$Stub$Proxy;->mRemote:Landroid/os/IBinder;
5 Landroid/accounts/IAccountAuthenticator$Stub;->asInterface(Landroid/os/IBinder;)Landroid/accounts/I…
6 Landroid/accounts/IAccountAuthenticatorResponse$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
7 Landroid/accounts/IAccountAuthenticatorResponse$Stub$Proxy;->mRemote:Landroid/os/IBinder;
9 Landroid/accounts/IAccountAuthenticatorResponse$Stub;->asInterface(Landroid/os/IBinder;)Landroid/ac…
10 Landroid/accounts/IAccountManager$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
12 Landroid/accounts/IAccountManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/accounts/IAccoun…
13 Landroid/accounts/IAccountManagerResponse$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
[all …]
/frameworks/base/config/
Dboot-profile.txt1 Landroid/os/Trace;->isTagEnabled(J)Z
2 Lcom/android/internal/os/ZygoteInit;->preloadClasses()V
3 Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V
4 Landroid/os/Trace;->traceEnd(J)V
109 Landroid/os/Parcel;->readInt()I
110 Landroid/os/Parcel;->readLong()J
111 Lcom/android/internal/os/BatteryStatsImpl$TimeBase;->add(Lcom/android/internal/os/BatteryStatsImpl$…
112 Lcom/android/internal/os/BatteryStatsImpl$Timer;-><init>(Lcom/android/internal/os/BatteryStatsImpl$…
113 Landroid/os/BatteryStats$Timer;-><init>()V
114 Lcom/android/internal/os/BatteryStatsImpl$Timer;->readSummaryFromParcelLocked(Landroid/os/Parcel;)V
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFE.h104 friend std::ostream& operator<<(std::ostream& os, const BlurSetting& setting) {
105 return os << toString(setting);
200 ::std::ostream* os) { in PrintTo() argument
201 *os << "ClientCompositionTargetSettings{"; in PrintTo()
202 *os << "\n .clip = \n"; in PrintTo()
203 PrintTo(settings.clip, os); in PrintTo()
204 *os << "\n .needsFiltering = " << settings.needsFiltering; in PrintTo()
205 *os << "\n .isSecure = " << settings.isSecure; in PrintTo()
206 *os << "\n .supportsProtectedContent = " << settings.supportsProtectedContent; in PrintTo()
207 *os << "\n .viewport = "; in PrintTo()
[all …]
/frameworks/native/libs/binder/tests/unit_fuzzers/
DPersistableBundleFuzzFunctions.h37 void(FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const&, String16*)>>
39 {[](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle,
41 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle,
46 [](FuzzedDataProvider* fdp, std::shared_ptr<os::PersistableBundle> const& p_bundle,
54 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle,
56 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle,
58 [](FuzzedDataProvider* fdp, std::shared_ptr<os::PersistableBundle> const& p_bundle,
63 [](FuzzedDataProvider* fdp, std::shared_ptr<os::PersistableBundle> const& p_bundle,
68 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle,
70 os::PersistableBundle value = os::PersistableBundle();
[all …]
/frameworks/base/libs/hwui/tests/unit/
DStringUtilsTests.cpp41 std::stringstream os; in TEST() local
42 os << SizePrinter{500}; in TEST()
43 EXPECT_EQ("500.00B", os.str()); in TEST()
44 os.str(""); in TEST()
45 os << SizePrinter{46080}; in TEST()
46 EXPECT_EQ("45.00KiB", os.str()); in TEST()
47 os.str(""); in TEST()
48 os << SizePrinter{5 * 1024 * 1024 + 520 * 1024}; in TEST()
49 EXPECT_EQ("5.51MiB", os.str()); in TEST()
50 os.str(""); in TEST()
[all …]
/frameworks/native/libs/ui/include/ui/
DBlurRegion.h50 static inline void PrintTo(const BlurRegion& blurRegion, ::std::ostream* os) { in PrintTo() argument
51 *os << "BlurRegion {"; in PrintTo()
52 *os << "\n .blurRadius = " << blurRegion.blurRadius; in PrintTo()
53 *os << "\n .cornerRadiusTL = " << blurRegion.cornerRadiusTL; in PrintTo()
54 *os << "\n .cornerRadiusTR = " << blurRegion.cornerRadiusTR; in PrintTo()
55 *os << "\n .cornerRadiusBL = " << blurRegion.cornerRadiusBL; in PrintTo()
56 *os << "\n .cornerRadiusBR = " << blurRegion.cornerRadiusBR; in PrintTo()
57 *os << "\n .alpha = " << blurRegion.alpha; in PrintTo()
58 *os << "\n .left = " << blurRegion.left; in PrintTo()
59 *os << "\n .top = " << blurRegion.top; in PrintTo()
[all …]
/frameworks/base/packages/SystemUI/scripts/
Dnew_merge.py3 import os
15 return os.path.isfile(path) and os.access(path, os.X_OK)
17 path, file = os.path.split(program)
21 for path in os.environ["PATH"].split(os.pathsep):
22 exe = os.path.join(path, program)
45 if ("DIFF_TOOL" in os.environ and len(os.environ["DIFF_TOOL"]) > 0):
46 DIFF_TOOL=which(os.environ["DIFF_TOOL"])
113 if (os.path.exists(TEMP_FILE1)):
114 os.remove(TEMP_FILE1)
116 if (os.path.exists(TEMP_FILE2)):
[all …]
/frameworks/base/media/lib/tvremote/api/
Dcurrent.txt6 …method public void clearInputBridge(@NonNull android.os.IBinder) throws java.lang.RuntimeException;
7 …method public void closeInputBridge(@NonNull android.os.IBinder) throws java.lang.RuntimeException;
8 method public android.os.IBinder getBinder();
10 method public void onInputBridgeConnected(@NonNull android.os.IBinder);
11 …method public void openGamepadBridge(@NonNull android.os.IBinder, @NonNull String) throws java.lan…
12 …method public void openRemoteInputBridge(@NonNull android.os.IBinder, @NonNull String, int, int, i…
13 …method public void sendGamepadAxisValue(@NonNull android.os.IBinder, int, @FloatRange(from=-1.0F, …
14 …method public void sendGamepadKeyDown(@NonNull android.os.IBinder, int) throws java.lang.RuntimeEx…
15 …method public void sendGamepadKeyUp(@NonNull android.os.IBinder, int) throws java.lang.RuntimeExce…
16 …method public void sendKeyDown(@NonNull android.os.IBinder, int) throws java.lang.RuntimeException;
[all …]
/frameworks/base/libs/hwui/tests/scripts/
Dprocess_systrace.py3 import codecs, httplib, json, os, urllib, shutil, subprocess, sys, argparse
7 script_dir = os.path.dirname(os.path.abspath(sys.argv[0]))
8 catapult_src_dir = os.path.join(script_dir, 'catapult-upstream')
13 parser.add_argument('--output_file', dest='outfile', default=os.path.join(os.getcwd(), 'mapper_outp…
20 if not os.path.exists(catapult_src_dir):
29 mapper_func_file = os.path.join(script_dir, 'systrace_parser.html')
30 path_to_process_traces = os.path.join(catapult_src_dir, 'trace_processor/bin/process_traces')
33 sys.exit(os.system(run_command))
/frameworks/rs/tests/java_api/RSUnitTests/
DRSUnitTests.py34 import os
284 return os.path.dirname(os.path.realpath(__file__))
289 return os.path.join(ThisScriptDir(), 'src', 'com', 'android', 'rs',
295 return os.path.join(ThisScriptDir(), 'supportlibonlysrc', 'com',
301 return os.path.join(ThisScriptDir(), 'supportlibsrc_gen', 'com',
320 in_path = os.path.join(java_file_dir, java_file_name)
321 out_path = os.path.join(SupportLibGenTestDir(), java_file_name)
336 in_path = os.path.join(rs_file_dir, rs_file_name)
337 out_path = os.path.join(SupportLibGenTestDir(), rs_file_name)
353 with open(os.path.join(SupportLibGenTestDir(), shared_rsh), 'a') as shared:
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DBinaryXmlTest.java29 import android.os.PersistableBundle;
57 final ByteArrayOutputStream os = new ByteArrayOutputStream(); in testLargeInterned_Binary() local
58 out.setOutput(os, StandardCharsets.UTF_8.name()); in testLargeInterned_Binary()
67 final ByteArrayInputStream is = new ByteArrayInputStream(os.toByteArray()); in testLargeInterned_Binary()
97 final ByteArrayOutputStream os = new ByteArrayOutputStream(); in doTranscode() local
98 secondOut.setOutput(os, StandardCharsets.UTF_8.name()); in doTranscode()
103 final PersistableBundle actual = doPersistableBundleRead(secondIn, os.toByteArray()); in doTranscode()
111 try (OutputStream os = new FileOutputStream(file)) { in testResolve_File() argument
113 xml.setOutput(os, StandardCharsets.UTF_8.name()); in testResolve_File()
122 try (OutputStream os = new FileOutputStream(file)) { in testResolve_File() argument
[all …]
/frameworks/base/core/java/android/os/vibrator/
DVibrationConfig.java17 package android.os.vibrator;
19 import static android.os.VibrationAttributes.USAGE_ACCESSIBILITY;
20 import static android.os.VibrationAttributes.USAGE_ALARM;
21 import static android.os.VibrationAttributes.USAGE_COMMUNICATION_REQUEST;
22 import static android.os.VibrationAttributes.USAGE_HARDWARE_FEEDBACK;
23 import static android.os.VibrationAttributes.USAGE_MEDIA;
24 import static android.os.VibrationAttributes.USAGE_NOTIFICATION;
25 import static android.os.VibrationAttributes.USAGE_PHYSICAL_EMULATION;
26 import static android.os.VibrationAttributes.USAGE_RINGTONE;
27 import static android.os.VibrationAttributes.USAGE_TOUCH;
[all …]
/frameworks/base/cmds/incidentd/src/
DPrivacy.cpp25 namespace os { namespace
28 using namespace android::os;
37 strstream os; in toString() local
38 os << "Privacy{field_id=" << field_id << " type=" << ((int)type) in toString()
40 return os.str(); in toString()
73 case android::os::PRIVACY_POLICY_AUTOMATIC: in PrivacySpec()
74 case android::os::PRIVACY_POLICY_EXPLICIT: in PrivacySpec()
75 case android::os::PRIVACY_POLICY_LOCAL: in PrivacySpec()
79 mPolicy = android::os::PRIVACY_POLICY_AUTOMATIC; in PrivacySpec()
94 return mPolicy == android::os::PRIVACY_POLICY_LOCAL; in RequireAll()
/frameworks/base/core/java/com/android/internal/os/
DTEST_MAPPING11 { "include-filter": "com.android.internal.os.BatteryStatsTests" },
12 { "exclude-annotation": "com.android.internal.os.SkipPresubmit" }
29 { "include-filter": "com.android.internal.os.BinderDeathDispatcherTest" },
30 { "exclude-annotation": "com.android.internal.os.SkipPresubmit" }
50 "include-filter": "com.android.internal.os.KernelCpuUidFreqTimeReaderTest"
53 "include-filter": "com.android.internal.os.KernelCpuUidActiveTimeReaderTest"
56 "include-filter": "com.android.internal.os.KernelCpuUidClusterTimeReaderTest"
59 "include-filter": "com.android.internal.os.KernelSingleUidTimeReaderTest"
62 "include-filter": "com.android.internal.os.KernelCpuUidBpfMapReaderTest"
78 "include-filter": "com.android.internal.os.BstatsCpuTimesValidationTest"
DUserPowerCalculator.java17 package com.android.internal.os;
19 import android.os.BatteryConsumer;
20 import android.os.BatteryStats;
21 import android.os.BatteryUsageStats;
22 import android.os.BatteryUsageStatsQuery;
23 import android.os.Process;
24 import android.os.UidBatteryConsumer;
25 import android.os.UserHandle;
/frameworks/native/cmds/lshal/
DNullableOStream.h27 explicit NullableOStream(S &os) : mOs(&os) {} in NullableOStream() argument
28 explicit NullableOStream(S *os) : mOs(os) {} in NullableOStream() argument
29 NullableOStream &operator=(S &os) {
30 mOs = &os;
33 NullableOStream &operator=(S *os) {
34 mOs = os;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java19 import static android.os.BatteryManager.BATTERY_HEALTH_OVERHEAT;
20 import static android.os.BatteryManager.BATTERY_HEALTH_UNKNOWN;
21 import static android.os.BatteryManager.BATTERY_STATUS_FULL;
22 import static android.os.BatteryManager.BATTERY_STATUS_UNKNOWN;
23 import static android.os.BatteryManager.EXTRA_HEALTH;
24 import static android.os.BatteryManager.EXTRA_LEVEL;
25 import static android.os.BatteryManager.EXTRA_MAX_CHARGING_CURRENT;
26 import static android.os.BatteryManager.EXTRA_MAX_CHARGING_VOLTAGE;
27 import static android.os.BatteryManager.EXTRA_PLUGGED;
28 import static android.os.BatteryManager.EXTRA_PRESENT;
[all …]
/frameworks/proto_logging/stats/stats_log_api_gen/
Dtest.proto43 repeated android.os.statsd.AttributionNode attribution_chain = 1;
128 repeated android.os.statsd.AttributionNode attribution = 2;
145 optional ComplexField bf = 2 [(android.os.statsd.log_mode) = MODE_BYTES];
175 optional int32 uid = 1 [(android.os.statsd.state_field_option).primary_field = true];
180 repeated android.os.statsd.AttributionNode attribution = 1
181 [(android.os.statsd.state_field_option).primary_field = true];
182 optional int32 state = 2 [(android.os.statsd.state_field_option).exclusive_state = true];
188 optional int32 uid = 1 [(android.os.statsd.state_field_option).primary_field = true];
189 optional int32 state = 2 [(android.os.statsd.state_field_option).exclusive_state = true];
190 optional int32 state2 = 3 [(android.os.statsd.state_field_option).exclusive_state = true];
[all …]
/frameworks/compile/libbcc/tests/debuginfo/
Dllvm-lit3 import os
9 android_source_root = os.getenv('ANDROID_BUILD_TOP', ".")
10 llvm_source_root = os.path.join(android_source_root, 'external', 'llvm')
11 libbcc_source_root = os.path.join(android_source_root, 'frameworks', 'compile',
15 sys.path.append(os.path.join(llvm_source_root, 'utils', 'lit'))
20 'llvm_site_config' : os.path.join(libbcc_source_root, 'test', 'debuginfo',

12345678910>>...228