/cts/tests/tests/telecom/src/android/telecom/cts/ |
CallDetailsTest.java | 428 * Tests that {@link Connection} extras changes made via {@link Connection#putExtras(Bundle)} 444 Bundle extras = mCall.getDetails().getExtras(); local 445 assertEquals(2, extras.size()); 446 assertTrue(extras.containsKey(TEST_EXTRA_KEY)); 447 assertEquals(TEST_SUBJECT, extras.getString(TEST_EXTRA_KEY)); 448 assertTrue(extras.containsKey(TEST_EXTRA_KEY2)); 449 assertEquals(TEST_EXTRA_VALUE, extras.getInt(TEST_EXTRA_KEY2)); 453 * Tests that {@link Connection} extras changes made via {@link Connection#removeExtras(List)} 470 * Tests that {@link Connection} extras changes made via {@link Connection#removeExtras(List)} 490 Bundle extras = mCall.getDetails().getExtras() local 512 Bundle extras = mConnection.getExtras(); local 531 Bundle extras; local 561 Bundle extras; local 583 Bundle extras = mConnection.getExtras(); local 611 Bundle extras = (Bundle) (mOnConnectionEventCounter.getArgs(0)[2]); local 635 Bundle extras = (Bundle) (counter.getArgs(0)[1]); local [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowIntent.java | 29 private final Bundle extras = new Bundle(); field in class:ShadowIntent 55 extras.putAll(other.extras); 192 extras.putAll(src); 199 extras.putAll(srcShadowIntent.extras); 205 return extras != null ? new Bundle(extras) : null; 210 extras.putInt(key, value); 216 extras.putDouble(key, value) [all...] |
ShadowPeriodicSync.java | 17 public void __constructor__(Account account, String authority, Bundle extras, long period) throws Exception { 21 setField("extras", extras);
|
/tools/loganalysis/src/com/android/loganalysis/util/ |
LogPatternUtil.java | 33 * A class used to store pattern, extras, and category. 44 * @param extras the {@link Object} to additionally match against. If extras is null, it 48 public PatternInfo(Pattern pattern, Object extras, String category) { 50 mExtras = extras; 71 * @param extras the {@link Object} to additionally match against. If extras is null, it will 75 public void addPattern(Pattern pattern, Object extras, String category) { 76 mPatterns.add(new PatternInfo(pattern, extras, category)); 93 * @param extras the extras to match agains [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
IVoiceInteractor.aidl | 30 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); 33 in VoiceInteractor.PickOptionRequest.Option[] options, in Bundle extras); 35 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); 37 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); 39 IVoiceInteractorCallback callback, String command, in Bundle extras);
|
/frameworks/base/core/java/android/os/ |
IProgressListener.aidl | 23 void onStarted(int id, in Bundle extras); 24 void onProgress(int id, int progress, in Bundle extras); 25 void onFinished(int id, in Bundle extras);
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
ICustomTabsCallback.aidl | 26 void onNavigationEvent(int navigationEvent, in Bundle extras) = 1; 28 void onMessageChannelReady(in Bundle extras) = 3; 29 void onPostMessage(String message, in Bundle extras) = 4;
|
PostMessageService.java | 33 ICustomTabsCallback callback, Bundle extras) throws RemoteException { 34 callback.onMessageChannelReady(extras); 39 String message, Bundle extras) throws RemoteException { 40 callback.onPostMessage(message, extras);
|
/frameworks/base/core/java/android/app/ |
PackageInstallObserver.java | 33 String msg, Bundle extras) { 35 extras); 53 * @param extras If non-null, this Bundle contains extras providing 56 * about which extras apply to various failures; in particular 63 Bundle extras) {
|
/frameworks/base/media/java/android/media/session/ |
ISessionCallback.aidl | 33 void onPrepareFromMediaId(String mediaId, in Bundle extras); 34 void onPrepareFromSearch(String query, in Bundle extras); 35 void onPrepareFromUri(in Uri uri, in Bundle extras); 37 void onPlayFromMediaId(String mediaId, in Bundle extras); 38 void onPlayFromSearch(String query, in Bundle extras); 39 void onPlayFromUri(in Uri uri, in Bundle extras);
|
/frameworks/support/compat/java/android/support/v4/app/ |
NotificationCompatExtras.java | 20 * Well-known extras used by {@link NotificationCompat} for backwards compatibility. 24 * Extras key used internally by {@link NotificationCompat} to store the value of 31 * Extras key used internally by {@link NotificationCompat} to store the value set 38 * Extras key used internally by {@link NotificationCompat} to store the value set 45 * Extras key used internally by {@link NotificationCompat} to store the value set 52 * Extras key used internally by {@link NotificationCompat} to store the value of 53 * the {@link android.app.Notification.Action#extras} field before it was available. 59 * Extras key used internally by {@link NotificationCompat} to store the value of
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/analytics/ |
AnalyticsUtilsTest.java | 84 // WHEN getting provisioning extras using null Intent. 86 // THEN an empty list of valid provisioning extras should be returned. 93 // WHEN getting provisioning extras using resume provisioning intent. 95 // THEN an empty list of valid provisioning extras should be returned. 100 // GIVEN intent has null extras 102 // WHEN getting provisioning extras with null extras 104 // THEN an empty list of valid provisioning extras should be returned. 109 // GIVEN intent has null extras 111 // WHEN getting provisioning extras with null extra [all...] |
/test/vts/runners/host/ |
signals.py | 47 def __init__(self, details, extras=None): 53 json.dumps(extras) 54 self.extras = extras 56 raise TestSignalError(("Extras must be json serializable. %s " 57 "is not.") % extras) 60 return "Details=%s, Extras=%s" % (self.details, self.extras)
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
GattPMCReceiver.java | 65 Bundle extras = intent.getExtras(); local 69 if (extras == null) { 74 if (extras.containsKey("GattServer")) { 81 if (!extras.containsKey("StartTime")) { 85 str = extras.getString("StartTime"); 90 if (!extras.containsKey("WriteTime")) { 94 str = extras.getString("WriteTime"); 98 if (!extras.containsKey("IdleTime")) { 102 str = extras.getString("IdleTime"); 106 if (!extras.containsKey("Repetitions")) [all...] |
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
VirtualDisplayActivity.java | 56 public final Bundle extras; field in class:VirtualDisplayActivity.VirtualDisplayRequest 58 public VirtualDisplayRequest(SurfaceView surfaceView, Bundle extras) { 60 this.extras = extras; 96 final Bundle extras = intent.getExtras(); local 97 if (extras == null) { 101 String command = extras.getString("command"); 104 createVirtualDisplay(extras); 121 private void createVirtualDisplay(Bundle extras) { 122 final int requestedCount = extras.getInt(KEY_COUNT, 1) 229 final Bundle extras = new Bundle(); local [all...] |
AssistantVoiceInteractionService.java | 47 Bundle extras = intent.getExtras() != null ? intent.getExtras() : new Bundle(); local 48 showSession(extras, 0); 57 public static void launchAssistantActivity(Context context, Bundle extras) { 59 if (extras != null) { 60 i.putExtras(extras);
|
/frameworks/base/core/java/android/content/ |
PeriodicSync.java | 34 /** Any extras that parameters that are to be passed to the sync adapter. */ 35 public final Bundle extras; field in class:PeriodicSync 47 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { 50 if (extras == null) { 51 this.extras = new Bundle(); 53 this.extras = new Bundle(extras); 67 this.extras = new Bundle(other.extras); 76 public PeriodicSync(Account account, String authority, Bundle extras, [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
BlockerTask.java | 38 public void onCreate(Context context, Bundle extras) { 39 super.onCreate(context, extras); 40 setId(extras.getInt(EXTRA_TASK_ID, TASK_INVALID)); 41 setExecutionTime(getTimeMillis() + extras.getInt(EXTRA_BLOCK_FOR_MILLIS, 0));
|
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/extras/tycho-extras/0.18.1/ |
BUILD | 6 source = "tycho-extras-0.18.1.pom",
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
CommonDatabaseUtils.java | 80 * @param extras Zero or even number of string parameters 82 public static void extrasVarArgsToValues(ContentValues values, String... extras) { 83 Assert.assertNotNull(extras); 85 Assert.assertEquals(0, extras.length % 2); 86 for (int i = 0; i < extras.length; i += 2) { 87 values.put(extras[i], extras[i + 1]);
|
/frameworks/support/media-compat-test-service/tests/src/android/support/mediacompat/service/ |
ServiceBroadcastReceiver.java | 43 Bundle extras = intent.getExtras(); local 44 if (ACTION_CALL_MEDIA_BROWSER_SERVICE_METHOD.equals(intent.getAction()) && extras != null) { 46 int method = extras.getInt(KEY_METHOD_ID, 0); 50 service.notifyChildrenChanged(extras.getString(KEY_ARGUMENT)); 59 service.mCustomActionResult.sendProgressUpdate(extras.getBundle(KEY_ARGUMENT)); 62 service.mCustomActionResult.sendError(extras.getBundle(KEY_ARGUMENT)); 65 service.mCustomActionResult.sendResult(extras.getBundle(KEY_ARGUMENT));
|
/frameworks/support/content/tests/java/android/support/content/ |
TestQueryCallback.java | 46 Bundle extras = new Bundle(); local 47 extras.putParcelable(URI_KEY, query.getUri()); 48 extras.putInt(URI_PAGE_ID, query.getId()); 50 cursor.setExtras(extras); 95 Bundle extras = cursor.getExtras(); local 96 assertNotNull(extras); 97 assertTrue(extras.containsKey(URI_KEY)); 98 assertEquals(extras.getParcelable(URI_KEY), expectedUri); 99 assertTrue(extras.containsKey(URI_PAGE_ID)); 100 assertEquals(extras.getInt(URI_PAGE_ID), expectedPageId) [all...] |
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/appSecondUid/src/android/server/cts/second/ |
LaunchBroadcastReceiver.java | 33 final Bundle extras = intent.getExtras(); local 36 final String targetActivity = extras != null ? extras.getString("target_activity") : null; 38 String packageName = extras.getString("package_name"); 46 int displayId = extras.getInt("display_id", -1);
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
NoteEdit.java | 44 Bundle extras = getIntent().getExtras(); local 45 if (extras != null) { 46 String title = extras.getString(NotesDbAdapter.KEY_TITLE); 47 String body = extras.getString(NotesDbAdapter.KEY_BODY); 48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
NoteEdit.java | 44 Bundle extras = getIntent().getExtras(); local 45 if (extras != null) { 46 String title = extras.getString(NotesDbAdapter.KEY_TITLE); 47 String body = extras.getString(NotesDbAdapter.KEY_BODY); 48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
|