Home
last modified time | relevance | path

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

12345678910>>...60

/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/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;
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/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceTest.java19 import android.os.Bundle;
48 Bundle bundle = createBundle(); in testWriteReadApplicationRestrictions()
58 private Bundle createBundle() { in createBundle()
59 Bundle result = new Bundle(); in createBundle()
68 Bundle bundle = new Bundle(); in createBundle()
73 Bundle[] bundleArray = new Bundle[2]; in createBundle()
74 bundleArray[0] = new Bundle(); in createBundle()
77 bundleArray[1] = new Bundle(); in createBundle()
83 private void assertBundle(Bundle bundle) { in assertBundle()
92 Bundle bundle1 = (Bundle) bundle_array[0]; in assertBundle()
[all …]
/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java19 import android.os.Bundle;
128 String authTokenType, String[] features, Bundle options) in addAccount()
137 final Bundle result = AbstractAccountAuthenticator.this.addAccount( in addAccount()
156 Account account, Bundle options) throws RemoteException { in confirmCredentials()
162 final Bundle result = AbstractAccountAuthenticator.this.confirmCredentials( in confirmCredentials()
188 Bundle result = new Bundle(); in getAuthTokenLabel()
206 Account account, String authTokenType, Bundle loginOptions) in getAuthToken()
214 final Bundle result = AbstractAccountAuthenticator.this.getAuthToken( in getAuthToken()
234 String authTokenType, Bundle loginOptions) throws RemoteException { in updateCredentials()
241 final Bundle result = AbstractAccountAuthenticator.this.updateCredentials( in updateCredentials()
[all …]
DAccountManager.java30 import android.os.Bundle;
283 public static Bundle sanitizeResult(Bundle result) { in sanitizeResult()
287 final Bundle newResult = new Bundle(result); in sanitizeResult()
574 public String bundleToResult(Bundle bundle) throws AuthenticatorException { in getAuthTokenLabel()
617 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
670 public Account[] bundleToResult(Bundle bundle) throws AuthenticatorException {
709 public boolean addAccountExplicitly(Account account, String password, Bundle userdata) {
783 public Account bundleToResult(Bundle bundle) throws AuthenticatorException {
847 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
897 public AccountManagerFuture<Bundle> removeAccount(final Account account,
[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/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/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/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;
52 Bundle getUserRestrictions(int userHandle); in getUserRestrictions()
54 void setUserRestrictions(in Bundle restrictions, int userHandle); in setUserRestrictions()
57 void setApplicationRestrictions(in String packageName, in Bundle restrictions, in setApplicationRestrictions()
59 Bundle getApplicationRestrictions(in String packageName); in getApplicationRestrictions()
60 Bundle getApplicationRestrictionsForUser(in String packageName, int userHandle); in getApplicationRestrictionsForUser()
62 void setDefaultGuestRestrictions(in Bundle restrictions); in setDefaultGuestRestrictions()
63 Bundle getDefaultGuestRestrictions(); in getDefaultGuestRestrictions()
/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()
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 …]
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()
/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;
35 public final Bundle extras;
47 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { in PeriodicSync()
51 this.extras = new Bundle(); in PeriodicSync()
53 this.extras = new Bundle(extras); in PeriodicSync()
67 this.extras = new Bundle(other.extras); in PeriodicSync()
76 public PeriodicSync(Account account, String authority, Bundle extras, in PeriodicSync()
80 this.extras = new Bundle(extras); in PeriodicSync()
138 public static boolean syncExtrasEquals(Bundle b1, Bundle b2) { in syncExtrasEquals()
/frameworks/support/customtabs/src/android/support/customtabs/
DCustomTabsIntent.java27 import android.os.Bundle;
140 @Nullable public final Bundle startAnimationBundle;
156 private CustomTabsIntent(Intent intent, Bundle startAnimationBundle) { in CustomTabsIntent()
166 private ArrayList<Bundle> mMenuItems = null;
167 private Bundle mStartAnimationBundle = null;
188 Bundle bundle = new Bundle(); in Builder()
233 Bundle bundle = new Bundle(); in addMenuItem()
249 Bundle bundle = new Bundle(); in setActionButton()
280 Bundle bundle = in setExitAnimations()
DCustomTabsService.java22 import android.os.Bundle;
84 Bundle extras, List<Bundle> otherLikelyBundles) {
90 public Bundle extraCommand(String commandName, Bundle args) {
162 Bundle extras, List<Bundle> otherLikelyBundles); in mayLaunchUrl()
178 protected abstract Bundle extraCommand(String commandName, Bundle args); in extraCommand()
/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()
/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()

12345678910>>...60