HomeSort by relevance Sort by last modified time
    Searched refs:bundle (Results 1 - 25 of 820) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
BundleTest.java 4 import android.os.Bundle;
22 private Bundle bundle; field in class:BundleTest
25 bundle = new Bundle();
30 assertFalse(bundle.containsKey("foo"));
31 bundle.putString("foo", "bar");
32 assertTrue(bundle.containsKey("foo"));
37 bundle.putInt("foo", 5);
38 assertEquals(5,bundle.getInt("foo"))
    [all...]
  /frameworks/base/tools/aapt/
Main.h 17 #include "Bundle.h"
31 extern int doVersion(Bundle* bundle);
32 extern int doList(Bundle* bundle);
33 extern int doDump(Bundle* bundle);
34 extern int doAdd(Bundle* bundle);
35 extern int doRemove(Bundle* bundle)
    [all...]
Main.cpp 7 #include "Bundle.h"
221 int handleCommand(Bundle* bundle)
224 // bundle->getCommand(), bundle->getVerbose(), bundle->getForce());
225 //for (int i = 0; i < bundle->getFileSpecCount(); i++)
226 // printf(" %d: '%s'\n", i, bundle->getFileSpecEntry(i));
228 switch (bundle->getCommand()) {
229 case kCommandVersion: return doVersion(bundle);
250 Bundle bundle; local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ResourceBundleTest.java 47 ResourceBundle bundle; local
52 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "VAR"));
53 assertEquals("Wrong bundle fr_FR_VAR", "frFRVARValue4", bundle.getString("parent4"));
55 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "v1"));
56 assertEquals("Wrong bundle fr_FR_v1", "frFRValue4", bundle.getString("parent4"));
58 bundle = ResourceBundle.getBundle(name, new Locale("fr", "US", "VAR"));
59 assertEquals("Wrong bundle fr_US_var", "frValue4", bundle.getString("parent4"))
126 ResourceBundle bundle = ResourceBundle.getBundle(name, Locale local
172 ResourceBundle bundle; local
257 ResourceBundle bundle; local
284 ResourceBundle bundle; local
321 ResourceBundle bundle; local
354 ResourceBundle bundle; local
    [all...]
SampleBundleClass.java 28 private static ResourceBundle bundle; field in class:SampleBundleClass
37 bundle = ResourceBundle.getBundle("tests.api.simple.SampleBundleClass");
40 bundle = null;
  /external/chromium_org/tools/gyp/test/mac/type_envvars/
test_bundle_loadable_module.sh 9 test $PRODUCT_TYPE = com.apple.product-type.bundle
11 test $FULL_PRODUCT_NAME = bundle_loadable_module.bundle
15 "bundle_loadable_module.bundle/Contents/MacOS/bundle_loadable_module"
16 test $WRAPPER_NAME = bundle_loadable_module.bundle
  /external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/command/
command_common.py 6 valid_bundles = [bundle.name for bundle in manifest.GetBundles()]
list.py 9 for bundle in remote_manifest.GetBundles():
10 local_bundle = local_manifest.GetBundle(bundle.name)
11 needs_update = local_bundle and local_manifest.BundleNeedsUpdate(bundle)
15 _PrintBundle(local_bundle, bundle, needs_update, display_revisions)
29 def _PrintBundle(local_bundle, bundle, needs_update, display_revisions):
31 # If bundle is None, there is no longer a remote bundle with this name.
32 if bundle is None:
33 bundle = local_bundle
37 revision = ' (r%s -> r%s)' % (local_bundle.revision, bundle.revision
    [all...]
  /external/lldb/source/Host/macosx/cfcpp/
CFCBundle.cpp 36 // Set the path for a bundle by supplying a
42 // Release our old bundle and URL
50 // Make our Bundle URL
61 CFBundleRef bundle = get(); local
62 if (bundle)
64 CFCReleaser<CFURLRef> bundle_url (CFBundleCopyBundleURL (bundle));
77 CFBundleRef bundle = get(); local
78 if (bundle != NULL)
79 return ::CFBundleGetIdentifier (bundle);
86 CFBundleRef bundle = get() local
95 CFBundleRef bundle = get(); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/
InstrumentationTest.java 19 import android.os.Bundle;
25 * Simple stress test for {@link Instrumentation#sendStatus(int, android.os.Bundle)}, to
30 Bundle bundle = new Bundle(); local
31 bundle.putInt("iterations", i);
32 getInstrumentation().sendStatus(-1, bundle);
  /cts/tests/tests/text/src/android/text/style/cts/
TtsSpanTest.java 26 PersistableBundle bundle; field in class:TtsSpanTest
29 bundle = new PersistableBundle();
30 bundle.putString("argument.one", "value.one");
31 bundle.putString("argument.two", "value.two");
32 bundle.putLong("argument.three", 3);
33 bundle.putLong("argument.four", 4);
37 TtsSpan t = new TtsSpan("test.type.one", bundle);
47 TtsSpan t = new TtsSpan("test.type.two", bundle);
52 TtsSpan span = new TtsSpan("test.type.three", bundle);
57 TtsSpan span = new TtsSpan("test.type.four", bundle);
    [all...]
  /external/chromium_org/components/policy/core/common/
mock_configuration_policy_provider.cc 24 scoped_ptr<PolicyBundle> bundle(new PolicyBundle());
25 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
27 UpdatePolicy(bundle.Pass());
38 scoped_ptr<PolicyBundle> bundle(new PolicyBundle);
39 bundle->CopyFrom(policies());
40 UpdatePolicy(bundle.Pass());
proxy_policy_provider.cc 47 // current bundle should be served instead. This also does the right thing
49 scoped_ptr<PolicyBundle> bundle(new PolicyBundle());
50 bundle->CopyFrom(policies());
51 UpdatePolicy(bundle.Pass());
58 scoped_ptr<PolicyBundle> bundle(new PolicyBundle());
59 bundle->CopyFrom(delegate_->policies());
60 UpdatePolicy(bundle.Pass());
  /external/lldb/tools/debugserver/source/MacOSX/
CFBundle.cpp 56 // Set the path for a bundle by supplying a
62 // Release our old bundle and ULR
70 // Make our Bundle URL
83 CFBundleRef bundle = get(); local
84 if (bundle != NULL)
85 return ::CFBundleGetIdentifier (bundle);
93 CFBundleRef bundle = get(); local
94 if (bundle != NULL)
95 return CFBundleCopyExecutableURL(bundle);
  /frameworks/base/libs/androidfw/tests/data/app/
build 3 aapt package -v -I ../system/bundle.apk -M AndroidManifest.xml -S res -F bundle.apk -f && \
4 unzip bundle.apk resources.arsc && \
  /frameworks/base/libs/androidfw/tests/data/feature/
build 3 aapt package -M AndroidManifest.xml -S res --feature-of ../basic/bundle.apk -F bundle.apk -f && \
4 unzip bundle.apk resources.arsc && \
  /external/icu/icu4c/source/tools/genrb/
reslist.c 33 * Align binary data at a 16-byte offset from the start of the resource bundle,
56 * for use in non-error cases when no resource is to be added to the bundle.
104 bundle_compactStrings(struct SRBRoot *bundle, UErrorCode *status);
118 res_preflightStrings(struct SRBRoot *bundle, struct SResource *res, UHashtable *stringSet,
126 res_write16(struct SRBRoot *bundle, struct SResource *res,
140 * before actually writing the bundle contents to the file,
145 struct SRBRoot *bundle, struct SResource *res,
155 struct SRBRoot *bundle, struct SResource *res,
159 string_preflightStrings(struct SRBRoot *bundle, struct SResource *res, UHashtable *stringSet,
168 if (bundle->fStringsForm != STRINGS_UTF16_V1)
1103 struct SRBRoot *bundle; local
1478 const struct SRBRoot *bundle=(const struct SRBRoot *)context; local
    [all...]
  /external/chromium_org/third_party/icu/source/tools/genrb/
reslist.c 30 * Align binary data at a 16-byte offset from the start of the resource bundle,
53 * for use in non-error cases when no resource is to be added to the bundle.
101 bundle_compactStrings(struct SRBRoot *bundle, UErrorCode *status);
110 res_write16(struct SRBRoot *bundle, struct SResource *res,
124 * before actually writing the bundle contents to the file,
129 struct SRBRoot *bundle, struct SResource *res,
139 struct SRBRoot *bundle, struct SResource *res,
143 reserve16BitUnits(struct SRBRoot *bundle, int32_t length, UErrorCode *status) {
147 if ((bundle->f16BitUnitsLength + length) > bundle->f16BitUnitsCapacity)
1059 struct SRBRoot *bundle; local
1440 const struct SRBRoot *bundle=(const struct SRBRoot *)context; local
    [all...]
  /frameworks/base/libs/androidfw/tests/data/overlay/
build 3 aapt package -M AndroidManifest.xml -S res -F bundle.apk -f && \
4 unzip bundle.apk resources.arsc && \
  /frameworks/base/libs/androidfw/tests/data/system/
build 3 aapt package -x -M AndroidManifest.xml -S res -F bundle.apk -f && \
4 unzip bundle.apk resources.arsc && \
  /frameworks/testing/support/src/android/support/test/
BundleTest.java 18 import android.os.Bundle;
23 * Implement this interface to receive a {@link Bundle} containing the command line arguments
26 * The test runner will call {@link #injectBundle(Bundle)} after
35 * Called by Android test runner to pass in Bundle containing command line arguments.
37 public void injectBundle(Bundle bundle);
  /external/chromium_org/third_party/icu/source/io/
locbund.h 57 * @param bundle The ULocaleBundle to clone.
61 u_locbund_clone(const ULocaleBundle *bundle);*/
65 * @param bundle The ULocaleBundle to delete
68 u_locbund_close(ULocaleBundle *bundle);
72 * @param bundle The ULocaleBundle to use
76 u_locbund_getNumberFormat(ULocaleBundle *bundle, UNumberFormatStyle style);
  /external/icu/icu4c/source/io/
locbund.h 57 * @param bundle The ULocaleBundle to clone.
61 u_locbund_clone(const ULocaleBundle *bundle);*/
65 * @param bundle The ULocaleBundle to delete
68 u_locbund_close(ULocaleBundle *bundle);
72 * @param bundle The ULocaleBundle to use
76 u_locbund_getNumberFormat(ULocaleBundle *bundle, UNumberFormatStyle style);
  /frameworks/base/services/tests/servicestests/src/com/android/server/notification/
ValidateNotificationPeopleTest.java 19 import android.os.Bundle;
31 Bundle bundle = new Bundle(); local
32 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
39 Bundle bundle = new Bundle(); local
40 bundle.putString(Notification.EXTRA_PEOPLE, expected[0]);
41 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
48 Bundle bundle = new Bundle(); local
57 Bundle bundle = new Bundle(); local
65 Bundle bundle = new Bundle(); local
74 Bundle bundle = new Bundle(); local
83 Bundle bundle = new Bundle(); local
92 Bundle bundle = new Bundle(); local
105 Bundle bundle = new Bundle(); local
122 Bundle bundle = new Bundle(); local
135 Bundle bundle = new Bundle(); local
    [all...]
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/recipeassistant/
Recipe.java 20 import android.os.Bundle;
43 public Bundle toBundle() {
44 Bundle bundle = new Bundle(); local
45 bundle.putString(Constants.RECIPE_FIELD_STEP_TEXT, stepText);
46 bundle.putString(Constants.RECIPE_FIELD_STEP_IMAGE, stepImage);
47 return bundle;
50 public static RecipeStep fromBundle(Bundle bundle) {
96 Bundle bundle = new Bundle(); local
    [all...]

Completed in 399 milliseconds

1 2 3 4 5 6 7 8 91011>>