Searched defs:origin (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DGeolocationPermissions.java27 * Geolocation permissions are applied to an origin, which consists of the
29 * Geolocation API, permission must be granted for that content's origin.
31 * This class stores Geolocation permissions. An origin's permission state can
33 * an origin.
35 * When an origin attempts to use the Geolocation API, but no permission state
36 * is currently set for that origin,
38 * is called. This allows the permission state to be set for that origin.
49 * permission state for an origin.
53 * Sets the Geolocation permission state for the supplied origin.
55 * @param origin th
62 invoke(String origin, boolean allow, boolean retain) argument
104 getAllowed(String origin, ValueCallback<Boolean> callback) argument
113 clear(String origin) argument
122 allow(String origin) argument
[all...]
H A DTokenBindingService.java76 * Retrieves the key pair for a given origin from the internal
88 * @param origin The origin for the server.
93 public abstract void getKey(Uri origin, argument
99 * @param origin The origin of the server.
104 public abstract void deleteKey(Uri origin, argument
H A DWebStorage.java30 * Cache API can be attributed to an origin {@link WebStorage.Origin}, however
31 * it is not possible to set per-origin quotas. Note that there can be only
34 * The Web SQL Database API provides storage which is private to a given origin.
36 * to an origin. It is also possible to set per-origin quotas.
60 * currently used by an origin for the JavaScript storage APIs.
61 * An origin comprises the host, scheme and port of a URI.
71 protected Origin(String origin, long quota, long usage) { argument
72 mOrigin = origin;
78 * Gets the string representation of this origin
143 getUsageForOrigin(String origin, ValueCallback<Long> callback) argument
154 getQuotaForOrigin(String origin, ValueCallback<Long> callback) argument
166 setQuotaForOrigin(String origin, long quota) argument
175 deleteOrigin(String origin) argument
[all...]
H A DWebChromeClient.java250 * API for a particular origin and request a new quota. The client must
260 * @param quota The quota for the origin, in bytes
302 * Notify the host application that web content from the specified origin
304 * currently set for that origin. The host application should invoke the
314 * @param origin The origin of the web content attempting to use the
317 * origin.
319 public void onGeolocationPermissionsShowPrompt(String origin, argument
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisibleTest.java198 * @param origin The root view of the screen.
201 static public void assertOnBottomEdgeOfScreen(View origin, View view) { argument
206 origin.getLocationOnScreen(xyRoot);
209 int bottomOfRoot = xyRoot[1] + origin.getHeight();
219 * @param origin The root view of the screen.
222 static public void assertOnTopEdgeOfScreen(View origin, View view) { argument
227 origin.getLocationOnScreen(xyRoot);
230 int bottomOfRoot = xyRoot[1] + origin.getHeight();
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java38 public Rectangle(Point origin, Point size) { argument
39 super(origin,
40 origin.plus(size.x, 0.0f),
41 origin.plus(0.0f, size.y),
42 origin.plus(size.x, size.y));
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java41 * @param origin The root view of the screen.
44 static public void assertOnScreen(View origin, View view) { argument
49 origin.getLocationOnScreen(xyRoot);
63 * @param origin The root view of the screen.
66 static public void assertOffScreenBelow(View origin, View view) { argument
71 origin.getLocationOnScreen(xyRoot);
77 + origin.getHeight() + ")",
78 y > origin.getHeight());
83 * @param origin Te root view of the screen.
86 static public void assertOffScreenAbove(View origin, Vie argument
106 assertHasScreenCoordinates(View origin, View view, int x, int y) argument
[all...]
/frameworks/support/browser/src/androidTest/java/androidx/browser/customtabs/
H A DTestCustomTabsService.java77 @Relation int relation, Uri origin, Bundle extras) {
76 validateRelationship(CustomTabsSessionToken sessionToken, @Relation int relation, Uri origin, Bundle extras) argument
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/
H A DPostMessageTest.java110 // Post a string message to main frame passing a wildcard as target origin
118 // Post a string message to main frame passing an empty string as target origin
127 private void verifyPostMessageToOrigin(Uri origin) throws Throwable { argument
130 mOnUiThread.postWebMessageCompat(message, origin);
/frameworks/support/browser/src/main/java/androidx/browser/customtabs/
H A DCustomTabsService.java91 * App -> Web transitions, requests the app to use the declared origin to be used as origin for
97 * ability to handle all URLs from a given origin.
163 ICustomTabsCallback callback, @Relation int relation, Uri origin, Bundle extras) {
165 new CustomTabsSessionToken(callback), relation, origin, extras);
273 * @param postMessageOrigin A origin that the client is requesting to be identified as
276 * here doesn't mean an origin has already been assigned as the validation is
283 * Sends a postMessage request using the origin communicated via
300 * Request to validate a relationship between the application and an origin.
310 * @param origin Origi
314 validateRelationship( CustomTabsSessionToken sessionToken, @Relation int relation, Uri origin, Bundle extras) argument
[all...]
H A DCustomTabsSession.java168 * @param postMessageOrigin A origin that the client is requesting to be identified as
171 * here doesn't mean an origin has already been assigned as the validation is
184 * Sends a postMessage request using the origin communicated via
207 * Requests to validate a relationship between the application and an origin.
222 * @param origin Origin.
226 public boolean validateRelationship(@CustomTabsService.Relation int relation, @NonNull Uri origin, argument
233 return mService.validateRelationship(mCallback, relation, origin, extras);
/frameworks/base/keystore/java/android/security/keystore/
H A DKeyInfo.java32 * and whether this requirement is enforced by secure hardware, the key's origin, what uses the key
92 @KeyProperties.OriginEnum int origin,
111 mOrigin = origin;
150 * Gets the origin of the key. See {@link KeyProperties}.{@code ORIGIN} constants.
90 KeyInfo(String keystoreKeyAlias, boolean insideSecureHardware, @KeyProperties.OriginEnum int origin, int keySize, Date keyValidityStart, Date keyValidityForOriginationEnd, Date keyValidityForConsumptionEnd, @KeyProperties.PurposeEnum int purposes, @KeyProperties.EncryptionPaddingEnum String[] encryptionPaddings, @KeyProperties.SignaturePaddingEnum String[] signaturePaddings, @KeyProperties.DigestEnum String[] digests, @KeyProperties.BlockModeEnum String[] blockModes, boolean userAuthenticationRequired, int userAuthenticationValidityDurationSeconds, boolean userAuthenticationRequirementEnforcedBySecureHardware, boolean userAuthenticationValidWhileOnBody, boolean trustedUserPresenceRequired, boolean invalidatedByBiometricEnrollment, boolean userConfirmationRequired) argument
H A DKeyProperties.java688 * implementation which does not record origin information.
706 public static @OriginEnum int fromKeymaster(int origin) { argument
707 switch (origin) {
717 throw new IllegalArgumentException("Unknown origin: " + origin);
/frameworks/base/libs/hwui/
H A DSkiaCanvasProxy.cpp123 SkIPoint origin = bitmap.pixelRefOrigin(); local
125 *hwuiBitmap, origin.fX, origin.fY, origin.fX + bitmap.dimensions().width(),
126 origin.fY + bitmap.dimensions().height(), left, top,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackLayoutAlgorithm.java56 float origin; field in class:Range
69 this.origin = x;
75 * Returns x normalized to the range 0 to 1 such that 0 = min, 0.5 = origin and 1 = max
77 * @param x is an absolute value in the same domain as origin
80 if (x < origin) {
81 return 0.5f + 0.5f * (x - origin) / -relativeMin;
83 return 0.5f + 0.5f * (x - origin) / relativeMax;
89 * absolute value about the given {@param origin}.
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java1763 final Uri originUri = Uri.fromFile(args.origin.resolvedFile);
1813 final Uri originUri = Uri.fromFile(args.origin.resolvedFile);
13796 final OriginInfo origin = OriginInfo.fromStagedFile(stagedDir);
13801 final InstallParams params = new InstallParams(origin, null, observer,
15231 final OriginInfo origin; field in class:PackageManagerService.InstallParams
15245 InstallParams(OriginInfo origin, MoveInfo move, IPackageInstallObserver2 observer, argument
15250 this.origin = origin;
15266 + " file=" + origin.file + "}";
15373 if (origin
15675 final OriginInfo origin; field in class:PackageManagerService.InstallArgs
15698 InstallArgs(OriginInfo origin, MoveInfo move, IPackageInstallObserver2 observer, int installFlags, String installerPackageName, String volumeUuid, UserHandle user, String[] instructionSets, String abiOverride, String[] installGrantPermissions, String traceMethod, int traceCookie, PackageParser.SigningDetails signingDetails, int installReason) argument
[all...]

Completed in 223 milliseconds