/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...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationListFooterView.java | 83 final Bundle extras = cursor.getExtras(); local 84 final int cursorStatus = extras.getInt(UIProvider.CursorExtraKeys.EXTRA_STATUS); 85 final int totalCount = extras.getInt(UIProvider.CursorExtraKeys.EXTRA_TOTAL_COUNT);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/permissions/ |
PermissionsActivity.java | 79 final Bundle extras = getIntent().getExtras(); local 81 extras.getStringArray(EXTRA_PERMISSION_REQUESTED_PERMISSIONS); 82 mPendingRequestCode = extras.getInt(EXTRA_PERMISSION_REQUEST_CODE);
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
EditorInfoTest.java | 63 info.extras = b; 87 assertEquals(info.extras.getString(key), targetInfo.extras.getString(key));
|
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/ |
MainInteractionService.java | 109 Bundle extras = intent.getExtras(); local 110 if (extras == null) { 111 extras = new Bundle(); 122 intent3p.putExtras(extras); 132 extras.putString(Utils.TESTCASE_TYPE, mIntent.getStringExtra(Utils.TESTCASE_TYPE)); 134 extras, SHOW_WITH_ASSIST | SHOW_WITH_SCREENSHOT);
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverSyncTestCase.java | 125 Bundle extras = new Bundle(); local 126 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 141 Bundle extras = new Bundle(); local 142 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 144 ContentResolver.requestSync(account, authority, extras); 304 fail("did not throw IllegalArgumentException when extras is null."); 314 Bundle extras = new Bundle(); 315 extras.putInt("Integer", 20); 316 extras.putLong("Long", 10l); 317 extras.putBoolean("Boolean", true) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaBrowserServiceTest.java | 198 final Bundle extras = new Bundle(); local 199 extras.putString(key, val); 201 MediaBrowserService.BrowserRoot browserRoot = new BrowserRoot(id, extras);
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_ContactCountsTest.java | 64 final Bundle extras = cursor.getExtras(); local 65 assertFalse(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); 66 assertFalse(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); 79 final Bundle extras = cursor.getExtras(); local 80 assertTrue(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); 81 assertTrue(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); 85 extras.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES); 89 final int counts[] = extras.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS);
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
PhoneAccountOperationsTest.java | 207 Bundle extras = retrievedPhoneAccount.getExtras(); local 208 assertTrue(extras.containsKey(PhoneAccount.EXTRA_CALL_SUBJECT_CHARACTER_ENCODING)); 210 extras.getString(PhoneAccount.EXTRA_CALL_SUBJECT_CHARACTER_ENCODING)); 211 assertTrue(extras.containsKey(PhoneAccount.EXTRA_CALL_SUBJECT_MAX_LENGTH)); 213 extras.getInt(PhoneAccount.EXTRA_CALL_SUBJECT_MAX_LENGTH));
|
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...] |
DataObjectUnitTests.java | 130 Bundle extras = new Bundle(); local 131 extras.putString( 137 extras, 141 assertEquals(extras.getString( 156 extras.getString(TelecomManager.GATEWAY_PROVIDER_PACKAGE), 199 Bundle extras = new Bundle(); local 200 extras.putString( 207 extras); 210 assertEquals(extras.getString( 224 extras.getString(TelecomManager.GATEWAY_PROVIDER_PACKAGE) [all...] |
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
MainInteractionSession.java | 119 // extras contain the info on what the activity started above did. 121 Bundle extras = intent.getExtras(); local 123 intent.toString() + BroadcastUtils.toBundleString(extras)); 126 if (extras == null) { 127 extras = new Bundle(); 129 extras.putString(BroadcastUtils.TESTCASE_TYPE, mTestType.toString()); 130 broadcastIntent.putExtras(extras); 131 Log.i(TAG, "sending_broadcast: Bundle = " + BroadcastUtils.toBundleString(extras) +
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/recommendation/ |
RecommendationBuilder.java | 110 Bundle extras = new Bundle(); local 114 extras.putString(Notification.EXTRA_BACKGROUND_IMAGE_URI, 162 .setExtras(extras))
|
/frameworks/base/core/java/android/content/ |
AbstractThreadedSyncAdapter.java | 165 Bundle extras) { 175 && extras != null 176 && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) { 188 syncContextClient, authority, account, extras); 227 Bundle extras = new Bundle(); local 228 extras.putBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, true); 229 startSync(null, authority, account, extras); 246 Account account, Bundle extras) { 251 mExtras = extras; 312 * be specified in extras, which is guaranteed to not be null. Invocation [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
ForegroundServiceControllerTest.java | 287 final Bundle extras = new Bundle(); local 288 if (pkgs != null) extras.putStringArray(Notification.EXTRA_FOREGROUND_APPS, pkgs); 289 n.extras = extras; 293 sbn.getNotification().extras = extras;
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
DialerUtils.java | 86 Bundle extras; local 87 // Make sure to not accidentally clobber any existing extras 89 extras = intent.getParcelableExtra(TelecomManager.EXTRA_OUTGOING_CALL_EXTRAS); 91 extras = new Bundle(); 93 extras.putParcelable(TouchPointManager.TOUCH_POINT, touchPoint); 94 intent.putExtra(TelecomManager.EXTRA_OUTGOING_CALL_EXTRAS, extras);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
ReadableArchive.java | 266 Bundle extras = null; local 269 extras = new Bundle(1); 270 extras.putInt(DocumentsContract.EXTRA_ORIENTATION, 90); 273 extras = new Bundle(1); 274 extras.putInt(DocumentsContract.EXTRA_ORIENTATION, 180); 277 extras = new Bundle(1); 278 extras.putInt(DocumentsContract.EXTRA_ORIENTATION, 270); 283 openDocument(documentId, "r", signal), range[0], range[1], extras);
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
ArchivesProviderTest.java | 104 final Bundle extras = cursor.getExtras(); local 105 assertEquals(true, extras.getBoolean(DocumentsContract.EXTRA_LOADING, false)); 106 assertNull(extras.getString(DocumentsContract.EXTRA_ERROR)); 125 final Bundle extras = cursor.getExtras(); local 126 assertEquals(false, extras.getBoolean(DocumentsContract.EXTRA_LOADING, false)); 127 assertNull(extras.getString(DocumentsContract.EXTRA_ERROR)); 156 final Bundle extras = cursor.getExtras(); local 157 assertEquals(true, extras.getBoolean(DocumentsContract.EXTRA_LOADING, false)); 158 assertNull(extras.getString(DocumentsContract.EXTRA_ERROR)); 177 final Bundle extras = cursor.getExtras() local [all...] |
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/wakeup/ |
WifiWakeupHelper.java | 174 Bundle extras = new Bundle(); local 175 extras.putString( 193 .addExtras(extras);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
Ringer.java | 224 final Bundle extras = new Bundle(); local 226 extras.putStringArray(Notification.EXTRA_PEOPLE, new String[] {contactUri.toString()}); 228 return manager.matchesCallFilter(extras);
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
IncomingCallNotifier.java | 196 Bundle extras = new Bundle(); local 197 extras.putString(Notification.EXTRA_SUBSTITUTE_APP_NAME, mContext.getString( 260 builder.setExtras(extras);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestDialerActivity.java | 132 Bundle extras = new Bundle(); local 133 extras.putString("com.android.server.telecom.testapps.CALL_EXTRAS", "Hall was here"); 135 extras.putBoolean(TelecomManager.EXTRA_START_CALL_WITH_RTT, true); 139 intentExtras.putBundle(TelecomManager.EXTRA_OUTGOING_CALL_EXTRAS, extras);
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
TestDocumentsProvider.java | 211 public final Bundle extras = new Bundle(); field in class:TestDocumentsProvider.CloudCursor 219 return extras; 277 result.extras.putString(DocumentsContract.EXTRA_INFO, 280 result.extras.putString(DocumentsContract.EXTRA_ERROR, 284 result.extras.putBoolean(DocumentsContract.EXTRA_LOADING, true);
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
MediaDescriptionCompat.java | 174 * Extras for opaque use by apps/system. 188 CharSequence description, Bitmap icon, Uri iconUri, Bundle extras, Uri mediaUri) { 195 mExtras = extras; 270 * Returns any extras that were added to the description. 272 * @return A bundle of extras or null. 337 // Media URI was not added until API 23, so add it to the Bundle of extras to 341 Bundle extras = mExtras; local 343 if (extras == null) { 344 extras = new Bundle(); 345 extras.putBoolean(DESCRIPTION_KEY_NULL_BUNDLE_FLAG, true) 379 Bundle extras = MediaDescriptionCompatApi21.getExtras(descriptionObj); local [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
DownloadMmsAction.java | 250 final Bundle extras = new Bundle(); local 251 extras.putString(EXTRA_MESSAGE_ID, messageId); 252 extras.putString(EXTRA_CONVERSATION_ID, conversationId); 253 extras.putString(EXTRA_PARTICIPANT_ID, participantId); 254 extras.putInt(EXTRA_STATUS_IF_FAILED, statusIfFailed); 259 autoDownload, receivedTimestampRoundedToSecond / 1000L, extras);
|