Home
last modified time | relevance | path

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

12345678910>>...151

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dencodings.h102 static void Encode(OutputStream& os, unsigned codepoint) { in Encode()
104 os.Put(static_cast<Ch>(codepoint & 0xFF)); in Encode()
106 os.Put(static_cast<Ch>(0xC0 | ((codepoint >> 6) & 0xFF))); in Encode()
107 os.Put(static_cast<Ch>(0x80 | ((codepoint & 0x3F)))); in Encode()
110 os.Put(static_cast<Ch>(0xE0 | ((codepoint >> 12) & 0xFF))); in Encode()
111 os.Put(static_cast<Ch>(0x80 | ((codepoint >> 6) & 0x3F))); in Encode()
112 os.Put(static_cast<Ch>(0x80 | (codepoint & 0x3F))); in Encode()
116 os.Put(static_cast<Ch>(0xF0 | ((codepoint >> 18) & 0xFF))); in Encode()
117 os.Put(static_cast<Ch>(0x80 | ((codepoint >> 12) & 0x3F))); in Encode()
118 os.Put(static_cast<Ch>(0x80 | ((codepoint >> 6) & 0x3F))); in Encode()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapMessage.java18 import android.os.RemoteException;
594 private static void writeParameter(OutputStream os, int id, int value, int length) in writeParameter() argument
598 os.write(id); in writeParameter()
599 os.write(0); in writeParameter()
600 os.write(0); in writeParameter()
601 os.write(length); in writeParameter()
605 os.write(value & 0xff); in writeParameter()
606 os.write(0); // Padding in writeParameter()
607 os.write(0); // Padding in writeParameter()
608 os.write(0); // padding in writeParameter()
[all …]
/packages/services/Car/car-lib/api/
Dsystem-1.txt5 ….car.Car createCar(android.content.Context, android.content.ServiceConnection, android.os.Handler);
175 method public abstract android.car.app.menu.RootMenu getRootMenu(android.os.Bundle);
225 method public abstract void onRestoreInstanceState(android.os.Bundle);
227 method public abstract void onSaveInstanceState(android.os.Bundle);
256 ctor public RootMenu(java.lang.String, android.os.Bundle);
257 method public android.os.Bundle getBundle();
269 method public abstract void onChildChanged(java.lang.String, android.os.Bundle);
270 … method public abstract void onChildrenLoaded(java.lang.String, java.util.List<android.os.Bundle>);
278 public class DisplayConfiguration implements android.os.Parcelable {
279 ctor public DisplayConfiguration(android.os.Parcel);
[all …]
Dsystem-current.txt5 ….car.Car createCar(android.content.Context, android.content.ServiceConnection, android.os.Handler);
177 method public abstract android.car.app.menu.RootMenu getRootMenu(android.os.Bundle);
227 method public abstract void onRestoreInstanceState(android.os.Bundle);
229 method public abstract void onSaveInstanceState(android.os.Bundle);
258 ctor public RootMenu(java.lang.String, android.os.Bundle);
259 method public android.os.Bundle getBundle();
271 method public abstract void onChildChanged(java.lang.String, android.os.Bundle);
272 … method public abstract void onChildrenLoaded(java.lang.String, java.util.List<android.os.Bundle>);
280 public class DisplayConfiguration implements android.os.Parcelable {
281 ctor public DisplayConfiguration(android.os.Parcel);
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DOsUtil.java22 import android.os.Build;
23 import android.os.UserHandle;
24 import android.os.UserManager;
25 import android.support.v4.os.BuildCompat;
51 sIsAtLeastICS_MR1 = v >= android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1;
52 sIsAtLeastJB = v >= android.os.Build.VERSION_CODES.JELLY_BEAN;
53 sIsAtLeastJB_MR1 = v >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR1;
54 sIsAtLeastJB_MR2 = v >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR2;
55 sIsAtLeastKLP = v >= android.os.Build.VERSION_CODES.KITKAT;
56 sIsAtLeastL = v >= android.os.Build.VERSION_CODES.LOLLIPOP;
[all …]
/packages/services/Car/car-support-lib/
Dproguard-release.flags3 <init>(android.os.Parcel);
9 public void writeToParcel(android.os.Parcel, int);
12 public static android.os.Parcelable$Creator CREATOR;
23 …tent getActivities(android.content.Context, int, android.content.Intent[], int, android.os.Bundle);
25 …ngIntent getActivity(android.content.Context, int, android.content.Intent, int, android.os.Bundle);
29 public android.os.UserHandle getCreatorUserHandle();
34 public static android.app.PendingIntent readPendingIntentOrNullFromParcel(android.os.Parcel);
38 public void send(int, android.app.PendingIntent$OnFinished, android.os.Handler);
39 …nt.Context, int, android.content.Intent, android.app.PendingIntent$OnFinished, android.os.Handler);
40 …int, android.content.Intent, android.app.PendingIntent$OnFinished, android.os.Handler, java.lang.S…
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebugActivity.java23 import android.os.AsyncTask;
24 import android.os.Bundle;
25 import android.os.Environment;
114 ZipOutputStream os = null; in doInBackground() local
125 os = new ZipOutputStream(new FileOutputStream(outFile)); in doInBackground()
126 os.putNextEntry(new ZipEntry(inFile.getName())); in doInBackground()
135 os.write(buf, 0, len); in doInBackground()
138 os.closeEntry(); in doInBackground()
141 os.flush(); in doInBackground()
142 os.close(); in doInBackground()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dencodingstest.cpp287 StringBuffer os, os2; in TEST() local
290 os.Clear(); in TEST()
291 UTF8<>::Encode(os, codepoint); in TEST()
292 const char* encodedStr = os.GetString(); in TEST()
338 GenericStringBuffer<UTF16<> > os, os2; in TEST() local
342 os.Clear(); in TEST()
343 UTF16<>::Encode(os, codepoint); in TEST()
344 const UTF16<>::Ch* encodedStr = os.GetString(); in TEST()
398 GenericStringBuffer<UTF32<> > os, os2; in TEST() local
401 os.Clear(); in TEST()
[all …]
/packages/apps/Camera2/src/com/android/camera/util/
DXmpUtil.java164 FileOutputStream os = null; in writeXMPMeta() local
167 os = new FileOutputStream(filename); in writeXMPMeta()
168 writeJpegFile(os, sections); in writeXMPMeta()
173 if (os != null) { in writeXMPMeta()
175 os.close(); in writeXMPMeta()
215 private static void writeJpegFile(OutputStream os, List<Section> sections) in writeJpegFile() argument
218 os.write(0xff); in writeJpegFile()
219 os.write(M_SOI); in writeJpegFile()
221 os.write(0xff); in writeJpegFile()
222 os.write(section.marker); in writeJpegFile()
[all …]
/packages/experimental/procstatlog/
Dprocstatreport.py21 import os
156 "user": cgi.escape(os.environ.get("USER", "unknown")),
160 files_dir = "%s_files" % os.path.splitext(filename)[0]
161 files_url = os.path.basename(files_dir)
162 if not os.path.isdir(files_dir): os.makedirs(files_dir)
197 os.path.join(files_dir, "total_cpu.csv"))
239 os.path.join(files_dir, "cpu_speed.csv"))
270 os.path.join(files_dir, "context_switches.csv"))
335 os.path.join(files_dir, "total_faults.csv"))
366 os.path.join(files_dir, "binder_calls.csv"))
[all …]
/packages/apps/UnifiedEmail/src/com/android/emailcommon/service/
DSearchParams.java19 import android.os.Parcel;
20 import android.os.Parcelable;
92 SearchParams os = (SearchParams) o; in equals() local
93 return mMailboxId == os.mMailboxId in equals()
94 && mIncludeChildren == os.mIncludeChildren in equals()
95 && mFilter.equals(os.mFilter) in equals()
96 && Objects.equal(mStartDate, os.mStartDate) in equals()
97 && Objects.equal(mEndDate, os.mEndDate) in equals()
98 && mLimit == os.mLimit in equals()
99 && mOffset == os.mOffset; in equals()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDataExporter.java65 try (ZipOutputStream os = new ZipOutputStream(new FileOutputStream(outFile))) { in exportData() argument
66 os.setLevel(Deflater.BEST_COMPRESSION); in exportData()
67 addDirectory(context, os, context.getFilesDir().getParentFile(), "contacts-files"); in exportData()
140 private static void addDirectory(Context context, ZipOutputStream os, File current, in addDirectory() argument
155 addDirectory(context, os, child, childStoredPath); in addDirectory()
157 addFile(os, child, childStoredPath); in addDirectory()
168 private static void addFile(ZipOutputStream os, File current, String storedPath) in addFile() argument
172 os.putNextEntry(new ZipEntry(storedPath)); in addFile()
181 os.write(buf, 0, len); in addFile()
184 os.closeEntry(); in addFile()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java28 import android.os.Binder;
29 import android.os.Build;
30 import android.os.ParcelUuid;
31 import android.os.Process;
32 import android.os.UserHandle;
33 import android.os.UserManager;
186 public static void copyStream(InputStream is, OutputStream os, int bufferSize) in copyStream() argument
188 if (is != null && os != null) { in copyStream()
192 os.write(buffer, 0, bytesRead); in copyStream()
207 public static void safeCloseStream(OutputStream os) { in safeCloseStream() argument
[all …]
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DStorageTest.java28 import android.os.Environment;
29 import android.os.StatFs;
79 mOriginal = libcore.io.Libcore.os; in setUp()
80 libcore.io.Libcore.os = new ForwardingOs(mOriginal) { in setUp()
83 return stealBytes(os.statvfs(path)); in setUp()
88 return stealBytes(os.fstatvfs(fd)); in setUp()
108 libcore.io.Libcore.os = mOriginal; in tearDown()
198 final FileOutputStream os = new FileOutputStream(dirtyFile); in prepareAndRunDownload() local
200 Os.posix_fallocate(os.getFD(), 0, dirtySize); in prepareAndRunDownload()
201 IoUtils.closeQuietly(os); in prepareAndRunDownload()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerService.java28 import android.os.Bundle;
29 import android.os.Environment;
30 import android.os.Handler;
31 import android.os.IBinder;
32 import android.os.Looper;
33 import android.os.Message;
34 import android.os.PowerManager;
35 import android.os.Process;
36 import android.os.UserManager;
37 import android.os.storage.StorageManager;
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dmisctest.cpp361 Writer1(OutputStream& os) : os_(&os) {} in Writer1() argument
363 void Reset(OutputStream& os) { in Reset() argument
364 os_ = &os; in Reset()
440 Writer2(OutputStream& os) : os_(&os) {} in Writer2() argument
442 void Reset(OutputStream& os) { in Reset() argument
443 os_ = &os; in Reset()
520 Writer3(OutputStream& os) : os_(&os) {} in Writer3() argument
522 void Reset(OutputStream& os) { in Reset() argument
523 os_ = &os; in Reset()
624 Writer4(OutputStream& os) : os_(&os) {} in Writer4() argument
[all …]
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileSystemUtils.java68 int os = OTHER;
77 os = WINDOWS;
88 os = UNIX;
91 os = POSIX_UNIX;
93 os = OTHER;
97 os = INIT_PROBLEM;
99 OS = os;
189 long freeSpaceOS(String path, int os, boolean kb) throws IOException { in freeSpaceOS() argument
193 switch (os) { in freeSpaceOS()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DMemoryDumpActivity.java26 import android.os.Build;
27 import android.os.Bundle;
28 import android.os.Environment;
29 import android.os.IBinder;
61 OutputStream os = new FileOutputStream(zipfilePath); in zipUp() local
62 zos = new ZipOutputStream(new BufferedOutputStream(os)); in zipUp()
97 final int myPid = android.os.Process.myPid(); in dumpHprofAndShare()
116 android.os.Debug.dumpHprofData(path); // will block in dumpHprofAndShare()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java19 import static android.os.Environment.buildExternalStorageAppCacheDirs;
20 import static android.os.Environment.buildExternalStorageAppFilesDirs;
21 import static android.os.Environment.buildExternalStorageAppMediaDirs;
22 import static android.os.Environment.buildExternalStorageAppObbDirs;
34 import android.os.Environment;
35 import android.os.FileUtils;
36 import android.os.Handler;
37 import android.os.HandlerThread;
38 import android.os.Process;
39 import android.os.SystemClock;
[all …]
/packages/apps/Nfc/src/com/android/nfc/handover/
DPeripheralHandoverService.java31 import android.os.Bundle;
32 import android.os.Handler;
33 import android.os.IBinder;
34 import android.os.Message;
35 import android.os.Messenger;
36 import android.os.Parcelable;
37 import android.os.ParcelUuid;
38 import android.os.RemoteException;
/packages/apps/Settings/src/com/android/settings/
DFallbackHome.java27 import android.os.Bundle;
28 import android.os.Handler;
29 import android.os.Message;
30 import android.os.UserHandle;
31 import android.os.PowerManager;
32 import android.os.SystemClock;
33 import android.os.UserManager;
/packages/services/Telephony/src/com/android/phone/
DNetworkQueryService.java23 import android.os.AsyncResult;
24 import android.os.Binder;
25 import android.os.Handler;
26 import android.os.IBinder;
27 import android.os.Message;
28 import android.os.RemoteCallbackList;
29 import android.os.RemoteException;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DSettingsHelper.java21 import android.os.AsyncTask;
22 import android.os.IBinder;
23 import android.os.Parcel;
24 import android.os.RemoteException;
25 import android.os.ServiceManager;
26 import android.os.SystemProperties;
/packages/services/Car/service/src/com/android/car/
DCarService.java18 import static android.os.SystemClock.elapsedRealtime;
26 import android.os.Binder;
27 import android.os.Build;
28 import android.os.IBinder;
29 import android.os.IHwBinder.DeathRecipient;
30 import android.os.RemoteException;
31 import android.os.SystemClock;
32 import android.os.SystemProperties;
/packages/apps/Settings/
Dwrap_alpha.py3 import os
6 for root, dirs, files in os.walk('.'):
14 os.rename(os.path.join(root, before), os.path.join(root, after))
17 for root, dirs, files in os.walk('.'):

12345678910>>...151