Home
last modified time | relevance | path

Searched refs:Bundle (Results 1 – 25 of 1404) sorted by relevance

12345678910>>...57

/frameworks/base/tools/aapt/
DMain.h31 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);
36 extern int doPackage(Bundle* bundle);
37 extern int doCrunch(Bundle* bundle);
38 extern int doSingleCrunch(Bundle* bundle);
39 extern int runInDaemonMode(Bundle* bundle);
43 extern android::status_t writeAPK(Bundle* bundle,
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/notification/
DValidateNotificationPeopleTest.java19 import android.os.Bundle;
31 Bundle bundle = new Bundle(); in testNoExtra()
39 Bundle bundle = new Bundle(); in testSingleString()
48 Bundle bundle = new Bundle(); in testSingleCharArray()
57 Bundle bundle = new Bundle(); in testSingleCharSequence()
65 Bundle bundle = new Bundle(); in testStringArraySingle()
74 Bundle bundle = new Bundle(); in testStringArrayMultiple()
83 Bundle bundle = new Bundle(); in testStringArrayNulls()
92 Bundle bundle = new Bundle(); in testCharSequenceArrayMultiple()
105 Bundle bundle = new Bundle(); in testMixedCharSequenceArrayList()
[all …]
/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java19 import android.os.Bundle;
119 String authTokenType, String[] features, Bundle options) in addAccount()
128 final Bundle result = AbstractAccountAuthenticator.this.addAccount( in addAccount()
144 Account account, Bundle options) throws RemoteException { in confirmCredentials()
150 final Bundle result = AbstractAccountAuthenticator.this.confirmCredentials( in confirmCredentials()
173 Bundle result = new Bundle(); in getAuthTokenLabel()
188 Account account, String authTokenType, Bundle loginOptions) in getAuthToken()
196 final Bundle result = AbstractAccountAuthenticator.this.getAuthToken( in getAuthToken()
213 String authTokenType, Bundle loginOptions) throws RemoteException { in updateCredentials()
220 final Bundle result = AbstractAccountAuthenticator.this.updateCredentials( in updateCredentials()
[all …]
DAccountManager.java28 import android.os.Bundle;
270 public static Bundle sanitizeResult(Bundle result) { in sanitizeResult()
274 final Bundle newResult = new Bundle(result); in sanitizeResult()
540 public String bundleToResult(Bundle bundle) throws AuthenticatorException { in getAuthTokenLabel()
581 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
625 public Account[] bundleToResult(Bundle bundle) throws AuthenticatorException {
655 public boolean addAccountExplicitly(Account account, String password, Bundle userdata) {
701 public Account bundleToResult(Bundle bundle) throws AuthenticatorException {
762 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
808 public AccountManagerFuture<Bundle> removeAccount(final Account account,
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DRemoteInput.java21 import android.os.Bundle;
41 private final Bundle mExtras;
44 boolean allowFreeFormInput, Bundle extras) { in RemoteInput()
87 public Bundle getExtras() { in getExtras()
99 private Bundle mExtras = new Bundle();
155 public Builder addExtras(Bundle extras) { in addExtras()
167 public Bundle getExtras() { in getExtras()
187 public static Bundle getResultsFromIntent(Intent intent) { in getResultsFromIntent()
203 Bundle results) { in addResultsToIntent()
210 Bundle getResultsFromIntent(Intent intent); in getResultsFromIntent()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java51 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); in testBeginSnapshotNoWriter()
60 Bundle snapshot = mPerfCollector.endSnapshot(); in testEndSnapshotNoWriter()
71 Bundle measurement = (Bundle)readPrivateField("mPerfMeasurement", mPerfCollector); in testStartTimingNoWriter()
80 Bundle iteration = mPerfCollector.addIteration("timing1"); in testAddIterationNoWriter()
93 Bundle timing = mPerfCollector.stopTiming("timing4"); in testStopTimingNoWriter()
111 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); in testBeginSnapshot()
122 Bundle snapshot1 = mPerfCollector.endSnapshot(); in testEndSnapshot()
123 Bundle snapshot2 = writer.snapshotResults; in testEndSnapshot()
138 Bundle measurement = (Bundle)readPrivateField("mPerfMeasurement", mPerfCollector); in testStartTiming()
147 Bundle iteration = mPerfCollector.addIteration("timing5"); in testAddIteration()
[all …]
/frameworks/support/v4/jellybean/android/support/v4/app/
DNotificationCompatJellybean.java23 import android.os.Bundle;
67 private final Bundle mExtras;
68 private List<Bundle> mActionExtrasList = new ArrayList<Bundle>();
76 Bundle extras, String groupKey, boolean groupSummary, String sortKey) { in Builder()
102 mExtras = new Bundle(); in Builder()
136 Bundle extras = getExtras(notif); in build()
137 Bundle mergeBundle = new Bundle(mExtras); in build()
144 SparseArray<Bundle> actionExtrasMap = buildActionExtrasMap(mActionExtrasList); in build()
193 public static SparseArray<Bundle> buildActionExtrasMap(List<Bundle> actionExtrasList) { in buildActionExtrasMap()
194 SparseArray<Bundle> actionExtrasMap = null; in buildActionExtrasMap()
[all …]
DRemoteInputCompatJellybean.java22 import android.os.Bundle;
37 static RemoteInputCompatBase.RemoteInput fromBundle(Bundle data, in fromBundle()
46 static Bundle toBundle(RemoteInputCompatBase.RemoteInput remoteInput) { in toBundle()
47 Bundle data = new Bundle(); in toBundle()
56 static RemoteInputCompatBase.RemoteInput[] fromBundleArray(Bundle[] bundles, in fromBundleArray()
68 static Bundle[] toBundleArray(RemoteInputCompatBase.RemoteInput[] remoteInputs) { in toBundleArray()
72 Bundle[] bundles = new Bundle[remoteInputs.length]; in toBundleArray()
79 static Bundle getResultsFromIntent(Intent intent) { in getResultsFromIntent()
95 Bundle results) { in addResultsToIntent()
96 Bundle resultsBundle = new Bundle(); in addResultsToIntent()
DBundleUtil.java3 import android.os.Bundle;
17 public static Bundle[] getBundleArrayFromBundle(Bundle bundle, String key) { in getBundleArrayFromBundle()
19 if (array instanceof Bundle[] || array == null) { in getBundleArrayFromBundle()
20 return (Bundle[]) array; in getBundleArrayFromBundle()
22 Bundle[] typedArray = Arrays.copyOf(array, array.length, in getBundleArrayFromBundle()
23 Bundle[].class); in getBundleArrayFromBundle()
/frameworks/base/core/java/android/os/
DPerformanceCollector.java86 public void writeEndSnapshot(Bundle results); in writeEndSnapshot()
109 public void writeStopTiming(Bundle results); in writeStopTiming()
281 private Bundle mPerfSnapshot;
282 private Bundle mPerfMeasurement;
349 public Bundle endSnapshot() { in endSnapshot()
365 mPerfMeasurement = new Bundle(); in startTiming()
387 public Bundle addIteration(String label) { in addIteration()
391 Bundle iteration = new Bundle(); in addIteration()
411 public Bundle stopTiming(String label) { in stopTiming()
456 mPerfSnapshot = new Bundle(); in startPerformanceSnapshot()
[all …]
DIUserManager.aidl20 import android.os.Bundle;
43 Bundle getUserRestrictions(int userHandle); in getUserRestrictions()
45 void setUserRestrictions(in Bundle restrictions, int userHandle); in setUserRestrictions()
46 void setApplicationRestrictions(in String packageName, in Bundle restrictions, in setApplicationRestrictions()
48 Bundle getApplicationRestrictions(in String packageName); in getApplicationRestrictions()
49 Bundle getApplicationRestrictionsForUser(in String packageName, int userHandle); in getApplicationRestrictionsForUser()
54 void setDefaultGuestRestrictions(in Bundle restrictions); in setDefaultGuestRestrictions()
55 Bundle getDefaultGuestRestrictions(); in getDefaultGuestRestrictions()
DBundle.java33 public final class Bundle extends BaseBundle implements Cloneable, Parcelable { class
34 public static final Bundle EMPTY;
38 EMPTY = new Bundle();
50 public Bundle() { in Bundle() method in Bundle
60 Bundle(Parcel parcelledData) { in Bundle() method in Bundle
67 /* package */ Bundle(Parcel parcelledData, int length) { in Bundle() method in Bundle
81 public Bundle(ClassLoader loader) { in Bundle() method in Bundle
91 public Bundle(int capacity) { in Bundle() method in Bundle
101 public Bundle(Bundle b) { in Bundle() method in Bundle
114 public Bundle(PersistableBundle b) { in Bundle() method in Bundle
[all …]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProviderDescriptor.java19 import android.os.Bundle;
36 private final Bundle mBundle;
39 private MediaRouteProviderDescriptor(Bundle bundle, in MediaRouteProviderDescriptor()
55 ArrayList<Bundle> routeBundles = mBundle.<Bundle>getParcelableArrayList(KEY_ROUTES); in ensureRoutes()
104 public Bundle asBundle() { in asBundle()
114 public static MediaRouteProviderDescriptor fromBundle(Bundle bundle) { in fromBundle()
122 private final Bundle mBundle;
129 mBundle = new Bundle(); in Builder()
141 mBundle = new Bundle(descriptor.mBundle); in Builder()
188 ArrayList<Bundle> routeBundles = new ArrayList<Bundle>(count); in build()
DMediaSessionStatus.java20 import android.os.Bundle;
51 private final Bundle mBundle;
85 private MediaSessionStatus(Bundle bundle) { in MediaSessionStatus()
123 public Bundle getExtras() { in getExtras()
158 public Bundle asBundle() { in asBundle()
168 public static MediaSessionStatus fromBundle(Bundle bundle) { in fromBundle()
176 private final Bundle mBundle;
185 mBundle = new Bundle(); in Builder()
199 mBundle = new Bundle(status.mBundle); in Builder()
232 public Builder setExtras(Bundle extras) { in setExtras()
DMediaItemStatus.java20 import android.os.Bundle;
67 private final Bundle mBundle;
198 private MediaItemStatus(Bundle bundle) { in MediaItemStatus()
250 public Bundle getExtras() { in getExtras()
296 public Bundle asBundle() { in asBundle()
306 public static MediaItemStatus fromBundle(Bundle bundle) { in fromBundle()
314 private final Bundle mBundle;
323 mBundle = new Bundle(); in Builder()
337 mBundle = new Bundle(status.mBundle); in Builder()
380 public Builder setExtras(Bundle extras) { in setExtras()
DRemotePlaybackClient.java24 import android.os.Bundle;
245 public void play(Uri contentUri, String mimeType, Bundle metadata, in play()
246 long positionMillis, Bundle extras, ItemActionCallback callback) { in play()
280 public void enqueue(Uri contentUri, String mimeType, Bundle metadata, in enqueue()
281 long positionMillis, Bundle extras, ItemActionCallback callback) { in enqueue()
286 private void playOrEnqueue(Uri contentUri, String mimeType, Bundle metadata, in playOrEnqueue()
287 long positionMillis, Bundle extras, in playOrEnqueue()
335 public void seek(String itemId, long positionMillis, Bundle extras, in seek()
367 public void getStatus(String itemId, Bundle extras, ItemActionCallback callback) { in getStatus()
399 public void remove(String itemId, Bundle extras, ItemActionCallback callback) { in remove()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DApplicationRestrictionsTest.java25 import android.os.Bundle;
91 Bundle restrictions = new Bundle(); in testSettingRestrictions()
95 Bundle returned = sDpm.getApplicationRestrictions(sAdminReceiver, RESTRICTED_APP); in testSettingRestrictions()
99 sDpm.setApplicationRestrictions(sAdminReceiver, RESTRICTED_APP, new Bundle()); in testSettingRestrictions()
105 Bundle restrictions = new Bundle(); in testRestrictionTypes()
113 Bundle returned = sDpm.getApplicationRestrictions(sAdminReceiver, RESTRICTED_APP); in testRestrictionTypes()
123 sDpm.setApplicationRestrictions(sAdminReceiver, RESTRICTED_APP, new Bundle()); in testRestrictionTypes()
129 Bundle restrictions = new Bundle(); in testTextEscaping()
132 Bundle returned = sDpm.getApplicationRestrictions(sAdminReceiver, RESTRICTED_APP); in testTextEscaping()
/frameworks/base/core/java/android/content/
DPeriodicSync.java20 import android.os.Bundle;
33 public final Bundle extras;
45 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { in PeriodicSync()
49 this.extras = new Bundle(); in PeriodicSync()
51 this.extras = new Bundle(extras); in PeriodicSync()
65 this.extras = new Bundle(other.extras); in PeriodicSync()
74 public PeriodicSync(Account account, String authority, Bundle extras, in PeriodicSync()
78 this.extras = new Bundle(extras); in PeriodicSync()
136 public static boolean syncExtrasEquals(Bundle b1, Bundle b2) { in syncExtrasEquals()
DBroadcastReceiver.java23 import android.os.Bundle;
244 Bundle mResultExtras;
249 public PendingResult(int resultCode, String resultData, Bundle resultExtras, in PendingResult()
304 public final void setResultExtras(Bundle extras) { in setResultExtras()
314 public final Bundle getResultExtras(boolean makeMap) { in getResultExtras()
315 Bundle e = mResultExtras; in getResultExtras()
317 if (e == null) mResultExtras = e = new Bundle(); in getResultExtras()
326 public final void setResult(int code, String data, Bundle extras) { in setResult()
609 public final void setResultExtras(Bundle extras) { in setResultExtras()
625 public final Bundle getResultExtras(boolean makeMap) { in getResultExtras()
[all …]
/frameworks/base/core/java/android/app/
DRemoteInput.java22 import android.os.Bundle;
77 private final Bundle mExtras;
80 int flags, Bundle extras) { in RemoteInput()
123 public Bundle getExtras() { in getExtras()
135 private Bundle mExtras = new Bundle();
198 public Builder addExtras(Bundle extras) { in addExtras()
210 public Bundle getExtras() { in getExtras()
246 public static Bundle getResultsFromIntent(Intent intent) { in getResultsFromIntent()
273 Bundle results) { in addResultsToIntent()
274 Bundle resultsBundle = new Bundle(); in addResultsToIntent()
DVoiceInteractor.java21 import android.os.Bundle;
83 (Bundle) args.arg2);
93 ((CompleteVoiceRequest)request).onCompleteResult((Bundle) args.arg2);
103 ((AbortVoiceRequest)request).onAbortResult((Bundle) args.arg2);
113 ((CommandRequest)request).onCommandResult((Bundle) args.arg2);
135 Bundle result) {
141 public void deliverCompleteVoiceResult(IVoiceInteractorRequest request, Bundle result) {
147 public void deliverAbortVoiceResult(IVoiceInteractorRequest request, Bundle result) {
154 Bundle result) {
219 final Bundle mExtras;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java22 import android.os.Bundle;
43 Bundle mEmpty;
50 mEmpty = new Bundle(); in setUp()
59 Bundle b1 = new Bundle(); in testToKey()
60 Bundle b2 = new Bundle(); in testToKey()
142 Bundle b2 = new Bundle(); in testCompareTo()
166 Bundle withExpedited = new Bundle(); in testCopyConstructor()
/frameworks/base/core/java/android/speech/tts/
DSynthesisRequest.java18 import android.os.Bundle;
41 private final Bundle mParams;
50 public SynthesisRequest(String text, Bundle params) { in SynthesisRequest()
53 mParams = new Bundle(params); in SynthesisRequest()
56 public SynthesisRequest(CharSequence text, Bundle params) { in SynthesisRequest()
59 mParams = new Bundle(params); in SynthesisRequest()
123 public Bundle getParams() { in getParams()
/frameworks/base/core/java/android/speech/
DRecognitionListener.java19 import android.os.Bundle;
32 void onReadyForSpeech(Bundle params); in onReadyForSpeech()
76 void onResults(Bundle results); in onResults()
90 void onPartialResults(Bundle partialResults); in onPartialResults()
98 void onEvent(int eventType, Bundle params); in onEvent()
DIRecognitionListener.aidl19 import android.os.Bundle;
33 void onReadyForSpeech(in Bundle params); in onReadyForSpeech()
71 void onResults(in Bundle results); in onResults()
78 void onPartialResults(in Bundle results); in onPartialResults()
86 void onEvent(in int eventType, in Bundle params); in onEvent()

12345678910>>...57