/external/robolectric/v1/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...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/ |
JaCoCo.java | 31 final ResourceBundle bundle = ResourceBundle external variable declarations 33 VERSION = bundle.getString("VERSION"); 34 HOMEURL = bundle.getString("HOMEURL"); 35 RUNTIMEPACKAGE = bundle.getString("RUNTIMEPACKAGE");
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/ |
slot2.l | 2 .*:11: Error: .* must be last in bundle 3 .*:16: Error: .* must be last in bundle
|
label.l | 2 .*:12: Error: Label must be first in a bundle 3 .*:19: Error: Label must be first in a bundle
|
/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" 236 int handleCommand(Bundle* bundle) 239 // bundle->getCommand(), bundle->getVerbose(), bundle->getForce()); 240 //for (int i = 0; i < bundle->getFileSpecCount(); i++) 241 // printf(" %d: '%s'\n", i, bundle->getFileSpecEntry(i)); 243 switch (bundle->getCommand()) { 244 case kCommandVersion: return doVersion(bundle); 265 Bundle bundle; local [all...] |
/cts/hostsidetests/incident/apps/errorsapp/src/com/android/server/cts/errors/ |
ExceptionActivity.java | 20 import android.os.Bundle; 27 public void onCreate(Bundle bundle) { 28 super.onCreate(bundle);
|
/external/jcommander/src/test/resources/ |
MessageBundle_en_US.properties | 20 command = Command from the bundle
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ |
bundle-bad.d | 2 #error-output: bundle-bad.l
|
/system/chre/ |
bundle_chre.sh | 3 # Generates a bundle of this project to share with partners. It produces a file 4 # with the name chre-$HEAD_HASH.bundle where $HEAD_HASH is the current ToT 12 git bundle create chre-$HEAD_HASH.bundle $BRANCH
|
/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);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
SampleBundleClass.java | 28 private static ResourceBundle bundle; field in class:SampleBundleClass 37 bundle = ResourceBundle.getBundle("tests.api.simple.SampleBundleClass"); 40 bundle = null;
|
ResourceBundleTest.java | 44 ResourceBundle bundle = ResourceBundle.getBundle(name); local 45 assertEquals(name, bundle.getBaseBundleName()); 47 bundle = ResourceBundle.getBundle(name, Locale.getDefault()); 48 assertEquals(name, bundle.getBaseBundleName()); 58 ResourceBundle bundle; local 63 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "VAR")); 64 assertEquals("Wrong bundle fr_FR_VAR", "frFRVARValue4", bundle.getString("parent4")); 66 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "v1")); 67 assertEquals("Wrong bundle fr_FR_v1", "frFRValue4", bundle.getString("parent4")) 137 ResourceBundle bundle = ResourceBundle.getBundle(name, Locale local 183 ResourceBundle bundle; local 268 ResourceBundle bundle; local 295 ResourceBundle bundle; local 332 ResourceBundle bundle; local 365 ResourceBundle bundle; local 412 ResourceBundle bundle = ResourceBundle.getBundle( local [all...] |
/packages/apps/Car/libs/car-stream-lib/src/com/android/car/stream/ |
MediaPlaybackExtension.java | 20 import android.os.Bundle; 154 protected void writeToBundle(Bundle bundle) { 155 bundle.putString(TITLE_KEY, mTitle); 156 bundle.putString(SUBTITLE_KEY, mSubTitle); 157 bundle.putParcelable(ALBUM_ART_ICON_KEY, mAlbumArt); 158 bundle.putBoolean(CAN_SKIP_TO_NEXT_KEY, mCanSkipToNext); 159 bundle.putBoolean(CAN_SKIP_TO_PREV_KEY, mCanSkipToPrevious); 160 bundle.putBoolean(HAS_PAUSE_KEY, mHasPause); 161 bundle.putBoolean(IS_PLAYING_KEY, mIsPlaying) [all...] |
CurrentCallExtension.java | 20 import android.os.Bundle; 77 protected void writeToBundle(Bundle bundle) { 78 bundle.putString(DISPLAY_NAME_KEY, mDisplayName); 79 bundle.putInt(CALL_STATE_KEY, mCallState); 80 bundle.putBoolean(IS_MUTED_KEY, mIsMuted); 81 bundle.putParcelable(CONTACT_PHOTO_KEY, mContactPhoto); 82 bundle.putLong(CALL_START_TIME_KEY_KEY, mCallStartTime); 84 bundle.putParcelable(MUTE_ACTION_KEY, mMuteAction); 85 bundle.putParcelable(UNMUTE_ACTION_KEY, mUnMuteAction) [all...] |
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
BroadcastUtils.java | 18 import android.os.Bundle; 36 public static final String toBundleString(Bundle bundle) { 37 if (bundle == null) { 38 return "*** Bundle is null ****"; 41 if (bundle != null) { 43 for (String s : bundle.keySet()) { 44 buf.append("(" + s + " = " + bundle.get(s) + "), ");
|
/cts/tests/tests/alarmclock/common/src/android/alarmclock/common/ |
Utils.java | 18 import android.os.Bundle; 38 public static final String toBundleString(Bundle bundle) { 39 if (bundle == null) { 40 return "*** Bundle is null ****"; 43 if (bundle != null) { 45 for (String s : bundle.keySet()) { 46 buf.append("(" + s + " = " + bundle.get(s) + "), ");
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
UResourceBundleIterator.java | 40 private UResourceBundle bundle; field in class:UResourceBundleIterator 44 * Construct a resource bundle iterator for the 45 * given resource bundle 47 * @param bndl The resource bundle to iterate over 50 bundle = bndl; 51 size = bundle.getSize(); 61 return bundle.get(index++); 73 return bundle.getString(index++);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
UResourceBundleIterator.java | 39 private UResourceBundle bundle; field in class:UResourceBundleIterator 43 * Construct a resource bundle iterator for the 44 * given resource bundle 46 * @param bndl The resource bundle to iterate over 50 bundle = bndl; 51 size = bundle.getSize(); 62 return bundle.get(index++); 75 return bundle.getString(index++);
|
/frameworks/base/tools/bit/ |
adb.h | 41 string get_bundle_string(const ResultsBundle& bundle, bool* found, ...); 42 int32_t get_bundle_int(const ResultsBundle& bundle, bool* found, ...); 43 float get_bundle_float(const ResultsBundle& bundle, bool* found, ...); 44 double get_bundle_double(const ResultsBundle& bundle, bool* found, ...); 45 int64_t get_bundle_long(const ResultsBundle& bundle, bool* found, ...);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
TestDefaultPackageLoading.jpp | 29 UResourceBundle bundle = UResourceBundle.getBundleInstance("TestData", "en"); 30 String aaa = bundle.getString("aaa"); 40 UResourceBundle bundle = UResourceBundle.getBundleInstance("", "te"); 41 String aaa = bundle.getString("string_only_in_te"); 51 UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.dev.data.TestData", "bge"); 52 String aaa = bundle.getString("string_only_in_te"); 56 logln("Got : " + bundle.getULocale().getName());
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
TestDefaultPackageLoading.jpp | 29 UResourceBundle bundle = UResourceBundle.getBundleInstance("TestData", "en"); 30 String aaa = bundle.getString("aaa"); 40 UResourceBundle bundle = UResourceBundle.getBundleInstance("", "te"); 41 String aaa = bundle.getString("string_only_in_te"); 51 UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.dev.data.TestData", "bge"); 52 String aaa = bundle.getString("string_only_in_te"); 56 logln("Got : " + bundle.getULocale().getName());
|
/external/slf4j/osgi-over-slf4j/src/main/java/org/slf4j/osgi/logservice/impl/ |
LogServiceFactory.java | 35 import org.osgi.framework.Bundle; 49 * @see org.osgi.framework.ServiceFactory#getService(org.osgi.framework.Bundle, 52 public Object getService(Bundle bundle, ServiceRegistration arg1) { 53 return new LogServiceImpl(bundle); 59 * @see org.osgi.framework.ServiceFactory#ungetService(org.osgi.framework.Bundle, 62 public void ungetService(Bundle bundle, ServiceRegistration arg1, Object arg2) {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
DirectoryState.java | 18 import android.os.Bundle; 46 public void restore(Bundle bundle) { 47 mRoot = bundle.getParcelable(Shared.EXTRA_ROOT); 48 mDocument = bundle.getParcelable(Shared.EXTRA_DOC); 49 mPendingOperation = bundle.getParcelable(FileOperationService.EXTRA_OPERATION); 50 mLastSortDimensionId = bundle.getInt(EXTRA_SORT_DIMENSION_ID); 51 mLastSortDirection = bundle.getInt(EXTRA_SORT_DIRECTION); 54 public void save(Bundle bundle) { [all...] |
/platform_testing/libraries/longevity/src/android/platform/longevity/scheduler/ |
Scheduler.java | 18 import android.os.Bundle; 29 public interface Scheduler extends BiFunction<Bundle, List<Runner>, List<Runner>> { 31 return (bundle, list) -> next.apply(bundle, this.apply(bundle, list));
|