Home
last modified time | relevance | path

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

12345678910>>...222

/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/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 …]
Dupdate-prebuilts.py23 import os
29 THIS_DIR = os.path.realpath(os.path.dirname(__name__))
30 ANDROID_DIR = os.path.realpath(os.path.join(THIS_DIR, '../..'))
36 return os.path.join(ANDROID_DIR, *args)
125 out_file_path = os.path.join(download_dir, pkg_name)
143 os.chdir(prebuilt_dir)
179 download_dir = os.path.realpath('.download')
180 if os.path.isdir(download_dir):
182 os.makedirs(download_dir)
/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 …]
/frameworks/base/non-updatable-api/
Dsystem-lint-baseline.txt36 …dia.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #0:
38 …dia.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #1:
40 …dia.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #2:
88 …tring, String[], android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<…
90 …dOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener, android.os.Handler, boolean):
92 …AccountsUpdatedListener(android.accounts.OnAccountsUpdateListener, android.os.Handler, boolean, St…
94 …ccounts.Account, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<…
96 …roid.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
98 …er#finishSession(android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<…
100 …String[], android.accounts.AccountManagerCallback<android.accounts.Account[]>, android.os.Handler):
[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/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/api/
Dsystem-lint-baseline.txt32 …dia.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #0:
34 …dia.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #1:
36 …dia.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #2:
76 MissingNullability: android.telephony.SmsCbCmasInfo#writeToParcel(android.os.Parcel, int) parameter…
80 MissingNullability: android.telephony.SmsCbEtwsInfo#writeToParcel(android.os.Parcel, int) parameter…
86 MissingNullability: android.telephony.SmsCbLocation#writeToParcel(android.os.Parcel, int) parameter…
90 MissingNullability: android.telephony.SmsCbMessage#writeToParcel(android.os.Parcel, int) parameter …
100 MissingNullability: android.telephony.cdma.CdmaSmsCbProgramData#writeToParcel(android.os.Parcel, in…
175 …tring, String[], android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<…
177 …dOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener, android.os.Handler, boolean):
[all …]
Dtest-lint-baseline.txt90 ArrayReturn: android.os.HwBlob#wrapArray(boolean[]):
92 ArrayReturn: android.os.HwBlob#wrapArray(byte[]):
94 ArrayReturn: android.os.HwBlob#wrapArray(double[]):
96 ArrayReturn: android.os.HwBlob#wrapArray(float[]):
98 ArrayReturn: android.os.HwBlob#wrapArray(int[]):
100 ArrayReturn: android.os.HwBlob#wrapArray(long[]):
102 ArrayReturn: android.os.HwBlob#wrapArray(short[]):
104 ArrayReturn: android.os.NativeHandle#NativeHandle(java.io.FileDescriptor[], int[], boolean) paramet…
106 ArrayReturn: android.os.NativeHandle#getFileDescriptors():
130 AutoBoxing: android.os.HwBlob#wrapArray(byte[]):
[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/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/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/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/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/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/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/tools/aapt2/tools/
Dfix_resources.py8 import os
9 import os.path
31 values_directories = os.listdir(res_path)
32 values_directories = map(lambda f: os.path.join(res_path, f), values_directories)
35 files = os.listdir(dir)
36 files = map(lambda f: os.path.join(dir, f), files)
49 dirname, basename = os.path.split(file_path)
54 os.rename(temp.name, file_path)
61 res_path = os.path.abspath(sys.argv[1])
/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',
/frameworks/base/test-mock/api/
Dsystem-current.txt8 method public void sendBroadcast(android.content.Intent, String, android.os.Bundle);
9 …ic void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, String, android.os.Bund…
10 …content.Intent, String, android.os.Bundle, android.content.BroadcastReceiver, android.os.Handler, …
25 method public int getPermissionFlags(String, String, android.os.UserHandle);
26 method public void grantRuntimePermission(String, String, android.os.UserHandle);
31 method public void revokeRuntimePermission(String, String, android.os.UserHandle);
33 …ic String[] setPackagesSuspended(String[], boolean, android.os.PersistableBundle, android.os.Persi…
36 method public void updatePermissionFlags(String, String, int, int, android.os.UserHandle);
/frameworks/base/identity/java/android/security/identity/
DCredstoreIdentityCredentialStore.java22 import android.os.ServiceManager;
49 } catch (android.os.RemoteException e) { in getInstanceForType()
51 } catch (android.os.ServiceSpecificException e) { in getInstanceForType()
92 } catch (android.os.RemoteException e) { in getSupportedDocTypes()
94 } catch (android.os.ServiceSpecificException e) { in getSupportedDocTypes()
108 } catch (android.os.RemoteException e) { in createCredential()
110 } catch (android.os.ServiceSpecificException e) { in createCredential()
130 } catch (android.os.RemoteException e) { in getCredentialByName()
132 } catch (android.os.ServiceSpecificException e) { in getCredentialByName()
151 } catch (android.os.ServiceSpecificException e) { in deleteCredentialByName()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBackgroundThread.java17 package com.android.internal.os;
19 import android.os.Handler;
20 import android.os.HandlerExecutor;
21 import android.os.HandlerThread;
22 import android.os.Looper;
23 import android.os.Trace;
38 super("android.bg", android.os.Process.THREAD_PRIORITY_BACKGROUND); in BackgroundThread()
/frameworks/compile/slang/tests/
Dslang_test.py25 import os
52 cwd = os.getcwd()
54 os.chdir(cwd)
79 if not os.path.isfile(actual):
83 if not os.path.isfile(expect):
146 GetOutDir.cache = os.environ['ANDROID_HOST_OUT']
201 os.remove('stdout.txt')
202 os.remove('stderr.txt')
274 os.chdir(dir_name)
336 os.chdir(os.path.dirname(os.path.abspath(__file__)))
[all …]
/frameworks/rs/tests/lldb/tests/testcases/
Dtest_source_step.py19 import os
38 file_dir = os.path.dirname(os.path.realpath(__file__))
39 app_root = os.path.join(file_dir, '..', '..')
42 'java': os.path.join(app_root, 'java', 'BranchingFunCalls', 'src', 'rs'),
43 'cpp': os.path.join(app_root, 'cpp', 'BranchingFunCalls'),
44 'jni': os.path.join(app_root, 'jni', 'BranchingFunCalls', 'jnibranchingfuncalls')
/frameworks/base/tools/stats_log_api_gen/
Dtest.proto43 repeated android.os.statsd.AttributionNode attribution_chain = 1;
105 repeated android.os.statsd.AttributionNode attribution = 2;
122 optional ComplexField bf = 2 [(android.os.statsd.log_mode) = MODE_BYTES];
152 [(android.os.statsd.state_field_option).option = PRIMARY];
157 repeated android.os.statsd.AttributionNode attribution = 1
158 [(android.os.statsd.state_field_option).option = PRIMARY];
160 [(android.os.statsd.state_field_option).option = EXCLUSIVE];
167 [(android.os.statsd.state_field_option).option = PRIMARY];
169 [(android.os.statsd.state_field_option).option = EXCLUSIVE];
171 [(android.os.statsd.state_field_option).option = EXCLUSIVE];
[all …]

12345678910>>...222