/development/apps/BluetoothDebug/src/com/android/bluetoothdebug/ |
DebugReceiver.java | 28 import android.os.Bundle; 49 Bundle bundle = intent.getExtras(); local 50 if (bundle == null) return; 51 for (String extra : bundle.keySet()) { 52 Log.d(TAG, "\t" + shorten(extra) + " = " + bundle.get(extra));
|
/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/ |
VoiceRecognitionService.java | 24 import android.os.Bundle; 67 Bundle bundle = new Bundle(); local 68 bundle.putStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION, results); 71 listener.results(bundle);
|
/device/sample/apps/SampleEmailPolicy/src/com/android/email/policy/ |
EmailPolicy.java | 19 import android.os.Bundle; 40 * in the "arguments" bundle. If there is a single argument, it will typically use the same key 43 * In all cases, getPolicy() should return a bundle. For default behavior, or for any unknown 44 * policy, simply return Bundle.EMPTY. 46 * To return actual data, create a new bundle and place result values in it. If there is a single 47 * return value, this value is placed in the return bundle using the same key as the request. 52 * argument values cannot be found, the method should Bundle.EMPTY. 62 * For the default behavior, return the empty bundle. 63 * For the alternate behavior, return a bundle containing a single entry with a key of 77 * For default behavior (no values inserted), return the empty bundle [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMessage.java | 9 import android.os.Bundle; 15 private Bundle data; 23 public void setData(Bundle data) { 33 public Bundle peekData() { 38 public Bundle getData() { 40 data = new Bundle();
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
UiAutomatorTestCase.java | 20 import android.os.Bundle; 32 private Bundle mParams; 46 * pairs, the {@link Bundle} will have the key value pairs conveniently available to the 50 public Bundle getParams() { 63 * @deprecated Use {@link Instrumentation#sendStatus(int, Bundle)} instead 77 void initialize(Bundle params) {
|
/frameworks/base/core/java/android/accounts/ |
AccountAuthenticatorActivity.java | 20 import android.os.Bundle; 31 * {@link #setAccountAuthenticatorResult(android.os.Bundle)}. 38 private Bundle mResultBundle = null; 46 public final void setAccountAuthenticatorResult(Bundle result) { 55 protected void onCreate(Bundle icicle) { 71 // send the result bundle back if set, otherwise send an error.
|
/frameworks/base/core/java/android/app/ |
ActivityGroup.java | 22 import android.os.Bundle; 51 protected void onCreate(Bundle savedInstanceState) { 53 Bundle states = savedInstanceState != null 54 ? (Bundle) savedInstanceState.getBundle(STATES_KEY) : null; 65 protected void onSaveInstanceState(Bundle outState) { 67 Bundle state = mLocalActivityManager.saveInstanceState();
|
/frameworks/base/core/java/com/android/internal/app/ |
MediaRouteChooserDialogFragment.java | 22 import android.os.Bundle; 51 Bundle args = getArguments(); 57 Bundle args = getArguments(); 59 args = new Bundle(); 89 Context context, Bundle savedInstanceState) { 94 public Dialog onCreateDialog(Bundle savedInstanceState) {
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteChooserDialogFragment.java | 21 import android.os.Bundle; 59 Bundle args = getArguments(); 84 Bundle args = getArguments(); 86 args = new Bundle(); 105 Context context, Bundle savedInstanceState) { 110 public Dialog onCreateDialog(Bundle savedInstanceState) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
MessageWizardFragment.java | 21 import android.os.Bundle; 42 Bundle args = new Bundle(); 48 public static void addArguments(Bundle args, String title, boolean showProgressIndicator) { 54 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle icicle) { 60 Bundle args = getArguments();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/ |
Activator.java | 24 import org.osgi.framework.Bundle; 63 public static Bundle getBundle(String id) { 64 for (Bundle bundle : mPlugin.getBundle().getBundleContext().getBundles()) { 65 if (bundle.getSymbolicName().equals(id)) { 66 return bundle;
|
/cts/tests/tests/assist/common/src/android/assist/common/ |
Utils.java | 20 import android.os.Bundle; 88 private static Bundle EXTRA_ASSIST_BUNDLE; 111 public static final Bundle getExtraAssistBundle() { 113 EXTRA_ASSIST_BUNDLE = new Bundle(); 119 public static void addExtraAssistDataToBundle(Bundle data) { 183 public static final String toBundleString(Bundle bundle) { 184 if (bundle == null) { 185 return "*** Bundle is null ****"; 187 StringBuffer buf = new StringBuffer("Bundle is: ") [all...] |
/external/icu/icu4c/source/test/intltest/ |
nptrans.cpp | 51 bundle = NULL; 60 bundle = ures_openDirect(testDataName,"idna_rules",&status); 62 if(bundle != NULL && U_SUCCESS(status)){ 65 const UChar* ruleUChar = ures_getStringByKey(bundle, "MapNFKC",&ruleLen, &status); 67 const UChar *mapRuleUChar = ures_getStringByKey(bundle, "MapNoNormalization", &mapRuleLen, &status); 79 const UChar* pattern = ures_getStringByKey(bundle,"UnassignedSet",&patternLen, &status); 84 pattern = ures_getStringByKey(bundle,"ProhibitedSet",&patternLen, &status); 108 pattern = ures_getStringByKey(bundle,"LabelSeparatorSet",&patternLen, &status); 117 ures_close(bundle); 119 bundle = NULL [all...] |
/frameworks/base/core/tests/utillib/src/android/test/ |
BandwidthTestCase.java | 20 import android.os.Bundle; 135 Bundle iterations = new Bundle(); 147 private Bundle getBandwidthStats(NetworkStats.Entry entry){ 148 Bundle bundle = new Bundle(); local 149 bundle.putLong(REPORT_KEY_BYTES_RECEIVED, entry.rxBytes); 150 bundle.putLong(REPORT_KEY_BYTES_SENT, entry.txBytes); 151 bundle.putLong(REPORT_KEY_PACKETS_RECEIVED, entry.rxPackets) [all...] |
/frameworks/support/customtabs/src/android/support/customtabs/ |
CustomTabsService.java | 22 import android.os.Bundle; 47 * this key can be used with {@link Bundle#putParcelable(String, android.os.Parcelable)} 48 * to insert a new url to each bundle inside list of bundles. 84 Bundle extras, List<Bundle> otherLikelyBundles) { 90 public Bundle extraCommand(String commandName, Bundle args) { 158 * likelihood order. Each Bundle has to provide a url. 162 Bundle extras, List<Bundle> otherLikelyBundles) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
LabelDialogFragment.java | 24 import android.os.Bundle; 52 Bundle args = new Bundle(); 62 Bundle args = new Bundle(); 71 public void onCreate(Bundle savedInstanceState) { 76 public Dialog onCreateDialog(Bundle savedInstanceState) { 77 Bundle bundle = getArguments(); local 78 final String label = bundle.getString(KEY_LABEL) [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouteDescriptor.java | 20 import android.os.Bundle; 55 private final Bundle mBundle; 58 private MediaRouteDescriptor(Bundle bundle, List<IntentFilter> controlFilters) { 59 mBundle = bundle; 193 * Gets a bundle of extras for this route descriptor. 197 public Bundle getExtras() { 237 * Converts this object to a bundle for serialization. 239 * @return The contents of the object represented as a bundle. 241 public Bundle asBundle() [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
UResourceBundle.java | 32 * locale. A resource bundle provides a way of accessing locale- specific information in a 33 * data file. You create a resource bundle that manages the resources for a given locale 43 * definition</a>. More on resource bundle concepts and syntax can be found in the <a 76 * UResourceBundle bundle = 82 * UResourceBundle bundle = 98 * {@icu} Creates a resource bundle using the specified base name and locale. 100 * @param baseName the base name of the resource bundle, a fully qualified class name 101 * @param localeName the locale for which a resource bundle is desired 102 * @throws MissingResourceException If no resource bundle for the specified base name 104 * @return a resource bundle for the given base name and local [all...] |
/cts/apps/NotificationBot/src/com/android/cts/robot/ |
NotificationBotActivity.java | 19 import android.os.Bundle; 24 public void onCreate(Bundle savedInstanceState) {
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
GetContentActivity.java | 21 import android.os.Bundle; 25 protected void onCreate(Bundle savedInstanceState) {
|
/cts/hostsidetests/atrace/AtraceTestApp/src/com/android/cts/atracetestapp/ |
AtraceTestAppActivity.java | 19 import android.os.Bundle; 24 protected void onCreate(Bundle savedInstanceState) {
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
KeyManagementActivity.java | 21 import android.os.Bundle; 26 protected void onCreate(Bundle savedInstanceState) {
|
/cts/hostsidetests/dumpsys/FramestatsTestApp/src/com/android/cts/framestatstestapp/ |
FramestatsTestAppActivity.java | 19 import android.os.Bundle; 25 protected void onCreate(Bundle savedInstanceState) {
|
/cts/tests/acceleration/src/android/acceleration/cts/ |
WindowFlagHardwareAcceleratedActivity.java | 19 import android.os.Bundle; 25 protected void onCreate(Bundle savedInstanceState) {
|
/cts/tests/app/src/android/app/cts/ |
ActionBarActivity.java | 20 import android.os.Bundle; 25 protected void onCreate(Bundle savedInstanceState) {
|