Searched defs:in (Results 126 - 150 of 486) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
32 private String decodeString(String in) throws Exception { argument
33 byte[] out = Base64.decode(in, 0);
38 * Encodes the string 'in' using 'flags'. Asserts that decoding
41 private String encodeToString(String in, int flags) throws Exception { argument
42 String b64 = Base64.encodeToString(in.getBytes(), flags);
44 assertEquals(in, dec);
48 /** Assert that decoding 'in' throws IllegalArgumentException. */
49 private void assertBad(String in) throw argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPoint.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
126 * Return a new point from the data in the specified parcel.
128 public Point createFromParcel(Parcel in) {
130 r.readFromParcel(in);
143 * Set the point's coordinates from the data stored in the specified
146 * @param in The parcel to read the point's coordinates from
148 public void readFromParcel(Parcel in) { argument
149 x = in.readInt();
150 y = in
[all...]
H A DPointF.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
135 * Return a new point from the data in the specified parcel.
137 public PointF createFromParcel(Parcel in) {
139 r.readFromParcel(in);
152 * Set the point's coordinates from the data stored in the specified
155 * @param in The parcel to read the point's coordinates from
157 public void readFromParcel(Parcel in) { argument
158 x = in.readFloat();
159 y = in
[all...]
/frameworks/base/media/java/android/media/
H A DResampleInputStream.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
147 private static native void fir21(byte[] in, int inOffset, argument
H A DSRTRenderer.java193 private static long parseMs(String in) { argument
194 long hours = Long.parseLong(in.split(":")[0].trim());
195 long minutes = Long.parseLong(in.split(":")[1].trim());
196 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim());
197 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim());
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicyConfig.java5 * 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 AudioPolicyConfig(Parcel in) { argument
104 int nbMixes = in.readInt();
108 int routeFlags = in.readInt();
111 mixBuilder.setCallbackFlags(in.readInt());
113 mixBuilder.setDevice(in.readInt(), in.readString());
115 int sampleRate = in.readInt();
116 int encoding = in
[all...]
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcExecutionEnvironment.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
32 // 1:1 mapped to EE_ERROR_ types in NfcService
57 * Mandatory byte array extra field in {@link #ACTION_AID_SELECTED}.
80 * Mandatory byte array extra field in {@link #ACTION_APDU_RECEIVED}.
112 * Optional integer extra field in {@link #ACTION_MIFARE_ACCESS_DETECTED}.
145 * <li>If the secure element or the NFC controller is activated in listen
149 * <li>If the NFC controller is in a field powered by a remote device,
162 * @throws EeListenModeException if the NFCC or Secure Element is activated in listen mode
163 * @throws EeExternalFieldException if the NFCC is in th
201 transceive(byte[] in) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DETC1.java5 * 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 * Size in bytes of an encoded block.
40 * Size in bytes of a decoded block.
45 * Size of a PKM file header, in bytes.
57 * @param in a native order direct buffer of size DECODED_BLOCK_SIZE that represent a
58 * 4 x 4 square of 3-byte pixels in form R, G, B. Byte (3 * (x + 4 * y) is the R
68 public static native void encodeBlock(Buffer in, int validPixelMask, Buffer out); argument
73 * @param in a native order direct buffer of size ENCODED_BLOCK_SIZE that contains the
78 * 4 x 4 square of 3-byte pixels in for
81 decodeBlock(Buffer in, Buffer out) argument
97 encodeImage(Buffer in, int width, int height, int pixelSize, int stride, Buffer out) argument
109 decodeImage(Buffer in, Buffer out, int width, int height, int pixelSize, int stride) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentStack.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
78 * details included in {@link #write(DataOutputStream)}, since they change
102 public void read(DataInputStream in) throws IOException { argument
103 final int version = in.readInt();
108 if (in.readBoolean()) {
110 root.read(in);
112 final int size = in.readInt();
115 doc.read(in);
153 public DocumentStack createFromParcel(Parcel in) {
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DXMLParser.java27 public XMLParser(InputStream in) throws ParserConfigurationException, SAXException { argument
30 new InputStreamReader(in, StandardCharsets.UTF_8)));
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPResponse.java28 public HTTPResponse(InputStream in) throws IOException { argument
38 int amount = in.read(input, offset, input.length - offset);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DDashboardCategory.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
97 public void readFromParcel(Parcel in) { argument
98 title = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
99 key = in.readString();
100 priority = in.readInt();
102 final int count = in.readInt();
105 Tile tile = Tile.CREATOR.createFromParcel(in);
110 DashboardCategory(Parcel in) { argument
111 readFromParcel(in);
[all...]
H A DTile.java5 * 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 * Category in which the tile should be placed.
118 public void readFromParcel(Parcel in) { argument
119 title = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
120 summary = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
121 if (in.readByte() != 0) {
122 icon = Icon.CREATOR.createFromParcel(in);
124 if (in.readByte() != 0) {
125 intent = Intent.CREATOR.createFromParcel(in);
137 Tile(Parcel in) argument
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerDataTest.java165 private void testDataActivity(int direction, boolean in, boolean out) { argument
170 DEFAULT_QS_ICON, in, out);
/frameworks/base/telecomm/java/android/telecom/
H A DConnectionRequest.java5 * 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 private ConnectionRequest(Parcel in) { argument
85 mAccountHandle = in.readParcelable(getClass().getClassLoader());
86 mAddress = in.readParcelable(getClass().getClassLoader());
87 mExtras = in.readParcelable(getClass().getClassLoader());
88 mVideoState = in.readInt();
89 mTelecomCallId = in.readString();
H A DPhoneAccountHandle.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
38 * properly. Passing in invalid parameters will generate a log warning.
157 public PhoneAccountHandle createFromParcel(Parcel in) {
158 return new PhoneAccountHandle(in);
167 private PhoneAccountHandle(Parcel in) { argument
168 this(ComponentName.CREATOR.createFromParcel(in),
169 in.readString(),
170 UserHandle.CREATOR.createFromParcel(in));
H A DStatusHints.java5 * 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 * Contains status label and icon displayed in the in-call UI.
67 * @return The label displayed in the in-call UI.
87 * @return An icon displayed in the in-call UI.
124 public StatusHints createFromParcel(Parcel in) {
125 return new StatusHints(in);
133 StatusHints(Parcel in) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DCellInfoCdma.java5 * 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 * Immutable cell information from a point in time.
117 private CellInfoCdma(Parcel in) { argument
118 super(in);
119 mCellIdentityCdma = CellIdentityCdma.CREATOR.createFromParcel(in);
120 mCellSignalStrengthCdma = CellSignalStrengthCdma.CREATOR.createFromParcel(in);
127 public CellInfoCdma createFromParcel(Parcel in) {
128 in.readInt(); // Skip past token, we know what it is
129 return createFromParcelBody(in);
139 createFromParcelBody(Parcel in) argument
[all...]
H A DCellInfoGsm.java5 * 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 * Immutable cell information from a point in time.
117 private CellInfoGsm(Parcel in) { argument
118 super(in);
119 mCellIdentityGsm = CellIdentityGsm.CREATOR.createFromParcel(in);
120 mCellSignalStrengthGsm = CellSignalStrengthGsm.CREATOR.createFromParcel(in);
126 public CellInfoGsm createFromParcel(Parcel in) {
127 in.readInt(); // Skip past token, we know what it is
128 return createFromParcelBody(in);
138 createFromParcelBody(Parcel in) argument
[all...]
H A DCellInfoLte.java5 * 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 * Immutable cell information from a point in time.
122 private CellInfoLte(Parcel in) { argument
123 super(in);
124 mCellIdentityLte = CellIdentityLte.CREATOR.createFromParcel(in);
125 mCellSignalStrengthLte = CellSignalStrengthLte.CREATOR.createFromParcel(in);
132 public CellInfoLte createFromParcel(Parcel in) {
133 in.readInt(); // Skip past token, we know what it is
134 return createFromParcelBody(in);
144 createFromParcelBody(Parcel in) argument
[all...]
H A DCellInfoWcdma.java5 * 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 * Immutable cell information from a point in time.
117 private CellInfoWcdma(Parcel in) { argument
118 super(in);
119 mCellIdentityWcdma = CellIdentityWcdma.CREATOR.createFromParcel(in);
120 mCellSignalStrengthWcdma = CellSignalStrengthWcdma.CREATOR.createFromParcel(in);
126 public CellInfoWcdma createFromParcel(Parcel in) {
127 in.readInt(); // Skip past token, we know what it is
128 return createFromParcelBody(in);
138 createFromParcelBody(Parcel in) argument
[all...]
H A DDataConnectionRealTimeInfo.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
29 private long mTime; // Time the info was collected since boot in nanos;
61 private DataConnectionRealTimeInfo(Parcel in) { argument
62 mTime = in.readLong();
63 mDcPowerState = in.readInt();
95 public DataConnectionRealTimeInfo createFromParcel(Parcel in) {
96 return new DataConnectionRealTimeInfo(in);
H A DIccOpenLogicalChannelResponse.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
38 * STATUS_UNKNOWN_ERROR: Unknown error in open channel command.
63 private IccOpenLogicalChannelResponse(Parcel in) { argument
64 mChannel = in.readInt();
65 mStatus = in.readInt();
66 int arrayLength = in.readInt();
69 in.readByteArray(mSelectResponse);
117 public IccOpenLogicalChannelResponse createFromParcel(Parcel in) {
118 return new IccOpenLogicalChannelResponse(in);
[all...]
H A DNeighboringCellInfo.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
52 * CID in 16 bits format in GSM. Return UNKNOWN_CID in UMTS and CMDA.
56 * LAC in 16 bits format in GSM. Return UNKNOWN_CID in UMTS and CMDA.
60 * Primary Scrambling Code in 9 bits format in UMT
162 NeighboringCellInfo(Parcel in) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCellNetworkScanResult.java5 ** 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 CellNetworkScanResult(Parcel in) { argument
56 mStatus = in.readInt();
57 int len = in.readInt();
61 mOperators.add(OperatorInfo.CREATOR.createFromParcel(in));
118 public CellNetworkScanResult createFromParcel(Parcel in) {
119 return new CellNetworkScanResult(in);

Completed in 412 milliseconds

1234567891011>>