Searched defs:relation (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DRelation.java24 * An immutable value type representing a statement relation with "kind" and "detail".
27 * field specifies which permission to delegate. A statement involving this relation does not
49 * Returns the relation's kind.
57 * Returns the relation's detail.
80 * @throws AssociationServiceException if the relation is not well formatted.
82 public static Relation create(@NonNull String relation) throws AssociationServiceException { argument
83 String[] r = relation.split("/", 2);
91 * Returns true if {@code relation} has the same kind and detail.
93 public boolean matches(Relation relation) { argument
94 return getKind().equals(relation
[all...]
H A DStatement.java22 * An immutable value type representing a statement, consisting of a source, target, and relation.
23 * This reflects an assertion that the relation holds for the source, target pair. For example, if a
28 * "relation": ["delegate_permission/common.handle_all_urls"],
53 private Statement(AbstractAsset source, AbstractAsset target, Relation relation) { argument
56 mRelation = relation;
76 * Returns the relation of the statement.
84 * Creates a new Statement object for the specified target asset and relation. For example:
88 * Relation relation = Relation.create("delegate_permission", "common.get_login_creds");
89 * Statement statement = Statement.create(asset, relation);
93 @NonNull Relation relation) {
92 create(@onNull AbstractAsset source, @NonNull AbstractAsset target, @NonNull Relation relation) 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/browser/src/main/java/androidx/browser/customtabs/
H A DCustomTabsCallback.java106 * @param relation Relation for which the result is available. Value previously passed to
111 * @param result Whether the relation was validated.
114 public void onRelationshipValidationResult(@CustomTabsService.Relation int relation, Uri requestedOrigin, argument
H A DCustomTabsService.java163 ICustomTabsCallback callback, @Relation int relation, Uri origin, Bundle extras) {
165 new CustomTabsSessionToken(callback), relation, origin, extras);
308 * @param relation Relation to check, must be one of the {@code CustomTabsService#RELATION_* }
310 * @param origin Origin for the relation query.
315 CustomTabsSessionToken sessionToken, @Relation int relation, Uri origin,
314 validateRelationship( CustomTabsSessionToken sessionToken, @Relation int relation, Uri origin, Bundle extras) argument
H A DCustomTabsSession.java212 * a relation with the calling application, to grant the associated rights.
220 * @param relation Relation to check, must be one of the {@code CustomTabsService#RELATION_* }
226 public boolean validateRelationship(@CustomTabsService.Relation int relation, @NonNull Uri origin, argument
228 if (relation < CustomTabsService.RELATION_USE_AS_ORIGIN
229 || relation > CustomTabsService.RELATION_HANDLE_ALL_URLS) {
233 return mService.validateRelationship(mCallback, relation, origin, extras);
H A DCustomTabsSessionToken.java53 public void onRelationshipValidationResult(@CustomTabsService.Relation int relation, Uri requestedOrigin, argument
128 public void onRelationshipValidationResult(@CustomTabsService.Relation int relation, Uri origin,
132 relation, origin, result, extras);
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
H A DRawQueryTest.java133 public void relation() { method in class:RawQueryTest
H A DQueryTransactionTest.java185 public void relation() { method in class:QueryTransactionTest
/frameworks/base/packages/StatementService/src/com/android/statementservice/
H A DDirectStatementService.java54 * EXTRA_TARGET_ASSET_DESCRIPTOR} for {@code EXTRA_RELATION} relation.
65 * <p>A relation string.
193 String relation = extras.getString(EXTRA_RELATION);
210 if (relation == null) {
217 new IsAssociatedCallable(sources, target, relation, resultReceiver), TAG));
231 public IsAssociatedCallable(List<String> sources, String target, String relation, argument
235 mRelation = relation;
240 Relation relation) throws AssociationServiceException {
243 if (relation.matches(statement.getRelation())
256 Relation relation;
239 verifyOneSource(AbstractAsset source, AbstractAssetMatcher target, Relation relation) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java47 * A Layout where the positions of the children can be described in relation to each other or to the
1008 private View getRelatedView(int[] rules, int relation) { argument
1009 int id = rules[relation];
1018 node = mGraph.mKeyNodes.get((rules[relation]));
1030 private LayoutParams getRelatedViewParams(int[] rules, int relation) { argument
1031 View v = getRelatedView(rules, relation);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 290 milliseconds