/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Interp.h | 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 51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; local 54 tmpf[0] = in[0] * ciTable[off + 40]; 55 tmpf[0] += in[1] * ciTable[off]; 56 tmpf[0] += in[2] * ciTable[40 - off]; 57 tmpf[0] += in[3] * ciTable[80 - off]; 58 in += img->pitch; 59 tmpf[1] = in[0] * ciTable[off + 40]; 60 tmpf[1] += in[ [all...] |
H A D | MatrixUtils.h | 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 static void convert9to33(double out[3][3], double in[9]) { argument 64 out[0][0] = in[0]; 65 out[0][1] = in[1]; 66 out[0][2] = in[2]; 68 out[1][0] = in[3]; 69 out[1][1] = in[4]; 70 out[1][2] = in[5]; 72 out[2][0] = in[ 121 convert33to9(double out[9], double in[3][3]) argument [all...] |
/packages/services/Car/car-lib/src/android/car/hardware/camera/ |
H A D | ICarCamera.aidl | 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 26 int getCapabilities(in int cameraType) = 1; 28 Rect getCameraCrop(in int cameraType) = 2; 30 void setCameraCrop(in int cameraType, in Rect rect) = 3; 32 Rect getCameraPosition(in int cameraType) = 4; 34 void setCameraPosition(in int cameraType, in Rect rect) = 5; 36 CarCameraState getCameraState(in in [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
H A D | CloseShieldInputStream.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 24 * This class is typically used in cases where an input stream needs to be 37 * @param in underlying input stream 39 public CloseShieldInputStream(InputStream in) { argument 40 super(in); 49 in = new ClosedInputStream();
|
H A D | ProxyInputStream.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 44 // the proxy is stored in a protected superclass variable named 'in' 53 return in.read(); 63 return in.read(bts); 75 return in.read(bts, st, end); 85 return in.skip(ln); 94 return in.available(); 102 in [all...] |
H A D | ProxyReader.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 44 // the proxy is stored in a protected superclass variable named 'in' 53 return in.read(); 63 return in.read(chr); 75 return in.read(chr, st, end); 85 return in.skip(ln); 94 return in.ready(); 102 in [all...] |
H A D | AutoCloseInputStream.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 26 * closed, so any allocated in-memory buffers can be freed even if the 42 * @param in underlying input stream 44 public AutoCloseInputStream(InputStream in) { argument 45 super(in); 62 in.close(); 63 in = new ClosedInputStream(); 71 * @return next byte in the stream, or -1 if no more bytes are available 75 int n = in [all...] |
/packages/services/Car/car-lib/src/android/car/content/pm/ |
H A D | ICarPackageManager.aidl | 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 23 void setAppBlockingPolicy(in String packageName, in CarAppBlockingPolicy policy, int flags) = 0; 24 boolean isActivityAllowedWhileDriving(in String packageName, in String className) = 1; 25 boolean isServiceAllowedWhileDriving(in String packageName, in String className) = 2;
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | INetworkQueryService.aidl | 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 void startNetworkQuery(in INetworkQueryServiceCallback cb, in int phoneId); 39 * This may not do anything for the Query request in the 43 void stopNetworkQuery(in INetworkQueryServiceCallback cb); 49 * function also does not stop a query request in the underlying 52 void unregisterCallback(in INetworkQueryServiceCallback cb);
|
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/ |
H A D | IBluetoothMapService.aidl | 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 44 // sense to use the other functions in the protocol here. 46 boolean connect(in IBluetoothMapServiceCallbacks callback, in BluetoothDevice device); 49 void disconnect(in IBluetoothMapServiceCallbacks callback); 53 boolean enableNotifications(in IBluetoothMapServiceCallbacks callbacks, boolean status); 58 boolean pushMessage(in IBluetoothMapServiceCallbacks callback, in BluetoothMapMessage message); 62 boolean getMessage(in IBluetoothMapServiceCallback [all...] |
H A D | BluetoothMapEventReport.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 54 // Contains the handle of message in context. 57 // Folder in which the message is currently stored. 60 // Folder in which the message was stored previously. 72 public BluetoothMapEventReport createFromParcel(Parcel in) { 73 return new BluetoothMapEventReport(in); 84 private BluetoothMapEventReport(Parcel in) { argument 85 readFromParcel(in); 99 public void readFromParcel(Parcel in) { argument [all...] |
/packages/services/Car/libvehiclenetwork/native/ |
H A D | VehicleNetworkProtoUtil.cpp | 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 26 static status_t copyString(const std::string& in, uint8_t** out, int32_t* len) { argument 27 *len = in.length(); 34 memcpy(*out, in.data(), *len); 38 status_t VehicleNetworkProtoUtil::toVehiclePropValue(const vehicle_prop_value_t& in, argument 40 out.set_prop(in.prop); 41 out.set_value_type(in.value_type); 42 out.set_timestamp(in.timestamp); 43 out.set_zone(in 103 fromVehiclePropValue(const VehiclePropValue& in, vehicle_prop_value_t& out, bool , bool canIgnoreNoData) argument 253 toVehiclePropValues(const List<vehicle_prop_value_t*>& in, VehiclePropValues& out) argument 267 fromVehiclePropValues(const VehiclePropValues& in, List<vehicle_prop_value_t*>& out) argument 290 toVehiclePropConfig(const vehicle_prop_config_t& in, VehiclePropConfig& out) argument 391 fromVehiclePropConfig(const VehiclePropConfig& in, vehicle_prop_config_t& out) argument 540 toVehiclePropConfigs(List<vehicle_prop_config_t const*> &in, VehiclePropConfigs& out) argument 554 fromVehiclePropConfigs(const VehiclePropConfigs& in, List<vehicle_prop_config_t const*>& out) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
H A D | MockAttachment.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 26 public MockAttachment(Parcel in) { argument 27 super(in);
|
/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/ |
H A D | IVehicleNetwork.aidl | 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 32 void setProperty(in VehiclePropValueParcelable value) = 1; 33 VehiclePropValueParcelable getProperty(in VehiclePropValueParcelable value) = 2; 35 void subscribe(in IVehicleNetworkListener listener, int property, float sampleRate, 37 void unsubscribe(in IVehicleNetworkListener listener, int property) = 4; 39 void injectEvent(in VehiclePropValueParcelable value) = 5; 40 /** For testing only. Start in mocking mode. */ 41 void startMocking(in IVehicleNetworkHalMock mock) = 6; 43 void stopMocking(in IVehicleNetworkHalMoc [all...] |
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/ |
H A D | FileTransforms.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 public static InputStream getDecryptedStream(InputStream in) { argument 32 return in; 35 public static InputStream getUncompressedStream(InputStream in) throws IOException { argument 36 return new GZIPInputStream(in);
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
H A D | UTF7StyleCharsetDecoder.java | 6 * "Software"), to deal in the Software without restriction, including
13 * included in all copies or substantial portions of the Software.
64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
argument 65 while (in.hasRemaining()) {
66 byte b = in.get();
70 return malformed(in);
73 return overflow(in);
80 return overflow(in);
81 CoderResult result = handleBase64(in, out, b);
90 return malformed(in);
103 overflow(ByteBuffer in) argument 120 handleBase64(ByteBuffer in, CharBuffer out, byte lastRead) argument 172 malformed(ByteBuffer in) argument [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | IPolicyService.aidl | 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 21 boolean isActive(in Policy policies); 24 void setAccountPolicy(long accountId, in Policy policy, String securityKey); 26 void setAccountPolicy2(long accountId, in Policy policy, String securityKey, boolean notify);
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
H A D | WaveHeader.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 * <li> numBytes - size of audio data after this header, in bytes. 39 // follows WAVE format in http://ccrma.stanford.edu/courses/422/projects/WaveFormat 71 * @param numBytes size of audio data after this header, in bytes. 158 * Get the size of audio data after this header, in bytes. 159 * @return size of audio data after this header, in bytes. 166 * Set the size of audio data after this header, in bytes. 167 * @param numBytes size of audio data after this header, in bytes. 177 * @param in { 181 read(InputStream in) argument 210 readId(InputStream in, String id) argument 216 readInt(InputStream in) argument 220 readShort(InputStream in) argument [all...] |
/packages/services/Car/car-lib/src/android/car/hardware/hvac/ |
H A D | ICarHvac.aidl | 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 26 void registerListener(in ICarHvacEventListener listener) = 0; 28 void unregisterListener(in ICarHvacEventListener listener) = 1; 34 void setProperty(in CarPropertyValue prop) = 4;
|
/packages/services/Car/car-lib/src/android/car/hardware/radio/ |
H A D | ICarRadio.aidl | 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 32 void registerListener(in ICarRadioEventListener listener) = 1; 37 void unregisterListener(in ICarRadioEventListener listener) = 2; 45 * Sets a specified preset (hard button) in the car. In order to check for success listen to 48 boolean setPreset(in CarRadioPreset preset) = 4;
|
/packages/services/Car/car-systemtest-lib/src/android/car/test/ |
H A D | ICarTest.aidl | 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 void injectEvent(in VehiclePropValueParcelable value) = 1; 26 /** For testing only. Start in mocking mode. */ 27 void startMocking(in IVehicleNetworkHalMock mock, int flags) = 2; 29 void stopMocking(in IVehicleNetworkHalMock mock) = 3;
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/exchange/ |
H A D | ExchangeAttachment.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 public ExchangeAttachment(Parcel in) { argument 32 super(in); 33 contentId = in.readString(); 34 messageKey = in.readLong(); 35 location = in.readString(); 36 encoding = in.readString(); 37 content = in.readString(); 38 flags = in [all...] |
/packages/services/Car/car-lib/src/android/car/ |
H A D | ICarProjection.aidl | 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 33 void registerProjectionRunner(in Intent serviceIntent) = 0; 39 void unregisterProjectionRunner(in Intent serviceIntent) = 1;
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
H A D | ICarSensor.aidl | 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 34 in ICarSensorEventListener listener) = 1; 46 void unregisterSensorListener(int sensorType, in ICarSensorEventListener listener) = 3;
|
/packages/apps/Messaging/tools/ |
H A D | dumpapkversion.sh | 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 15 for i in `find . -name \*.apk`
|