Searched defs:destination (Results 26 - 50 of 70) sorted by relevance

123

/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsHelper.java113 Uri destination, String name, String value) {
119 if (destination.equals(Settings.Secure.CONTENT_URI)) {
121 } else if (destination.equals(Settings.System.CONTENT_URI)) {
157 cr.insert(destination, contentValues);
112 restoreValue(Context context, ContentResolver cr, ContentValues contentValues, Uri destination, String name, String value) argument
/frameworks/base/telecomm/java/android/telecom/
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 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);
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 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...]
/frameworks/av/drm/libmediadrm/
H A DCrypto.cpp241 const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) {
257 if (destination.mType == kDestinationTypeNativeHandle) {
258 destPtr = static_cast<void *>(destination.mHandle);
261 destPtr = destination.mSharedMemory->pointer();
237 decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const sp<IMemory> &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) argument
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...]
H A DCryptoHal.cpp285 const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) {
326 if (destination.mType == kDestinationTypeSharedMemory) {
328 status_t status = toSharedBuffer(destination.mSharedMemory, heapSeqNum,
336 hDestination.secureMemory = hidl_handle(destination.mHandle);
281 decrypt(const uint8_t keyId[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const ICrypto::SourceBuffer &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) argument
/frameworks/av/media/libaaudio/src/utility/
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 DTonemapCurve.java203 * Copy the color curve for a single color channel from this tonemap curve into the destination.
213 * @param destination
219 * If {@code destination} was {@code null}
223 * If there's not enough room to write the elements at the specified destination and
232 public void copyColorCurve(int colorChannel, float[] destination, argument
235 checkNotNull(destination, "destination must not be null");
237 if (destination.length + offset < getPointCount(colorChannel) * POINT_SIZE) {
238 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements");
242 System.arraycopy(curve, /*srcPos*/0, destination, offse
[all...]
/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/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java229 private void copyAssetToFile(String source, String destination) throws IOException { argument
230 mFile = new File(mDirectory, destination);
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfRenderer.java348 * whole page to the destination clip if provided or the destination bitmap if no
353 * destination bitmap contains a portion of the image, for example when zooming.
358 * <strong>Note: </strong> The destination bitmap format must be
367 * @param destination Destination bitmap to which to render.
375 public void render(@NonNull Bitmap destination, @Nullable Rect destClip, argument
381 destination = Preconditions.checkNotNull(destination, "bitmap null");
383 if (destination.getConfig() != Config.ARGB_8888) {
389 || destClip.right > destination
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java106 PrintAttributes attributes, ParcelFileDescriptor destination) {
163 BitmapSerializeUtils.writeBitmapPixels(bitmap, destination);
171 IoUtils.closeQuietly(destination);
354 public void write(ParcelFileDescriptor destination) throws RemoteException { argument
361 mEditor.write(destination);
363 IoUtils.closeQuietly(destination);
105 renderPage(int pageIndex, int bitmapWidth, int bitmapHeight, PrintAttributes attributes, ParcelFileDescriptor destination) argument
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java208 * file descriptor pointing to the backup data destination.
255 * points to the backup destination, and the app has the opportunity to choose which
279 * @param data A structured wrapper pointing to the backup destination.
489 * will be delivered to the backup destination along with the metadata necessary
501 * @param output The destination to which the backed-up file data will be sent.
708 * The default implementation creates the destination file/directory and populates it
715 * destination. If the file system object being restored is a directory, {@code size}
717 * @param destination The File on disk to be restored with the given data.
720 * @param mode The access mode to be assigned to the destination after its data is
727 File destination, in
726 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument
735 isFileEligibleForRestore(File destination) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DColor.java266 * convert a color from a source color space to a destination color space</li>
268 * built-in color space to a destination color space</li>
270 * to a destination color space</li>
446 * @param colorSpace The destination color space, cannot be null
1077 * color space into the specified destination color space. The resulting color is
1082 * @param colorSpace The destination color space
1083 * @return A color long in the destination color space
1097 * destination color space. The resulting color is returned as a color long. See
1105 * @param colorSpace The destination color space
1106 * @return A color long in the destination colo
1143 convert(float r, float g, float b, float a, @NonNull ColorSpace source, @NonNull ColorSpace destination) argument
[all...]
H A DColorSpace.java703 * destination color space.</p>
709 * <p>Compresses the source gamut into the destination gamut.
711 * of destination gamut. The goal of this render intent is
720 * intent matches the closest color in the destination gamut
721 * but makes adjustments for the destination white point.
726 * from the source gamut to the destination gamut, to keep
734 * Colors that are in the destination gamut are left unchanged.
735 * Colors that fall outside of the destination gamut are mapped
736 * to the closest possible color within the gamut of the destination
757 * to \(A\) and \(D\), the source white point \(W1\) and the destination
1188 connect(@onNull ColorSpace source, @NonNull ColorSpace destination) argument
1213 connect(@onNull ColorSpace source, @NonNull ColorSpace destination, @NonNull RenderIntent intent) argument
3451 Connector(@onNull ColorSpace source, @NonNull ColorSpace destination, @NonNull RenderIntent intent) argument
3466 Connector( @onNull ColorSpace source, @NonNull ColorSpace destination, @NonNull ColorSpace transformSource, @NonNull ColorSpace transformDestination, @NonNull RenderIntent intent, @Nullable @Size(3) float[] transform) argument
3483 computeTransform(@onNull ColorSpace source, @NonNull ColorSpace destination, @NonNull RenderIntent intent) argument
3595 Rgb(@onNull ColorSpace.Rgb source, @NonNull ColorSpace.Rgb destination, @NonNull RenderIntent intent) argument
3633 computeTransform( @onNull ColorSpace.Rgb source, @NonNull ColorSpace.Rgb destination, @NonNull RenderIntent intent) argument
[all...]
/frameworks/base/libs/hwui/
H A DGlopBuilder.cpp498 GlopBuilder& GlopBuilder::setModelViewMapUnitToRect(const Rect destination) { argument
501 mOutGlop->transform.modelView.loadTranslate(destination.left, destination.top, 0.0f);
502 mOutGlop->transform.modelView.scale(destination.getWidth(), destination.getHeight(), 1.0f);
506 GlopBuilder& GlopBuilder::setModelViewMapUnitToRectSnap(const Rect destination) { argument
510 float left = destination.left;
511 float top = destination.top;
525 mOutGlop->transform.modelView.scale(destination.getWidth(), destination
[all...]
/frameworks/base/telecomm/java/android/telecom/Logging/
H A DSession.java95 public void writeToParcel(Parcel destination, int flags) { argument
96 destination.writeString(sessionId);
97 destination.writeString(methodPath);
/frameworks/av/media/libaaudio/examples/loopback/src/
H A Dloopback.cpp233 float *destination,
237 destination[i] = source[i] * scaler;
232 convertPcm16ToFloat(const int16_t *source, float *destination, int32_t numSamples) argument
/frameworks/base/libs/hwui/font/
H A DFont.cpp244 SkPoint destination[4]; local
251 destination[0].set(-tangent->fX * halfWidth - tangent->fY * vOffset,
253 destination[1].set(tangent->fX * halfWidth - tangent->fY * vOffset,
255 destination[2].set(destination[1].fX + tangent->fY * height,
256 destination[1].fY - tangent->fX * height);
257 destination[3].set(destination[0].fX + tangent->fY * height,
258 destination[0].fY - tangent->fX * height);
266 position->x() + destination[
[all...]
/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...]
H A DBaseRecipientAdapter.java141 public final String destination; field in class:BaseRecipientAdapter.TemporaryEntry
153 String destination,
163 this.destination = destination;
176 this.destination = cursor.getString(Queries.Query.DESTINATION);
510 * First, each destination (an email address or a phone number) with a valid contactId is
807 if (existingDestinations.contains(entry.destination)) {
811 existingDestinations.add(entry.destination);
817 entry.destination, entry.destinationType, entry.destinationLabel,
826 entry.destination, entr
151 TemporaryEntry( String displayName, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, String thumbnailUriString, int displayNameSource, String lookupKey) argument
[all...]
H A DRecipientEditTextView.java1090 * Draws the icon onto the canvas given the source rectangle of the bitmap and the destination
1108 * Draws the icon onto the canvas given the source rectangle of the bitmap and the destination
1548 private static String tokenizeAddress(String destination) { argument
1549 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(destination);
1553 return destination;
2290 // valid contact, but the destination is invalid, then make this a fake
2292 String destination = item.getDestination();
2295 destination, item.isValid());
2298 || TextUtils.equals(item.getDisplayName(), destination)
2299 || (mValidator != null && !mValidator.isValid(destination)))) {
[all...]

Completed in 445 milliseconds

123