Home
last modified time | relevance | path

Searched refs:getExtras (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallExtrasTest.java91 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey( in testCsPutExtras()
93 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey( in testCsPutExtras()
113 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras() in testCsPutBooleanExtra()
116 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getBoolean(EXTRA_KEY_BOOL)); in testCsPutBooleanExtra()
136 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_INT)); in testCsPutIntExtra()
138 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getInt(EXTRA_KEY_INT)); in testCsPutIntExtra()
159 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsPutStringExtra()
161 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getString(EXTRA_KEY_STR)); in testCsPutStringExtra()
183 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_STR)); in testCsRemoveExtra()
185 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getString(EXTRA_KEY_STR)); in testCsRemoveExtra()
[all …]
DParcelableCallUtilsTest.java92 Bundle parceledExtras = call.getExtras(); in testParcelForNonSystemDialer()
109 Bundle parceledExtras = call.getExtras(); in testParcelForSystemDialer()
122 Bundle parceledExtras = call.getExtras(); in testParcelForSystemCallScreening()
135 Bundle parceledExtras = call.getExtras(); in testParcelForSystemNonSystemCallScreening()
DInCallControllerTests.java198 assertNull(bindIntent.getExtras()); in testBindToService_NoServicesFound_IncomingCall()
233 assertEquals(PA_HANDLE, bindIntent.getExtras().getParcelable( in testBindToService_NoServicesFound_OutgoingCall()
235 assertEquals(callExtras, bindIntent.getExtras().getParcelable( in testBindToService_NoServicesFound_OutgoingCall()
285 assertEquals(PA_HANDLE, bindIntent.getExtras().getParcelable( in testBindToService_DefaultDialer_NoEmergency()
287 assertEquals(callExtras, bindIntent.getExtras().getParcelable( in testBindToService_DefaultDialer_NoEmergency()
344 assertEquals(PA_HANDLE, bindIntent.getExtras().getParcelable( in testBindToService_SystemDialer_Emergency()
346 assertEquals(callExtras, bindIntent.getExtras().getParcelable( in testBindToService_SystemDialer_Emergency()
414 assertEquals(PA_HANDLE, bindIntent.getExtras().getParcelable( in testBindToService_DefaultDialer_FallBackToSystem()
416 assertEquals(callExtras, bindIntent.getExtras().getParcelable( in testBindToService_DefaultDialer_FallBackToSystem()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbConnectionBroadcastReceiver.java58 mConnected = intent.getExtras().getBoolean(UsbManager.USB_CONNECTED) in onReceive()
59 || intent.getExtras().getBoolean(UsbManager.USB_HOST_CONNECTED); in onReceive()
62 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_MTP) in onReceive()
63 && intent.getExtras().getBoolean(UsbManager.USB_DATA_UNLOCKED, false)) { in onReceive()
66 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_PTP) in onReceive()
67 && intent.getExtras().getBoolean(UsbManager.USB_DATA_UNLOCKED, false)) { in onReceive()
70 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_MIDI)) { in onReceive()
73 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_RNDIS)) { in onReceive()
81 UsbPortStatus portStatus = intent.getExtras() in onReceive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DUsbConnectionBroadcastReceiver.java58 mConnected = intent.getExtras().getBoolean(UsbManager.USB_CONNECTED) in onReceive()
59 || intent.getExtras().getBoolean(UsbManager.USB_HOST_CONNECTED); in onReceive()
62 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_MTP) in onReceive()
63 && intent.getExtras().getBoolean(UsbManager.USB_DATA_UNLOCKED, false)) { in onReceive()
66 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_PTP) in onReceive()
67 && intent.getExtras().getBoolean(UsbManager.USB_DATA_UNLOCKED, false)) { in onReceive()
70 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_MIDI)) { in onReceive()
73 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_RNDIS)) { in onReceive()
81 UsbPortStatus portStatus = intent.getExtras() in onReceive()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DListSuggestionCursor.java138 public SuggestionExtras getExtras() { in getExtras() method in ListSuggestionCursor
140 return mSuggestions.get(mPos).getExtras(); in getExtras()
147 SuggestionExtras extras = e.getExtras(); in getExtraColumns()
172 public SuggestionExtras getExtras() { in getExtras() method in ListSuggestionCursor.Entry
174 mExtras = mSuggestion.getExtras(); in getExtras()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertServiceTest.java119 (CellBroadcastMessage) mServiceIntentToVerify.getExtras().get("message"); in testHandleCellBroadcastIntent()
160 (CellBroadcastMessage) mServiceIntentToVerify.getExtras().get("message"); in testDuplicateMessage()
201 (CellBroadcastMessage) mServiceIntentToVerify.getExtras().get("message"); in testNonDuplicateMessage()
218 (CellBroadcastMessage) mServiceIntentToVerify.getExtras().get("message"); in testMaximumMessages()
234 (CellBroadcastMessage) mServiceIntentToVerify.getExtras().get("message"); in testExpiration()
244 cbmTest = (CellBroadcastMessage) mServiceIntentToVerify.getExtras().get("message"); in testExpiration()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DDvrSchedulesActivity.java63 schedulesFragment.setArguments(getIntent().getExtras()); in onCreate()
74 showDvrSeriesSchedulesFragment(getIntent().getExtras()); in onCreate()
83 .getExtras() in onCreate()
95 Bundle args = getIntent().getExtras(); in onCreate()
/packages/apps/Dialer/java/com/android/dialer/configprovider/
DSharedPrefConfigProvider.java71 if (intent == null || intent.getExtras() == null || intent.getExtras().size() != 1) { in onHandleIntent()
75 String key = intent.getExtras().keySet().iterator().next(); in onHandleIntent()
76 Object value = intent.getExtras().get(key); in onHandleIntent()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java408 return mMediaController.getExtras() != null in isSkipNextReserved()
409 && mMediaController.getExtras().getBoolean( in isSkipNextReserved()
417 return mMediaController.getExtras() != null in iSkipPreviousReserved()
418 && mMediaController.getExtras().getBoolean( in iSkipPreviousReserved()
456 public Bundle getExtras() { in getExtras() method in PlaybackViewModel.PlaybackStateWrapper
457 return mState.getExtras(); in getExtras()
479 action.getExtras())); in getCustomActions()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorConnectionService.java92 .getExtras() in onCreateOutgoingConnection()
105 Bundle extras = connection.getExtras(); in onCreateOutgoingConnection()
133 .getExtras() in onCreateIncomingConnection()
172 String phoneNumber = request.getExtras().getString(TelephonyManager.EXTRA_INCOMING_NUMBER); in getPhoneNumber()
DSimulatorSimCallManager.java217 return request.getExtras() != null in isSimulatorConnectionRequest()
218 && request.getExtras().getBoolean(EXTRA_IS_SIMULATOR_CONNECTION); in isSimulatorConnectionRequest()
223 String connectionTag = connection.getExtras().getString(EXTRA_CONNECTION_TAG); in getConnectionTag()
231 if (connection.getExtras().getBoolean(connectionTag)) { in findConnectionByTag()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DRuntimeDocumentClipper.java113 clipData.getDescription().getExtras().putString( in getClipDataForDocuments()
212 PersistableBundle bundle = data.getDescription().getExtras(); in clipDocumentsForCut()
254 clipData.getDescription().getExtras().putInt(OP_TYPE_KEY, opType); in copyFromClipData()
269 PersistableBundle bundle = clipData.getDescription().getExtras(); in copyFromClipData()
316 PersistableBundle bundle = data.getDescription().getExtras(); in getOpType()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java149 assertThat(status.getExtras()).isNotNull(); in updateProjectionStatus_subscribeAfterUpdate()
150 assertThat(status.getExtras().getString(STATUS_EXTRA_KEY)) in updateProjectionStatus_subscribeAfterUpdate()
156 assertThat(md1.getExtras()).isNotNull(); in updateProjectionStatus_subscribeAfterUpdate()
157 assertThat(md1.getExtras().getString(MD_EXTRA_KEY)).isEqualTo(MD_EXTRA_VALUE); in updateProjectionStatus_subscribeAfterUpdate()
165 assertThat(md2.getExtras()).isNotNull(); in updateProjectionStatus_subscribeAfterUpdate()
166 assertThat(md2.getExtras().isEmpty()).isTrue(); in updateProjectionStatus_subscribeAfterUpdate()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchivesProviderTest.java112 final Bundle extras = cursor.getExtras(); in testOpen_Success()
133 final Bundle extras = cursor.getExtras(); in testOpen_Success()
165 final Bundle extras = cursor.getExtras(); in testOpen_Failure()
186 final Bundle extras = cursor.getExtras(); in testOpen_Failure()
255 final Bundle extra = cursor.getExtras(); in testNoNotificationAfterAllReleased()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DCryptKeeperSettings.java216 preference.getExtras().putInt(TYPE, StorageManager.CRYPT_TYPE_DEFAULT); in addEncryptionInfoToPreference()
217 preference.getExtras().putByteArray(PASSWORD, "".getBytes()); in addEncryptionInfoToPreference()
219 preference.getExtras().putInt(TYPE, type); in addEncryptionInfoToPreference()
220 preference.getExtras().putByteArray(PASSWORD, password); in addEncryptionInfoToPreference()
/packages/apps/Settings/src/com/android/settings/security/
DCryptKeeperSettings.java216 preference.getExtras().putInt(TYPE, StorageManager.CRYPT_TYPE_DEFAULT); in addEncryptionInfoToPreference()
217 preference.getExtras().putByteArray(PASSWORD, "".getBytes()); in addEncryptionInfoToPreference()
219 preference.getExtras().putInt(TYPE, type); in addEncryptionInfoToPreference()
220 preference.getExtras().putByteArray(PASSWORD, password); in addEncryptionInfoToPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionaryAddWordActivity.java59 Bundle args = intent.getExtras(); in onCreate()
80 if (senderIntent.getExtras() == null) return; in reportBackToCaller()
81 final Object listener = senderIntent.getExtras().get("listener"); in reportBackToCaller()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryAddWordActivity.java59 Bundle args = intent.getExtras(); in onCreate()
80 if (senderIntent.getExtras() == null) return; in reportBackToCaller()
81 final Object listener = senderIntent.getExtras().get("listener"); in reportBackToCaller()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DPermissionsPreferenceController.java91 preference.getExtras().putString(PERMISSION_TYPE_KEY, permission.getPermissionKey()); in PermissionsPreferenceController()
95 pref.getExtras().getString(PERMISSION_TYPE_KEY), !granted); in PermissionsPreferenceController()
118 switchPreference.getExtras().getString(PERMISSION_TYPE_KEY), getUserInfo())); in updateState()
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/
DPartialSuggestionProvider.java53 mCursor.getExtras().putBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS, false);
70 public Bundle getExtras() { in getExtras() method in PartialSuggestionProvider.MutableMatrixCursor
114 cursor.getExtras().putBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS, true); in query()
/packages/apps/Launcher3/src/com/android/launcher3/states/
DInternalStateHandler.java78 if (intent != null && intent.getExtras() != null) { in handleIntent()
79 IBinder stateBinder = intent.getExtras().getBinder(EXTRA_STATE_HANDLER); in handleIntent()
83 intent.getExtras().remove(EXTRA_STATE_HANDLER); in handleIntent()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/
DTestUtils.java80 return intent1.filterEquals(intent2) && bundleEquals(intent1.getExtras(), in intentEquals()
81 intent2.getExtras()); in intentEquals()
136 return i.toString() + " with extras " + i.getExtras(); in intentToString()
/packages/services/Telephony/src/com/android/phone/vvm/
DRemoteVvmTaskManager.java229 PhoneAccountHandle phoneAccountHandle = intent.getExtras() in onStartCommand()
243 intent.getExtras()); in onStartCommand()
246 send(remotePackage, VisualVoicemailService.MSG_ON_SMS_RECEIVED, intent.getExtras()); in onStartCommand()
249 send(remotePackage, VisualVoicemailService.MSG_ON_SIM_REMOVED, intent.getExtras()); in onStartCommand()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DAccessibilitySettingsForSetupWizard.java123 Bundle extras = mDisplayMagnificationPreference.getExtras(); in onPreferenceTreeClick()
160 Bundle extras = preference.getExtras(); in updateAccessibilityServicePreference()
182 final Bundle extras = preference.getExtras(); in configureMagnificationPreferenceIfNeeded()

12345678910>>...14