/frameworks/base/core/java/android/net/ |
D | RouteInfo.java | 139 public RouteInfo(@Nullable IpPrefix destination, @Nullable InetAddress gateway, in RouteInfo() argument 141 this(destination, gateway, iface, type, 0); in RouteInfo() 164 public RouteInfo(@Nullable IpPrefix destination, @Nullable InetAddress gateway, in RouteInfo() argument 185 if (destination == null) { in RouteInfo() 188 destination = new IpPrefix(Inet4Address.ANY, 0); in RouteInfo() 190 destination = new IpPrefix(Inet6Address.ANY, 0); in RouteInfo() 195 destination); in RouteInfo() 202 if (destination.getAddress() instanceof Inet4Address) { in RouteInfo() 210 if ((destination.getAddress() instanceof Inet4Address in RouteInfo() 212 || (destination.getAddress() instanceof Inet6Address in RouteInfo() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | ParcelableConnection.java | 328 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument 329 destination.writeParcelable(mPhoneAccount, 0); in writeToParcel() 330 destination.writeInt(mState); in writeToParcel() 331 destination.writeInt(mConnectionCapabilities); in writeToParcel() 332 destination.writeParcelable(mAddress, 0); in writeToParcel() 333 destination.writeInt(mAddressPresentation); in writeToParcel() 334 destination.writeString(mCallerDisplayName); in writeToParcel() 335 destination.writeInt(mCallerDisplayNamePresentation); in writeToParcel() 336 destination.writeStrongBinder( in writeToParcel() 338 destination.writeInt(mVideoState); in writeToParcel() [all …]
|
D | ParcelableConference.java | 337 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument 338 destination.writeParcelable(mPhoneAccount, 0); in writeToParcel() 339 destination.writeInt(mState); in writeToParcel() 340 destination.writeInt(mConnectionCapabilities); in writeToParcel() 341 destination.writeList(mConnectionIds); in writeToParcel() 342 destination.writeLong(mConnectTimeMillis); in writeToParcel() 343 destination.writeStrongBinder( in writeToParcel() 345 destination.writeInt(mVideoState); in writeToParcel() 346 destination.writeParcelable(mStatusHints, 0); in writeToParcel() 347 destination.writeBundle(mExtras); in writeToParcel() [all …]
|
D | ParcelableCall.java | 706 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument 707 destination.writeString(mId); in writeToParcel() 708 destination.writeInt(mState); in writeToParcel() 709 destination.writeParcelable(mDisconnectCause, 0); in writeToParcel() 710 destination.writeList(mCannedSmsResponses); in writeToParcel() 711 destination.writeInt(mCapabilities); in writeToParcel() 712 destination.writeInt(mProperties); in writeToParcel() 713 destination.writeLong(mConnectTimeMillis); in writeToParcel() 714 Uri.writeToParcel(destination, mHandle); in writeToParcel() 715 destination.writeInt(mHandlePresentation); in writeToParcel() [all …]
|
D | ConnectionRequest.java | 463 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument 464 destination.writeParcelable(mAccountHandle, 0); in writeToParcel() 465 destination.writeParcelable(mAddress, 0); in writeToParcel() 466 destination.writeParcelable(mExtras, 0); in writeToParcel() 467 destination.writeInt(mVideoState); in writeToParcel() 468 destination.writeString(mTelecomCallId); in writeToParcel() 469 destination.writeInt(mShouldShowIncomingCallUi ? 1 : 0); in writeToParcel() 470 destination.writeParcelable(mRttPipeFromInCall, 0); in writeToParcel() 471 destination.writeParcelable(mRttPipeToInCall, 0); in writeToParcel() 472 destination.writeList(mParticipants); in writeToParcel() [all …]
|
D | GatewayInfo.java | 112 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument 113 destination.writeString(mGatewayProviderPackageName); in writeToParcel() 114 Uri.writeToParcel(destination, mGatewayAddress); in writeToParcel() 115 Uri.writeToParcel(destination, mOriginalAddress); in writeToParcel()
|
D | DisconnectCause.java | 236 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument 237 destination.writeInt(mDisconnectCode); in writeToParcel() 238 TextUtils.writeToParcel(mDisconnectLabel, destination, flags); in writeToParcel() 239 TextUtils.writeToParcel(mDisconnectDescription, destination, flags); in writeToParcel() 240 destination.writeString(mDisconnectReason); in writeToParcel() 241 destination.writeInt(mToneToPlay); in writeToParcel()
|
D | CallAudioState.java | 277 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument 278 destination.writeByte((byte) (isMuted ? 1 : 0)); in writeToParcel() 279 destination.writeInt(route); in writeToParcel() 280 destination.writeInt(supportedRouteMask); in writeToParcel() 281 destination.writeParcelable(activeBluetoothDevice, 0); in writeToParcel() 282 destination.writeParcelableList(new ArrayList<>(supportedBluetoothDevices), 0); in writeToParcel()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEntry.java | 101 protected RecipientEntry(int entryType, String displayName, String destination, in RecipientEntry() argument 105 this(entryType, displayName, destination, destinationType, in RecipientEntry() 110 protected RecipientEntry(int entryType, String displayName, String destination, in RecipientEntry() argument 117 mDestination = destination; in RecipientEntry() 133 protected RecipientEntry(int entryType, String displayName, String destination, in RecipientEntry() argument 137 this(entryType, displayName, destination, destinationType, destinationLabel, in RecipientEntry() 191 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument 195 displayName, destination), destination, destinationType, destinationLabel, in constructTopLevelEntry() 201 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument 205 displayName, destination), destination, destinationType, destinationLabel, in constructTopLevelEntry() [all …]
|
/frameworks/layoutlib/bridge/ |
D | update_nav_icons.sh | 40 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/cmds/incident/ |
D | main.cpp | 251 …enum { DEST_UNSET, DEST_DROPBOX, DEST_STDOUT, DEST_BROADCAST, DEST_DUMPSTATE } destination = DEST_… in main() local 267 if (!(destination == DEST_UNSET || destination == DEST_STDOUT)) { in main() 271 destination = DEST_STDOUT; in main() 274 if (!(destination == DEST_UNSET || destination == DEST_DROPBOX)) { in main() 278 destination = DEST_DROPBOX; in main() 281 if (!(destination == DEST_UNSET || destination == DEST_DUMPSTATE)) { in main() 285 destination = DEST_DUMPSTATE; in main() 298 if (destination != DEST_UNSET) { in main() 302 destination = DEST_BROADCAST; in main() 310 if (destination == DEST_UNSET) { in main() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | AtomicDirectory.java | 139 final FileOutputStream destination = new FileOutputStream(file); in openWrite() local 140 if (mOpenFiles.put(file, destination) != null) { in openWrite() 143 return destination; in openWrite() 153 public void closeWrite(@NonNull FileOutputStream destination) { in closeWrite() argument 154 final int indexOfValue = mOpenFiles.indexOfValue(destination); in closeWrite() 156 throw new IllegalArgumentException("Unknown file stream " + destination); in closeWrite() 158 FileUtils.sync(destination); in closeWrite() 160 destination.close(); in closeWrite() 164 public void failWrite(@NonNull FileOutputStream destination) { in failWrite() argument 165 final int indexOfValue = mOpenFiles.indexOfValue(destination); in failWrite()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | RggbChannelVector.java | 147 public void copyTo(final float[] destination, final int offset) { in copyTo() argument 148 checkNotNull(destination, "destination must not be null"); in copyTo() 149 if (destination.length - offset < COUNT) { in copyTo() 153 destination[offset + RED] = mRed; in copyTo() 154 destination[offset + GREEN_EVEN] = mGreenEven; in copyTo() 155 destination[offset + GREEN_ODD] = mGreenOdd; in copyTo() 156 destination[offset + BLUE] = mBlue; in copyTo()
|
D | ColorSpaceTransform.java | 162 public void copyElements(Rational[] destination, int offset) { in copyElements() argument 164 checkNotNull(destination, "destination must not be null"); in copyElements() 165 if (destination.length - offset < COUNT) { in copyElements() 173 destination[i + offset] = new Rational(numerator, denominator); in copyElements() 197 public void copyElements(int[] destination, int offset) { in copyElements() argument 199 checkNotNull(destination, "destination must not be null"); in copyElements() 200 if (destination.length - offset < COUNT_INT) { in copyElements() 206 destination[i + offset] = mElements[i]; in copyElements()
|
D | BlackLevelPattern.java | 90 public void copyTo(int[] destination, int offset) { in copyTo() argument 91 checkNotNull(destination, "destination must not be null"); in copyTo() 95 if (destination.length - offset < COUNT) { in copyTo() 99 destination[offset + i] = mCfaOffsets[i]; in copyTo()
|
/frameworks/av/drm/libmediadrm/ |
D | ICrypto.cpp | 103 const DestinationBuffer &destination, AString *errorDetailMsg) { in decrypt() 137 data.writeInt32((int32_t)destination.mType); in decrypt() 138 if (destination.mType == kDestinationTypeNativeHandle) { in decrypt() 139 if (destination.mHandle == NULL) { in decrypt() 142 data.writeNativeHandle(destination.mHandle); in decrypt() 144 if (destination.mSharedMemory == NULL) { in decrypt() 147 data.writeStrongBinder(IInterface::asBinder(destination.mSharedMemory)); in decrypt() 363 DestinationBuffer destination; in onTransact() local 364 destination.mType = (DestinationType)data.readInt32(); in onTransact() 365 if (destination.mType == kDestinationTypeNativeHandle) { in onTransact() [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | UpdateInstaller.java | 108 File destination = createNewFileWithPermissions(); in copyUpdateFileToDataOtaPackageDir() local 109 copyToFile(destination); in copyUpdateFileToDataOtaPackageDir() 110 return destination; in copyUpdateFileToDataOtaPackageDir() 121 File destination = File.createTempFile( in createNewFileWithPermissions() local 124 /* path= */ destination, in createNewFileWithPermissions() 127 return destination; in createNewFileWithPermissions() 130 private void copyToFile(File destination) throws IOException { in copyToFile() argument 131 try (OutputStream out = new FileOutputStream(destination); in copyToFile()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | ParamsUtils.java | 169 public static void convertRectF(Rect source, RectF destination) { in convertRectF() argument 171 checkNotNull(destination, "destination must not be null"); in convertRectF() 173 destination.left = source.left; in convertRectF() 174 destination.right = source.right; in convertRectF() 175 destination.bottom = source.bottom; in convertRectF() 176 destination.top = source.top; in convertRectF()
|
/frameworks/av/services/oboeservice/ |
D | AAudioMixer.cpp | 54 float *destination = mOutputBuffer; in mix() local 94 mixPart(destination, (float *)wrappingBuffer.data[partIndex], in mix() 97 destination += framesToMixFromPart * mSamplesPerFrame; in mix() 111 void AAudioMixer::mixPart(float *destination, float *source, int32_t numFrames) { in mixPart() argument 115 *destination++ += *source++; in mixPart()
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
D | PdfRenderer.java | 387 public void render(@NonNull Bitmap destination, @Nullable Rect destClip, in render() argument 393 destination = Preconditions.checkNotNull(destination, "bitmap null"); in render() 395 if (destination.getConfig() != Config.ARGB_8888) { in render() 401 || destClip.right > destination.getWidth() in render() 402 || destClip.bottom > destination.getHeight()) { in render() 422 : destination.getWidth(); in render() 424 : destination.getHeight(); in render() 440 nativeRenderPage(mNativeDocument, mNativePage, destination.getNativeInstance(), in render()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | DownloadRequest.java | 65 private Uri destination; field in DownloadRequest.SerializationDataContainer 75 destination = request.destinationUri; in SerializationDataContainer() 86 objectOutput.writeUTF(destination.toString()); in writeExternal() 96 destination = Uri.parse(objectInput.readUTF()); in readExternal() 106 private Uri destination; field in DownloadRequest.Builder 140 builder = new Builder(dataContainer.source, dataContainer.destination); in fromSerializedRequest() 171 destination = destinationUri; in Builder() 222 return new DownloadRequest(fileServiceId, source, destination, in build() 235 Uri source, Uri destination, int sub, in DownloadRequest() argument 240 destinationUri = destination; in DownloadRequest()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | CryptoPlugin.cpp | 54 const DestinationBuffer& destination, in decrypt() argument 62 secure, keyId, iv, mode, pattern, subSamples, source, offset, destination, in decrypt() 87 const DestinationBuffer& destination, in decrypt_1_2() argument 103 if (destination.type == BufferType::SHARED_MEMORY) { in decrypt_1_2() 104 const SharedBuffer& dest = destination.nonsecureMemory; in decrypt_1_2() 132 const SharedBuffer& destBuffer = destination.nonsecureMemory; in decrypt_1_2() 143 destPtr = static_cast<void *>(base + destination.nonsecureMemory.offset); in decrypt_1_2()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/ |
D | AesCtrDecryptorUnittest.cpp | 34 uint8_t* destination, const SubSample* subSamples, in attemptDecrypt() argument 40 return decryptor.decrypt(keyVector, iv, source, destination, subSamples, in attemptDecrypt() 71 uint8_t destination[kTotalSize] = { 0 }; in TEST_F() local 82 &source[0], &destination[0], in TEST_F() 105 uint8_t destination[kTotalSize] = { 0 }; in TEST_F() local 116 &source[0], &destination[0], in TEST_F()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternalCapture.cpp | 165 uint8_t *destination = (uint8_t *) buffer; in readNowWithConversion() local 187 memcpy(destination, wrappingBuffer.data[partIndex], numBytes); in readNowWithConversion() 191 (float *) destination, in readNowWithConversion() 197 (int16_t *) destination, in readNowWithConversion() 205 destination += numBytes; in readNowWithConversion()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | AesCtrDecryptor.cpp | 31 uint8_t* destination, in decrypt() argument 54 memcpy(destination + offset, source + offset, in decrypt() 60 AES_ctr128_encrypt(source + offset, destination + offset, in decrypt()
|