Searched refs:out (Results 301 - 325 of 484) sorted by path

<<11121314151617181920

/frameworks/base/services/java/com/android/server/am/
H A DCompatModePackages.java348 XmlSerializer out = new FastXmlSerializer();
349 out.setOutput(fos, "utf-8");
350 out.startDocument(null, true);
351 out.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true);
352 out.startTag(null, "compat-packages");
381 out.startTag(null, "pkg");
382 out.attribute(null, "name", pkg);
383 out.attribute(null, "mode", Integer.toString(mode));
384 out.endTag(null, "pkg");
387 out
[all...]
H A DDeviceMonitor.java117 OutputStream out = new FileOutputStream(
123 dump(new File(processDirectory, "stat"), out);
129 dump(file, out);
132 closeQuietly(out);
151 private void dump(File from, OutputStream out) throws IOException { argument
152 writeHeader(from, out);
159 out.write(buffer, 0, count);
169 private static void writeHeader(File file, OutputStream out) argument
172 out.write(header.getBytes());
H A DLaunchWarningWindow.java41 TypedValue out = new TypedValue();
42 getContext().getTheme().resolveAttribute(android.R.attr.alertDialogIcon, out, true);
43 getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, out.resourceId);
H A DTransferPipe.java73 static void go(Caller caller, IInterface iface, FileDescriptor out, argument
75 go(caller, iface, out, prefix, args, DEFAULT_TIMEOUT);
78 static void go(Caller caller, IInterface iface, FileDescriptor out, argument
83 caller.go(iface, out, prefix, args);
92 tp.go(out, timeout);
98 static void goDump(IBinder binder, FileDescriptor out, argument
100 goDump(binder, out, args, DEFAULT_TIMEOUT);
103 static void goDump(IBinder binder, FileDescriptor out, argument
108 binder.dump(out, args);
117 tp.go(out, timeou
123 go(FileDescriptor out) argument
127 go(FileDescriptor out, long timeout) argument
[all...]
H A DUsageStatsService.java155 void writeToParcel(Parcel out) { argument
156 out.writeInt(count);
159 out.writeInt(localTimes[i]);
223 void writeToParcel(Parcel out) { argument
224 out.writeInt(mLaunchCount);
225 out.writeLong(mUsageTime);
227 out.writeInt(numTimeStats);
230 out.writeString(ent.getKey());
232 times.writeToParcel(out);
567 Parcel out
578 writeStatsToParcelFLOCK(Parcel out) argument
[all...]
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java587 // new instance, otherwise state updates can be out of order.
757 OutputStream out = mSockets[i].getOutputStream();
763 out.write(bytes.length >> 8);
764 out.write(bytes.length);
765 out.write(bytes);
768 out.write(0xFF);
769 out.write(0xFF);
770 out.flush();
/frameworks/base/services/java/com/android/server/net/
H A DNetworkIdentitySet.java67 public void writeToStream(DataOutputStream out) throws IOException { argument
68 out.writeInt(VERSION_ADD_NETWORK_ID);
69 out.writeInt(size());
71 out.writeInt(ident.getType());
72 out.writeInt(ident.getSubType());
73 writeOptionalString(out, ident.getSubscriberId());
74 writeOptionalString(out, ident.getNetworkId());
75 out.writeBoolean(ident.getRoaming());
79 private static void writeOptionalString(DataOutputStream out, String value) throws IOException { argument
81 out
[all...]
H A DNetworkPolicyManagerService.java1288 XmlSerializer out = new FastXmlSerializer();
1289 out.setOutput(fos, "utf-8");
1290 out.startDocument(null, true);
1292 out.startTag(null, TAG_POLICY_LIST);
1293 writeIntAttribute(out, ATTR_VERSION, VERSION_LATEST);
1294 writeBooleanAttribute(out, ATTR_RESTRICT_BACKGROUND, mRestrictBackground);
1300 out.startTag(null, TAG_NETWORK_POLICY);
1301 writeIntAttribute(out, ATTR_NETWORK_TEMPLATE, template.getMatchRule());
1304 out.attribute(null, ATTR_SUBSCRIBER_ID, subscriberId);
1308 out
2105 writeIntAttribute(XmlSerializer out, String name, int value) argument
2119 writeLongAttribute(XmlSerializer out, String name, long value) argument
2129 writeBooleanAttribute(XmlSerializer out, String name, boolean value) argument
[all...]
H A DNetworkStatsCollection.java293 public void write(DataOutputStream out) throws IOException { argument
305 out.writeInt(FILE_MAGIC);
306 out.writeInt(VERSION_UNIFIED_INIT);
308 out.writeInt(keysByIdent.size());
311 ident.writeToStream(out);
313 out.writeInt(keys.size());
316 out.writeInt(key.uid);
317 out.writeInt(key.set);
318 out.writeInt(key.tag);
319 history.writeToStream(out);
[all...]
H A DNetworkStatsRecorder.java289 public void write(OutputStream out) throws IOException { argument
290 mCollection.write(new DataOutputStream(out));
326 public void write(OutputStream out) throws IOException { argument
327 mTemp.write(new DataOutputStream(out));
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java167 adb install -r -f out/target/product/passion/data/app/AndroidTests.apk
553 // Something seriously wrong. Bail out
843 Slog.i(TAG, "Verification timed out for " + args.packageURI.toString());
1643 String[] out = new String[names.length];
1648 out[i] = ps != null && ps.realName != null ? ps.realName : names[i];
1651 return out;
1655 String[] out = new String[names.length];
1660 out[i] = cur != null ? cur : names[i];
1663 return out;
1738 ArrayList<PermissionInfo> out
5105 dumpFilter(PrintWriter out, String prefix, PackageParser.ActivityIntentInfo filter) argument
5303 dumpFilter(PrintWriter out, String prefix, PackageParser.ServiceIntentInfo filter) argument
[all...]
H A DPreferredIntentResolver.java34 protected void dumpFilter(PrintWriter out, String prefix, argument
36 filter.mPref.dump(out, prefix, filter);
H A DSettings.java234 // < 0 means we couldn't assign a userid; fall out and return
427 // If this is not a system app, it starts out stopped.
1845 private void readPermissionsLPw(HashMap<String, BasePermission> out, XmlPullParser parser) argument
1876 out.put(bp.name, bp);
/frameworks/base/services/java/com/android/server/updates/
H A DConfigUpdateInstallReceiver.java227 FileOutputStream out = null;
242 out = new FileOutputStream(tmp);
243 out.write(content.getBytes());
245 out.getFD().sync();
254 IoUtils.closeQuietly(out);
/frameworks/base/services/java/com/android/server/wm/
H A DViewServer.java184 BufferedWriter out = null;
187 out = new BufferedWriter(new OutputStreamWriter(clientStream), 8 * 1024);
188 out.write(value);
189 out.write("\n");
190 out.flush();
195 if (out != null) {
197 out.close();
293 BufferedWriter out = null;
295 out = new BufferedWriter(new OutputStreamWriter(mClient.getOutputStream()));
313 out
[all...]
H A DWindowManagerService.java263 /** Amount of time (in milliseconds) to animate the fade-in-out transition for
410 * This is set when we have run out of memory, and will either be an empty
587 /** Pulled out of performLayoutAndPlaceSurfacesLockedInner in order to refactor into multiple
891 //This method finds out the index of a window that has the same app token as
975 TAG, "Figuring out where to add app window "
977 // Figure out where the window should go, based on the
1060 // Figure out where window should go, based on layer.
1081 // Figure out this window's ordering relative to the window
1264 // hold everything until we can find out what will happen.
1464 // Figure out th
[all...]
/frameworks/base/services/jni/
H A Dcom_android_server_UsbDeviceManager.cpp74 if (!strArray) goto out;
82 out:
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkStatsCollectionTest.java161 OutputStream out = null;
164 out = new FileOutputStream(file);
165 Streams.copy(in, out);
168 IoUtils.closeQuietly(out);
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java174 // Correctly read out the phone entry based on requested provider
199 * (filters out separators.)
1675 // since the whole point of extractNetworkPortionAlt() is to filter out
1862 char[] out = input.toCharArray();
1865 char c = out[i];
1867 out[i] = (char) KEYPAD_MAP.get(c, c);
1870 return new String(out);
1922 * 2) the dialStr should already strip out the separator characters,
2034 // Set the postDialStr to "" to break out of the loop
H A DServiceState.java215 public void writeToParcel(Parcel out, int flags) { argument
216 out.writeInt(mState);
217 out.writeInt(mRoaming ? 1 : 0);
218 out.writeString(mOperatorAlphaLong);
219 out.writeString(mOperatorAlphaShort);
220 out.writeString(mOperatorNumeric);
221 out.writeInt(mIsManualNetworkSelection ? 1 : 0);
222 out.writeInt(mRadioTechnology);
223 out.writeInt(mCssIndicator ? 1 : 0);
224 out
[all...]
H A DSignalStrength.java279 public void writeToParcel(Parcel out, int flags) { argument
280 out.writeInt(mGsmSignalStrength);
281 out.writeInt(mGsmBitErrorRate);
282 out.writeInt(mCdmaDbm);
283 out.writeInt(mCdmaEcio);
284 out.writeInt(mEvdoDbm);
285 out.writeInt(mEvdoEcio);
286 out.writeInt(mEvdoSnr);
287 out.writeInt(mLteSignalStrength);
288 out
[all...]
/frameworks/base/test-runner/src/android/test/
H A DTestRunner.java375 System.out.println("Test wasn't Runnable and didn't have a"
386 System.out.println("InstantiationException for " + className);
389 System.out.println("IllegalAccessException for " + className);
412 // First force GCs, to avoid GCs happening during out
/frameworks/base/test-runner/src/junit/runner/
H A DTestCaseClassLoader.java143 ByteArrayOutputStream out= new ByteArrayOutputStream(1000);
147 out.write(b, 0, n);
149 out.close();
150 return out.toByteArray();
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
H A DBandwidthEnforcementTestService.java69 BufferedWriter out = new BufferedWriter(writer);
71 out.append(tag + ":fail\n");
73 out.append(tag + ":pass\n");
75 out.close();
186 final ByteArrayOutputStream out = new ByteArrayOutputStream();
191 out.write(id);
192 out.write(new byte[] { 0x01, 0x00 });
193 out.write(new byte[] { 0x00, 0x01 });
194 out.write(new byte[] { 0x00, 0x00 });
195 out
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DTestEventHandler.java211 System.out.println("MAJOR = "+expectMajor+" MINOR = "+expectMinor+
239 System.out.println("Expected header name: " + h.name);
300 System.out.print(" Missing! ");
305 System.out.println("Expect value = null");
308 System.out.println("Expect value = " +
436 System.out.println("TestEventHandler: endData() stopping "+
487 System.out.println("TestEventHandler: endData() stopping "+

Completed in 356 milliseconds

<<11121314151617181920