/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicy.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 81 public NetworkPolicy(Parcel in) { argument 82 template = in.readParcelable(null); 83 cycleDay = in.readInt(); 84 cycleTimezone = in.readString(); 85 warningBytes = in.readLong(); 86 limitBytes = in.readLong(); 87 lastWarningSnooze = in.readLong(); 88 lastLimitSnooze = in 222 getNetworkPolicyFromBackup(DataInputStream in) argument [all...] |
/frameworks/base/core/java/android/net/metrics/ |
H A D | DhcpErrorEvent.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 68 private DhcpErrorEvent(Parcel in) { argument 69 this.errorCode = in.readInt(); 84 public DhcpErrorEvent createFromParcel(Parcel in) { 85 return new DhcpErrorEvent(in);
|
H A D | RaEvent.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 30 // Lifetime in seconds of options found in a single RA packet. 49 private RaEvent(Parcel in) { argument 50 routerLifetime = in.readLong(); 51 prefixValidLifetime = in.readLong(); 52 prefixPreferredLifetime = in.readLong(); 53 routeInfoLifetime = in.readLong(); 54 rdnssLifetime = in [all...] |
H A D | ValidationProbeEvent.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 63 private ValidationProbeEvent(Parcel in) { argument 64 durationMs = in.readLong(); 65 probeType = in.readInt(); 66 returnCode = in.readInt(); 83 public ValidationProbeEvent createFromParcel(Parcel in) { 84 return new ValidationProbeEvent(in);
|
/frameworks/base/core/java/android/os/ |
H A D | IBinder.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 24 * performing in-process and cross-process calls. This 32 * call coming in to a Binder object, respectively. This transaction API 36 * expected behavior when calling an object that exists in the local 42 * data is used to manage IBinder object references in the buffer, so that those 51 * <p>The system maintains a pool of transaction threads in each process that 52 * it runs in. These threads are used to dispatch all 53 * IPCs coming in from other processes. For example, when an IPC is made from 54 * process A to process B, the calling thread in 227 shellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, String[] args, ShellCallback shellCallback, ResultReceiver resultReceiver) argument [all...] |
H A D | PersistableBundle.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 106 * Constructs a PersistableBundle containing the mappings passed in. 115 // First stuff everything in. 128 throw new IllegalArgumentException("Bad value in PersistableBundle key=" 168 * them as well, so they are not shared across bundles. Will traverse in to 171 * are referenced as-is and not copied in any way. 217 public PersistableBundle createFromParcel(Parcel in) { 218 return in.readPersistableBundle(); 250 public Object readThisUnknownObjectXml(XmlPullParser in, Strin argument 283 restoreFromXml(XmlPullParser in) argument [all...] |
/frameworks/base/core/java/android/service/carrier/ |
H A D | CarrierIdentifier.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 121 public void readFromParcel(Parcel in) { argument 122 mMcc = in.readString(); 123 mMnc = in.readString(); 124 mSpn = in.readString(); 125 mImsi = in.readString(); 126 mGid1 = in.readString(); 127 mGid2 = in.readString();
|
/frameworks/base/core/java/android/service/resolver/ |
H A D | ResolverTarget.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 28 * A ResolverTarget contains features by which an app or option will be ranked, in 64 ResolverTarget(Parcel in) { argument 65 mRecencyScore = in.readFloat(); 66 mTimeSpentScore = in.readFloat(); 67 mLaunchScore = in.readFloat(); 68 mChooserScore = in.readFloat(); 69 mSelectProbability = in.readFloat(); 73 * Gets the score for how recently the target was used in th [all...] |
/frameworks/base/core/java/android/util/ |
H A D | MergedConfiguration.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 55 private MergedConfiguration(Parcel in) { argument 56 readFromParcel(in); 79 public MergedConfiguration createFromParcel(Parcel in) { 80 return new MergedConfiguration(in);
|
H A D | Rational.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 69 * <p>Increment each time the fields change in any way.</p> 142 * <p>The denominator may return {@code 0}, in which case the rational may represent 179 * <p>A finite value occurs when the denominator is not {@code 0}; in other words 219 * <li>Both have the same numerator and denominator in their reduced form</li> 280 // TODO: remove this duplicate function (used in CTS and the shim) 300 * @param numerator the numerator in a fraction 301 * @param denominator the denominator in a fraction 366 * identically to casting a floating point value to an {@code int}, in particula 512 readObject(java.io.ObjectInputStream in) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | InputChannel.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 25 * a window in another process. It is Parcelable so that it can be sent 118 * as an out parameter in a binder call. 143 public void readFromParcel(Parcel in) { argument 144 if (in == null) { 145 throw new IllegalArgumentException("in must not be null"); 148 nativeReadFromParcel(in);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | WifiConfigurationHelper.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 169 public static List<WifiConfiguration> parseJson(String in) { argument 171 JSONArray jsonConfigs = new JSONArray(in);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioRecordingConfiguration.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 69 // matches the sources that return false in MediaRecorder.isSystemOnlyAudioSource(source) 86 // in MediaRecorder.isSystemOnlyAudioSource(source) 161 * @return a new AudioRecordingConfiguration created from the data in the parcel 190 private AudioRecordingConfiguration(Parcel in) { argument 191 mSessionId = in.readInt(); 192 mClientSource = in.readInt(); 193 mClientFormat = AudioFormat.CREATOR.createFromParcel(in); 194 mDeviceFormat = AudioFormat.CREATOR.createFromParcel(in); [all...] |
H A D | MediaDescrambler.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 31 * MediaDescrambler class can be used in conjunction with {@link android.media.MediaCodec} 33 * access (CA) systems such as those in the ISO/IEC13818-1. 38 * Scrambling schemes are identified by 16-bit unsigned integer as in CA_system_id. 65 private DescrambleInfo(Parcel in) { argument 79 public DescrambleInfo createFromParcel(Parcel in) { 80 return new DescrambleInfo(in); 142 * or odd key in the {@link android.media.MediaCodec.CryptoInfo#key} field. 171 * describing the subsamples contained in sr [all...] |
H A D | MediaRouterClientState.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 84 public MediaRouterClientState createFromParcel(Parcel in) { 85 return new MediaRouterClientState(in); 136 RouteInfo(Parcel in) { argument 137 id = in.readString(); 138 name = in.readString(); 139 description = in.readString(); 140 supportedTypes = in.readInt(); 141 enabled = in [all...] |
H A D | PlaybackParams.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 102 private PlaybackParams(Parcel in) { argument 103 mSet = in.readInt(); 104 mAudioFallbackMode = in.readInt(); 105 mAudioStretchMode = in.readInt(); 106 mPitch = in.readFloat(); 110 mSpeed = in.readFloat(); 226 public PlaybackParams createFromParcel(Parcel in) { 227 return new PlaybackParams(in); [all...] |
H A D | RemoteDisplayState.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 79 public RemoteDisplayState createFromParcel(Parcel in) { 80 return new RemoteDisplayState(in); 130 RemoteDisplayInfo(Parcel in) { argument 131 id = in.readString(); 132 name = in.readString(); 133 description = in.readString(); 134 status = in.readInt(); 135 volume = in [all...] |
/frameworks/base/packages/Osu/src/com/android/anqp/ |
H A D | OSUProvider.java | 19 * An OSU Provider, as specified in 164 public OSUProvider(Parcel in) throws IOException { argument 165 mSSID = in.readString(); 166 int nameCount = in.readInt(); 169 mNames.add(new I18Name(in)); 171 mOSUServer = in.readString(); 172 int methodCount = in.readInt(); 175 mOSUMethods.add(Utils.mapEnum(in.readInt(), OSUMethod.class)); 177 int iconCount = in.readInt(); 180 mIcons.add(new IconInfo(in)); [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | OMANode.java | 117 public static OMAConstructed unmarshal(InputStream in) throws IOException { argument 118 OMANode node = buildNode(in, null); 122 unmarshal(in, (OMAConstructed) node); 126 private static void unmarshal(InputStream in, OMAConstructed parent) throws IOException { argument 128 OMANode node = buildNode(in, parent); 132 unmarshal(in, (OMAConstructed) node); 137 private static OMANode buildNode(InputStream in, OMAConstructed parent) throws IOException { argument 138 String name = OMAConstants.deserializeString(in); 144 int next = in.read(); 146 urn = OMAConstants.readURN(in); [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkControllerWifiTest.java | 49 // These match the constants in WifiManager and need to be kept up to date. 93 // Must set the Settings value before instantiating the NetworkControllerImpl due to bugs in 229 // Put RSSI in the middle of the range. 263 protected void verifyLastQsDataDirection(boolean in, boolean out) { argument 269 assertEquals("WiFi data in, in quick settings", in, (boolean) inArg.getValue()); 270 assertEquals("WiFi data out, in quick settings", out, (boolean) outArg.getValue()); 283 assertEquals("WiFi enabled, in quick settings", enabled, (boolean) enabledArg.getValue()); 284 assertEquals("WiFi connected, in quic [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | CountedDataInputStream.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 35 protected CountedDataInputStream(InputStream in) { argument 36 super(in); 45 int r = in.read(b); 52 int r = in.read(b, off, len); 59 int r = in.read(); 66 long skip = in.skip(length);
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | KeyValueAdbRestoreEngine.java | 31 * class resembles what is done in the standard key-value code paths in BackupManagerService, and 79 // Sort the keys, as the BackupAgent expect them to come in lexicographical order 126 private void copyKeysInLexicalOrder(BackupDataInput in, BackupDataOutput out) argument 129 while (in.readNextHeader()) { 130 String key = in.getKey(); 131 int size = in.getDataSize(); 133 in.skipEntityData(); 137 in.readEntityData(value, 0, size);
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | TelecomAnalytics.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 35 public TelecomAnalytics createFromParcel(Parcel in) { 36 return new TelecomAnalytics(in); 50 public SessionTiming createFromParcel(Parcel in) { 51 return new SessionTiming(in); 87 private SessionTiming(Parcel in) { argument 88 mId = in.readInt(); 89 mTime = in.readLong(); 123 private TelecomAnalytics(Parcel in) { argument [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellIdentityCdma.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 40 * Longitude is a decimal number as specified in 3GPP2 C.S0005-A v6.0. 41 * It is represented in units of 0.25 seconds and ranges from -2592000 47 * Latitude is a decimal number as specified in 3GPP2 C.S0005-A v6.0. 48 * It is represented in units of 0.25 seconds and ranges from -1296000 120 * specified in 3GPP2 C.S0005-A v6.0. It is represented in units 131 * specified in 3GPP2 C.S0005-A v6.0. It is represented in unit 194 CellIdentityCdma(Parcel in) argument [all...] |
H A D | CellIdentityGsm.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 39 // 16-bit GSM Cell Identity described in TS 27.007, 0..65535 127 * in TS 27.007, 0..65535, Integer.MAX_VALUE if unknown 213 private CellIdentityGsm(Parcel in) { argument 214 mMcc = in.readInt(); 215 mMnc = in.readInt(); 216 mLac = in.readInt(); 217 mCid = in.readInt(); 218 mArfcn = in [all...] |