/frameworks/base/tools/aapt/ |
D | Main.h | 31 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/ |
D | AbstractAccountAuthenticator.java | 24 import android.os.Bundle; 157 String authTokenType, String[] features, Bundle options) in addAccount() 166 final Bundle result = AbstractAccountAuthenticator.this.addAccount( in addAccount() 188 Account account, Bundle options) throws RemoteException { in confirmCredentials() 194 final Bundle result = AbstractAccountAuthenticator.this.confirmCredentials( in confirmCredentials() 220 Bundle result = new Bundle(); in getAuthTokenLabel() 238 Account account, String authTokenType, Bundle loginOptions) in getAuthToken() 246 final Bundle result = AbstractAccountAuthenticator.this.getAuthToken( in getAuthToken() 266 String authTokenType, Bundle loginOptions) throws RemoteException { in updateCredentials() 273 final Bundle result = AbstractAccountAuthenticator.this.updateCredentials( in updateCredentials() [all …]
|
D | AccountManager.java | 39 import android.os.Bundle; 429 public static Bundle sanitizeResult(Bundle result) { in sanitizeResult() 433 final Bundle newResult = new Bundle(result); in sanitizeResult() 737 public String bundleToResult(Bundle bundle) throws AuthenticatorException { in getAuthTokenLabel() 780 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException { 841 public Account[] bundleToResult(Bundle bundle) throws AuthenticatorException { 880 public boolean addAccountExplicitly(Account account, String password, Bundle userdata) { 914 public boolean addAccountExplicitly(Account account, String password, Bundle extras, 1101 public Account bundleToResult(Bundle bundle) throws AuthenticatorException { 1165 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException { [all …]
|
D | IAccountAuthenticator.aidl | 21 import android.os.Bundle; 33 String authTokenType, in String[] requiredFeatures, in Bundle options); in addAccount() 40 in Bundle options); in confirmCredentials() 47 String authTokenType, in Bundle options); in getAuthToken() 60 String authTokenType, in Bundle options); in updateCredentials() 93 in Bundle accountCredentials); in addAccountFromCredentials() 100 String authTokenType, in String[] requiredFeatures, in Bundle options); in startAddAccountSession() 106 String authTokenType, in Bundle options); in startUpdateCredentialsSession() 114 in Bundle sessionBundle); in finishSession()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageArgs.java | 21 import android.os.Bundle; 51 public static String getPackageName(Bundle b) { in getPackageName() 55 public static Bundle setPackageName(Bundle b, String packageName) { in setPackageName() 60 public static Uri getAssetUri(Bundle b) { in getAssetUri() 64 public static Uri getPermUri(Bundle b) { in getPermUri() 68 public static boolean checkPerms(Bundle b) { in checkPerms() 72 public static boolean skipIfSameVersion(Bundle b) { in skipIfSameVersion() 76 public static int getCompanionSdkVersion(Bundle b) { in getCompanionSdkVersion() 80 public static int getCompanionDeviceVersion(Bundle b) { in getCompanionDeviceVersion() 84 public static String getCompressionAlg(Bundle b) { in getCompressionAlg() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | TestAccountType2Authenticator.java | 25 import android.os.Bundle; 47 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() 53 public Bundle addAccount( in addAccount() 58 Bundle options) throws NetworkErrorException { in addAccount() 64 public Bundle confirmCredentials( in confirmCredentials() 67 Bundle options) throws NetworkErrorException { in confirmCredentials() 73 public Bundle getAuthToken( in getAuthToken() 77 Bundle options) throws NetworkErrorException { in getAuthToken() 89 public Bundle updateCredentials( in updateCredentials() 93 Bundle options) throws NetworkErrorException { in updateCredentials() [all …]
|
D | TestAccountType1Authenticator.java | 25 import android.os.Bundle; 47 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() 48 Bundle result = new Bundle(); in editProperties() 60 public Bundle addAccount( in addAccount() 65 Bundle options) throws NetworkErrorException { in addAccount() 75 Bundle result = new Bundle(); in addAccount() 105 public Bundle confirmCredentials( in confirmCredentials() 108 Bundle options) throws NetworkErrorException { in confirmCredentials() 112 Bundle result = new Bundle(); in confirmCredentials() 144 public Bundle getAuthToken( in getAuthToken() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncManagerTest.java | 19 import android.os.Bundle; 36 Bundle b1 = new Bundle(); in testSyncExtrasEquals_WithNull() 37 Bundle b2 = new Bundle(); in testSyncExtrasEquals_WithNull() 47 Bundle b1 = new Bundle(); in testSyncExtrasEqualsBigger_WithNull() 48 Bundle b2 = new Bundle(); in testSyncExtrasEqualsBigger_WithNull() 61 Bundle b1 = new Bundle(); in testSyncExtrasEqualsFails_differentValues() 62 Bundle b2 = new Bundle(); in testSyncExtrasEqualsFails_differentValues() 75 Bundle b1 = new Bundle(); in testSyncExtrasEqualsFails_differentNulls() 76 Bundle b2 = new Bundle(); in testSyncExtrasEqualsFails_differentNulls()
|
D | SyncOperationTest.java | 21 import android.os.Bundle; 38 Bundle mEmpty; 45 mEmpty = new Bundle(); in setUp() 54 Bundle b1 = new Bundle(); in testToKey() 55 Bundle b2 = new Bundle(); in testToKey() 111 Bundle b1 = new Bundle(); in testConversionToExtras() 146 Bundle extras = new Bundle(); in testFailedPeriodicConversion()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ExtrasUtils.java | 23 import android.os.Bundle; 61 static Bundle createForeignLanguageExtra( in createForeignLanguageExtra() 63 final Bundle bundle = new Bundle(); in createForeignLanguageExtra() 77 static void putForeignLanguageExtra(Bundle container, Bundle extra) { in putForeignLanguageExtra() 88 public static Bundle getForeignLanguageExtra(@Nullable TextClassification classification) { in getForeignLanguageExtra() 98 static void putTopLanguageScores(Bundle container, EntityConfidence languageScores) { in putTopLanguageScores() 118 final Bundle tcBundle = intent.getBundleExtra(TextClassifier.EXTRA_FROM_TEXT_CLASSIFIER); in getTopLanguage() 122 final Bundle textLanguagesExtra = tcBundle.getBundle(TEXT_LANGUAGES); in getTopLanguage() 141 public static void putTextLanguagesExtra(Bundle container, Bundle extra) { in putTextLanguagesExtra() 149 static void putActionsIntents(Bundle container, ArrayList<Intent> actionsIntents) { in putActionsIntents() [all …]
|
D | TextLanguage.java | 24 import android.os.Bundle; 62 private final Bundle mBundle; 67 Bundle bundle) { in TextLanguage() 119 public Bundle getExtras() { in getExtras() 157 @Nullable private Bundle mBundle; 189 public Builder setExtras(@NonNull Bundle bundle) { in setExtras() 201 mBundle = mBundle == null ? Bundle.EMPTY : mBundle; in build() 227 private final Bundle mExtra; 230 private Request(CharSequence text, Bundle bundle) { in Request() 268 public Bundle getExtras() { in getExtras() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | SyncResultReceiver.java | 20 import android.os.Bundle; 42 private Bundle mBundle; 122 public void send(int resultCode, Bundle resultData) { in send() 133 public static Bundle bundleFor(@Nullable String value) { in bundleFor() 134 final Bundle bundle = new Bundle(); in bundleFor() 144 public static Bundle bundleFor(@Nullable String[] value) { in bundleFor() 145 final Bundle bundle = new Bundle(); in bundleFor() 155 public static Bundle bundleFor(@Nullable Parcelable value) { in bundleFor() 156 final Bundle bundle = new Bundle(); in bundleFor() 166 public static Bundle bundleFor(@Nullable ArrayList<? extends Parcelable> value) { in bundleFor() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BundleTest.java | 43 final Bundle source = new Bundle(); in createBundleParcel() 62 private void checkBundle(Bundle b, boolean withFd) { in checkBundle() 70 assertEquals(Bundle.FLAG_HAS_FDS | Bundle.FLAG_HAS_FDS_KNOWN, in checkBundle() 71 b.mFlags & (Bundle.FLAG_HAS_FDS | Bundle.FLAG_HAS_FDS_KNOWN)); in checkBundle() 74 assertEquals(Bundle.FLAG_HAS_FDS_KNOWN, in checkBundle() 75 b.mFlags & (Bundle.FLAG_HAS_FDS | Bundle.FLAG_HAS_FDS_KNOWN)); in checkBundle() 96 Bundle b; in testCreateFromParcel() 103 checkBundle(new Bundle(p), withFd); in testCreateFromParcel() 109 checkBundle(new Bundle(p, length), withFd); in testCreateFromParcel() 114 b = new Bundle(); in testCreateFromParcel() [all …]
|
D | PerformanceCollectorTest.java | 52 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); in testBeginSnapshotNoWriter() 61 Bundle snapshot = mPerfCollector.endSnapshot(); in testEndSnapshotNoWriter() 72 Bundle measurement = (Bundle)readPrivateField("mPerfMeasurement", mPerfCollector); in testStartTimingNoWriter() 81 Bundle iteration = mPerfCollector.addIteration("timing1"); in testAddIterationNoWriter() 94 Bundle timing = mPerfCollector.stopTiming("timing4"); in testStopTimingNoWriter() 112 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); in testBeginSnapshot() 123 Bundle snapshot1 = mPerfCollector.endSnapshot(); in testEndSnapshot() 124 Bundle snapshot2 = writer.snapshotResults; in testEndSnapshot() 139 Bundle measurement = (Bundle)readPrivateField("mPerfMeasurement", mPerfCollector); in testStartTiming() 148 Bundle iteration = mPerfCollector.addIteration("timing5"); in testAddIteration() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserRestrictionsUtilsTest.java | 22 import android.os.Bundle; 44 Bundle out = UserRestrictionsUtils.nonNull(null); in testNonNull() 48 Bundle in = new Bundle(); in testNonNull() 54 assertTrue(UserRestrictionsUtils.isEmpty(new Bundle())); in testIsEmpty() 59 Bundle in = new Bundle(); in testClone() 60 Bundle out = UserRestrictionsUtils.clone(in); in testClone() 62 assertRestrictions(out, new Bundle()); in testClone() 70 Bundle a = newRestrictions("a", "d"); in testMerge() 71 Bundle b = newRestrictions("b", "d", "e"); in testMerge() 122 final Bundle local = new Bundle(); in testSortToGlobalAndLocal() [all …]
|
D | UserManagerServiceTest.java | 20 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/backup/utils/ |
D | BackupManagerMonitorUtilsTest.java | 33 import android.os.Bundle; 68 doThrow(new RemoteException()).when(mMonitorMock).onEvent(any(Bundle.class)); in monitorEvent_monitorOnEventThrows_returnsNull() 73 verify(mMonitorMock).onEvent(any(Bundle.class)); in monitorEvent_monitorOnEventThrows_returnsNull() 83 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in monitorEvent_packageAndExtrasAreNull_fillsBundleCorrectly() 85 Bundle eventBundle = bundleCaptor.getValue(); in monitorEvent_packageAndExtrasAreNull_fillsBundleCorrectly() 96 Bundle extras = new Bundle(); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() 104 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() 106 Bundle eventBundle = bundleCaptor.getValue(); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() 123 Bundle extras = new Bundle(); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong() 131 ArgumentCaptor<Bundle> bundleCaptor = ArgumentCaptor.forClass(Bundle.class); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ValidateNotificationPeopleTest.java | 23 import android.os.Bundle; 43 Bundle bundle = new Bundle(); in testNoExtra() 51 Bundle bundle = new Bundle(); in testSingleString() 60 Bundle bundle = new Bundle(); in testSingleCharArray() 69 Bundle bundle = new Bundle(); in testSingleCharSequence() 77 Bundle bundle = new Bundle(); in testStringArraySingle() 86 Bundle bundle = new Bundle(); in testStringArrayMultiple() 95 Bundle bundle = new Bundle(); in testStringArrayNulls() 104 Bundle bundle = new Bundle(); in testCharSequenceArrayMultiple() 117 Bundle bundle = new Bundle(); in testMixedCharSequenceArrayList() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupManagerMonitorUtils.java | 28 import android.os.Bundle; 54 Bundle extras) { in monitorEvent() 57 Bundle bundle = new Bundle(); in monitorEvent() 91 public static Bundle putMonitoringExtra(Bundle extras, String key, String value) { in putMonitoringExtra() 93 extras = new Bundle(); in putMonitoringExtra() 108 public static Bundle putMonitoringExtra(Bundle extras, String key, long value) { in putMonitoringExtra() 110 extras = new Bundle(); in putMonitoringExtra() 125 public static Bundle putMonitoringExtra(Bundle extras, String key, boolean value) { in putMonitoringExtra() 127 extras = new Bundle(); in putMonitoringExtra()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | AuthenticatorService.java | 25 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/base/core/java/android/os/ |
D | Bundle.java | 38 public final class Bundle extends BaseBundle implements Cloneable, Parcelable { class 48 public static final Bundle EMPTY; 54 public static final Bundle STRIPPED; 57 EMPTY = new Bundle(); 60 STRIPPED = new Bundle(); 67 public Bundle() { in Bundle() method in Bundle 81 public Bundle(Parcel parcelledData) { in Bundle() method in Bundle 94 public Bundle(Parcel parcelledData, int length) { in Bundle() method in Bundle 123 public Bundle(ClassLoader loader) { in Bundle() method in Bundle 134 public Bundle(int capacity) { in Bundle() method in Bundle [all …]
|
D | PerformanceCollector.java | 87 public void writeEndSnapshot(Bundle results); in writeEndSnapshot() 110 public void writeStopTiming(Bundle results); in writeStopTiming() 282 private Bundle mPerfSnapshot; 283 private Bundle mPerfMeasurement; 353 public Bundle endSnapshot() { in endSnapshot() 370 mPerfMeasurement = new Bundle(); in startTiming() 392 public Bundle addIteration(String label) { in addIteration() 396 Bundle iteration = new Bundle(); in addIteration() 417 public Bundle stopTiming(String label) { in stopTiming() 462 mPerfSnapshot = new Bundle(); in startPerformanceSnapshot() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IVoiceInteractorCallback.aidl | 20 import android.os.Bundle; 29 in Bundle result); in deliverConfirmationResult() 31 in VoiceInteractor.PickOptionRequest.Option[] selections, in Bundle result); in deliverPickOptionResult() 32 void deliverCompleteVoiceResult(IVoiceInteractorRequest request, in Bundle result); in deliverCompleteVoiceResult() 33 void deliverAbortVoiceResult(IVoiceInteractorRequest request, in Bundle result); in deliverAbortVoiceResult() 34 void deliverCommandResult(IVoiceInteractorRequest request, boolean finished, in Bundle result); in deliverCommandResult()
|
/frameworks/base/core/java/android/content/ |
D | PeriodicSync.java | 20 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/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 20 import android.os.Bundle; 61 public static Bundle newRestrictions(String... restrictions) { in newRestrictions() 62 final Bundle ret = new Bundle(); in newRestrictions() 69 public static void assertRestrictions(Bundle expected, Bundle actual) { in assertRestrictions() 145 private static boolean checkAssertRestrictions(Bundle a, Bundle b) { in checkAssertRestrictions() 155 final Bundle a = newRestrictions(); in testAssertRestrictions() 156 final Bundle b = newRestrictions("a"); in testAssertRestrictions() 157 final Bundle c = newRestrictions("a"); in testAssertRestrictions() 158 final Bundle d = newRestrictions("b", "c"); in testAssertRestrictions() 159 final Bundle e = newRestrictions("b", "c"); in testAssertRestrictions()
|