Home
last modified time | relevance | path

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

12345678910>>...73

/frameworks/base/tests/DumpRenderTree2/assets/
Drun_apache2.py26 import os
42 tmp_WebKit = os.path.join("/tmp", "WebKit")
43 if not os.path.exists(tmp_WebKit):
44 os.mkdir(tmp_WebKit)
48 parent = os.pardir
49 script_location = os.path.abspath(os.path.dirname(sys.argv[0]))
50 android_tree_root = os.path.join(script_location, parent, parent, parent, parent, parent)
51 android_tree_root = os.path.normpath(android_tree_root)
54 webkit_path = os.path.join("external", "webkit")
57 layout_tests_path = os.path.normpath(os.path.join(os.getcwd(), options.tests_root_directory))
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DIccPhoneBookInterfaceManagerProxy.java20 import android.os.AsyncResult;
21 import android.os.Handler;
22 import android.os.Looper;
23 import android.os.Message;
24 import android.os.ServiceManager;
56 String pin2) throws android.os.RemoteException { in updateAdnRecordsInEfBySearch()
63 String newPhoneNumber, int index, String pin2) throws android.os.RemoteException { in updateAdnRecordsInEfByIndex()
68 public int[] getAdnRecordsSize(int efid) throws android.os.RemoteException { in getAdnRecordsSize()
72 public List<AdnRecord> getAdnRecordsInEf(int efid) throws android.os.RemoteException { in getAdnRecordsInEf()
DIccSmsInterfaceManagerProxy.java20 import android.os.ServiceManager;
40 updateMessageOnIccEf(int index, int status, byte[] pdu) throws android.os.RemoteException { in updateMessageOnIccEf()
45 byte[] smsc) throws android.os.RemoteException { in copyMessageToIccEf()
49 public List<SmsRawData> getAllMessagesFromIccEf() throws android.os.RemoteException { in getAllMessagesFromIccEf()
66 List<PendingIntent> deliveryIntents) throws android.os.RemoteException { in sendMultipartText()
71 public boolean enableCellBroadcast(int messageIdentifier) throws android.os.RemoteException { in enableCellBroadcast()
75 public boolean disableCellBroadcast(int messageIdentifier) throws android.os.RemoteException { in disableCellBroadcast()
80 throws android.os.RemoteException { in enableCellBroadcastRange()
85 throws android.os.RemoteException { in disableCellBroadcastRange()
/frameworks/compile/slang/tests/
Dtest.py12 import os
33 if not os.path.isfile(actual):
37 if not os.path.isfile(expect):
62 os.chdir(dirname)
141 os.remove('stdout.txt')
142 os.remove('stderr.txt')
147 os.chdir('..')
179 if os.path.isdir(arg):
186 tmp_files = os.listdir('.')
190 if os.path.isdir(f) and (f[0:2] == 'F_' or f[0:2] == 'P_'):
[all …]
/frameworks/base/test-runner/src/android/test/
DLaunchPerformanceBase.java21 import android.os.Bundle;
22 import android.os.RemoteException;
23 import android.os.Debug;
24 import android.os.Process;
25 import android.os.ServiceManager;
26 import android.os.SystemClock;
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java24 import android.os.Binder;
25 import android.os.IBinder;
26 import android.os.IPowerManager;
34 import android.os.RemoteException;
35 import android.os.Vibrator;
36 import android.os.Bundle;
37 import android.os.Handler;
38 import android.os.LocalPowerManager;
39 import android.os.ServiceManager;
42 import android.os.SystemClock;
[all …]
DTestActivity.java26 import android.os.Vibrator;
27 import android.os.Bundle;
28 import android.os.Handler;
31 import android.os.SystemClock;
34 import android.os.PowerManager;
/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;
DFileUtilsTest.java17 package android.os;
20 import android.os.FileUtils;
21 import android.os.FileUtils.FileStatus;
69 FileOutputStream os = new FileOutputStream(mTestFile, false); in testGetFileStatus() local
70 os.write(MAGIC, 0, 4); in testGetFileStatus()
71 os.flush(); in testGetFileStatus()
72 os.close(); in testGetFileStatus()
95 FileOutputStream os = new FileOutputStream(mTestFile, true); in testGetFileStatus() local
96 os.write(MAGIC, 0, 4); in testGetFileStatus()
97 os.flush(); in testGetFileStatus()
[all …]
DBrightnessLimit.java17 package android.os;
19 import android.os.IPowerManager;
22 import android.os.Bundle;
23 import android.os.RemoteException;
24 import android.os.ServiceManager;
DTestHandlerThread.java17 package android.os;
19 import android.os.Handler;
20 import android.os.Looper;
21 import android.os.Message;
22 import android.os.MessageQueue.IdleHandler;
DMessengerTest.java17 package android.os;
23 import android.os.RemoteException;
24 import android.os.Handler;
25 import android.os.IBinder;
26 import android.os.Message;
27 import android.os.Messenger;
DHandlerThreadTest.java17 package android.os;
20 import android.os.Handler;
21 import android.os.HandlerThread;
22 import android.os.Message;
23 import android.os.Process;
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java19 import android.os.Binder;
20 import android.os.IBinder;
21 import android.os.IPowerManager;
22 import android.os.PowerManager;
23 import android.os.ServiceManager;
24 import android.os.RemoteException;
25 import android.os.BatteryManager;
/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;
/frameworks/base/tests/DumpRenderTree/assets/
Drun_layout_tests.py34 import os
46 fp = open(os.path.abspath(filename), "r");
126 diff_result = os.path.join(results_dir, "layout_tests_diff.txt")
127 if os.path.exists(diff_result):
128 os.remove(diff_result)
133 DiffResults(f, os.path.join(results_dir, result_file_name),
134 os.path.join(ref_dir, result_file_name), diff_result,
195 if not js_engine and os.environ.has_key('JS_ENGINE'):
196 js_engine = os.environ['JS_ENGINE']
241 if not os.path.exists(results_dir):
[all …]
/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()
DIMountShutdownObserver.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;
/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;
DLocalActivity.java22 import android.os.Handler;
23 import android.os.Looper;
24 import android.os.Message;
25 import android.os.MessageQueue;
DLocalScreen.java22 import android.os.Handler;
23 import android.os.Looper;
24 import android.os.Message;
25 import android.os.MessageQueue;
DLocalDialog.java22 import android.os.Handler;
23 import android.os.Looper;
24 import android.os.Message;
25 import android.os.MessageQueue;
/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;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBrightnessController.java21 import android.os.AsyncTask;
22 import android.os.IPowerManager;
23 import android.os.RemoteException;
24 import android.os.ServiceManager;
36 private static final int MINIMUM_BACKLIGHT = android.os.Power.BRIGHTNESS_DIM + 10;
37 private static final int MAXIMUM_BACKLIGHT = android.os.Power.BRIGHTNESS_ON;
/frameworks/base/core/java/android/app/
DIntentService.java20 import android.os.Handler;
21 import android.os.HandlerThread;
22 import android.os.IBinder;
23 import android.os.Looper;
24 import android.os.Message;

12345678910>>...73