Home
last modified time | relevance | path

Searched refs:ownership (Results 1 – 25 of 582) sorted by relevance

12345678910>>...24

/external/autotest/client/site_tests/login_OwnershipApi/
Dlogin_OwnershipApi.py11 from autotest_lib.client.cros import cros_ui, cryptohome, ownership
29 ownership.clear_ownership_files_no_restart()
32 cryptohome.mount_vault(ownership.TESTUSER,
33 ownership.TESTPASS,
35 ownership.use_known_ownerkeys(ownership.TESTUSER)
50 pkey = ownership.known_privkey()
51 pubkey = ownership.known_pubkey()
53 sm.StartSession(ownership.TESTUSER, '')
55 poldata = policy.build_policy_data(owner=ownership.TESTUSER,
59 whitelist=(ownership.TESTUSER,
[all …]
/external/autotest/client/site_tests/login_UserPolicyKeys/
Dlogin_UserPolicyKeys.py11 from autotest_lib.client.cros import cros_ui, cryptohome, ownership
74 ownership.restart_ui_to_clear_ownership_files()
75 self._cryptohome_proxy.remove(ownership.TESTUSER)
80 self._cryptohome_proxy.mount(ownership.TESTUSER,
81 ownership.TESTPASS,
84 sm.StartSession(ownership.TESTUSER, '')
88 session_manager.make_user_policy_descriptor(ownership.TESTUSER),
94 key_file = ownership.get_user_policy_key_filename(ownership.TESTUSER)
102 public_key = ownership.known_pubkey()
103 private_key = ownership.known_privkey()
[all …]
/external/autotest/client/common_lib/cros/
Dpolicy.py10 from autotest_lib.client.cros import ownership
58 ownership.assert_has_policy_data(response_proto)
62 ownership.assert_has_device_settings(data_proto)
63 if owner: ownership.assert_username(data_proto, owner)
67 if guests: ownership.assert_guest_setting(settings, guests)
68 if new_users: ownership.assert_show_users(settings, new_users)
69 if roaming: ownership.assert_roaming(settings, roaming)
71 ownership.assert_new_users(settings, False)
72 ownership.assert_users_on_whitelist(settings, whitelist)
94 data_proto.policy_type = ownership.POLICY_TYPE
[all …]
/external/clang/test/SemaObjCXX/
Dobjcbridge-attribute.mm32 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \
33 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFTestingRef' (aka '__CFEr…
58 // expected-note {{__bridge to convert directly (no change in ownership)}} \
59 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef2' (aka '__CFErr…
61 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \
62 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef2' (aka '__CFErr…
64 // expected-note {{__bridge to convert directly (no change in ownership)}} \
65 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef2' (aka '__CFErr…
68 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \
69 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFUColor2Ref' (aka '__CFUP…
[all …]
Dobjcbridge-attribute-arc.mm32 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \
33 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFTestingRef' (aka '__CFEr…
58 // expected-note {{__bridge to convert directly (no change in ownership)}} \
59 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef2' (aka '__CFErr…
61 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \
62 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef2' (aka '__CFErr…
64 // expected-note {{__bridge to convert directly (no change in ownership)}} \
65 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef2' (aka '__CFErr…
68 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \
69 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFUColor2Ref' (aka '__CFUP…
[all …]
Darc-objc-lifetime.mm1 …iple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -fblocks -Wexplicit-ownership-type -verify -Wn…
19 … (__strong NSString *)CFBridgingRelease(); // expected-error {{explicit ownership qualifier on cas…
22 …oreleasing PNSString) CFBridgingRelease(); // expected-error {{explicit ownership qualifier on cas…
26 …__strong NSString *)) CFBridgingRelease(); // expected-error {{explicit ownership qualifier on cas…
36 …trong test1; // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}}
37 …rong test2); // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}}
38 …ng (test3)); // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}}
50 …-warning {{method parameter of type 'NSObject<P> *__autoreleasing &' with no explicit ownership}} \
51 … expected-warning {{method parameter of type '__autoreleasing id<P> &' with no explicit ownership}}
53 …ted-warning {{method parameter of type 'NSObject *__autoreleasing *' with no explicit ownership}} \
[all …]
Dobjcbridge-static-cast.mm32 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
33 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFTestin…
58 … // expected-note {{__bridge with C-style cast to convert directly (no change in ownership)}} \
59 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFErrorR…
61 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
62 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFErrorR…
64 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
65 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFErrorR…
68 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
69 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFUColor…
[all …]
Darc-overloading.mm3 // Simple ownership conversions + diagnostics.
4 … not viable: 1st argument ('__weak id *') has __weak ownership, but parameter has __strong ownersh…
49 // Prefer non-ownership conversions to ownership conversions.
58 …unsafe_unretained id *') has __unsafe_unretained ownership, but parameter has __autoreleasing owne…
119 …on not viable: 1st argument ('__weak id') has __weak ownership, but parameter has __strong ownersh…
120 … argument ('__autoreleasing id') has __autoreleasing ownership, but parameter has __strong ownersh…
121 …t ('__unsafe_unretained id') has __unsafe_unretained ownership, but parameter has __strong ownersh…
Dgc-attributes.mm6 … not viable: 1st argument ('A *__weak *') has __weak ownership, but parameter has __strong ownersh…
15 …t viable: 1st argument ('A *__strong *') has __strong ownership, but parameter has __weak ownershi…
/external/clang/test/SemaObjC/
Dobjcbridge-attribute-arc.m50 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \
51 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFTestingRef' (aka 'struct…
76 // expected-note {{__bridge to convert directly (no change in ownership)}} \
77 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef2' (aka 'struct …
79 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \
80 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef2' (aka 'struct …
82 // expected-note {{__bridge to convert directly (no change in ownership)}} \
83 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef2' (aka 'struct …
86 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \
87 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFUColor2Ref' (aka 'union …
[all …]
Darc-non-pod-memaccess.m24 …// expected-warning{{destination for this 'memcpy' call is a pointer to ownership-qualified type}}…
26 …// expected-warning{{destination for this 'memcpy' call is a pointer to ownership-qualified type}}…
28 …// expected-warning{{destination for this 'memcpy' call is a pointer to ownership-qualified type}}…
32 …memcpy(ptr, sip, 17); // expected-warning{{source of this 'memcpy' call is a pointer to ownership-…
34 …memcpy(ptr, wip, 17); // expected-warning{{source of this 'memcpy' call is a pointer to ownership-…
36 …memcpy(ptr, aip, 17); // expected-warning{{source of this 'memcpy' call is a pointer to ownership-…
40 …/ expected-warning{{destination for this 'memmove' call is a pointer to ownership-qualified type}}…
42 …/ expected-warning{{destination for this 'memmove' call is a pointer to ownership-qualified type}}…
44 …/ expected-warning{{destination for this 'memmove' call is a pointer to ownership-qualified type}}…
48 …17); // expected-warning{{source of this 'memmove' call is a pointer to ownership-qualified type}}…
[all …]
Darc-objc-lifetime.m1 …11 -fsyntax-only -fobjc-arc -fblocks -fobjc-runtime-has-weak -Wexplicit-ownership-type -verify -W…
2 …11 -fsyntax-only -fobjc-arc -fblocks -fobjc-runtime-has-weak -Wexplicit-ownership-type -verify -Wn…
20 … (__strong NSString *)CFBridgingRelease(); // expected-error {{explicit ownership qualifier on cas…
23 …oreleasing PNSString) CFBridgingRelease(); // expected-error {{explicit ownership qualifier on cas…
27 …__strong NSString *)) CFBridgingRelease(); // expected-error {{explicit ownership qualifier on cas…
37 …trong test1; // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}}
38 …rong test2); // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}}
39 …ng (test3)); // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}}
51 …-warning {{method parameter of type 'NSObject<P> *__autoreleasing *' with no explicit ownership}} \
52 … expected-warning {{method parameter of type '__autoreleasing id<P> *' with no explicit ownership}}
[all …]
Darc-decls.m39 __autoreleasing id X; // expected-error {{global variables cannot have __autoreleasing ownership}}
40 …oreleasing NSError *E; // expected-error {{global variables cannot have __autoreleasing ownership}}
43 …id __autoreleasing X1; // expected-error {{global variables cannot have __autoreleasing ownership}}
48 …id __autoreleasing X1; // expected-error {{global variables cannot have __autoreleasing ownership}}
49 … id __autoreleasing E; // expected-error {{global variables cannot have __autoreleasing ownership}}
124 // ownership qualifier. We don't want this to get suppressed because
128 id *px = &x; // expected-error {{pointer to non-const type 'id' with no explicit ownership}}
131 …J **py = &y; // expected-error {{pointer to non-const type 'J *' with no explicit ownership}} expe…
Darc-bridged-cast.m41 …dge to convert directly (no change in ownership)}} expected-note{{use CFBridgingRelease call to tr…
46 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
52 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
60 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
/external/grpc-grpc/doc/core/
Dgrpc-error.md21 grpc_errors are refcounted objects, which means they need strict ownership
25 This document serves as a detailed overview of grpc_error's ownership rules. It
33 error without ownership of it.
37 may explicitly take ownership of it by manually calling GRPC_ERROR_REF.
41 There are three rules of error ownership, which we will go over in detail.
48 takes ownership of the error.
64 errors, or pass them along to a function that would take over the ownership.
77 This means that the error ownership is NOT transferred when a functions calls:
87 not callbacks, so they will take ownership of the error passed to them.
92 // current function no longer has ownership of the error
[all …]
/external/autotest/client/site_tests/login_OwnershipTaken/
Dlogin_OwnershipTaken.py13 from autotest_lib.client.cros import constants, ownership
23 ownership.restart_ui_to_clear_ownership_files()
34 ownership.assert_has_policy_data(response_proto)
38 ownership.assert_has_device_settings(poldata)
39 ownership.assert_username(poldata, username)
43 ownership.assert_new_users(polval, True)
44 ownership.assert_users_on_whitelist(polval, (username,))
/external/clang/test/ARCMT/
Dcheck-api.m23 …SInvocation's getReturnValue is not safe to be used with an object with ownership other than __uns…
24 …SInvocation's getReturnValue is not safe to be used with an object with ownership other than __uns…
28 …SInvocation's setReturnValue is not safe to be used with an object with ownership other than __uns…
29 …SInvocation's setReturnValue is not safe to be used with an object with ownership other than __uns…
33 …{{NSInvocation's getArgument is not safe to be used with an object with ownership other than __uns…
34 …{{NSInvocation's getArgument is not safe to be used with an object with ownership other than __uns…
38 …{{NSInvocation's setArgument is not safe to be used with an object with ownership other than __uns…
39 …{{NSInvocation's setArgument is not safe to be used with an object with ownership other than __uns…
Dno-canceling-bridge-to-bridge-cast.m26 // expected-note {{use __bridge to convert directly (no change in ownership)}} \
27 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons…
30 // expected-note {{use __bridge to convert directly (no change in ownership)}} \
31 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons…
34 // expected-note {{use __bridge to convert directly (no change in ownership)}} \
35 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons…
Dnonobjc-to-objc-cast-2.m31 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
32 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con…
39 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
40 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con…
48 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
62 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
/external/skqp/src/gpu/vk/
DGrVkTextureRenderTarget.cpp69 GrBackendObjectOwnership ownership, in GrVkTextureRenderTarget() argument
72 , GrVkImage(info, layout, ownership) in GrVkTextureRenderTarget()
73 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership) in GrVkTextureRenderTarget()
75 colorAttachmentView, resolveAttachmentView, ownership) { in GrVkTextureRenderTarget()
86 GrBackendObjectOwnership ownership, in GrVkTextureRenderTarget() argument
89 , GrVkImage(info, layout, ownership) in GrVkTextureRenderTarget()
90 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership) in GrVkTextureRenderTarget()
91 , GrVkRenderTarget(gpu, desc, info, layout, colorAttachmentView, ownership) { in GrVkTextureRenderTarget()
216 GrBackendObjectOwnership ownership = kBorrow_GrWrapOwnership == wrapOwnership in MakeWrappedTextureRenderTarget() local
226 mipMapsStatus, ownership, cacheable)); in MakeWrappedTextureRenderTarget()
[all …]
DGrVkTexture.cpp41 GrMipMapsStatus mipMapsStatus, GrBackendObjectOwnership ownership, in GrVkTexture() argument
44 , GrVkImage(info, std::move(layout), ownership) in GrVkTexture()
61 GrBackendObjectOwnership ownership) in GrVkTexture() argument
63 , GrVkImage(info, layout, ownership) in GrVkTexture()
111 GrBackendObjectOwnership ownership = kBorrow_GrWrapOwnership == wrapOwnership in MakeWrappedTexture() local
114 mipMapsStatus, ownership, cacheable, ioType)); in MakeWrappedTexture()
/external/skia/src/gpu/vk/
DGrVkTextureRenderTarget.cpp69 GrBackendObjectOwnership ownership, in GrVkTextureRenderTarget() argument
72 , GrVkImage(info, layout, ownership) in GrVkTextureRenderTarget()
73 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership) in GrVkTextureRenderTarget()
75 colorAttachmentView, resolveAttachmentView, ownership) { in GrVkTextureRenderTarget()
86 GrBackendObjectOwnership ownership, in GrVkTextureRenderTarget() argument
89 , GrVkImage(info, layout, ownership) in GrVkTextureRenderTarget()
90 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership) in GrVkTextureRenderTarget()
91 , GrVkRenderTarget(gpu, desc, info, layout, colorAttachmentView, ownership) { in GrVkTextureRenderTarget()
216 GrBackendObjectOwnership ownership = kBorrow_GrWrapOwnership == wrapOwnership in MakeWrappedTextureRenderTarget() local
226 mipMapsStatus, ownership, cacheable)); in MakeWrappedTextureRenderTarget()
[all …]
DGrVkTexture.cpp41 GrMipMapsStatus mipMapsStatus, GrBackendObjectOwnership ownership, in GrVkTexture() argument
44 , GrVkImage(info, std::move(layout), ownership) in GrVkTexture()
61 GrBackendObjectOwnership ownership) in GrVkTexture() argument
63 , GrVkImage(info, layout, ownership) in GrVkTexture()
111 GrBackendObjectOwnership ownership = kBorrow_GrWrapOwnership == wrapOwnership in MakeWrappedTexture() local
114 mipMapsStatus, ownership, cacheable, ioType)); in MakeWrappedTexture()
/external/autotest/client/site_tests/login_RemoteOwnership/
Dlogin_RemoteOwnership.py11 from autotest_lib.client.cros import cros_ui, cryptohome, ownership
24 ownership.restart_ui_to_clear_ownership_files()
37 priv = ownership.known_privkey()
38 pub = ownership.known_pubkey()
43 (priv, pub) = ownership.pairgen_as_data()
54 (new_priv, new_pub) = ownership.pairgen_as_data()
/external/autotest/client/site_tests/login_MultiUserPolicy/
Dlogin_MultiUserPolicy.py11 from autotest_lib.client.cros import cryptohome, ownership
33 ownership.restart_ui_to_clear_ownership_files()
55 public_key = ownership.known_pubkey()
56 private_key = ownership.known_privkey()

12345678910>>...24