Home
last modified time | relevance | path

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

12345678910>>...148

/frameworks/base/core/java/android/os/
DCommonTimeUtils.java16 package android.os;
50 android.os.Parcel data = android.os.Parcel.obtain(); in transactGetInt()
51 android.os.Parcel reply = android.os.Parcel.obtain(); in transactGetInt()
71 android.os.Parcel data = android.os.Parcel.obtain(); in transactSetInt()
72 android.os.Parcel reply = android.os.Parcel.obtain(); in transactSetInt()
92 android.os.Parcel data = android.os.Parcel.obtain(); in transactGetLong()
93 android.os.Parcel reply = android.os.Parcel.obtain(); in transactGetLong()
113 android.os.Parcel data = android.os.Parcel.obtain(); in transactSetLong()
114 android.os.Parcel reply = android.os.Parcel.obtain(); in transactSetLong()
134 android.os.Parcel data = android.os.Parcel.obtain(); in transactGetString()
[all …]
DCommonClock.java16 package android.os;
20 import android.os.Binder;
21 import android.os.CommonTimeUtils;
22 import android.os.IBinder;
23 import android.os.Parcel;
24 import android.os.RemoteException;
25 import android.os.ServiceManager;
342 android.os.Parcel data = android.os.Parcel.obtain(); in registerTimelineChangeListener()
343 android.os.Parcel reply = android.os.Parcel.obtain(); in registerTimelineChangeListener()
374 android.os.Parcel data = android.os.Parcel.obtain(); in unregisterTimelineChangeListener()
[all …]
DCommonTimeConfig.java16 package android.os;
21 import android.os.CommonTimeUtils;
22 import android.os.IBinder;
23 import android.os.RemoteException;
24 import android.os.ServiceManager;
359 android.os.Parcel data = android.os.Parcel.obtain(); in forceNetworklessMasterMode()
360 android.os.Parcel reply = android.os.Parcel.obtain(); in forceNetworklessMasterMode()
/frameworks/base/packages/Keyguard/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/volley/src/main/java/com/android/volley/toolbox/
DDiskBasedCache.java19 import android.os.SystemClock;
427 public boolean writeHeader(OutputStream os) { in writeHeader() argument
429 writeInt(os, CACHE_MAGIC); in writeHeader()
430 writeString(os, key); in writeHeader()
431 writeString(os, etag == null ? "" : etag); in writeHeader()
432 writeLong(os, serverDate); in writeHeader()
433 writeLong(os, lastModified); in writeHeader()
434 writeLong(os, ttl); in writeHeader()
435 writeLong(os, softTtl); in writeHeader()
436 writeStringStringMap(responseHeaders, os); in writeHeader()
[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',
Dlit.site.cfg21 import os
27 tool = os.getenv(env_var)
30 if tool and os.path.isfile(tool):
40 return os.path.abspath(tool)
43 config.build_top = os.getenv('ANDROID_BUILD_TOP')
45 config.base_build_path = os.path.join(config.build_top, 'out', 'host',
53 os.path.join(config.base_build_path, 'bin'))
57 'TEST_JIT_DEBUGINFO', os.path.join(config.build_top, 'frameworks', \
66 'ANDROID_GDB_PLUGIN', os.path.join(config.build_top, 'frameworks',
68 config.gdb_plugin_directory = os.path.dirname(config.gdb_plugin)
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DMessengerService.java17 package android.os;
21 import android.os.RemoteException;
22 import android.os.IBinder;
23 import android.os.Handler;
24 import android.os.Message;
25 import android.os.Messenger;
/frameworks/base/core/tests/inputmethodtests/
Drun_core_inputmethod_test.sh24os.InputMethodTest,android.os.InputMethodSubtypeTest,android.os.InputMethodSubtypeArrayTest,androi…
/frameworks/compile/slang/tests/
Dtest.py12 import os
31 if not os.path.isfile(actual):
35 if not os.path.isfile(expect):
67 os.chdir(dirname)
161 os.remove('stdout.txt')
162 os.remove('stderr.txt')
167 os.chdir('..')
203 if os.path.isdir(arg):
210 tmp_files = os.listdir('.')
214 if os.path.isdir(f) and (f[0:2] == 'F_' or f[0:2] == 'P_'):
[all …]
/frameworks/base/tools/layoutlib/rename_font/
Dbuild_font.py27 import os
68 if not os.path.isdir(directory):
73 cwd = os.getcwd()
74 os.chdir(dest_dir)
77 os.remove(filename)
78 os.chdir(cwd)
81 for dirname, dirnames, filenames in os.walk(src_dir):
83 input_path = os.path.join(dirname, filename)
84 extension = os.path.splitext(filename)[1].lower()
98 filename = os.path.basename(input_path)
[all …]
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DServiceManagerPermissionTests.java19 import com.android.internal.os.BinderInternal;
21 import android.os.Binder;
22 import android.os.IPermissionController;
23 import android.os.RemoteException;
24 import android.os.ServiceManager;
25 import android.os.ServiceManagerNative;
DVibratorServicePermissionTest.java22 import android.os.Binder;
23 import android.os.IVibratorService;
24 import android.os.Process;
25 import android.os.RemoteException;
26 import android.os.ServiceManager;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DUiccPhoneBookController.java21 import android.os.ServiceManager;
22 import android.os.RemoteException;
49 String newTag, String newPhoneNumber, String pin2) throws android.os.RemoteException { in updateAdnRecordsInEfBySearch()
58 String pin2) throws android.os.RemoteException { in updateAdnRecordsInEfBySearchForSubscriber()
74 String newPhoneNumber, int index, String pin2) throws android.os.RemoteException { in updateAdnRecordsInEfByIndex()
82 String newPhoneNumber, int index, String pin2) throws android.os.RemoteException { in updateAdnRecordsInEfByIndexForSubscriber()
96 public int[] getAdnRecordsSize(int efid) throws android.os.RemoteException { in getAdnRecordsSize()
102 getAdnRecordsSizeForSubscriber(int subId, int efid) throws android.os.RemoteException { in getAdnRecordsSizeForSubscriber()
115 public List<AdnRecord> getAdnRecordsInEf(int efid) throws android.os.RemoteException { in getAdnRecordsInEf()
121 throws android.os.RemoteException { in getAdnRecordsInEfForSubscriber()
/frameworks/base/services/core/java/com/android/server/
DUpdateLockService.java22 import android.os.Binder;
23 import android.os.Handler;
24 import android.os.IBinder;
25 import android.os.IUpdateLock;
26 import android.os.RemoteException;
27 import android.os.TokenWatcher;
28 import android.os.UpdateLock;
29 import android.os.UserHandle;
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSessionService.java23 import android.os.Bundle;
24 import android.os.IBinder;
25 import android.os.Looper;
26 import android.os.Message;
27 import android.os.RemoteException;
28 import android.os.ServiceManager;
30 import com.android.internal.os.HandlerCaller;
31 import com.android.internal.os.SomeArgs;
/frameworks/base/core/java/android/os/storage/
DIObbActionListener.java17 package android.os.storage;
19 import android.os.Binder;
20 import android.os.IBinder;
21 import android.os.IInterface;
22 import android.os.Parcel;
23 import android.os.RemoteException;
116 android.os.IBinder.FLAG_ONEWAY); in onObbResult()
DIMountServiceListener.java17 package android.os.storage;
19 import android.os.Binder;
20 import android.os.IBinder;
21 import android.os.IInterface;
22 import android.os.Parcel;
23 import android.os.RemoteException;
154 _reply, android.os.IBinder.FLAG_ONEWAY); in onUsbMassStorageConnectionChanged()
181 android.os.IBinder.FLAG_ONEWAY); in onStorageStateChanged()
200 android.os.IBinder.FLAG_ONEWAY); in onVolumeStateChanged()
216 android.os.IBinder.FLAG_ONEWAY); in onVolumeRecordChanged()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DTestedActivity.java20 import android.os.Handler;
21 import android.os.Looper;
22 import android.os.Message;
23 import android.os.MessageQueue;
24 import android.os.Bundle;
DLocalDialog.java22 import android.os.Handler;
23 import android.os.Looper;
24 import android.os.Message;
25 import android.os.MessageQueue;
DLocalActivity.java22 import android.os.Handler;
23 import android.os.Looper;
24 import android.os.Message;
25 import android.os.MessageQueue;
/frameworks/volley/src/test/java/com/android/volley/toolbox/
DPoolingByteArrayOutputStreamTest.java60 PoolingByteArrayOutputStream os = new PoolingByteArrayOutputStream(pool); in writeOneBuffer() local
61 os.write(data); in writeOneBuffer()
63 assertTrue(Arrays.equals(data, os.toByteArray())); in writeOneBuffer()
71 PoolingByteArrayOutputStream os = new PoolingByteArrayOutputStream(pool); in writeBytesIndividually() local
73 os.write(data[i]); in writeBytesIndividually()
76 assertTrue(Arrays.equals(data, os.toByteArray())); in writeBytesIndividually()
/frameworks/base/docs/html/training/multiple-threads/
Dcommunicate-ui.jd41 from a background thread to the UI thread, use a {@link android.os.Handler} that's
46 {@link android.os.Handler} is part of the Android system's framework for managing threads. A
47 {@link android.os.Handler} object receives messages and runs code to handle the messages.
48 Normally, you create a {@link android.os.Handler} for a new thread, but you can
49 also create a {@link android.os.Handler} that's connected to an existing thread.
50 When you connect a {@link android.os.Handler} to your UI thread, the code that handles messages
54 Instantiate the {@link android.os.Handler} object in the constructor for the class that
56 thread by instantiating it with the {@link android.os.Handler#Handler(Looper) Handler(Looper)}
57 constructor. This constructor uses a {@link android.os.Looper} object, which is another part of
59 {@link android.os.Handler} based on a particular {@link android.os.Looper} instance, the
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java19 import android.os.Binder;
20 import android.os.IBinder;
21 import android.os.IPowerManager;
24 import android.os.Handler;
25 import android.os.ServiceManager;
26 import android.os.PowerManager;
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTakeScreenshotService.java21 import android.os.Handler;
22 import android.os.IBinder;
23 import android.os.Message;
24 import android.os.Messenger;
25 import android.os.RemoteException;

12345678910>>...148