/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/chromium_org/tools/set_default_handler/ |
set_default_handler_main.cc | 52 std::vector<string16> choices; local 55 result = controller.RunSynchronously(NULL, protocol, program, &choices); 59 } else if (!choices.empty()) { 60 printf("failed to set program. possible choices: %ls\n", 61 JoinString(choices, L", ").c_str());
|
/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));
|
/external/chromium_org/tools/ |
omahaproxy.py | 54 choices=oses, 59 choices=channels, 64 choices=fields,
|
prepare-bisect-perf-regression.py | 46 choices=['chromium', 'cros', 'android'], 48 help='The target platform. Choices are "chromium" (current '
|
/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...] |
/external/chromium_org/win8/test/ |
open_with_dialog_controller.h | 26 // possible choices if the desired program could not be selected. 47 // on success. Otherwise, |choices| may contain the list of possible choices 52 std::vector<string16>* choices);
|
open_with_dialog_controller.cc | 36 std::vector<string16> choices) { 38 *choices_out = choices; 78 void OnAutomationResult(HRESULT result, std::vector<string16> choices); 194 std::vector<string16> choices) { 199 automation_choices_ = choices; 269 std::vector<string16>* choices) { 286 &result, choices)));
|
/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|.
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
run_all.py | 77 choices=['debug', 'info', 'warning', 'warn', 'error', variable
|
/external/chromium_org/build/android/pylib/utils/ |
test_options_parser.py | 51 choices=profilers,
|
/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,
|