Lines Matching refs:of

1 # Matching Rules of Explicit Want and Implicit Want
5 ## Matching Rules of Explicit Want
8 The table below describes the matching rules of explicit [Want](../reference/apis-ability-kit/js-ap…
23 ## Matching Rules of Implicit Want
25 The table below describes the matching rules of implicit [Want](../reference/apis-ability-kit/js-ap…
33 …Yes | No | For details, see [Matching Rules of uri and type in the want Parameter](#matching-r…
34 …Yes | No | For details, see [Matching Rules of uri and type in the want Parameter](#matching-r…
35 … | Yes | No | For details, see [Matching Rules of action in the want Parameter](#matching-rule…
36 …| Yes | No | For details, see [Matching Rules of entities in the want Parameter](#matching-rul…
45 - The **skills** field declares the capabilities of the target application component. For details, …
48 …ons**, **entities**, **uris**, and **type** attributes) of the application components. If none of
55 ### Matching Rules of action in the want Parameter
57 …want** parameter passed by the caller against **actions** under **skills** of the application comp…
59 - If **action** in the passed **want** parameter is null and **actions** under **skills** of an app…
61 - If **action** in the passed **want** parameter is not null but **actions** under **skills** of an…
63 - If **action** in the passed **want** parameter is null but **actions** under **skills** of an app…
65 - If **action** in the passed **want** parameter is not null, and **actions** under **skills** of a…
67 - If **action** in the passed **want** parameter is not null, and **actions** under **skills** of a…
69 **Figure 1** Matching rules of action in the want parameter
73 ### Matching Rules of entities in the want Parameter
75 …ant** parameter passed by the caller against **entities** under **skills** of the application comp…
77 - If **entities** in the passed **want** parameter is null but **entities** under **skills** of an …
79 - If **entities** in the passed **want** parameter is null but **entities** under **skills** of an …
81 - If **entities** in the passed **want** parameter is not null but **entities** under **skills** of
83 …e passed **want** parameter is not null, and **entities** under **skills** of an application compo…
85 …e passed **want** parameter is not null, and **entities** under **skills** of an application compo…
87 **Figure 2** Matching rules of entities in the want parameter
91 ### Matching Rules of uri and type in the want Parameter
93 …erses the list of installed components and matches the **uris** array under **skills** of the appl…
95 There are four combinations of **uri** and **type** settings. The matching rules are as follows:
98 …- If the **uris** array under **skills** of an application component is null, the matching is succ…
99 …- If the **uris** array under **skills** of an application component contains an URI element whose…
103 - If the **uris** array under **skills** of an application component is null, the matching fails.
104 …**uris** array under **skills** of an application component contains an element whose [uri is matc…
105 …ios and the input URI is a file path URI, the system obtains the MIME type of the file based on th…
108 - If the **uris** array under **skills** of an application component is null, the matching fails.
109 … under **skills** of an application component contains an URI element whose **scheme** is null and…
112 - If the **uris** array under **skills** of an application component is null, the matching fails.
113 …skills** of an application component contains an element whose [uri is matched](#matching-rules-of
115of **scheme** and **host**, or a combination of **scheme**, **host**, and **port** is configured i…
122 …r is called **w_uri**; each element in the **uris** array under **skills** of the application comp…
123 …ller is called **w_type**; the type in the **uris** array under **skills** of the application comp…
125 **Figure 4** Matching rules of uri and type in the want parameter
129 ### Matching Rules of uri
133 - If **scheme** of **s_uri** is null and **w_uri** is null, the matching is successful. Otherwise, …
135 - If **host** of **s_uri** is null and **scheme** of **w_uri** and **scheme** of **s_uri** are the …
137 …ort** of **s_uri** is null and the combination of **scheme** and **host** of **w_uri** is the same…
139of **s_uri** are null and the combination of **scheme**, **host**, and **port** of **w_uri** is th…
141of **s_uri** is not null and the **full path expressions** of **w_uri** and **s_uri** are the same…
143 - If **pathStartWith** of **s_uri** is not null and **w_uri** contains the prefix expression of **s…
145 - If **pathRegex** of **s_uri** is not null and **w_uri** meets the regular expression of **s_uri**…
149 …*, **path**, **pathStartWith**, and **pathRegex** attributes of **uris** under **skills** of an ap…
151 …RI expression**: When only **scheme**, a combination of **scheme** and **host**, or a combination
159 …*scheme** of their URIs starts with **ohos**, for example, **ohosclock://**. The URI of a third-pa…
161 **Figure 5** Example of the matching rules of uri in the want parameter
165 ### Matching Rules of type
169of **type** described in this section are based on the fact that **type** in the **want** paramete…
177 - If the last character of **s_type** is the wildcard `*`, for example, `prefixType/*`, the matchin…
179 - If the last character of **w_type** is the wildcard `*`, for example, `prefixType/*`, the matchin…
181 ### Matching Rules of linkFeature
185 …** in the **want** parameter contains the **linkFeature** key and the value of the key is not null.
187 … **want** parameter passed by the caller against **uris** under **skills** of the application comp…
188 …, only **linkFeature** is used for matching. If the value of **w_linkFeature** matches that of **s…
189 …* in sequence. For details, see [Matching Rules of uri and type in the want Parameter](#matching-r…
193 **Figure 6** Matching rules of linkFeature in the want parameter