Home
last modified time | relevance | path

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

12345678910>>...81

/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/core/java/android/accounts/
DAbstractAccountAuthenticator.java25 import android.os.Bundle;
158 String authTokenType, String[] features, Bundle options) in addAccount()
167 final Bundle result = AbstractAccountAuthenticator.this.addAccount( in addAccount()
186 Account account, Bundle options) throws RemoteException { in confirmCredentials()
192 final Bundle result = AbstractAccountAuthenticator.this.confirmCredentials( in confirmCredentials()
218 Bundle result = new Bundle(); in getAuthTokenLabel()
236 Account account, String authTokenType, Bundle loginOptions) in getAuthToken()
244 final Bundle result = AbstractAccountAuthenticator.this.getAuthToken( in getAuthToken()
264 String authTokenType, Bundle loginOptions) throws RemoteException { in updateCredentials()
271 final Bundle result = AbstractAccountAuthenticator.this.updateCredentials( in updateCredentials()
[all …]
DAccountManager.java35 import android.os.Bundle;
321 public static Bundle sanitizeResult(Bundle result) { in sanitizeResult()
325 final Bundle newResult = new Bundle(result); in sanitizeResult()
609 public String bundleToResult(Bundle bundle) throws AuthenticatorException { in getAuthTokenLabel()
654 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
709 public Account[] bundleToResult(Bundle bundle) throws AuthenticatorException {
748 public boolean addAccountExplicitly(Account account, String password, Bundle userdata) {
821 public Account bundleToResult(Bundle bundle) throws AuthenticatorException {
885 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
935 public AccountManagerFuture<Bundle> removeAccount(final Account account,
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncManagerTest.java3 import android.os.Bundle;
13 Bundle b1 = new Bundle(); in testSyncExtrasEquals_WithNull()
14 Bundle b2 = new Bundle(); in testSyncExtrasEquals_WithNull()
24 Bundle b1 = new Bundle(); in testSyncExtrasEqualsBigger_WithNull()
25 Bundle b2 = new Bundle(); in testSyncExtrasEqualsBigger_WithNull()
38 Bundle b1 = new Bundle(); in testSyncExtrasEqualsFails_differentValues()
39 Bundle b2 = new Bundle(); in testSyncExtrasEqualsFails_differentValues()
52 Bundle b1 = new Bundle(); in testSyncExtrasEqualsFails_differentNulls()
53 Bundle b2 = new Bundle(); in testSyncExtrasEqualsFails_differentNulls()
DSyncOperationTest.java22 import android.os.Bundle;
44 Bundle mEmpty;
51 mEmpty = new Bundle(); in setUp()
60 Bundle b1 = new Bundle(); in testToKey()
61 Bundle b2 = new Bundle(); in testToKey()
112 Bundle b1 = new Bundle(); in testConversionToExtras()
146 Bundle extras = new Bundle(); in testFailedPeriodicConversion()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java19 import android.os.Bundle;
41 Bundle out = UserRestrictionsUtils.nonNull(null); in testNonNull()
45 Bundle in = new Bundle(); in testNonNull()
51 assertTrue(UserRestrictionsUtils.isEmpty(new Bundle())); in testIsEmpty()
56 Bundle in = new Bundle(); in testClone()
57 Bundle out = UserRestrictionsUtils.clone(in); in testClone()
59 DpmTestUtils.assertRestrictions(out, new Bundle()); in testClone()
67 Bundle a = DpmTestUtils.newRestrictions("a", "d"); in testMerge()
68 Bundle b = DpmTestUtils.newRestrictions("b", "d", "e"); in testMerge()
114 final Bundle local = new Bundle(); in testSortToGlobalAndLocal()
[all …]
DUserManagerServiceTest.java20 import android.os.Bundle;
57 Bundle bundle = createBundle(); in testWriteReadApplicationRestrictions()
77 private Bundle createBundle() { in createBundle()
78 Bundle result = new Bundle(); in createBundle()
87 Bundle bundle = new Bundle(); in createBundle()
92 Bundle[] bundleArray = new Bundle[2]; in createBundle()
93 bundleArray[0] = new Bundle(); in createBundle()
96 bundleArray[1] = new Bundle(); in createBundle()
102 private void assertBundle(Bundle bundle) { in assertBundle()
111 Bundle bundle1 = (Bundle) bundle_array[0]; in assertBundle()
[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/support/compat/java/android/support/v4/app/
DRemoteInput.java21 import android.os.Bundle;
44 private final Bundle mExtras;
47 boolean allowFreeFormInput, Bundle extras) { in RemoteInput()
95 public Bundle getExtras() { in getExtras()
107 private Bundle mExtras = new Bundle();
163 public Builder addExtras(Bundle extras) { in addExtras()
175 public Bundle getExtras() { in getExtras()
195 public static Bundle getResultsFromIntent(Intent intent) { in getResultsFromIntent()
211 Bundle results) { in addResultsToIntent()
218 Bundle getResultsFromIntent(Intent intent); in getResultsFromIntent()
[all …]
/frameworks/base/core/java/android/service/notification/
DNotificationRankingUpdate.java18 import android.os.Bundle;
29 private final Bundle mVisibilityOverrides;
30 private final Bundle mSuppressedVisualEffects;
32 private final Bundle mImportanceExplanation;
33 private final Bundle mOverrideGroupKeys;
36 Bundle visibilityOverrides, Bundle suppressedVisualEffects, in NotificationRankingUpdate()
37 int[] importance, Bundle explanation, Bundle overrideGroupKeys) { in NotificationRankingUpdate()
93 public Bundle getVisibilityOverrides() { in getVisibilityOverrides()
97 public Bundle getSuppressedVisualEffects() { in getSuppressedVisualEffects()
105 public Bundle getImportanceExplanation() { in getImportanceExplanation()
[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/base/telecomm/java/android/telecom/
DAuthenticatorService.java25 import android.os.Bundle;
56 public Bundle editProperties(AccountAuthenticatorResponse accountAuthenticatorResponse, in editProperties()
62 public Bundle addAccount(AccountAuthenticatorResponse accountAuthenticatorResponse, in addAccount()
63 String s, String s2, String[] strings, Bundle bundle) in addAccount()
69 public Bundle confirmCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, in confirmCredentials()
70 Account account, Bundle bundle) in confirmCredentials()
76 public Bundle getAuthToken(AccountAuthenticatorResponse accountAuthenticatorResponse, in getAuthToken()
77 Account account, String s, Bundle bundle) in getAuthToken()
88 public Bundle updateCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, in updateCredentials()
89 Account account, String s, Bundle bundle) in updateCredentials()
[all …]
/frameworks/support/customtabs/src/android/support/customtabs/
DCustomTabsSession.java23 import android.os.Bundle;
66 public boolean mayLaunchUrl(Uri url, Bundle extras, List<Bundle> otherLikelyBundles) { in mayLaunchUrl()
84 Bundle bundle = new Bundle(); in setActionButton()
88 Bundle metaBundle = new Bundle(); in setActionButton()
108 Bundle bundle = new Bundle(); in setSecondaryToolbarViews()
131 Bundle bundle = new Bundle(); in setToolbarItem()
136 Bundle metaBundle = new Bundle(); in setToolbarItem()
DCustomTabsService.java22 import android.os.Bundle;
84 Bundle extras, List<Bundle> otherLikelyBundles) {
90 public Bundle extraCommand(String commandName, Bundle args) {
95 public boolean updateVisuals(ICustomTabsCallback callback, Bundle bundle) {
168 Bundle extras, List<Bundle> otherLikelyBundles); in mayLaunchUrl()
184 protected abstract Bundle extraCommand(String commandName, Bundle args); in extraCommand()
195 Bundle bundle); in updateVisuals()
/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 …]
DBundle.java34 public final class Bundle extends BaseBundle implements Cloneable, Parcelable { class
39 public static final Bundle EMPTY;
42 EMPTY = new Bundle();
49 public Bundle() { in Bundle() method in Bundle
60 Bundle(Parcel parcelledData) { in Bundle() method in Bundle
68 /* package */ Bundle(Parcel parcelledData, int length) { in Bundle() method in Bundle
83 public Bundle(ClassLoader loader) { in Bundle() method in Bundle
94 public Bundle(int capacity) { in Bundle() method in Bundle
105 public Bundle(Bundle b) { in Bundle() method in Bundle
116 public Bundle(PersistableBundle b) { in Bundle() method in Bundle
[all …]
/frameworks/support/compat/jellybean/android/support/v4/app/
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()
DNotificationCompatJellybean.java23 import android.os.Bundle;
69 private final Bundle mExtras;
70 private List<Bundle> mActionExtrasList = new ArrayList<Bundle>();
80 Bundle extras, String groupKey, boolean groupSummary, String sortKey, in Builder()
107 mExtras = new Bundle(); in Builder()
143 Bundle extras = getExtras(notif); in build()
144 Bundle mergeBundle = new Bundle(mExtras); in build()
151 SparseArray<Bundle> actionExtrasMap = buildActionExtrasMap(mActionExtrasList); in build()
206 public static SparseArray<Bundle> buildActionExtrasMap(List<Bundle> actionExtrasList) { in buildActionExtrasMap()
207 SparseArray<Bundle> actionExtrasMap = null; in buildActionExtrasMap()
[all …]
DBundleUtil.java3 import android.os.Bundle;
14 public static Bundle[] getBundleArrayFromBundle(Bundle bundle, String key) { in getBundleArrayFromBundle()
16 if (array instanceof Bundle[] || array == null) { in getBundleArrayFromBundle()
17 return (Bundle[]) array; in getBundleArrayFromBundle()
19 Bundle[] typedArray = Arrays.copyOf(array, array.length, in getBundleArrayFromBundle()
20 Bundle[].class); in getBundleArrayFromBundle()
/frameworks/base/media/java/android/media/session/
DISessionCallback.aidl21 import android.os.Bundle;
28 void onCommand(String command, in Bundle args, in ResultReceiver cb); in onCommand()
33 void onPrepareFromMediaId(String mediaId, in Bundle extras); in onPrepareFromMediaId()
34 void onPrepareFromSearch(String query, in Bundle extras); in onPrepareFromSearch()
35 void onPrepareFromUri(in Uri uri, in Bundle extras); in onPrepareFromUri()
37 void onPlayFromMediaId(String mediaId, in Bundle extras); in onPlayFromMediaId()
38 void onPlayFromSearch(String query, in Bundle extras); in onPlayFromSearch()
39 void onPlayFromUri(in Uri uri, in Bundle extras); in onPlayFromUri()
49 void onCustomAction(String action, in Bundle args); in onCustomAction()
DISessionController.aidl28 import android.os.Bundle;
39 void sendCommand(String command, in Bundle args, in ResultReceiver cb); in sendCommand()
54 void prepareFromMediaId(String mediaId, in Bundle extras); in prepareFromMediaId()
55 void prepareFromSearch(String string, in Bundle extras); in prepareFromSearch()
56 void prepareFromUri(in Uri uri, in Bundle extras); in prepareFromUri()
58 void playFromMediaId(String mediaId, in Bundle extras); in playFromMediaId()
59 void playFromSearch(String string, in Bundle extras); in playFromSearch()
60 void playFromUri(in Uri uri, in Bundle extras); in playFromUri()
70 void sendCustomAction(String action, in Bundle args); in sendCustomAction()
75 Bundle getExtras(); in getExtras()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProviderDescriptor.java19 import android.os.Bundle;
36 final Bundle mBundle;
39 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 final Bundle mBundle;
85 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()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DIMediaSession.aidl26 import android.os.Bundle;
36 … void sendCommand(String command, in Bundle args, in MediaSessionCompat.ResultReceiverWrapper cb); in sendCommand()
51 void playFromMediaId(String uri, in Bundle extras); in playFromMediaId()
52 void playFromSearch(String string, in Bundle extras); in playFromSearch()
53 void playFromUri(in Uri uri, in Bundle extras); in playFromUri()
63 void sendCustomAction(String action, in Bundle args); in sendCustomAction()
68 Bundle getExtras(); in getExtras()
71 void prepareFromMediaId(String uri, in Bundle extras); in prepareFromMediaId()
72 void prepareFromSearch(String string, in Bundle extras); in prepareFromSearch()
73 void prepareFromUri(in Uri uri, in Bundle extras); in prepareFromUri()
DMediaControllerCompat.java23 import android.os.Bundle;
168 public Bundle getExtras() { in getExtras()
310 public void sendCommand(String command, Bundle params, ResultReceiver cb) { in sendCommand()
373 public void onSessionEvent(String event, Bundle extras) { in onSessionEvent()
420 public void onExtrasChanged(Bundle extras) { in onExtrasChanged()
453 public void onSessionEvent(String event, Bundle extras) { in onSessionEvent()
479 public void onExtrasChanged(Bundle extras) { in onExtrasChanged()
497 public void onEvent(String event, Bundle extras) throws RemoteException { in onEvent()
527 public void onExtrasChanged(Bundle extras) throws RemoteException { in onExtrasChanged()
578 onExtrasChanged((Bundle) msg.obj); in handleMessage()
[all …]

12345678910>>...81