Searched refs:destination (Results 1 - 25 of 108) sorted by relevance

12345

/frameworks/av/media/libaaudio/tests/
H A Dtest_linear_ramp.cpp28 float destination[4] = {1.0f, 1.0f, 1.0f, 1.0f }; local
42 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo);
43 ASSERT_EQ(0.0f, destination[0]);
44 ASSERT_EQ(1.0f, destination[1]);
45 ASSERT_EQ(2.0f, destination[2]);
46 ASSERT_EQ(3.0f, destination[3]);
53 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo);
54 ASSERT_EQ(4.0f, destination[0]);
55 ASSERT_EQ(5.0f, destination[1]);
56 ASSERT_EQ(6.0f, destination[
76 float destination[4] = {1.0f, 1.0f, 1.0f, 1.0f }; local
[all...]
/frameworks/base/tools/layoutlib/bridge/
H A Dupdate_nav_icons.sh40 destination="$BARS/v$CURRENT_API/$density/"
41 mkdir -p "$destination" # create if not present.
42 cp -v "$FB/packages/SystemUI/res/drawable-$density/$icon" "$destination"
47 destination="$BARS/v$CURRENT_API/ldrtl-$density/"
48 mkdir -p "$destination"
49 cp -v "$FB/packages/SystemUI/res/drawable-ldrtl-$density/$icon" "$destination"
/frameworks/base/core/java/android/net/
H A DRouteInfo.java38 * <li>a destination {@link IpPrefix} specifying the network destinations covered by this route.
45 * Either the destination or the gateway may be {@code null}, but not both. If the
46 * destination and gateway are both specified, they must be of the same address family
51 * The IP destination address for this route.
88 * If destination is null, then gateway must be specified and the
94 * destination and gateway may not both be null.
96 * @param destination the destination prefix
102 public RouteInfo(IpPrefix destination, InetAddress gateway, String iface, int type) { argument
122 if (destination
163 RouteInfo(IpPrefix destination, InetAddress gateway, String iface) argument
170 RouteInfo(LinkAddress destination, InetAddress gateway, String iface) argument
191 RouteInfo(IpPrefix destination, InetAddress gateway) argument
200 RouteInfo(LinkAddress destination, InetAddress gateway) argument
223 RouteInfo(IpPrefix destination) argument
230 RouteInfo(LinkAddress destination) argument
237 RouteInfo(IpPrefix destination, int type) argument
369 matches(InetAddress destination) argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DBitmapSerializeUtils.java51 * @param destination The destination file descriptor.
53 public static void writeBitmapPixels(Bitmap bitmap, ParcelFileDescriptor destination) { argument
54 nativeWriteBitmapPixels(bitmap, destination.getFd());
/frameworks/av/media/libaaudio/src/utility/
H A DAAudioUtilities.h42 * @param destination
47 int16_t *destination,
58 * @param destination
65 int16_t *destination,
74 * @param destination
78 // float *destination);
84 * @param destination
89 float *destination,
100 * @param destination
107 float *destination,
[all...]
H A DAAudioUtilities.cpp104 int16_t *destination,
110 *destination++ = clipAndClampFloatToPcm16(sample, scaler);
115 int16_t *destination,
126 *destination++ = clipAndClampFloatToPcm16(sample, scaler);
135 float *destination,
140 destination[i] = source[i] * scaler;
146 float *destination,
155 *destination++ = *source++ * scaler;
163 float *destination,
178 *destination
103 AAudioConvert_floatToPcm16(const float *source, int16_t *destination, int32_t numSamples, float amplitude) argument
114 AAudioConvert_floatToPcm16(const float *source, int16_t *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument
134 AAudioConvert_pcm16ToFloat(const int16_t *source, float *destination, int32_t numSamples, float amplitude) argument
145 AAudioConvert_pcm16ToFloat(const int16_t *source, float *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument
162 AAudio_linearRamp(const float *source, float *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument
185 AAudio_linearRamp(const int16_t *source, int16_t *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DRggbChannelVector.java133 * Copy the vector into the destination in the order {@code [R, Geven, Godd, B]}.
135 * @param destination
142 * If {@code destination} was {@code null}
144 * If there's not enough room to write the elements at the specified destination and
147 public void copyTo(final float[] destination, final int offset) { argument
148 checkNotNull(destination, "destination must not be null");
149 if (destination.length - offset < COUNT) {
150 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements");
153 destination[offse
[all...]
H A DBlackLevelPattern.java74 * Copy the ColorChannel offsets into the destination vector.
78 * @param destination an array big enough to hold at least {@value #COUNT} elements after the
83 * @throws ArrayIndexOutOfBoundsException if the destination vector is too small.
84 * @throws NullPointerException if the destination is null.
86 public void copyTo(int[] destination, int offset) { argument
87 checkNotNull(destination, "destination must not be null");
91 if (destination.length - offset < COUNT) {
92 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements");
95 destination[offse
[all...]
H A DColorSpaceTransform.java149 * Copy the {@link Rational} elements in row-major order from this matrix into the destination.
151 * @param destination
157 * If {@code destination} was {@code null}
159 * If there's not enough room to write the elements at the specified destination and
162 public void copyElements(Rational[] destination, int offset) { argument
164 checkNotNull(destination, "destination must not be null");
165 if (destination.length - offset < COUNT) {
166 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements");
173 destination[
197 copyElements(int[] destination, int offset) argument
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DParcelableCall.java381 public void writeToParcel(Parcel destination, int flags) { argument
382 destination.writeString(mId);
383 destination.writeInt(mState);
384 destination.writeParcelable(mDisconnectCause, 0);
385 destination.writeList(mCannedSmsResponses);
386 destination.writeInt(mCapabilities);
387 destination.writeInt(mProperties);
388 destination.writeLong(mConnectTimeMillis);
389 destination.writeParcelable(mHandle, 0);
390 destination
[all...]
H A DParcelableConnection.java295 public void writeToParcel(Parcel destination, int flags) { argument
296 destination.writeParcelable(mPhoneAccount, 0);
297 destination.writeInt(mState);
298 destination.writeInt(mConnectionCapabilities);
299 destination.writeParcelable(mAddress, 0);
300 destination.writeInt(mAddressPresentation);
301 destination.writeString(mCallerDisplayName);
302 destination.writeInt(mCallerDisplayNamePresentation);
303 destination.writeStrongBinder(
305 destination
[all...]
H A DParcelableConference.java167 public void writeToParcel(Parcel destination, int flags) { argument
168 destination.writeParcelable(mPhoneAccount, 0);
169 destination.writeInt(mState);
170 destination.writeInt(mConnectionCapabilities);
171 destination.writeList(mConnectionIds);
172 destination.writeLong(mConnectTimeMillis);
173 destination.writeStrongBinder(
175 destination.writeInt(mVideoState);
176 destination.writeParcelable(mStatusHints, 0);
177 destination
[all...]
H A DGatewayInfo.java112 public void writeToParcel(Parcel destination, int flags) { argument
113 destination.writeString(mGatewayProviderPackageName);
114 mGatewayAddress.writeToParcel(destination, 0);
115 mOriginalAddress.writeToParcel(destination, 0);
H A DConnectionRequest.java361 public void writeToParcel(Parcel destination, int flags) { argument
362 destination.writeParcelable(mAccountHandle, 0);
363 destination.writeParcelable(mAddress, 0);
364 destination.writeParcelable(mExtras, 0);
365 destination.writeInt(mVideoState);
366 destination.writeString(mTelecomCallId);
367 destination.writeInt(mShouldShowIncomingCallUi ? 1 : 0);
368 destination.writeParcelable(mRttPipeFromInCall, 0);
369 destination.writeParcelable(mRttPipeToInCall, 0);
H A DDisconnectCause.java214 public void writeToParcel(Parcel destination, int flags) { argument
215 destination.writeInt(mDisconnectCode);
216 TextUtils.writeToParcel(mDisconnectLabel, destination, flags);
217 TextUtils.writeToParcel(mDisconnectDescription, destination, flags);
218 destination.writeString(mDisconnectReason);
219 destination.writeInt(mToneToPlay);
/frameworks/av/services/oboeservice/
H A DAAudioMixer.cpp46 float *destination = mOutputBuffer; local
61 mixPart(destination, (float *)wrappingBuffer.data[partIndex], framesToMix, volume);
63 destination += framesToMix * mSamplesPerFrame;
76 void AAudioMixer::mixPart(float *destination, float *source, int32_t numFrames, float volume) { argument
80 *destination++ += *source++ * volume;
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallInfo.java74 public void writeToParcel(Parcel destination, int flags) { argument
75 destination.writeString(handle);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEntry.java64 /** Type of the destination like {@link Email#TYPE_HOME} */
67 * Label of the destination which will be used when type was {@link Email#TYPE_CUSTOM}.
75 /** ID for the destination */
101 protected RecipientEntry(int entryType, String displayName, String destination, argument
105 this(entryType, displayName, destination, destinationType,
110 protected RecipientEntry(int entryType, String displayName, String destination, argument
117 mDestination = destination;
133 protected RecipientEntry(int entryType, String displayName, String destination, argument
137 this(entryType, displayName, destination, destinationType, destinationLabel,
191 String destination, in
190 constructTopLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, Uri photoThumbnailUri, boolean isValid, String lookupKey) argument
200 constructTopLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, String thumbnailUriAsString, boolean isValid, String lookupKey) argument
211 constructSecondLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, String thumbnailUriAsString, boolean isValid, String lookupKey) argument
245 pickDisplayName(int displayNameSource, String displayName, String destination) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DParamsUtils.java162 * ({@code destination}) in-place.
165 * @param destination the resulting floating point rectangle will be written out to here
169 public static void convertRectF(Rect source, RectF destination) { argument
171 checkNotNull(destination, "destination must not be null");
173 destination.left = source.left;
174 destination.right = source.right;
175 destination.bottom = source.bottom;
176 destination.top = source.top;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DIPdfEditor.aidl30 void write(in ParcelFileDescriptor destination);
H A DIPdfRenderer.aidl30 in PrintAttributes attributes, in ParcelFileDescriptor destination);
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DAesCtrDecryptor.cpp31 uint8_t* destination,
49 memcpy(destination + offset, source + offset,
55 AES_ctr128_encrypt(source + offset, destination + offset,
29 decrypt(const android::Vector<uint8_t>& key, const Iv iv, const uint8_t* source, uint8_t* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
H A DAesCtrDecryptor.h34 const uint8_t* source, uint8_t* destination,
/frameworks/base/core/java/android/view/
H A DDragAndDropPermissions.java139 public void writeToParcel(Parcel destination, int flags) { argument
140 destination.writeStrongInterface(mDragAndDropPermissions);
141 destination.writeStrongBinder(mTransientToken);
/frameworks/av/drm/libmediadrm/
H A DICrypto.cpp103 const DestinationBuffer &destination, AString *errorDetailMsg) {
137 data.writeInt32((int32_t)destination.mType);
138 if (destination.mType == kDestinationTypeNativeHandle) {
139 if (destination.mHandle == NULL) {
142 data.writeNativeHandle(destination.mHandle);
144 if (destination.mSharedMemory == NULL) {
147 data.writeStrongBinder(IInterface::asBinder(destination.mSharedMemory));
350 DestinationBuffer destination; local
351 destination.mType = (DestinationType)data.readInt32();
352 if (destination
99 decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const SourceBuffer &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const DestinationBuffer &destination, AString *errorDetailMsg) argument
[all...]

Completed in 553 milliseconds

12345