Home
last modified time | relevance | path

Searched refs:option (Results 1 – 25 of 26) sorted by relevance

12

/cts/tools/release-parser/src/com/android/cts/releaseparser/
DArgumentParser.java45 public List<String> getParameterList(String option) { in getParameterList() argument
46 return getArgumentMap().get(option); in getParameterList()
54 public String getParameterElement(String option, int index) { in getParameterElement() argument
57 ele = getArgumentMap().get(option).get(index); in getParameterElement()
68 public boolean containsOption(String option) { in containsOption() argument
69 return getArgumentMap().containsKey(option); in containsOption()
82 String option = mArguments[i].substring(1); in parse() local
90 mArgumentMap.put(option, parameterList); in parse()
DTestModuleConfigHandler.java81 Option.Builder option = Option.newBuilder(); in startElement() local
82 option.setName(attributes.getValue(NAME_TAG)); in startElement()
83 option.setValue(attributes.getValue(VALUE_TAG)); in startElement()
86 option.setKey(keyStr); in startElement()
89 mTestCase.addOptions(option); in startElement()
90 switch (option.getName()) { in startElement()
92 mTestModuleConfig.addTestJars(option.getValue()); in startElement()
95 mModuleName = option.getValue(); in startElement()
99 mTargetPreparer.addOptions(option); in startElement()
100 if (TEST_FILE_NAME_TAG.equalsIgnoreCase(option.getName())) { in startElement()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCliIntentExtra.java35 private CliIntentExtra(String option, String key, String value) { in CliIntentExtra() argument
36 if (TextUtils.isEmpty(option)) { in CliIntentExtra()
45 mOption = option; in CliIntentExtra()
56 String option() { in option() method in CliIntentExtra
87 sb.append(" ").append(option()).append(" ").append(key()).append(" ").append(value()); in appendTo()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTestModuleConfigHandler.java76 Option.Builder option = Option.newBuilder(); in startElement() local
77 option.setName(attributes.getValue(NAME_TAG)); in startElement()
78 option.setValue(attributes.getValue(VALUE_TAG)); in startElement()
81 option.setKey(keyStr); in startElement()
84 mTestCase.addOptions(option); in startElement()
85 if (MODULE_NAME_TAG.equalsIgnoreCase(option.getName())) { in startElement()
86 mModuleName = option.getValue(); in startElement()
89 mTargetPreparer.addOptions(option); in startElement()
/cts/tests/tests/vcn/src/android/net/vcn/cts/
DVcnGatewayConnectionConfigTest.java134 for (int option : GATEWAY_OPTIONS) { in testBuilderAddGatewayOptions()
135 builder.addGatewayOption(option); in testBuilderAddGatewayOptions()
139 for (int option : GATEWAY_OPTIONS) { in testBuilderAddGatewayOptions()
140 assertTrue(gatewayConnConfig.hasGatewayOption(option)); in testBuilderAddGatewayOptions()
148 for (int option : GATEWAY_OPTIONS) { in testBuilderAddRemoveGatewayOptions()
149 builder.addGatewayOption(option); in testBuilderAddRemoveGatewayOptions()
152 for (int option : GATEWAY_OPTIONS) { in testBuilderAddRemoveGatewayOptions()
153 builder.removeGatewayOption(option); in testBuilderAddRemoveGatewayOptions()
157 for (int option : GATEWAY_OPTIONS) { in testBuilderAddRemoveGatewayOptions()
158 assertFalse(gatewayConnConfig.hasGatewayOption(option)); in testBuilderAddRemoveGatewayOptions()
/cts/tests/credentials/src/android/credentials/cts/unittests/service/
DBeginGetCredentialOptionTest.java74 final BeginGetCredentialOption option = new BeginGetCredentialOption(id, type, data); in testConstructor_success() local
76 assertThat(option.getId()).isEqualTo(id); in testConstructor_success()
77 assertThat(option.getType()).isEqualTo(type); in testConstructor_success()
82 assertThat(data.get(key)).isEqualTo(option.getCandidateQueryData().get(key)); in testConstructor_success()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapFactory_OptionsTest.java50 BitmapFactory.Options option = new BitmapFactory.Options(); in testRequestCancelDecode() local
52 assertFalse(option.mCancel); in testRequestCancelDecode()
53 option.requestCancelDecode(); in testRequestCancelDecode()
54 assertTrue(option.mCancel); in testRequestCancelDecode()
/cts/tests/autofillservice/src/android/autofillservice/cts/credman/
DCtsCredentialProviderService.java73 for (BeginGetCredentialOption option: request.getBeginGetCredentialOptions()) { in onBeginGetCredentialRequest()
74 if (option instanceof BeginGetPasswordOption) { in onBeginGetCredentialRequest()
85 (BeginGetPasswordOption) option).build()); in onBeginGetCredentialRequest()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DDataTransferTest.java109 private long getBytes(String option) throws Exception { in getBytes() argument
112 + " " + option in getBytes()
/cts/hostsidetests/theme/
Dandroid_device.py93 def run_instrumentation_test(self, option): argument
95 return self.run_shell_command("am instrument -w --no-window-animation %s" % option)
DREADME70 There is an option to build locally an Android system image and use an emulator that is stored in
71 Android source tree under "prebuilts/android-emulator/linux-x86_64/emulator". This option does not
/cts/tests/mediapc/requirements/
Dmpc.proto18 option java_multiple_files = true;
20 option go_package = "cts/test/mediapc/requirements/mpc_go_proto";
Drequirements.proto27 option java_multiple_files = true;
29 option go_package = "cts/test/mediapc/requirements/requirements_go_proto";
/cts/tools/cts-api-coverage/proto/
Dtestsuite.proto21 option java_package = "com.android.cts.apicoverage";
22 option java_outer_classname = "TestSuiteProto";
/cts/hostsidetests/gwp_asan/common/proto/
Dtombstone.proto16 option java_package = "android.cts.gwp_asan";
17 option java_outer_classname = "Android13Tombstone";
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/
Dmockspellchecker.proto21 option java_outer_classname = "MockSpellCheckerProto";
/cts/hostsidetests/security/src/android/security/cts/
DKernelConfigTest.java366 for (String option : configSet) { in testConfigDisableUsermodehelper()
367 if (option.startsWith(PATH_CONFIG)) { in testConfigDisableUsermodehelper()
368 configPath = option; in testConfigDisableUsermodehelper()
/cts/tests/sample/
DREADME7 `<option name="config-descriptor:metadata" key="component" value="misc" />`
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaMetadataRetrieverTest.java921 private void testGetFrameAtTime(int option, int[][] testCases) { in testGetFrameAtTime() argument
925 bitmaps.add(r.getFrameAtTime(testCases[i][0], option)); in testGetFrameAtTime()
931 private void testGetFrameAtTimeEditList(int option, int[][] testCases) { in testGetFrameAtTimeEditList() argument
938 Bitmap bitmap = r.getFrameAtTime(testCases[i][0], option, params); in testGetFrameAtTimeEditList()
946 private void testGetFrameAtTimeEmptyNormalEditList(int option, int[][] testCases) { in testGetFrameAtTimeEmptyNormalEditList() argument
953 Bitmap bitmap = r.getFrameAtTime(testCases[i][0], option, params); in testGetFrameAtTimeEmptyNormalEditList()
1104 for (int option : options) { in testGetScaledFrameAtTimeWithInvalidResolutions()
1107 2066666 /*timeUs*/, option, width, height); in testGetScaledFrameAtTimeWithInvalidResolutions()
/cts/tests/tests/syncmanager/common/proto/
Dsync_manager_cts.proto18 option java_outer_classname = "SyncManagerCtsProto";
/cts/tests/tests/batterysaving/common/proto/
Dbattery_saver_cts_common.proto18 option java_outer_classname = "BatterySavingCtsCommon";
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DMockSatelliteServiceManager.java1391 String option; in setIsSatelliteCommunicationAllowedForCurrentLocationCache() local
1393 option = "-a"; in setIsSatelliteCommunicationAllowedForCurrentLocationCache()
1395 option = "-n"; in setIsSatelliteCommunicationAllowedForCurrentLocationCache()
1397 option = "-c"; in setIsSatelliteCommunicationAllowedForCurrentLocationCache()
1405 + option); in setIsSatelliteCommunicationAllowedForCurrentLocationCache()
1406 logd("setIsSatelliteCommunicationAllowedForCurrentLocationCache(" + option in setIsSatelliteCommunicationAllowedForCurrentLocationCache()
/cts/hostsidetests/hdmicec/
DREADME.md27 --module-arg CtsHdmiCecHostTestCases:set-option:cec-phy-addr:<address_in_decimal>
/cts/tests/tests/proto/src/android/util/proto/cts/
Dtest.proto45 option allow_alias = true;
/cts/tools/release-parser/proto/
Drelease.proto21 option java_package = "com.android.cts.releaseparser";
22 option java_outer_classname = "ReleaseProto";

12