/external/smack/src/org/apache/harmony/javax/security/auth/callback/ |
ChoiceCallback.java | 34 private String[] choices; field in class:ChoiceCallback 38 private void setChoices(String[] choices) { 39 if (choices == null || choices.length == 0) { 42 for (int i = 0; i < choices.length; i++) { 43 if (choices[i] == null || choices[i].length() == 0) { 47 //FIXME: System.arraycopy(choices, 0 , new String[choices.length], 0, choices.length) [all...] |
/external/smack/src/org/apache/harmony/javax/security/sasl/ |
RealmChoiceCallback.java | 26 public RealmChoiceCallback(String prompt, String[] choices, int defaultChoice, 28 super(prompt, choices, defaultChoice, multiple);
|
/libcore/luni/src/main/java/java/sql/ |
DriverPropertyInfo.java | 30 * contained here. Otherwise choices is {@code null}. 32 public String[] choices; field in class:DriverPropertyInfo 69 this.choices = null;
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/ |
RealmChoiceCallbackTest.java | 42 private static final String [] choices = { field in class:RealmChoiceCallbackTest 50 * Test for <code>RealmChoiceCallback(String prompt, String[] choices, 55 * within of choices array 59 new RealmChoiceCallback(null, choices, 0, true); 64 new RealmChoiceCallback("", choices, 0, true); 70 fail("IllegalArgumentException should be thrown for null choices"); 75 fail("IllegalArgumentException should be thrown for empty choices"); 80 fail("IllegalArgumentException should be thrown for incorrect choices"); 85 fail("IllegalArgumentException should be thrown for incorrect choices"); 89 new RealmChoiceCallback("prompt", choices, -1, true) [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
ChoiceCallbackTest.java | 40 String[] choices = { "AAA", "BBB" }; field in class:ChoiceCallbackTest 48 cb = new ChoiceCallback(prompt, choices, defaultChoice, true); 50 assertEquals(this.choices, cb.getChoices()); 59 cb = new ChoiceCallback(prompt, choices, defaultChoice, false); 78 cb = new ChoiceCallback(null, choices, defaultChoice, true); 84 cb = new ChoiceCallback(prompt, choices, -1, true); 95 cb = new ChoiceCallback("", choices, defaultChoice, true); 101 cb = new ChoiceCallback(prompt, choices, 5, true); 106 cb = new ChoiceCallback(prompt, choices, 2, true);
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/serialization/ |
ChoiceCallbackTest.java | 42 String[] choices = {"AAA", "BBB"}; local 44 return new Object[] {new ChoiceCallback(prompt, choices, defaultChoice, true)};
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
DriverPropertyInfoTest.java | 76 assertTrue(Arrays.equals(testChoices, aDriverPropertyInfo.choices)); 82 aDriverPropertyInfo.choices = updateChoices; 88 assertTrue(Arrays.equals(updateChoices, aDriverPropertyInfo.choices));
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldDriverPropertyInfoTest.java | 59 String[] choices = info[0].choices; local 60 assertNull(choices);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
ManifestContentAssist.java | 60 List<Pair<String, String>> choices = new ArrayList<Pair<String, String>>(); local 74 choices.add(Pair.of(version.getCodename(), version.getCodename())); 76 choices.add(Pair.of(Integer.toString(apiLevel), target.getFullName())); 82 choices.add(Pair.of(Integer.toString(api), name)); 85 addMatchingProposals(proposals, choices.toArray(), offset, node, wordPrefix,
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
PhotoActionPopup.java | 47 /** If set, show choices to take a picture with the camera, or pick one from the gallery. */ 50 * If set, modifies the wording in the choices for TAKE_OR_PICK_PHOTO 77 // Build choices, depending on the current mode. We assume this Dialog is never called 78 // if there are NO choices (e.g. a read-only picture is already super-primary) 79 final ArrayList<ChoiceListItem> choices = new ArrayList<ChoiceListItem>(4); local 82 choices.add(new ChoiceListItem(ChoiceListItem.ID_USE_AS_PRIMARY, 87 choices.add(new ChoiceListItem(ChoiceListItem.ID_REMOVE, 98 choices.add(new ChoiceListItem(ChoiceListItem.ID_TAKE_PHOTO, takePhotoString)); 100 choices.add(new ChoiceListItem(ChoiceListItem.ID_PICK_PHOTO, pickPhotoString)); 104 R.layout.select_dialog_item, choices); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidContentAssist.java | 199 Object[] choices = getChoicesForElement(parent, currentNode); local 200 if (choices == null || choices.length == 0) { 219 addMatchingProposals(proposals, choices, offset, 240 Object[] choices = getChoicesForAttribute(parent, currentNode, currentUiNode, local 242 if (choices == null || choices.length == 0) { 255 addMatchingProposals(proposals, choices, offset, parentNode != null ? parentNode : null, 287 * Gets the choices when the user is editing the name of an XML element. 294 * can be found under <manifest>, of which <application> is one of the choices 360 Object[] choices = null; local 434 Object[] choices; local 498 Object[] choices = getElementChoicesForTextNode(parentNode); local 524 ElementDescriptor[] choices = null; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
LayoutContentAssist.java | 76 Object[] choices = super.getChoicesForElement(parent, currentNode); local 77 if (choices == null) { 93 if (choices == null && parent.length() >= 1 && Character.isLowerCase(parent.charAt(0))) { 109 return choices; 114 ElementDescriptor[] choices = super.getElementChoicesForTextNode(parentNode); local 121 choices = ObjectArrays.concat(choices, array, ElementDescriptor.class); 122 choices = sort(choices); 125 return choices; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutActionBar.java | 24 import com.android.ide.common.api.RuleAction.Choices; 252 assert newAction instanceof Choices; 253 Choices choices = (Choices) newAction; local 254 String current = choices.getCurrent(); 294 if (action instanceof RuleAction.Choices) { 295 RuleAction.Choices choices = (Choices) action local [all...] |
/external/chromium/chrome/browser/ |
about_flags.h | 78 const Choice* choices; member in struct:about_flags::Experiment 80 // Number of |choices|.
|
about_flags.cc | 31 #define MULTI_VALUE_TYPE(choices) \ 32 Experiment::MULTI_VALUE, "", "", choices, arraysize(choices) 68 // . MULTI_VALUE: a list of choices, the first of which should correspond to a 71 // array of choices. 386 DCHECK(!e.choices); 390 DCHECK(e.choices); 391 DCHECK(e.choices[0].command_line_switch); 392 DCHECK_EQ('\0', e.choices[0].command_line_switch[0]); 459 const Experiment::Choice& choice = experiment.choices[i] [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
run_all.py | 77 choices=['debug', 'info', 'warning', 'warn', 'error', variable
|
/external/srec/tools/cmd/ |
srecres2utd.pl | 86 $token{choices}[0] = $choice; 92 $token{choices}[$i] = $choice; 140 $token->{choices}[0] = $token{topchoice}; 146 my $topch = lc($token->{choices}[0]); 181 my $nchoices = scalar(@{$token->{choices}}); 183 my $choice = lc $token->{choices}[$i];
|
/frameworks/base/core/java/android/content/ |
RestrictionEntry.java | 90 /** The user-visible set of choices used for single-select and multi-select lists. */ 91 private String [] choices; field in class:RestrictionEntry 93 /** The values corresponding to the user-visible choices. The value(s) of this entry will 102 /* List of selected choices in the multi-select case. */ 244 * Sets a list of strings that will be presented as choices to the user. When the 245 * user selects one or more of these choices, the corresponding value from the possible values 249 * @param choiceEntries the list of user-visible choices. 253 choices = choiceEntries; 256 /** Sets a list of strings that will be presented as choices to the user. This is similar to 262 choices = context.getResources().getStringArray(stringArrayResId) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
ValuesContentAssist.java | 211 String[] choices = UiResourceAttributeNode.computeResourceStringMatches( local 213 if (choices == null || choices.length == 0) { 222 for (String s : choices) { 229 choices = filtered.toArray(new String[filtered.size()]); 234 addMatchingProposals(proposals, choices, offset, currentNode,
|
/external/chromium/chrome/common/ |
json_schema_validator.h | 31 // - union types (but replaced with 'choices') 48 // - added the 'choices' property, to allow specifying a list of possible types 159 void ValidateChoices(Value* instance, ListValue* choices, 163 void ValidateEnum(Value* instance, ListValue* choices,
|
json_schema_validator.cc | 64 "Value does not match any valid type choices."; 66 "Value does not match any valid enum choices."; 197 // If the schema has a choices property, the instance must validate against at 199 ListValue* choices = NULL; local 200 if (schema->GetList("choices", &choices)) { 201 ValidateChoices(instance, choices, path); 235 ListValue* choices, 239 for (size_t i = 0; i < choices->GetSize(); ++i) { 241 CHECK(choices->GetDictionary(i, &choice)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
LinearLayoutRuleTest.java | 158 assertTrue(menuAction instanceof RuleAction.Choices); 159 RuleAction.Choices choices = (RuleAction.Choices) menuAction; local 160 List<String> titles = choices.getTitles(); 161 List<String> ids = choices.getIds(); 168 assertEquals("42dip", choices.getCurrent()); 190 orientationAction instanceof RuleAction.Choices); 192 RuleAction.Choices choices = (RuleAction.Choices) orientationAction local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Sets.java | [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Sets.java | [all...] |
/external/icu4c/common/ |
ucnv2022.cpp | 1648 int8_t choices[10]; local 2900 int8_t choices[3]; local [all...] |