Home
last modified time | relevance | path

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

12345678910>>...248

/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/native/libs/renderengine/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)
95 install_dir = os.path.join(install_host_dir, package_name)
99 if os.path.exists(install_host_dir):
105 package_path = os.path.join(dist_dir, tarball_name) + '.tar.bz2'
[all …]
/frameworks/base/config/
Dhiddenapi-greylist.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 …]
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.h169 ::std::ostream* os) { in PrintTo() argument
170 *os << "ClientCompositionTargetSettings{"; in PrintTo()
171 *os << "\n .clip = \n"; in PrintTo()
172 PrintTo(settings.clip, os); in PrintTo()
173 *os << "\n .useIdentityTransform = " << settings.useIdentityTransform; in PrintTo()
174 *os << "\n .needsFiltering = " << settings.needsFiltering; in PrintTo()
175 *os << "\n .isSecure = " << settings.isSecure; in PrintTo()
176 *os << "\n .supportsProtectedContent = " << settings.supportsProtectedContent; in PrintTo()
177 *os << "\n .clearRegion = "; in PrintTo()
178 PrintTo(settings.clearRegion, os); in PrintTo()
[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/base/non-updatable-api/
Dsystem-lint-baseline.txt22 …dia.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #0:
24 …dia.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #1:
26 …dia.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #2:
74 …tring, String[], android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<…
76 …dOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener, android.os.Handler, boolean):
78 …AccountsUpdatedListener(android.accounts.OnAccountsUpdateListener, android.os.Handler, boolean, St…
80 …ccounts.Account, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<…
82 …roid.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
84 …er#finishSession(android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<…
86 …String[], android.accounts.AccountManagerCallback<android.accounts.Account[]>, android.os.Handler):
[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/startop/scripts/iorap/
Dcompiler_test.py31 import os
35 DIR = os.path.abspath(os.path.dirname(__file__))
36 TEXTCACHE = os.path.join(DIR, 'test_fixtures/compiler/common_textcache')
37 SYSTRACE = os.path.join(DIR, 'test_fixtures/compiler/common_systrace')
38 ARGV = [os.path.join(DIR, 'compiler.py'), '-i', TEXTCACHE, '-t', SYSTRACE]
39 PERFETTO_TRACE = os.path.join(DIR,
52 expected = os.path.join(DIR,
66 expected = os.path.join(DIR,
71 expected = os.path.join(DIR,
76 expected = os.path.join(DIR,
/frameworks/base/apex/statsd/
DAndroid.bp16 name: "com.android.os.statsd",
17 defaults: ["com.android.os.statsd-defaults"],
33 prebuilts: ["com.android.os.statsd.init.rc"],
34 name: "com.android.os.statsd-defaults",
37 key: "com.android.os.statsd.key",
38 certificate: ":com.android.os.statsd.certificate",
42 name: "com.android.os.statsd.key",
43 public_key: "com.android.os.statsd.avbpubkey",
44 private_key: "com.android.os.statsd.pem",
48 name: "com.android.os.statsd.certificate",
[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/base/api/
Dtest-lint-baseline.txt92 ArrayReturn: android.os.HwBlob#wrapArray(boolean[]):
94 ArrayReturn: android.os.HwBlob#wrapArray(byte[]):
96 ArrayReturn: android.os.HwBlob#wrapArray(double[]):
98 ArrayReturn: android.os.HwBlob#wrapArray(float[]):
100 ArrayReturn: android.os.HwBlob#wrapArray(int[]):
102 ArrayReturn: android.os.HwBlob#wrapArray(long[]):
104 ArrayReturn: android.os.HwBlob#wrapArray(short[]):
106 ArrayReturn: android.os.NativeHandle#NativeHandle(java.io.FileDescriptor[], int[], boolean) paramet…
108 ArrayReturn: android.os.NativeHandle#getFileDescriptors():
132 AutoBoxing: android.os.HwBlob#wrapArray(byte[]):
[all …]
Dsystem-lint-baseline.txt29 ArrayReturn: android.bluetooth.BluetoothUuid#containsAnyUuid(android.os.ParcelUuid[], android.os.Pa…
30 … should be Collection<ParcelUuid> (or subclass) instead of raw array; was `android.os.ParcelUuid[]`
31 ArrayReturn: android.bluetooth.BluetoothUuid#containsAnyUuid(android.os.ParcelUuid[], android.os.Pa…
32 … should be Collection<ParcelUuid> (or subclass) instead of raw array; was `android.os.ParcelUuid[]`
67 …Users(android.content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler):
81 ….hardware.soundtrigger.SoundTrigger.ModuleProperties#writeToParcel(android.os.Parcel, int) paramet…
97 …dia.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #0:
99 …dia.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #1:
101 …dia.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #2:
143 MissingNullability: android.telephony.ModemActivityInfo#writeToParcel(android.os.Parcel, int) param…
[all …]
/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/rs/tests/lldb/
Dconfig.py20 import os
67 return os.getenv('ANDROID_PRODUCT_OUT')
72 return os.path.join(os.getcwd(), 'LLDBTestsuiteLog.txt')
77 return os.path.join(os.getcwd(), 'results.xml')
103 return os.environ.get('ANDROID_SERIAL')
114 return os.path.join(os.path.dirname(__file__), '..', '..', '..', '..',
/frameworks/base/media/lib/tvremote/api/
Dcurrent.txt6 method public void clearInputBridge(android.os.IBinder) throws java.lang.RuntimeException;
7 method public void closeInputBridge(android.os.IBinder) throws java.lang.RuntimeException;
8 method public android.os.IBinder getBinder();
10 method public void onInputBridgeConnected(android.os.IBinder);
11 …method public void openRemoteInputBridge(android.os.IBinder, String, int, int, int) throws java.la…
12 method public void sendKeyDown(android.os.IBinder, int) throws java.lang.RuntimeException;
13 method public void sendKeyUp(android.os.IBinder, int) throws java.lang.RuntimeException;
14 …method public void sendPointerDown(android.os.IBinder, int, int, int) throws java.lang.RuntimeExce…
15 method public void sendPointerSync(android.os.IBinder) throws java.lang.RuntimeException;
16 method public void sendPointerUp(android.os.IBinder, int) throws java.lang.RuntimeException;
[all …]
/frameworks/base/apex/statsd/tests/libstatspull/src/com/android/internal/os/statsd/libstats/
DStatsConfigUtils.java16 package com.android.internal.os.statsd.libstats;
23 import com.android.internal.os.StatsdConfigProto.AtomMatcher;
24 import com.android.internal.os.StatsdConfigProto.FieldValueMatcher;
25 import com.android.internal.os.StatsdConfigProto.SimpleAtomMatcher;
26 import com.android.internal.os.StatsdConfigProto.StatsdConfig;
27 import com.android.os.AtomsProto.AppBreadcrumbReported;
28 import com.android.os.AtomsProto.Atom;
29 import com.android.os.StatsLog.ConfigMetricsReport;
30 import com.android.os.StatsLog.ConfigMetricsReportList;
31 import com.android.os.StatsLog.GaugeBucketInfo;
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DAppTrace.java18 import static android.os.Trace.TRACE_TAG_APP;
29 android.os.Trace.asyncTraceBegin(TRACE_TAG_APP, key, cookie); in start()
36 android.os.Trace.asyncTraceBegin(TRACE_TAG_APP, key, 0); in start()
43 android.os.Trace.asyncTraceEnd(TRACE_TAG_APP, key, 0); in end()
50 android.os.Trace.asyncTraceEnd(TRACE_TAG_APP, key, cookie); in end()
57 android.os.Trace.beginSection(key); in beginSection()
64 android.os.Trace.endSection(); in endSection()
71 android.os.Trace.traceCounter(TRACE_TAG_APP, name, count); in count()
/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/tools/stats_log_api_gen/
Dtest.proto43 repeated android.os.statsd.AttributionNode attribution_chain = 1;
106 repeated android.os.statsd.AttributionNode attribution = 2;
123 optional ComplexField bf = 2 [(android.os.statsd.log_mode) = MODE_BYTES];
152 optional int32 uid = 1 [(android.os.statsd.state_field_option).primary_field = true];
157 repeated android.os.statsd.AttributionNode attribution = 1
158 [(android.os.statsd.state_field_option).primary_field = true];
159 optional int32 state = 2 [(android.os.statsd.state_field_option).exclusive_state = true];
165 optional int32 uid = 1 [(android.os.statsd.state_field_option).primary_field = true];
166 optional int32 state = 2 [(android.os.statsd.state_field_option).exclusive_state = true];
167 optional int32 state2 = 3 [(android.os.statsd.state_field_option).exclusive_state = true];
[all …]
/frameworks/ml/nn/tools/test_generator/tests/
Dtest.py25 import os
53 cwd = os.getcwd()
55 os.chdir(cwd)
80 if not os.path.isfile(actual):
84 if not os.path.isfile(expect):
140 return os.path.abspath(os.path.join(OrigFile.OrigDir, "../"))
169 os.remove('stdout.txt')
170 os.remove('stderr.txt')
220 os.chdir(dir_name)
275 OrigFile.OrigDir = os.path.dirname(os.path.abspath(__file__))
[all …]
/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_UNKNOWN;
20 import static android.os.BatteryManager.BATTERY_STATUS_FULL;
21 import static android.os.BatteryManager.BATTERY_STATUS_UNKNOWN;
22 import static android.os.BatteryManager.EXTRA_HEALTH;
23 import static android.os.BatteryManager.EXTRA_LEVEL;
24 import static android.os.BatteryManager.EXTRA_MAX_CHARGING_CURRENT;
25 import static android.os.BatteryManager.EXTRA_MAX_CHARGING_VOLTAGE;
26 import static android.os.BatteryManager.EXTRA_PLUGGED;
27 import static android.os.BatteryManager.EXTRA_STATUS;
31 import android.os.BatteryManager;

12345678910>>...248