Home
last modified time | relevance | path

Searched full:utilities (Results 1 – 25 of 4997) sorted by relevance

12345678910>>...200

/external/connectedappssdk/tests/instrumented/src/main/java/com/google/android/enterprise/connectedapps/instrumented/tests/
DSecondUserTest.java38 private final InstrumentedTestUtilities utilities = field in SecondUserTest
46 utilities.ensureNoWorkProfile(); in teardown()
51 int secondUserId = utilities.createUser("SecondUser"); in isAvailable_noWorkProfile_hasSecondUser_isFalse()
54 utilities.startUser(secondUserId); in isAvailable_noWorkProfile_hasSecondUser_isFalse()
55 utilities.installInUser(secondUserId); in isAvailable_noWorkProfile_hasSecondUser_isFalse()
56 utilities.grantInteractAcrossUsers(); in isAvailable_noWorkProfile_hasSecondUser_isFalse()
60 utilities.removeUser(secondUserId); in isAvailable_noWorkProfile_hasSecondUser_isFalse()
67 utilities.ensureReadyForCrossProfileCalls(); in call_hasWorkProfile_hasSecondUser_executesOnWorkProfile()
68 utilities.addConnectionHolderAndWait(this); in call_hasWorkProfile_hasSecondUser_executesOnWorkProfile()
69 int secondUserId = utilities.createUser("SecondUser"); in call_hasWorkProfile_hasSecondUser_executesOnWorkProfile()
[all …]
DInstrumentedTestUtilitiesTest.java38 private final static InstrumentedTestUtilities utilities = field in InstrumentedTestUtilitiesTest
43 utilities.ensureNoWorkProfile(); in teardownClass()
53 utilities.ensureReadyForCrossProfileCalls(); in isAvailable_ensureReadyForCrossProfileCalls_isTrue()
60 utilities.ensureReadyForCrossProfileCalls(); in isAvailable_ensureNoWorkProfile_isFalse()
62 utilities.ensureNoWorkProfile(); in isAvailable_ensureNoWorkProfile_isFalse()
69 utilities.ensureWorkProfileExists(); in hasWorkProfile_createdWorkProfile_isTrue()
71 assertThat(utilities.hasWorkProfile()).isTrue(); in hasWorkProfile_createdWorkProfile_isTrue()
76 utilities.ensureNoWorkProfile(); in hasWorkProfile_removedWorkProfile_isFalse()
78 assertThat(utilities.hasWorkProfile()).isFalse(); in hasWorkProfile_removedWorkProfile_isFalse()
83 utilities.ensureWorkProfileExists(); in getWorkProfileUserId_createdWorkProfile_isNotZero()
[all …]
DAvailabilityListenerTest.java45 private final InstrumentedTestUtilities utilities = field in AvailabilityListenerTest
51 utilities.ensureReadyForCrossProfileCalls(); in setup()
56 utilities.ensureNoWorkProfile(); in teardown()
64 utilities.ensureWorkProfileTurnedOn(); in workProfileTurnedOff_availabilityListenerFires()
68 utilities.turnOffWorkProfileAndWait(); in workProfileTurnedOff_availabilityListenerFires()
79 utilities.ensureWorkProfileTurnedOff(); in workProfileTurnedOn_availabilityListenerFires()
83 utilities.turnOnWorkProfileAndWait(); in workProfileTurnedOn_availabilityListenerFires()
92 utilities.ensureWorkProfileTurnedOn(); in temporaryConnectionError_inProgressCall_availabilityListenerFires()
DConnectTest.java51 private static final InstrumentedTestUtilities utilities = field in ConnectTest
56 utilities.ensureReadyForCrossProfileCalls(); in setup()
62 utilities.waitForDisconnected(); in teardown()
67 utilities.ensureNoWorkProfile(); in teardownClass()
72 utilities.ensureReadyForCrossProfileCalls(); in connect_connects()
81 utilities.ensureNoWorkProfile(); in connect_otherProfileNotAvailable_throwsUnavailableProfileException()
88 utilities.ensureNoWorkProfile(); in connect_otherProfileNotAvailable_doesNotConnect()
97 utilities.ensureReadyForCrossProfileCalls(); in connect_alreadyConnected_returns()
DHappyPathEndToEndTest.java51 private static final InstrumentedTestUtilities utilities = field in HappyPathEndToEndTest
59 utilities.ensureReadyForCrossProfileCalls(); in setup()
65 utilities.waitForDisconnected(); in teardown()
70 utilities.ensureNoWorkProfile(); in teardownClass()
81 utilities.waitForDisconnected(); in isConnected_isFalse()
88 utilities.addConnectionHolderAndWait(this); in isConnected_hasConnected_isTrue()
95 utilities.addConnectionHolderAndWait(this); in synchronousMethod_resultIsCorrect()
119 utilities.addConnectionHolderAndWait(this); in synchronousMethod_fromOtherProfile_resultIsCorrect()
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/robotests/
DDefaultUserBinderTest.java45 private final RobolectricTestUtilities utilities = field in DefaultUserBinderTest
48 private final UserHandle otherUserHandle = utilities.createCustomUser(OTHER_USER_ID);
53 utilities.denyPermissions( in setUp()
60 utilities.tryAddTargetUserProfile(otherUserHandle); in hasPermissionToBind_isTargetUserProfile_hasInteractAcrossProfiles_true()
61 utilities.setRequestsPermissions(INTERACT_ACROSS_PROFILES); in hasPermissionToBind_isTargetUserProfile_hasInteractAcrossProfiles_true()
62 utilities.grantPermissions(INTERACT_ACROSS_PROFILES); in hasPermissionToBind_isTargetUserProfile_hasInteractAcrossProfiles_true()
70 utilities.tryRemoveTargetUserProfile(otherUserHandle); in hasPermissionToBind_isNotTargetUserProfile_hasInteractAcrossProfiles_false()
71 utilities.setRequestsPermissions(INTERACT_ACROSS_PROFILES); in hasPermissionToBind_isNotTargetUserProfile_hasInteractAcrossProfiles_false()
72 utilities.grantPermissions(INTERACT_ACROSS_PROFILES); in hasPermissionToBind_isNotTargetUserProfile_hasInteractAcrossProfiles_false()
80 utilities.tryAddTargetUserProfile(otherUserHandle); in hasPermissionToBind_isTargetUserProfile_noInteractAcrossProfiles_false()
[all …]
/external/chromiumos-config/payload_utils/common/
Dutilities_test.py5 """Tests for the utilities module"""
9 from common import utilities
13 """Tests for utilities.py"""
17 self.assertEqual(utilities.levenshtein_distance("", ""), 0)
18 self.assertEqual(utilities.levenshtein_distance("1", ""), 1)
19 self.assertEqual(utilities.levenshtein_distance("", "1"), 1)
20 self.assertEqual(utilities.levenshtein_distance("1", "1"), 0)
21 self.assertEqual(utilities.levenshtein_distance("1", "2"), 1)
22 self.assertEqual(utilities.levenshtein_distance("foo", "bar"), 3)
23 self.assertEqual(utilities.levenshtein_distance("kitten", "mittens"), 2)
/external/sg3_utils/
DREADME5 sg3_utils is a package of utilities originally written to send individual
7 These utilities can be divided into three groups:
10 - one command utilities: the majority of the utilities in this package
13 example, "sg_inq" sends the SCSI INQUIRY command. Some utilities in
16 - copy type utilities: sg_dd, sgp_dd and sgm_dd use the Unix dd command
19 utilities can compare if two data segments held on disks are the same.
23 These utilities were written on Linux and should work from Linux kernel
33 Many of these utilities share a lot of code (e.g. SCSI error messages)
52 utilities (there are four) are examples of using SAT. The SAS transport
78 All utilities and scripts that are installed by this package have a
[all …]
DREADME.tru643 The Tru64 port of sg3_utils contains those utilities that are _not_
8 Supported Utilities
10 Here is a list of utilities that have been ported:
55 that they execute. Some utilities are slightly higher level, for
73 Most of the ported utilities listed above use SCSI command functions
90 utilities in this package. Rather than change all the utilities
DREADME.details5 This package contains low level command line utilities for devices that use
20 utilities within this package have been ported. This README mainly
26 Most utilities within the sg3_utils package work at the SCSI command level.
33 Some utilities interface at a slightly higher level, for example: sg_dd,
36 These utilities are relatively tightly bound to Linux and are not ported to
43 All utilities and libraries have either a "2 clause" BSD license or are
66 In the Linux 2.4 kernel series these utilities need to use the SCSI generic
83 this package sg4_utils. The existing utilities just silently support either.
91 Utilities that wish to use the asynchronous SCSI command interface (i.e. via
117 contains the utilities (e.g. sg3-utils_1.33-0.1_i386.deb) and depends on the
[all …]
Dsg3_utils.man8.html13 sg3_utils - a package of utilities for sending SCSI commands
29 sg3_utils is a package of utilities that send SCSI commands to the given
34 The names of all utilities start with "sg" and most start with "sg_" often
37 command. A mapping between SCSI commands and the sg3_utils utilities that
79 utilities (written since July 2004) use the getopt_long() function to parse
89 The older utilities, including as sg_inq, sg_logs, sg_modes, sg_opcode,
97 Over time the command line interface of these older utilities became messy
99 interface of these older utilities was altered to have both a cleaner
101 By default these older utilities use their getopt_long() based interface.
103 more recent command line utilities tend to use it. That can be overridden
[all …]
/external/tink/testing/cross_language/
DBUILD.bazel16 "//util:utilities",
38 "//util:utilities",
69 "//util:utilities",
89 "//util:utilities",
105 "//util:utilities",
118 "//util:utilities",
136 "//util:utilities",
151 "//util:utilities",
165 "//util:utilities",
180 "//util:utilities",
[all …]
Daead_test.py31 from util import utilities
66 utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME['AES128_GCM'],
72 utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME['AES256_GCM'],
78 utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME['AES128_EAX'],
84 utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME['AES256_EAX'],
90 utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME['AES128_GCM_SIV'],
96 utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME['AES256_GCM_SIV'],
102 utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME[
110 utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME[
116 _FAKE_KMS_KEY_URI, utilities.KEY_TEMPLATE['CHACHA20_POLY1305']
[all …]
Djwt_test.py26 from util import utilities
41 @parameterized.parameters(utilities.tinkey_template_names_for(jwt.JwtMac))
43 supported_langs = utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME[
46 key_template = utilities.KEY_TEMPLATE[key_template_name]
65 utilities.tinkey_template_names_for(jwt.JwtPublicKeySign))
67 supported_langs = utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME[
69 key_template = utilities.KEY_TEMPLATE[key_template_name]
94 utilities.tinkey_template_names_for(jwt.JwtPublicKeySign))
96 supported_langs = utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME[
99 key_template = utilities.KEY_TEMPLATE[key_template_name]
Djwt_kid_test.py31 from util import utilities
60 key_template = utilities.KEY_TEMPLATE[template_name]
76 key_template = utilities.KEY_TEMPLATE[template_name]
106 key_template = utilities.KEY_TEMPLATE[template_name]
116 key_template = utilities.KEY_TEMPLATE[template_name]
127 key_template = utilities.KEY_TEMPLATE[template_name]
130 supported_langs = utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME[
142 key_template = utilities.KEY_TEMPLATE[template_name]
145 supported_langs = utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME[
187 supported_langs = utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME[
Dkeyset_validation_test.py38 from util import utilities
50 for key_template_name in utilities.KEY_TEMPLATE_NAMES[key_type]:
69 template = utilities.KEY_TEMPLATE[key_template_name]
79 template = utilities.KEY_TEMPLATE[key_template_name]
88 template = utilities.KEY_TEMPLATE[key_template_name]
96 template = utilities.KEY_TEMPLATE[key_template_name]
105 template = utilities.KEY_TEMPLATE[key_template_name]
132 template = utilities.KEY_TEMPLATE[key_template_name]
152 template = utilities.KEY_TEMPLATE[key_template_name]
186 template = utilities.KEY_TEMPLATE[key_template_name]
/external/tink/testing/cross_language/util/
Dutilities_test.py24 from util import utilities
28 for _, names in utilities.KEY_TEMPLATE_NAMES.items():
42 set(utilities.KEY_TEMPLATE_NAMES.keys()),
48 list(utilities.KEY_TEMPLATE.keys()))
53 list(utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME.keys()))
57 utilities.SUPPORTED_LANGUAGES_BY_TEMPLATE_NAME[
63 list(utilities.tinkey_template_names_for(mac.Mac)), [
72 utilities.key_types_in_keyset(aes_gcm_keyset), ['AesGcmKey'])
80 utilities.key_types_in_keyset(keyset.SerializeToString()),
/external/sg3_utils/doc/
Dsg3_utils.83 sg3_utils \- a package of utilities for sending SCSI commands
14 sg3_utils is a package of utilities that send SCSI commands to the given
18 The names of all utilities start with "sg" and most start with "sg_" often
21 command. A mapping between SCSI commands and the sg3_utils utilities that
58 utilities (written since July 2004) use the getopt_long() function to parse
67 The older utilities, including as sg_inq, sg_logs, sg_modes, sg_opcode,
74 Over time the command line interface of these older utilities became messy
76 interface of these older utilities was altered to have both a cleaner
78 By default these older utilities use their getopt_long() based interface.
80 more recent command line utilities tend to use it. That can be overridden
[all …]
/external/nullaway/nullaway/src/test/java/com/uber/nullaway/
DNullAwayVarargsTests.java12 "Utilities.java", in testNonNullVarargs()
15 "public class Utilities {", in testNonNullVarargs()
30 " Utilities.takesNonNullVarargs(o1, o2, o3);", in testNonNullVarargs()
31 " Utilities.takesNonNullVarargs(o1);", // Empty var args passed in testNonNullVarargs()
33 " Utilities.takesNonNullVarargs(o1, o4);", in testNonNullVarargs()
43 "Utilities.java", in testNullableVarargs()
46 "public class Utilities {", in testNullableVarargs()
66 " Utilities.takesNullableVarargs(o1, o2, o3, o4);", in testNullableVarargs()
67 " Utilities.takesNullableVarargs(o1);", // Empty var args passed in testNullableVarargs()
68 " Utilities.takesNullableVarargs(o1, o4);", in testNullableVarargs()
[all …]
/external/auto/common/
DREADME.md1 # Auto Common Utilities
5 The Auto project has a set of common utilities to help ease use of the
11 : Utilities and `Equivalence` wrappers for `TypeMirror` and related subtypes
14 : Utilities for `Element` and related subtypes
21 : Utilities for working with `Element`s' visibility levels (public, protected,
33 Auto common utilities have a standard [Maven](http://maven.apache.org) setup
/external/icu/icu4j/tools/build/
Dmanifest-utilities.stub2 Specification-Title: International Components for Unicode for Java Utilities
5 Implementation-Title: International Components for Unicode for Java Utilities
11 Bundle-Description: International Components for Unicode for Java Utilities
12 Bundle-SymbolicName: com.ibm.icu.utilities
17 Automatic-Module-Name: com.ibm.icu.utilities
/external/kotlinx.coroutines/reactive/
DREADME.md3 This directory contains modules with utilities for various reactive stream libraries.
8 * [kotlinx-coroutines-reactive](kotlinx-coroutines-reactive/README.md) -- utilities for [Reactive S…
9 * [kotlinx-coroutines-reactor](kotlinx-coroutines-reactor/README.md) -- utilities for [Reactor](htt…
10 * [kotlinx-coroutines-rx2](kotlinx-coroutines-rx2/README.md) -- utilities for [RxJava 2.x](https://…
11 * [kotlinx-coroutines-rx3](kotlinx-coroutines-rx3/README.md) -- utilities for [RxJava 3.x](https://…
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DUserConnectorTest.java73 private final RobolectricTestUtilities utilities = field in UserConnectorTest
76 private final UserHandle targetUserHandle = utilities.createCustomUser(TARGET_USER_ID);
82 utilities.setBinding(binder, AppCrossUserConnector.class.getName()); in setUp()
83 utilities.setRequestsPermissions(INTERACT_ACROSS_USERS_FULL); in setUp()
84 utilities.grantPermissions(INTERACT_ACROSS_USERS_FULL); in setUp()
93 utilities.addDefaultConnectionHolderAndWait(connector, targetUserHandle); in defaultBinder_works()
105 utilities.addDefaultConnectionHolderAndWait(connector, targetUserHandle); in testBinderFactory_isUsed_tryBindCallsIncremented()
/external/aws-sdk-java-v2/codegen/src/main/java/software/amazon/awssdk/codegen/model/config/customization/
DUtilitiesMethod.java22 * Config required to generate the utilities method that returns an instance of
23 * hand-written Utilities class
27 public static final String METHOD_NAME = "utilities";
36 … * The utilities method will call a protected create() method in the hand-written Utilities class.
/external/sg3_utils/debian/
Dcontrol13 Description: utilities for devices using the SCSI command set.
31 Description: utilities for devices using the SCSI command set (shared libraries)
32 Shared library used by the utilities in the sg3-utils package.
40 Description: utilities for devices using the SCSI command set (developer files)
42 the utilities in the sg3-utils package.

12345678910>>...200