Home
last modified time | relevance | path

Searched refs:origin (Results 1 – 25 of 93) sorted by relevance

1234

/packages/services/Car/car-lib/src/android/car/evs/
DCarEvsManager.java459 default void onStreamEvent(@CarEvsServiceType int origin, @CarEvsStreamEvent int event) { in onStreamEvent() argument
462 onStreamEvent(CarEvsUtils.putTag(origin, event)); in onStreamEvent()
491 public void onStreamEvent(@CarEvsServiceType int origin, @CarEvsStreamEvent int event) { in onStreamEvent() argument
493 "CarEvsManager#onStreamEvent", origin); in onStreamEvent()
495 Slogf.d(TAG, "Received an event %d from %d.", event, origin); in onStreamEvent()
498 mLastStreamEvent.append(origin, event); in onStreamEvent()
504 manager.handleStreamEvent(origin, event); in onStreamEvent()
507 "CarEvsManager#onStreamEvent", origin); in onStreamEvent()
567 private void handleStreamEvent(@CarEvsServiceType int origin, @CarEvsStreamEvent int event) { in handleStreamEvent() argument
569 handleStreamEventLocked(origin, event); in handleStreamEvent()
[all …]
DICarEvsStreamCallback.aidl31 void onStreamEvent(int origin, int event); in onStreamEvent() argument
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DOnFullResImageViewStateChangedListener.kt39 abstract fun onDebouncedCenterChanged(newCenter: PointF?, origin: Int) in onDebouncedCenterChanged()
45 override fun onCenterChanged(newCenter: PointF, origin: Int) { in onDebouncedCenterChanged()
48 { onDebouncedCenterChanged(newCenter, origin) }, in onDebouncedCenterChanged()
54 override fun onScaleChanged(newScale: Float, origin: Int) {} in onScaleChanged()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCbGeoUtils.java294 public static Point convertToDistanceFromOrigin(@NonNull final LatLng origin, in convertToDistanceFromOrigin() argument
296 double x = new LatLng(latLng.lat, origin.lng).distance(new LatLng(origin.lat, origin.lng)); in convertToDistanceFromOrigin()
297 double y = new LatLng(origin.lat, latLng.lng).distance(new LatLng(origin.lat, origin.lng)); in convertToDistanceFromOrigin()
299 x = latLng.lat > origin.lat ? x : -x; in convertToDistanceFromOrigin()
300 y = latLng.lng > origin.lng ? y : -y; in convertToDistanceFromOrigin()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCbGeoUtilsTest.java105 LatLng origin = circle.getCenter(); in testExistingLatLngConversionToPoint() local
106 CbGeoUtils.Point ptCenter = convert(origin, circle.getCenter()); in testExistingLatLngConversionToPoint()
107 CbGeoUtils.Point pt622 = convert(origin, ll622); in testExistingLatLngConversionToPoint()
159 LatLng origin = llWestNorth; in testDistanceFromSegmentToAngledPoint() local
160 CbGeoUtils.Point ptWestNorth = convert(origin, llWestNorth); in testDistanceFromSegmentToAngledPoint()
161 CbGeoUtils.Point ptWestSouth = convert(origin, llWestSouth); in testDistanceFromSegmentToAngledPoint()
251 private CbGeoUtils.Point convert(LatLng origin, LatLng latLng) { in convert() argument
252 return CbGeoUtils.convertToDistanceFromOrigin(origin, latLng); in convert()
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_interop_tests/
Drate_limit_max_source_registration_reporting_origin_endpoints.json47 // Should be dropped due to the unattributed reporting origin limit for
69 // Should be dropped due to the unattributed reporting origin limit.
90 // Should be dropped due to the unattributed reporting origin limit is
133 // Should be dropped due to the unattributed reporting origin limit, but
Drate_limit_max_attribution_reporting_endpoints.json115 // Should not result in an event-level report due to the reporting origin
139 // Should not result in an aggregatable report due to the reporting origin
261 // Should not result in an aggregatable report due to reporting origin limit
Dsource_storage_limit.json68 // Should be dropped due to storage limit regardless of the reporting origin.
155 // Should be registered as the source origin is different.
Daggregatable_storage_limit.json102 // regardless of reporting origin.
Devent_level_storage_limit.json102 // regardless of reporting origin.
/packages/modules/NeuralNetworks/tools/test_generator/
Dtest_generator.py859 def __init__(self, origin, target, dim, drop=[], name=None): argument
861 self.origin = origin
863 assert all(i >= -dim and i < dim for i in [self.origin, self.target])
866 self.perm.insert(target if target >= 0 else target + dim, self.perm.pop(origin))
1131 origin = None
1135 origin = arg.value[0]
1142 origin = dim - 1 if origin is None else origin
1143 origin = origin + dim if origin < 0 else origin
1144 return origin, dim
1147 origin, dim = self.GuessOriginalAxisAndDim(*args)
[all …]
DREADME.md271 example.AddVariations(*[AxisConverter(origin, t, dim).Identify(op_list) for t in targets])
275 AxisConverter(origin, t, dim).Identify(op_list) for t in range(dim)
280 AxisConverter(origin, t, dim).Identify(op_list) for t in range(-dim, dim)
285 drop.pop(origin)
287 AxisConverter(origin, origin, dim, drop[0:(dim-i)]).Identify(op_list) for i in dims])
291 AxisConverter(origin, origin, dim, drop[0:i]).Identify(op_list) for i in range(dim)])
295 AxisConverter(origin, j, dim, range(i)).Identify(op_list) \
301 AxisConverter(origin, k, dim, range(i)).Identify(op_list) \
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregateEncryptionKeyManager.java133 private boolean isAllowlisted(String allowlist, String origin) { in isAllowlisted() argument
138 return elements.contains(origin); in isAllowlisted()
149 public static Uri createURL(Uri origin, String path) { in createURL() argument
150 return Uri.withAppendedPath(origin, path); in createURL()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/bigram/
Dbigram_list_read_write_utils.cpp76 const int origin = *pos; in getBigramAddressAndAdvancePosition() local
89 return origin - offset; in getBigramAddressAndAdvancePosition()
91 return origin + offset; in getBigramAddressAndAdvancePosition()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DPreviewPager.java90 int origin = mViewPager.getPaddingStart(); in PreviewPager()
103 } else if (offset <= origin) { in PreviewPager()
105 alpha = (float) Math.abs(offset - origin) / Math.abs(leftBoundary - origin); in PreviewPager()
108 alpha = (float) Math.abs(offset - origin) / Math.abs(rightBoundary - origin); in PreviewPager()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DDragListener.java64 int origin = mStatePanelTrack.findChild( in onDrag() local
67 if (origin != -1 && pos != -1) { in onDrag()
68 State current = (State) array.getItem(origin); in onDrag()
DStatePanelTrack.java287 int origin = findChild(mCurrentView); in checkEndState() local
288 if (origin != -1) { in checkEndState()
289 State current = mAdapter.getItem(origin); in checkEndState()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/sdp/
DSimpleSdpMessage.java117 public abstract String origin();
163 .append(encodeLine(PREFIX_ORIGIN, origin()))
179 public abstract Builder setOrigin(String origin);
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java123 public GeoPermissionRequest(String origin, GeolocationPermissions.Callback callback) { in GeoPermissionRequest() argument
124 mOrigin = origin; in GeoPermissionRequest()
157 public FilePermissionRequest(String origin) { in FilePermissionRequest() argument
158 mOrigin = origin; in FilePermissionRequest()
371 public void onGeolocationPermissionsShowPrompt(String origin, in createAndInitializeWebView()
376 callback.invoke(origin, true, false); in createAndInitializeWebView()
380 onPermissionRequest(new GeoPermissionRequest(origin, callback)); in createAndInitializeWebView()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/animation/
DExpandPanelAnimator.java52 public ExpandPanelAnimator(ViewGroup panel, Point origin, Rect bounds, View gripBar, in ExpandPanelAnimator() argument
57 mOrigin = origin; in ExpandPanelAnimator()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochManager.java381 long origin = mTopicsDao.retrieveEpochOrigin(); in getCurrentEpochId() local
386 if (origin == -1) { in getCurrentEpochId()
387 origin = currentTimeStamp; in getCurrentEpochId()
388 mTopicsDao.persistEpochOrigin(origin); in getCurrentEpochId()
391 Instant.ofEpochMilli(origin).toString()); in getCurrentEpochId()
395 return (long) Math.floor((currentTimeStamp - origin) / (double) epochJobPeriodsMs); in getCurrentEpochId()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregateEncryptionKeyManagerTest.java188 private static List<AggregateEncryptionKey> getExpectedKeys(String origin) { in getExpectedKeys() argument
195 .setAggregationCoordinatorOrigin(Uri.parse(origin)) in getExpectedKeys()
202 .setAggregationCoordinatorOrigin(Uri.parse(origin)) in getExpectedKeys()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/structs/
DStructMf6cctl.java60 public StructMf6cctl(final Inet6Address origin, final Inet6Address group, in StructMf6cctl() argument
62 this(AF_INET6, 0, (long) 0, origin.getAddress(), (long) 0, AF_INET6, in StructMf6cctl()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java208 static int writeString(final byte[] buffer, final int origin, final String word, in writeString() argument
211 int index = origin; in writeString()
229 return index - origin; in writeString()
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/misc/
Dmax_distinct_reporting_origins_per_source_per_destination.json33 // origin limit. Although the previous source has expired, it is

1234