Searched refs:authority (Results 1 - 25 of 58) sorted by relevance

123

/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
H A DContentProviderData.java6 private final String authority; field in class:ContentProviderData
15 String authority,
21 this.authority = authority;
29 return authority;
12 ContentProviderData( String className, MetaData metaData, String authority, String readPermission, String writePermission, List<PathPermissionData> pathPermissionDatas, String grantUriPermissions) argument
/external/nist-sip/java/gov/nist/javax/sip/address/
H A DSipUri.java67 protected Authority authority; field in class:SipUri
115 if (this.authority != null) {
116 UserInfo userInfo = authority.getUserInfo();
122 /** Get the authority.
125 return this.authority;
243 if (authority != null)
244 authority.encode(buffer);
273 if (authority.getUserInfo() != null)
274 user = authority.getUserInfo().getUser();
276 String host = authority
561 setAuthority(Authority authority) argument
[all...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowContentResolver.java168 public ContentProviderResult[] applyBatch(String authority, ArrayList<ContentProviderOperation> operations) { argument
169 contentProviderOperations.put(authority, operations);
174 public static void requestSync(Account account, String authority, Bundle extras) { argument
176 Status status = getStatus(account, authority, true);
182 public static void setIsSyncable(Account account, String authority, int syncable) { argument
183 getStatus(account, authority, true).state = syncable;
187 public static int getIsSyncable(Account account, String authority) { argument
188 return getStatus(account, authority, true).state;
192 public static boolean getSyncAutomatically(Account account, String authority) { argument
193 return getStatus(account, authority, tru
197 setSyncAutomatically(Account account, String authority, boolean sync) argument
202 addPeriodicSync(Account account, String authority, Bundle extras, long pollFrequency) argument
210 removePeriodicSync(Account account, String authority, Bundle extras) argument
217 getPeriodicSyncs(Account account, String authority) argument
260 registerProvider(String authority, ContentProvider provider) argument
264 getStatus(Account account, String authority) argument
268 getStatus(Account account, String authority, boolean create) argument
322 getContentProviderOperations(String authority) argument
[all...]
H A DShadowPeriodicSync.java17 public void __constructor__(Account account, String authority, Bundle extras, long period) throws Exception { argument
19 setField("authority", authority);
H A DShadowUriMatcher.java34 public void addURI(String authority, String path, int code) { argument
35 MatchNode authNode = rootNode.map.get(authority);
38 rootNode.map.put(authority, authNode);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
H A DContentProviderController.java44 * @param authority the authority to use
47 public ContentProviderController<T> create(String authority) { argument
49 providerInfo.authority = authority;
64 ShadowContentResolver.registerProviderInternal(providerInfo.authority, contentProvider);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowContentResolver.java421 String authority, ArrayList<ContentProviderOperation> operations)
423 ContentProvider provider = getProvider(authority);
427 contentProviderOperations.put(authority, operations);
433 public static void requestSync(Account account, String authority, Bundle extras) { argument
435 Status status = getStatus(account, authority, true);
441 public static void cancelSync(Account account, String authority) { argument
442 Status status = getStatus(account, authority);
456 public static boolean isSyncActive(Account account, String authority) { argument
457 ShadowContentResolver.Status status = getStatus(account, authority);
463 public static void setIsSyncable(Account account, String authority, in argument
420 applyBatch( String authority, ArrayList<ContentProviderOperation> operations) argument
468 getIsSyncable(Account account, String authority) argument
473 getSyncAutomatically(Account account, String authority) argument
478 setSyncAutomatically(Account account, String authority, boolean sync) argument
483 addPeriodicSync( Account account, String authority, Bundle extras, long pollFrequency) argument
493 removePeriodicSync(Account account, String authority, Bundle extras) argument
507 getPeriodicSyncs(Account account, String authority) argument
622 getProvider(String authority) argument
643 registerProviderInternal( String authority, ContentProvider provider) argument
648 getStatus(Account account, String authority) argument
660 getStatus(Account account, String authority, boolean create) argument
761 getContentProviderOperations(String authority) argument
[all...]
H A DShadowApplicationPackageManager.java185 result.authority = provider.authority;
226 if (name.equals(providerInfo.authority)) { // todo: support multiple authorities
/external/robolectric/v1/src/main/java/android/net/
H A DUri__FromAndroid.java89 ambiguous in terms of differentiating between an authority component
93 matching. In other words, the authority component wins."
96 <scheme>://<authority><path>?<query>
190 * Gets the decoded authority part of this URI. For
191 * server addresses, the authority is structured as follows:
196 * @return the authority for this URI or null if not present
201 * Gets the encoded authority part of this URI. For
202 * server addresses, the authority is structured as follows:
207 * @return the authority for this URI or null if not present
212 * Gets the decoded user information from the authority
514 private Part authority; field in class:Uri__FromAndroid.StringUri
1085 private final Part authority; field in class:Uri__FromAndroid.HierarchicalUri
1090 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument
1265 private Part authority; field in class:Uri__FromAndroid.Builder
1308 authority(Part authority) argument
1319 authority(String authority) argument
1326 encodedAuthority(String authority) argument
[all...]
/external/syslinux/gpxe/src/core/
H A Duri.c78 char *authority = NULL; local
135 * terminator after the authority field, so shuffle
136 * the authority down by one byte, overwriting one of
139 authority = ( path + 2 );
140 if ( ( tmp = strchr ( authority, '/' ) ) ) {
143 memmove ( ( authority - 1 ), authority,
144 ( tmp - authority ) );
145 authority--;
153 /* Split authority int
[all...]
/external/robolectric-shadows/shadows/playservices/src/main/java/org/robolectric/shadows/gms/
H A DShadowGoogleAuthUtil.java105 String scope, Bundle extras, String authority, Bundle syncBundle)
108 .getTokenWithNotification(context, account, scope, extras, authority, syncBundle);
128 String scope, Bundle extras, String authority, Bundle syncBundle)
131 authority, syncBundle);
192 Bundle extras, String authority, Bundle syncBundle)
194 if (authority == null || authority.length() == 0) {
215 Bundle extras, String authority, Bundle syncBundle)
218 extras, authority, syncBundle);
104 getTokenWithNotification(Context context, Account account, String scope, Bundle extras, String authority, Bundle syncBundle) argument
127 getTokenWithNotification(Context context, String accountName, String scope, Bundle extras, String authority, Bundle syncBundle) argument
191 getTokenWithNotification(Context context, Account account, String scope, Bundle extras, String authority, Bundle syncBundle) argument
214 getTokenWithNotification(Context context, String accountName, String scope, Bundle extras, String authority, Bundle syncBundle) argument
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DPeriodicSyncTest.java25 assertThat(sync.authority, equalTo("auth"));
/external/avb/libavb_atx/
H A Davb_atx_validate.c79 uint8_t authority[AVB_ATX_PUBLIC_KEY_SIZE],
93 if (!avb_rsa_verify(authority,
119 uint8_t authority[AVB_ATX_PUBLIC_KEY_SIZE],
125 certificate, authority, minimum_version, expected_usage)) {
135 uint8_t authority[AVB_ATX_PUBLIC_KEY_SIZE],
143 certificate, authority, minimum_version, expected_usage)) {
78 verify_certificate(AvbAtxCertificate* certificate, uint8_t authority[AVB_ATX_PUBLIC_KEY_SIZE], uint64_t minimum_key_version, uint8_t expected_usage[AVB_SHA256_DIGEST_SIZE]) argument
118 verify_pik_certificate(AvbAtxCertificate* certificate, uint8_t authority[AVB_ATX_PUBLIC_KEY_SIZE], uint64_t minimum_version) argument
133 verify_psk_certificate( AvbAtxCertificate* certificate, uint8_t authority[AVB_ATX_PUBLIC_KEY_SIZE], uint64_t minimum_version, uint8_t product_id[AVB_ATX_PRODUCT_ID_SIZE]) argument
/external/libxml2/
H A DtestURI.c38 if (uri->authority) printf("authority: %s\n", uri->authority);
H A Duri.c132 * authority = server | reg_name
481 if (uri->authority != NULL) xmlFree(uri->authority);
482 uri->authority = NULL;
501 * Parse an authority part and fills in the appropriate fields
504 * authority = [ userinfo "@" ] host [ ":" port ]
745 * hier-part = "//" authority path-abempty
796 * relative-part = "//" authority path-abempty
1169 } else if (uri->authority != NULL) {
1177 p = uri->authority;
[all...]
/external/libxml2/include/libxml/
H A Duri.h36 char *authority; /* the authority part */ member in struct:_xmlURI
/external/oauth/core/src/main/java/net/oauth/signature/
H A DOAuthSignatureMethod.java162 String authority = uri.getAuthority().toLowerCase();
166 // find the last : in the authority
167 int index = authority.lastIndexOf(":");
169 authority = authority.substring(0, index);
177 return scheme + "://" + authority + path;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
H A DContentProviderControllerTest.java86 providerInfo.authority = "some-authority";
89 ContentProviderClient client = contentResolver.acquireContentProviderClient(providerInfo.authority);
96 XContentProvider xContentProvider = Robolectric.setupContentProvider(XContentProvider.class, "x-authority");
97 assertThat(xContentProvider.transcript).containsExactly("x-authority not registered yet");
98 ContentProviderClient contentProviderClient = contentResolver.acquireContentProviderClient("x-authority");
108 .acquireContentProviderClient("x-authority");
109 transcript.add(contentProviderClient == null ? "x-authority not registered yet" : "x-authority is registered");
/external/python/cpython2/Lib/
H A Durllib2.py664 """Return (scheme, user, password, host/port) given a URL or an authority.
666 If a URL is supplied, it must have an authority (host:port) component.
667 According to RFC 3986, having an authority component means the URL must
672 ValueError: proxy URL with no authority: 'file:/ftp.example.com/'
676 Examples of authority parsing:
683 The authority component may optionally include userinfo (assumed to be
702 Everything after the authority is ignored:
715 # authority
717 authority = proxy
721 raise ValueError("proxy URL with no authority
[all...]
/external/lzma/CPP/7zip/UI/Common/
H A DPropIDUtils.cpp306 UInt32 authority = GetBe32(p + 4); local
308 if (p[2] == 0 && p[3] == 0 && authority == 5 && num >= 1)
356 ConvertUInt32ToString(authority, sz);
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
H A DRobolectric.java75 public static <T extends ContentProvider> T setupContentProvider(Class<T> contentProviderClass, String authority) { argument
76 return buildContentProvider(contentProviderClass).create(authority).get();
/external/python/cpython3/Lib/urllib/
H A Drequest.py766 """Return (scheme, user, password, host/port) given a URL or an authority.
768 If a URL is supplied, it must have an authority (host:port) component.
769 According to RFC 3986, having an authority component means the URL must
774 # authority
776 authority = proxy
780 raise ValueError("proxy URL with no authority: %r" % proxy)
781 # We have an authority, so for RFC 3986-compliant URLs (by ss 3.
786 authority = r_scheme[2:end]
787 userinfo, hostport = splituser(authority)
863 """Accept authority o
[all...]
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/
H A DInterpreterConfiguration.java176 Uri uri = Uri.parse("content://" + provider.authority + "/" + name);
/external/libevent/
H A Devdns.c288 int n_authority; /* how many authority RRs have been set? */
292 struct server_reply_item *authority; /* linked list of authority RRs */ member in struct:server_request
1024 u16 trans_id, questions, answers, authority, additional, datalength; local
1037 GET16(authority);
1039 (void) authority; /* suppress "unused variable" warnings. */
1172 for (i = 0; i < authority; ++i) {
1223 u16 trans_id, flags, questions, answers, authority, additional; local
1233 GET16(authority);
1237 (void)authority;
[all...]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowContentResolverTest.java285 providerInfo0.authority = "the-authority"; // todo: support multiple authorities
294 assertThat(providerInfo.authority).isEqualTo("the-authority");
552 assertThat(first.authority).isEqualTo(AUTHORITY);
701 // unfortunately, there is no direct way of testing if authority is set or not

Completed in 1016 milliseconds

123