Home
last modified time | relevance | path

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

12345678910>>...39

/frameworks/base/tools/aapt/
DMain.h25 extern int doVersion(Bundle* bundle);
26 extern int doList(Bundle* bundle);
27 extern int doDump(Bundle* bundle);
28 extern int doAdd(Bundle* bundle);
29 extern int doRemove(Bundle* bundle);
30 extern int doPackage(Bundle* bundle);
31 extern int doCrunch(Bundle* bundle);
32 extern int doSingleCrunch(Bundle* bundle);
36 extern android::status_t writeAPK(Bundle* bundle,
40 extern android::status_t updatePreProcessedCache(Bundle* bundle);
[all …]
/frameworks/base/core/java/android/accounts/
DAccountManager.java25 import android.os.Bundle;
261 public static Bundle sanitizeResult(Bundle result) { in sanitizeResult()
265 final Bundle newResult = new Bundle(result); in sanitizeResult()
453 public String bundleToResult(Bundle bundle) throws AuthenticatorException { in getAuthTokenLabel()
494 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
538 public Account[] bundleToResult(Bundle bundle) throws AuthenticatorException {
568 public boolean addAccountExplicitly(Account account, String password, Bundle userdata) {
606 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
801 Bundle bundle = getAuthToken(account, authTokenType, notifyAuthFailure, null /* callback */,
870 public AccountManagerFuture<Bundle> getAuthToken(
[all …]
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 …]
DIAccountAuthenticator.aidl21 import android.os.Bundle;
32 String authTokenType, in String[] requiredFeatures, in Bundle options); in addAccount()
38 in Bundle options); in confirmCredentials()
44 String authTokenType, in Bundle options); in getAuthToken()
55 String authTokenType, in Bundle options); in updateCredentials()
/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/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 …]
DRemoteCallback.java29 final Bundle mResult;
31 DeliverResult(Bundle result) { in DeliverResult()
41 public void sendResult(Bundle bundle) { in sendResult()
51 protected void onResult(Bundle bundle) { in onResult()
65 public void sendResult(Bundle bundle) throws RemoteException { in sendResult()
69 protected abstract void onResult(Bundle bundle); in onResult()
/frameworks/base/core/java/android/content/
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 …]
DSyncActivityTooManyDeletes.java22 import android.os.Bundle;
47 protected void onCreate(Bundle savedInstanceState) { in onCreate()
50 Bundle extras = getIntent().getExtras(); in onCreate()
117 Bundle extras = new Bundle(); in startSyncReallyDelete()
126 Bundle extras = new Bundle(); in startSyncUndoDeletes()
/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()
/frameworks/testing/androidtestlib/tests/src/com/android/test/runner/
DAndroidJUnitRunnerTest.java19 import android.os.Bundle;
68 Bundle b = new Bundle(); in testBuildRequest_singleClass()
81 Bundle b = new Bundle(); in testBuildRequest_multiClass()
95 Bundle b = new Bundle(); in testBuildRequest_method()
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java23 import android.os.Bundle;
58 private Bundle mParams = null;
64 public void sendStatus(int resultCode, Bundle status) {
70 public void run(List<String> testClasses, Bundle params, boolean debug) { in run()
75 Bundle results = new Bundle(); in run()
107 Bundle testRunOutput = new Bundle(); in start()
166 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) { in instrumentationStatus()
189 public void instrumentationFinished(ComponentName name, int resultCode, Bundle results) { in instrumentationFinished()
213 public void print(TestResult result, long runTime, Bundle testOutput); in print()
232 private final Bundle mResultTemplate;
[all …]
/frameworks/base/test-runner/tests/src/android/test/
DInstrumentationTestRunnerTest.java21 import android.os.Bundle;
106 instrumentationTestRunner.onCreate(new Bundle()); in testUnhandledException()
131 Bundle args = new Bundle(); in testDelayParameter()
155 Bundle args = new Bundle(); in testAnnotationParameter()
168 Bundle args = new Bundle(); in testNotAnnotationParameter()
195 private Bundle createBundle(String key, String value) { in createBundle()
196 Bundle bundle = new Bundle(); in createBundle()
210 private Bundle mResults;
239 public void finish(int resultCode, Bundle results) { in finish()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfInternalSelectionViews.java21 import android.os.Bundle;
103 …public static Bundle getBundleFor(int numItems, int numRowsPerItem, double itemScreenHeightFactor)… in getBundleFor()
104 Bundle bundle = new Bundle(); in getBundleFor()
112 protected void onCreate(Bundle icicle) { in onCreate()
119 Bundle extras = getIntent().getExtras(); in onCreate()
134 private void initFromBundle(Bundle icicle) { in initFromBundle()
/frameworks/testing/androidtestlib/src/com/android/test/runner/
DAndroidJUnitRunner.java21 import android.os.Bundle;
182 private final Bundle mResults = new Bundle();
183 private Bundle mArguments;
186 public void onCreate(Bundle arguments) { in onCreate()
199 public Bundle getArguments(){ in getArguments()
203 private boolean getBooleanArgument(Bundle arguments, String tag) { in getBooleanArgument()
260 TestRequest buildRequest(Bundle arguments, PrintStream writer) { in buildRequest()
328 private final Bundle mResultTemplate;
329 Bundle mTestResult;
335 mResultTemplate = new Bundle(); in WatcherResultPrinter()
[all …]
/frameworks/base/core/java/android/app/
DActivityGroup.java22 import android.os.Bundle;
51 protected void onCreate(Bundle savedInstanceState) { in onCreate()
53 Bundle states = savedInstanceState != null in onCreate()
54 ? (Bundle) savedInstanceState.getBundle(STATES_KEY) : null; in onCreate()
65 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState()
67 Bundle state = mLocalActivityManager.saveInstanceState(); in onSaveInstanceState()
/frameworks/base/core/java/android/speech/tts/
DSynthesisRequest.java18 import android.os.Bundle;
38 private final Bundle mParams;
45 public SynthesisRequest(String text, Bundle params) { in SynthesisRequest()
48 mParams = new Bundle(params); in SynthesisRequest()
96 public Bundle getParams() { in getParams()
DITextToSpeechService.aidl20 import android.os.Bundle;
39 int speak(in IBinder callingInstance, in String text, in int queueMode, in Bundle params); in speak()
51 in String filename, in Bundle params); in synthesizeToFile()
62 int playAudio(in IBinder callingInstance, in Uri audioUri, in int queueMode, in Bundle params); in playAudio()
73 … int playSilence(in IBinder callingInstance, in long duration, in int queueMode, in Bundle params); in playSilence()
/frameworks/base/core/tests/coretests/src/android/content/
DSyncOperationTest.java20 import android.os.Bundle;
40 Bundle b1 = new Bundle(); in testToKey()
41 Bundle b2 = new Bundle(); in testToKey()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibilityRunner.java19 import android.os.Bundle;
24 private Bundle mArgs;
27 public void onCreate(Bundle args) { in onCreate()
32 public Bundle getBundle() { in getBundle()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageInstrumentation.java18 import android.os.Bundle;
26 private Bundle arguments;
29 public void onCreate(Bundle arguments) { in onCreate()
34 public Bundle getBundle() { in getBundle()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProvider.java22 import android.os.Bundle;
62 Bundle extras = intent.getExtras(); in onReceive()
71 Bundle extras = intent.getExtras(); in onReceive()
78 Bundle extras = intent.getExtras(); in onReceive()
82 Bundle widgetExtras = extras.getBundle(AppWidgetManager.EXTRA_APPWIDGET_OPTIONS); in onReceive()
132 int appWidgetId, Bundle newOptions) { in onAppWidgetOptionsChanged()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DSingleUserProvider.java23 import android.os.Bundle;
61 public Bundle call(String method, String arg, Bundle extras) { in call()
62 Bundle res = new Bundle(); in call()
/frameworks/base/services/java/com/android/server/am/
DCoreSettingsObserver.java22 import android.os.Bundle;
47 private final Bundle mCoreSettings = new Bundle();
58 public Bundle getCoreSettingsLocked() { in getCoreSettingsLocked()
59 return (Bundle) mCoreSettings.clone(); in getCoreSettingsLocked()
82 private void populateCoreSettings(Bundle snapshot) { in populateCoreSettings()

12345678910>>...39