Home
last modified time | relevance | path

Searched refs:destination (Results 1 – 25 of 148) sorted by relevance

123456

/frameworks/base/services/core/java/com/android/server/hdmi/
DSetAudioVolumeLevelMessage.java29 private SetAudioVolumeLevelMessage(int source, int destination, byte[] params, in SetAudioVolumeLevelMessage() argument
31 super(source, destination, Constants.MESSAGE_SET_AUDIO_VOLUME_LEVEL, params, OK); in SetAudioVolumeLevelMessage()
44 public static HdmiCecMessage build(int source, int destination, int audioVolumeLevel) { in build() argument
48 int addressValidationResult = validateAddress(source, destination); in build()
50 return new SetAudioVolumeLevelMessage(source, destination, params, audioVolumeLevel); in build()
52 return new HdmiCecMessage(source, destination, Constants.MESSAGE_SET_AUDIO_VOLUME_LEVEL, in build()
68 public static HdmiCecMessage build(int source, int destination, byte[] params) { in build() argument
70 return new HdmiCecMessage(source, destination, Constants.MESSAGE_SET_AUDIO_VOLUME_LEVEL, in build()
77 int addressValidationResult = validateAddress(source, destination); in build()
79 return new SetAudioVolumeLevelMessage(source, destination, params, audioVolumeLevel); in build()
[all …]
DHdmiCecMessage.java52 protected HdmiCecMessage(int source, int destination, int opcode, byte[] params, in HdmiCecMessage() argument
55 mDestination = destination; in HdmiCecMessage()
61 private HdmiCecMessage(int source, int destination, int opcode, byte[] params) { in HdmiCecMessage() argument
62 this(source, destination, opcode, params, in HdmiCecMessage()
63 HdmiCecMessageValidator.validate(source, destination, opcode & 0xFF, params)); in HdmiCecMessage()
76 static HdmiCecMessage build(int source, int destination, int opcode, byte[] params) { in build() argument
79 return SetAudioVolumeLevelMessage.build(source, destination, params); in build()
81 return ReportFeaturesMessage.build(source, destination, params); in build()
83 return new HdmiCecMessage(source, destination, opcode & 0xFF, params); in build()
87 static HdmiCecMessage build(int source, int destination, int opcode) { in build() argument
[all …]
DReportFeaturesMessage.java46 private ReportFeaturesMessage(int source, int destination, byte[] params, int cecVersion, in ReportFeaturesMessage() argument
48 super(source, destination, Constants.MESSAGE_REPORT_FEATURES, params, OK); in ReportFeaturesMessage()
132 static HdmiCecMessage build(int source, int destination, byte[] params) { in build() argument
135 validationResult -> new HdmiCecMessage(source, destination, in build()
138 @ValidationResult int addressValidationResult = validateAddress(source, destination); in build()
162 return new ReportFeaturesMessage(source, destination, params, cecVersion, deviceFeatures); in build()
168 public static int validateAddress(int source, int destination) { in validateAddress() argument
169 return HdmiCecMessageValidator.validateAddress(source, destination, in validateAddress()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DConversationInfoTest.java151 ConversationInfo destination = new ConversationInfo.Builder(source) in testBuildFromAnotherConversationInfo() local
156 assertEquals(SHORTCUT_ID, destination.getShortcutId()); in testBuildFromAnotherConversationInfo()
157 assertEquals(LOCUS_ID, destination.getLocusId()); in testBuildFromAnotherConversationInfo()
158 assertEquals(CONTACT_URI, destination.getContactUri()); in testBuildFromAnotherConversationInfo()
159 assertEquals(PHONE_NUMBER, destination.getContactPhoneNumber()); in testBuildFromAnotherConversationInfo()
160 assertEquals(NOTIFICATION_CHANNEL_ID, destination.getNotificationChannelId()); in testBuildFromAnotherConversationInfo()
161 assertEquals(PARENT_NOTIFICATION_CHANNEL_ID, destination.getParentNotificationChannelId()); in testBuildFromAnotherConversationInfo()
162 assertEquals(100L, destination.getLastEventTimestamp()); in testBuildFromAnotherConversationInfo()
163 assertEquals(200L, destination.getCreationTimestamp()); in testBuildFromAnotherConversationInfo()
164 assertTrue(destination.isShortcutLongLived()); in testBuildFromAnotherConversationInfo()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DParcelableConnection.java328 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 …]
DParcelableConference.java345 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument
346 destination.writeParcelable(mPhoneAccount, 0); in writeToParcel()
347 destination.writeInt(mState); in writeToParcel()
348 destination.writeInt(mConnectionCapabilities); in writeToParcel()
349 destination.writeList(mConnectionIds); in writeToParcel()
350 destination.writeLong(mConnectTimeMillis); in writeToParcel()
351 destination.writeStrongBinder( in writeToParcel()
353 destination.writeInt(mVideoState); in writeToParcel()
354 destination.writeParcelable(mStatusHints, 0); in writeToParcel()
355 destination.writeBundle(mExtras); in writeToParcel()
[all …]
DParcelableCall.java727 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument
728 destination.writeString(mId); in writeToParcel()
729 destination.writeInt(mState); in writeToParcel()
730 destination.writeParcelable(mDisconnectCause, 0); in writeToParcel()
731 destination.writeList(mCannedSmsResponses); in writeToParcel()
732 destination.writeInt(mCapabilities); in writeToParcel()
733 destination.writeInt(mProperties); in writeToParcel()
734 destination.writeLong(mConnectTimeMillis); in writeToParcel()
735 Uri.writeToParcel(destination, mHandle); in writeToParcel()
736 destination.writeInt(mHandlePresentation); in writeToParcel()
[all …]
DConnectionRequest.java464 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument
465 destination.writeParcelable(mAccountHandle, 0); in writeToParcel()
466 destination.writeParcelable(mAddress, 0); in writeToParcel()
467 destination.writeParcelable(mExtras, 0); in writeToParcel()
468 destination.writeInt(mVideoState); in writeToParcel()
469 destination.writeString(mTelecomCallId); in writeToParcel()
470 destination.writeInt(mShouldShowIncomingCallUi ? 1 : 0); in writeToParcel()
471 destination.writeParcelable(mRttPipeFromInCall, 0); in writeToParcel()
472 destination.writeParcelable(mRttPipeToInCall, 0); in writeToParcel()
473 destination.writeList(mParticipants); in writeToParcel()
[all …]
DGatewayInfo.java112 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()
/frameworks/layoutlib/bridge/
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/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecMessageTest.java37 int destination = 1; in testEqualsHdmiCecMessage() local
44 HdmiCecMessage.build(source, destination, opcode, params1), in testEqualsHdmiCecMessage()
45 HdmiCecMessage.build(source, destination, opcode, params1)) in testEqualsHdmiCecMessage()
46 .addEqualityGroup(HdmiCecMessage.build(source, destination, opcode, params2)) in testEqualsHdmiCecMessage()
47 .addEqualityGroup(HdmiCecMessage.build(source + 1, destination, opcode, params1)) in testEqualsHdmiCecMessage()
48 .addEqualityGroup(HdmiCecMessage.build(source, destination + 1, opcode, params1)) in testEqualsHdmiCecMessage()
49 .addEqualityGroup(HdmiCecMessage.build(source, destination, opcode + 1, params1)) in testEqualsHdmiCecMessage()
/frameworks/base/core/java/com/android/internal/os/
DAtomicDirectory.java147 final FileOutputStream destination = new FileOutputStream(file); in openWrite() local
148 mOpenFiles.put(file, destination); in openWrite()
149 return destination; in openWrite()
159 public void closeWrite(@NonNull FileOutputStream destination) { in closeWrite() argument
160 final int indexOfValue = mOpenFiles.indexOfValue(destination); in closeWrite()
162 throw new IllegalArgumentException("Unknown file stream " + destination); in closeWrite()
165 FileUtils.sync(destination); in closeWrite()
166 FileUtils.closeQuietly(destination); in closeWrite()
169 public void failWrite(@NonNull FileOutputStream destination) { in failWrite() argument
170 final int indexOfValue = mOpenFiles.indexOfValue(destination); in failWrite()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java101 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/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/
DSliceUtil.kt68 destination: String? = null, in appendSpaParams()
72 if (destination != null) appendQueryParameter(KEY_DESTINATION, destination) in appendSpaParams()
90 destination = sp.buildRoute(), in fromEntry()
107 val destination = getDestination() ?: return null in createBrowsePendingIntent() constant
109 return createBrowsePendingIntent(context, browseActivityClass, destination, entryId) in createBrowsePendingIntent()
115 val destination = getDestination() ?: return null in createBrowsePendingIntent() constant
117 return createBrowsePendingIntent(context, browseActivityClass, destination, entryId) in createBrowsePendingIntent()
123 destination: String, in createBrowsePendingIntent()
127 .appendSpaParams(destination, entryId, SESSION_SLICE) in createBrowsePendingIntent()
132 data = Uri.Builder().appendSpaParams(destination, entryId).build() in createBrowsePendingIntent()
/frameworks/base/cmds/incident/
Dmain.cpp252 …enum { DEST_UNSET, DEST_DROPBOX, DEST_STDOUT, DEST_BROADCAST, DEST_DUMPSTATE } destination = DEST_… in main() local
268 if (!(destination == DEST_UNSET || destination == DEST_STDOUT)) { in main()
272 destination = DEST_STDOUT; in main()
275 if (!(destination == DEST_UNSET || destination == DEST_DROPBOX)) { in main()
279 destination = DEST_DROPBOX; in main()
282 if (!(destination == DEST_UNSET || destination == DEST_DUMPSTATE)) { in main()
286 destination = DEST_DUMPSTATE; in main()
299 if (destination != DEST_UNSET) { in main()
303 destination = DEST_BROADCAST; in main()
314 if (destination == DEST_UNSET) { in main()
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DRggbChannelVector.java147 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()
DColorSpaceTransform.java162 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()
DBlackLevelPattern.java95 public void copyTo(int[] destination, int offset) { in copyTo() argument
96 Objects.requireNonNull(destination, "destination must not be null"); in copyTo()
100 if (destination.length - offset < COUNT) { in copyTo()
104 destination[offset + i] = mCfaOffsets[i]; in copyTo()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DUpdateInstaller.java108 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/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DProjectionSpace.h38 ui::Transform getTransform(const ProjectionSpace& destination) const { in getTransform() argument
39 ui::Rotation rotation = destination.getOrientation() - mOrientation; in getTransform()
45 inverseRotatingTransform.set(inverseRotationFlags, destination.getBounds().width, in getTransform()
46 destination.getBounds().height); in getTransform()
48 Rect orientedDestContent = inverseRotatingTransform.transform(destination.getContent()); in getTransform()
71 auto orientedDestWidth = destination.getBounds().width; in getTransform()
72 auto orientedDestHeight = destination.getBounds().height; in getTransform()
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java169 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/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DSpaIntent.kt50 destination = buildRoute(), in SettingsPage()
59 destination = sp.buildRoute(), in SettingsEntry()
66 destination: String? = null, in appendSpaParams()
71 if (destination != null) putExtra(KEY_DESTINATION, destination) in appendSpaParams()
/frameworks/av/services/oboeservice/
DAAudioMixer.cpp51 float *destination = mOutputBuffer.get(); in mix() local
91 mixPart(destination, (float *)wrappingBuffer.data[partIndex], in mix()
94 destination += framesToMixFromPart * mSamplesPerFrame; in mix()
108 void AAudioMixer::mixPart(float *destination, float *source, int32_t numFrames) { in mixPart() argument
112 *destination++ += *source++; in mixPart()
/frameworks/base/telephony/java/android/telephony/mbms/
DDownloadRequest.java64 private Uri destination; field in DownloadRequest.SerializationDataContainer
74 destination = request.destinationUri; in SerializationDataContainer()
85 objectOutput.writeUTF(destination.toString()); in writeExternal()
95 destination = Uri.parse(objectInput.readUTF()); in readExternal()
105 private Uri destination; field in DownloadRequest.Builder
139 builder = new Builder(dataContainer.source, dataContainer.destination); in fromSerializedRequest()
170 destination = destinationUri; in Builder()
220 return new DownloadRequest(fileServiceId, source, destination, in build()
233 Uri source, Uri destination, int sub, in DownloadRequest() argument
238 destinationUri = destination; in DownloadRequest()
/frameworks/base/libs/hwui/canvas/
DCanvasOpRasterizer.cpp29 void rasterizeCanvasBuffer(const CanvasOpBuffer& source, SkCanvas* destination) { in rasterizeCanvasBuffer() argument
39 destination->setMatrix(SkMatrix::Concat(currentGlobalTransform, op->transform())); in rasterizeCanvasBuffer()
41 (*op)->draw(destination); in rasterizeCanvasBuffer()

123456