/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
TestAccountAuthenticator.java | 32 import android.os.Bundle; 49 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { 55 public Bundle addAccount( 60 Bundle options) throws NetworkErrorException { 70 Bundle result = new Bundle(); 74 // fill bundle with a success result. 110 public Bundle confirmCredentials( 113 Bundle options) throws NetworkErrorException { 117 Bundle result = new Bundle() [all...] |
/frameworks/base/media/java/android/media/midi/ |
MidiDeviceInfo.java | 19 import android.os.Bundle; 51 * Bundle key for the device's user visible name property. 53 * Used with the {@link android.os.Bundle} returned by {@link #getProperties}. 59 * Bundle key for the device's manufacturer name property. 61 * Used with the {@link android.os.Bundle} returned by {@link #getProperties}. 67 * Bundle key for the device's product name property. 69 * Used with the {@link android.os.Bundle} returned by {@link #getProperties} 75 * Bundle key for the device's version property. 77 * Used with the {@link android.os.Bundle} returned by {@link #getProperties} 83 * Bundle key for the device's serial number property [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
MessageTest.java | 19 import android.os.Bundle; 69 Bundle bundle = mMessage.getData(); local 70 assertNotNull(bundle); 71 Bundle expectedBundle = new Bundle(); 74 assertNotSame(bundle, mMessage.getData()); 150 Bundle expected = new Bundle(); 159 Bundle bundle = new Bundle() local 187 Bundle bundle = new Bundle(); local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/META-INF/ |
MANIFEST.MF | 2 Bundle-Localization: plugin 3 Bundle-RequiredExecutionEnvironment: J2SE-1.4 4 Bundle-SymbolicName: org.eclipse.pde.build;singleton:=true 7 Bundle-Activator: org.eclipse.pde.internal.build.BuildActivator 8 Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0) 9 ",org.eclipse.ant.core;bundle-version="[3.1.100,4.0.0)",org.eclipse.c 10 ore.runtime.compatibility;bundle-version="[3.1.100,4.0.0)";resolution 11 :=optional,org.eclipse.osgi;bundle-version="[3.3.0,4.0.0)",org.eclips 12 e.equinox.p2.jarprocessor;bundle-version="[1.0.1,2.0.0)",org.eclipse [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
AuthenticationView.java | 4 import android.os.Bundle; 220 Bundle bundle = new Bundle(); local 221 bundle.putParcelable(SUPER_STATE, super.onSaveInstanceState()); 222 bundle.putBoolean(SAVE_OFFER_OAUTH, mOfferOAuth); 223 bundle.putBoolean(SAVE_USE_OAUTH, mUseOAuth); 224 bundle.putString(SAVE_PASSWORD, getPassword()); 225 bundle.putString(SAVE_OAUTH_PROVIDER, mOAuthProvider); 226 return bundle; 232 Bundle bundle = (Bundle)parcelable; local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
FastScrollingIndexCache.java | 23 import android.os.Bundle; 77 * values, which are {@link Bundle}s that will be appended to a {@link Cursor} as extras. 159 * Creates and returns a {@link Bundle} that is appended to a {@link Cursor} as extras. 161 public static final Bundle buildExtraBundle(String[] titles, int[] counts) { 162 Bundle bundle = new Bundle(); local 163 bundle.putStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES, titles); 164 bundle.putIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS, counts); 165 return bundle; [all...] |
/frameworks/base/core/java/android/content/ |
RestrictionsManager.java | 26 import android.os.Bundle; 77 * | "bundle" | "bundle_array"] 105 * Only restrictions of type {@code bundle} and {@code bundle_array} can have one or multiple nested 121 * @see DevicePolicyManager#setApplicationRestrictions(ComponentName, String, Bundle) 163 * The intent must contain {@link #EXTRA_REQUEST_BUNDLE} as an extra and the bundle must 193 * The request bundle passed in the {@link #ACTION_REQUEST_PERMISSION} broadcast. 201 * The bundle contains the following information, at least: 223 * Key for request ID contained in the request bundle. 233 * Key for request data contained in the request bundle. 245 * Key for request title contained in the request bundle 692 final Bundle bundle = new Bundle(); local [all...] |
/cts/tests/tests/accounts/src/android/accounts/cts/ |
AccountManagerTest.java | 29 import android.os.Bundle; 80 public static final Bundle OPTIONS_BUNDLE = new Bundle(); 82 public static final Bundle USERDATA_BUNDLE = new Bundle(); 157 public Bundle fetch(String tokenType) 165 Bundle expected = new Bundle(); 170 Bundle actual = fetcher.fetch(tokenType); 214 private void validateAccountAndAuthTokenResult(Bundle actual) [all...] |
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/ |
Utils.java | 20 import android.os.Bundle; 64 public static final String toBundleString(Bundle bundle) { 65 if (bundle == null) { 66 return "*** Bundle is null ****"; 68 StringBuffer buf = new StringBuffer("Bundle is: "); 69 String testType = bundle.getString(TESTCASE_TYPE); 73 ArrayList<String> info = bundle.getStringArrayList(TESTINFO); 95 public static final void addErrorResult(final Bundle testinfo, final String msg) {
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
RemotePlayer.java | 21 import android.os.Bundle; 58 public void onItemStatusChanged(Bundle data, 74 public void onSessionStatusChanged(Bundle data, 134 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 150 public void onError(String error, int code, Bundle data) { 174 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 192 public void onError(String error, int code, Bundle data) { 212 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus) { 220 public void onError(String error, int code, Bundle data) { 237 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus) [all...] |
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
RemotePlayer.java | 21 import android.os.Bundle; 58 public void onItemStatusChanged(Bundle data, 74 public void onSessionStatusChanged(Bundle data, 134 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 150 public void onError(String error, int code, Bundle data) { 174 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 192 public void onError(String error, int code, Bundle data) { 212 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus) { 220 public void onError(String error, int code, Bundle data) { 237 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentArguments.java | 25 import android.os.Bundle; 33 * Demonstrates a fragment that can be configured through both Bundle arguments 38 @Override protected void onCreate(Bundle savedInstanceState) { 62 Bundle b = new Bundle(); 73 Bundle savedInstanceState) { 86 @Override public void onCreate(Bundle savedInstanceState) { 89 Bundle args = getArguments(); 99 Bundle savedInstanceState) {
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentArgumentsSupport.java | 27 import android.os.Bundle; 35 * Demonstrates a fragment that can be configured through both Bundle arguments 40 @Override protected void onCreate(Bundle savedInstanceState) { 64 Bundle b = new Bundle(); 75 Bundle savedInstanceState) { 88 @Override public void onCreate(Bundle savedInstanceState) { 91 Bundle args = getArguments(); 104 Bundle savedInstanceState) {
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
RemotePlayer.java | 23 import android.os.Bundle; 58 public void onItemStatusChanged(Bundle data, 74 public void onSessionStatusChanged(Bundle data, 134 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 153 public void onError(String error, int code, Bundle data) { 177 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 195 public void onError(String error, int code, Bundle data) { 215 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus) { 224 public void onError(String error, int code, Bundle data) { 241 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus) [all...] |
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
RemotePlayer.java | 21 import android.os.Bundle; 58 public void onItemStatusChanged(Bundle data, 74 public void onSessionStatusChanged(Bundle data, 134 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 150 public void onError(String error, int code, Bundle data) { 174 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 192 public void onError(String error, int code, Bundle data) { 212 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus) { 220 public void onError(String error, int code, Bundle data) { 237 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus) [all...] |
/frameworks/base/core/java/android/app/ |
RemoteInput.java | 22 import android.os.Bundle; 38 * constructor) from the Bundle returned by {@link #getResultsFromIntent}. 55 * Bundle results = RemoteInput.getResultsFromIntent(intent); 64 /** Extra added to a clip data intent object to hold the results bundle. */ 77 private final Bundle mExtras; 80 int flags, Bundle extras) { 89 * Get the key that the result of this input will be set in from the Bundle returned by 123 public Bundle getExtras() { 135 private Bundle mExtras = new Bundle(); [all...] |
/frameworks/base/core/java/android/speech/ |
RecognitionListener.java | 19 import android.os.Bundle; 32 void onReadyForSpeech(Bundle params); 72 * ArrayList<String>} format use {@link Bundle#getStringArrayList(String)} with 76 void onResults(Bundle results); 80 * time between {@link #onBeginningOfSpeech()} and {@link #onResults(Bundle)} when partial 87 * ArrayList<String> format use {@link Bundle#getStringArrayList(String)} with 90 void onPartialResults(Bundle partialResults); 96 * @param params a Bundle containing the passed parameters 98 void onEvent(int eventType, Bundle params);
|
/frameworks/base/services/core/java/com/android/server/updates/ |
SELinuxPolicyInstallReceiver.java | 47 super("/data/security/bundle", "sepolicy_bundle", "metadata/", "version"); 58 private int[] readChunkLengths(BufferedInputStream bundle) throws IOException { 60 chunks[0] = readInt(bundle); 61 chunks[1] = readInt(bundle); 62 chunks[2] = readInt(bundle); 63 chunks[3] = readInt(bundle); 64 chunks[4] = readInt(bundle); 65 chunks[5] = readInt(bundle); 66 chunks[6] = readInt(bundle);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/editor/ |
SelectAccountDialogFragment.java | 25 import android.os.Bundle; 55 * {@link Bundle#EMPTY}. 59 AccountListFilter accountListFilter, Bundle extraArgs) { 60 final Bundle args = new Bundle(); 63 args.putBundle(KEY_EXTRA_ARGS, (extraArgs == null) ? Bundle.EMPTY : extraArgs); 72 public Dialog onCreateDialog(Bundle savedInstanceState) { 74 final Bundle args = getArguments(); 118 void onAccountChosen(AccountWithDataSet account, Bundle extraArgs);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
EmailServiceProxy.java | 21 import android.os.Bundle; 141 * The result of this call is returned in a Bundle which MUST include a result code and MAY 147 * @return a Bundle as described above 150 public Bundle validate(final HostAuthCompat hostAuthCom) throws RemoteException { 159 Bundle bundle = new Bundle(); local 160 bundle.putInt(VALIDATE_BUNDLE_RESULT_CODE, MessagingException.UNSPECIFIED_EXCEPTION); 161 return bundle; 163 Bundle bundle = (Bundle) mReturn local 193 Bundle bundle = (Bundle) mReturn; local [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/ |
DefaultCarrierConfigValuesLoader.java | 22 import android.os.Bundle; 42 private final SparseArray<Bundle> mValuesCache; 50 public Bundle get(int subId) { 52 Bundle values; 57 values = new Bundle(); 69 private void loadLocked(final int subId, final Bundle values) { 84 private static void loadFromSystem(final int subId, final Bundle values) { 86 final Bundle systemValues = Utils.getSmsManager(subId).getCarrierConfigValues(); 95 private void loadFromResources(final int subId, final Bundle values) {
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoFragment.java | 20 import android.os.Bundle; 94 public void onCreate(Bundle bundle) { 95 super.onCreate(bundle); 102 public View onCreateView(LayoutInflater inflater, ViewGroup viewGroup, Bundle bundle) { 103 super.onCreateView(inflater, viewGroup, bundle); 120 // If the bundle argument contains data, uses it as a URL for the picture to display 121 if (bundle != null) { 122 mURLString = bundle.getString(PHOTO_URL_KEY) [all...] |
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
DemoMainActivity.java | 5 import android.os.Bundle; 17 public void onCreate(Bundle savedInstanceState) { 25 //Next create the bundle and initialize it 26 final Bundle bundle = new Bundle(); local 43 //Add the parameters to bundle as 44 bundle.putString("EGLCONFIG", parent.getItemAtPosition(pos).toString()); 68 //Add the parameters to bundle as 69 bundle.putBoolean("VERBOSE", parent.getItemAtPosition(pos).toString().equals("Verbose")) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncOperationTest.java | 22 import android.os.Bundle; 42 /** Empty bundle. */ 43 Bundle mEmpty; 50 mEmpty = new Bundle(); 59 Bundle b1 = new Bundle(); 60 Bundle b2 = new Bundle(); 110 // Same as op1 but different bundle 142 Bundle b2 = new Bundle() [all...] |
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/ |
TestApp.java | 32 import android.os.Bundle; 44 Bundle mTestinfo = new Bundle(); 45 Bundle mTotalInfo = new Bundle(); 50 public void onCreate(Bundle savedInstanceState) { 138 Log.i(TAG, "broadcasting: " + intent.toString() + ", Bundle = " + mTotalInfo.toString()); 155 public void onConfirmationResult(boolean confirmed, Bundle result) { 158 ", recvd bundle =" + Utils.toBundleString(result)); 179 public void onCompleteResult(Bundle result) [all...] |