Home
last modified time | relevance | path

Searched refs:mDestination (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/Connectivity/framework/src/android/net/
DRouteInfo.java73 private final IpPrefix mDestination; field in RouteInfo
223 mDestination = destination; // IpPrefix objects are immutable. in RouteInfo()
354 return (mDestination.getAddress() instanceof Inet4Address && in isHost()
355 mDestination.getPrefixLength() == 32) || in isHost()
356 (mDestination.getAddress() instanceof Inet6Address && in isHost()
357 mDestination.getPrefixLength() == 128); in isHost()
367 return mDestination; in getDestination()
376 return new LinkAddress(mDestination.getAddress(), mDestination.getPrefixLength()); in getDestinationLinkAddress()
427 return mType == RTN_UNICAST && mDestination.getPrefixLength() == 0; in isDefaultRoute()
437 return mType == RTN_UNREACHABLE && mDestination.getPrefixLength() == 0; in isUnreachableDefaultRoute()
[all …]
DNattSocketKeepalive.java33 @NonNull private final InetAddress mDestination; field in NattSocketKeepalive
46 mDestination = destination; in NattSocketKeepalive()
84 mDestination.getHostAddress(), automaticOnOffKeepalives, in startImpl()
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DWebTriggerRegistrationRequest.java51 @NonNull private final Uri mDestination; field in WebTriggerRegistrationRequest
55 mDestination = builder.mDestination; in WebTriggerRegistrationRequest()
70 mDestination = Uri.CREATOR.createFromParcel(in); in WebTriggerRegistrationRequest()
79 && Objects.equals(mDestination, that.mDestination); in equals()
84 return Objects.hash(mWebTriggerParams, mDestination); in hashCode()
96 return mDestination; in getDestination()
108 mDestination.writeToParcel(out, flags); in writeToParcel()
119 @NonNull private final Uri mDestination; field in WebTriggerRegistrationRequest.Builder
142 mDestination = destination; in Builder()
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/data/measurement/
DSourceDestination.java27 private final String mDestination; field in SourceDestination
35 mDestination = destination; in SourceDestination()
46 && Objects.equals(mDestination, sourceDest.mDestination) in equals()
52 return Objects.hash(mSourceId, mDestination, mDestinationType); in hashCode()
66 return mDestination; in getDestination()
81 private String mDestination; field in SourceDestination.Builder
98 mDestination = destination; in setDestination()
114 return new SourceDestination(mSourceId, mDestination, mDestinationType); in build()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DRtNetlinkNeighborMessage.java73 neighMsg.mDestination = nlAttr.getValueAsInetAddress(); in parse()
145 msg.mDestination = ip; in newNewNeighborMessage()
157 private InetAddress mDestination; field in RtNetlinkNeighborMessage
165 mDestination = null; in RtNetlinkNeighborMessage()
176 return mDestination; in getDestination()
193 if (mDestination != null) { in getRequiredSpace()
195 StructNlAttr.NLA_HEADERLEN + mDestination.getAddress().length); in getRequiredSpace()
221 if (mDestination != null) { in pack()
222 packNlAttr(NDA_DST, mDestination.getAddress(), byteBuffer); in pack()
231 final String ipLiteral = (mDestination == null) ? "" : mDestination.getHostAddress(); in toString()
DRtNetlinkRouteMessage.java76 private IpPrefix mDestination; // Destination of a route, can be null for RTM_GETROUTE field in RtNetlinkRouteMessage
92 mDestination = destination; in RtNetlinkRouteMessage()
135 return mDestination; in getDestination()
209 routeMsg.mDestination = new IpPrefix(destination, routeMsg.mRtmsg.dstLen); in parse()
211 routeMsg.mDestination = new IpPrefix(IPV4_ADDR_ANY, 0); in parse()
213 routeMsg.mDestination = new IpPrefix(IPV6_ADDR_ANY, 0); in parse()
296 if (mDestination != null) { in pack()
297 final StructNlAttr destination = new StructNlAttr(RTA_DST, mDestination.getAddress()); in pack()
331 + (mDestination == null ? in toString()
332 "" : "destination{" + mDestination.getAddress().getHostAddress() + "}, ") in toString()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperation.java58 private DocumentStack mDestination; field in FileOperation
69 mDestination = destination; in FileOperation()
86 return mDestination; in getDestination()
94 mDestination = destination; in setDestination()
106 builder.append(", destination=").append(mDestination.toString()); in appendInfoTo()
113 out.writeParcelable(mDestination, flag); in writeToParcel()
120 mDestination = in.readParcelable(FileOperation.class.getClassLoader()); in FileOperation()
316 private DocumentStack mDestination; field in FileOperation.Builder
334 mDestination = destination; in withDestination()
341 return new CopyOperation(mSrcs, mDestination); in build()
[all …]
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestWallpaperPersister.java54 private int mDestination; field in TestWallpaperPersister
94 mDestination = destination; in setIndividualWallpaper()
157 return mDestination; in getLastDestination()
175 if (mDestination == DEST_HOME_SCREEN || mDestination == DEST_BOTH) { in finishSettingWallpaper()
179 if (mDestination == DEST_LOCK_SCREEN || mDestination == DEST_BOTH) { in finishSettingWallpaper()
183 mCallback.onSuccess(mWallpaperInfo, mDestination); in finishSettingWallpaper()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/content/
DPdfPageGotoLinkContent.java54 private final Destination mDestination; field in PdfPageGotoLinkContent
71 this.mDestination = destination; in PdfPageGotoLinkContent()
77 this.mDestination = in.readParcelable(Destination.class.getClassLoader()); in PdfPageGotoLinkContent()
104 return mDestination; in getDestination()
115 dest.writeParcelable(mDestination, flags); in writeToParcel()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DSetWallpaperViewModel.java66 private int mDestination;
77 return mDestination;
81 mDestination = destination;
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DStartJobTask.java91 private final Uri mDestination; field in StartJobTask
104 mDestination = destination; in StartJobTask()
163 String address = mDestination.getHost() + mDestination.getPath(); in doInBackground()
214 + " port=" + mDestination.getPort() + " mime=" + MIME_TYPE_PDF in doInBackground()
218 result = mBackend.nativeStartJob(Backend.getIp(address), mDestination.getPort(), in doInBackground()
220 mDestination.getScheme()); in doInBackground()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java489 private final int mDestination; field in DefaultWallpaperPersister.SetWallpaperTask
511 mDestination = destination; in SetWallpaperTask()
524 mDestination = destination; in SetWallpaperTask()
549 if (mDestination == DEST_HOME_SCREEN) { in doInBackground()
551 } else if (mDestination == DEST_LOCK_SCREEN) { in doInBackground()
585 if (mDestination == DEST_HOME_SCREEN in doInBackground()
596 .getDrawable(WallpaperPersister.destinationToFlags(mDestination))) in doInBackground()
600 mDestination, in doInBackground()
605 setImageWallpaperMetadata(mDestination, wallpaperId); in doInBackground()
627 mCallback.onSuccess(mWallpaper, mDestination); in onPostExecute()
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/actions/
DRegisterTrigger.java45 public final String mDestination; field in RegisterTrigger
63 mDestination = regParamsJson.optString(TestFormatJsonMapping.CONTEXT_ORIGIN_URI_KEY); in RegisterTrigger()
87 return mDestination; in getDestination()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppBatch.java69 public final BluetoothDevice mDestination; field in BluetoothOppBatch
107 mDestination = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(info.mDestination); in BluetoothOppBatch()
DBluetoothOppShareInfo.java55 public String mDestination; field in BluetoothOppShareInfo
92 mDestination = destination; in BluetoothOppShareInfo()
DBluetoothOppTransfer.java139 + mBatch.mDestination in onReceive()
142 if ((device.equals(mBatch.mDestination)) in onReceive()
704 mDevice = mBatch.mDestination; in startConnectSession()
705 if (!mBatch.mDestination.sdpSearch(BluetoothUuid.OBEX_OBJECT_PUSH)) { in startConnectSession()
710 mConnectThread = new SocketConnectThread(mBatch.mDestination, false, false, -1); in startConnectSession()
DBluetoothOppService.java854 Log.v(TAG, "DESTINAT: " + info.mDestination); in insertShare()
984 info.mDestination = stringFromCursor(info.mDestination, cursor, BluetoothShare.DESTINATION); in updateShare()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadInfo.java72 info.mDestination = getInt(Downloads.Impl.COLUMN_DESTINATION); in updateFromDatabase()
161 public int mDestination; field in DownloadInfo
384 return mDestination != Downloads.Impl.DESTINATION_CACHE_PARTITION_NOROAMING; in isRoamingAllowed()
423 pw.printPair("mDestination", mDestination); in dump()
451 && (mDestination == Downloads.Impl.DESTINATION_EXTERNAL || in shouldScanFile()
452 mDestination == Downloads.Impl.DESTINATION_FILE_URI || in shouldScanFile()
453 mDestination == Downloads.Impl.DESTINATION_NON_DOWNLOADMANAGER_DOWNLOAD) in shouldScanFile()
DDownloadThread.java711 if (mInfo.mDestination != Downloads.Impl.DESTINATION_FILE_URI) { in finalizeDestination()
716 mContext, mInfo.mDestination); in finalizeDestination()
718 mContext, mInfo.mDestination); in finalizeDestination()
807 mInfo.mDestination); in parseOkHeaders()
DDownloadProvider.java1508 } else if ((info.mDestination == Downloads.Impl.DESTINATION_EXTERNAL in update()
1509 || info.mDestination == Downloads.Impl.DESTINATION_FILE_URI in update()
1510 || info.mDestination == Downloads.Impl in update()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DRenderingRequest.java37 private Rect mDestination = null; field in RenderingRequest
183 return mDestination; in getDestination()
187 mDestination = destination; in setDestination()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppBatchTest.java79 assertThat(mBluetoothOppBatch.mDestination.getAddress()) in constructor_instanceCreatedCorrectly()
80 .isEqualTo(mInitShareInfo.mDestination); in constructor_instanceCreatedCorrectly()
DBluetoothOppShareInfoTest.java63 assertThat(mBluetoothOppShareInfo.mDestination).isEqualTo("01:23:45:67:89:AB"); in testConstructor()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityDetailsSettingsFragment.java97 openSubSettings(launchArguments.mDestination, launchArguments.mArguments); in openSystemAccessibilitySettingsAndFinish()
260 final String mDestination; field in AccessibilityDetailsSettingsFragment.LaunchFragmentArguments
263 mDestination = Objects.requireNonNull(destination); in LaunchFragmentArguments()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/services/
DFileOperationServiceTest.java416 private final DocumentStack mDestination; field in FileOperationServiceTest.TestFileOperation
423 mDestination = destination; in TestFileOperation()
429 service, listener, id, mOpType, mDestination, mSrcs, mJobRunnable, features); in createJob()

12