/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | KeepalivePacketDataUtilTest.java | 72 TcpKeepalivePacketData resultData = null; in testFromTcpKeepaliveStableParcelable() local 85 resultData = TcpKeepaliveController.fromStableParcelable(testInfo); in testFromTcpKeepaliveStableParcelable() 90 assertEquals(InetAddress.getByAddress(testInfo.srcAddress), resultData.getSrcAddress()); in testFromTcpKeepaliveStableParcelable() 91 assertEquals(InetAddress.getByAddress(testInfo.dstAddress), resultData.getDstAddress()); in testFromTcpKeepaliveStableParcelable() 92 assertEquals(testInfo.srcPort, resultData.getSrcPort()); in testFromTcpKeepaliveStableParcelable() 93 assertEquals(testInfo.dstPort, resultData.getDstPort()); in testFromTcpKeepaliveStableParcelable() 94 assertEquals(testInfo.seq, resultData.tcpSeq); in testFromTcpKeepaliveStableParcelable() 95 assertEquals(testInfo.ack, resultData.tcpAck); in testFromTcpKeepaliveStableParcelable() 96 assertEquals(testInfo.rcvWnd, resultData.tcpWindow); in testFromTcpKeepaliveStableParcelable() 97 assertEquals(testInfo.rcvWndScale, resultData.tcpWindowScale); in testFromTcpKeepaliveStableParcelable() [all …]
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | AbstractRestrictBackgroundNetworkTestCase.java | 255 final String resultData = getResultData(); in sendOrderedBroadcast() 256 if (resultData == null) { in sendOrderedBroadcast() 262 result.offer(resultData); in sendOrderedBroadcast() 266 final String resultData = result.poll(timeoutMs, TimeUnit.MILLISECONDS); in sendOrderedBroadcast() local 267 Log.d(TAG, "Ordered broadcast response after " + timeoutMs + "ms: " + resultData ); in sendOrderedBroadcast() 268 return resultData; in sendOrderedBroadcast() 444 final String resultData = mServiceClient.checkNetworkStatus(); in checkNetworkAccess() local 445 return checkForAvailabilityInResultData(resultData, expectAvailable); in checkNetworkAccess() 448 private String checkForAvailabilityInResultData(String resultData, boolean expectAvailable) { in checkForAvailabilityInResultData() argument 449 if (resultData == null) { in checkForAvailabilityInResultData() [all …]
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | SaveAndFinishWorker.java | 157 private void finish(Intent resultData) { in finish() argument 159 mResultData = resultData; in finish() 206 protected void onPostExecute(Pair<Boolean, Intent> resultData) { in onPostExecute() argument 207 if (!resultData.first) { in onPostExecute() 211 finish(resultData.second); in onPostExecute() 216 void onChosenLockSaveFinished(boolean wasSecureBefore, Intent resultData); in onChosenLockSaveFinished() argument
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ChooserRefinementManager.java | 218 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument 226 Intent refinedResult = tryToExtractRefinedResult(resultCode, resultData); in onReceiveResult() 251 private static Intent tryToExtractRefinedResult(int resultCode, Bundle resultData) { in tryToExtractRefinedResult() argument 256 } else if (resultData == null) { in tryToExtractRefinedResult() 258 } else if (!(resultData.getParcelable(Intent.EXTRA_INTENT) instanceof Intent)) { in tryToExtractRefinedResult() 261 return resultData.getParcelable(Intent.EXTRA_INTENT, Intent.class); in tryToExtractRefinedResult()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | RemoteActionShortcut.java | 99 (pendingIntent, intent, resultCode, resultData, resultExtras) -> { in onClick() 102 if (resultData != null && !resultData.isEmpty()) { in onClick() 104 + " : " + resultData); in onClick() 106 Toast.makeText(target, resultData, Toast.LENGTH_SHORT).show(); in onClick()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorUtils.java | 149 public AccountWithDataSet getCreatedAccount(int resultCode, Intent resultData) { in getCreatedAccount() argument 152 if (resultData == null) return null; in getCreatedAccount() 154 final String accountType = resultData.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE); in getCreatedAccount() 155 final String accountName = resultData.getStringExtra(AccountManager.KEY_ACCOUNT_NAME); in getCreatedAccount()
|
/packages/services/Car/car-test-lib/src/android/car/test/util/ |
D | BlockingResultReceiver.java | 51 public void send(int resultCode, Bundle resultData) { in send() argument 52 Log.d(TAG, "send() received: code=" + resultCode + ", data=" + resultData + ", count=" in send() 57 mResultData = resultData; in send()
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
D | ImageCaptureIntentTest.java | 65 Intent resultData = getActivity().getResultData(); in testNoExtraOutput() local 66 Bitmap bitmap = (Bitmap) resultData.getParcelableExtra("data"); in testNoExtraOutput() 118 Intent resultData = getActivity().getResultData(); in testRetake() local 119 Bitmap bitmap = (Bitmap) resultData.getParcelableExtra("data"); in testRetake()
|
D | VideoCaptureIntentTest.java | 93 Intent resultData = getActivity().getResultData(); in testNoExtraOutput() local 94 mVideoUri = resultData.getData(); in testNoExtraOutput() 124 Intent resultData = getActivity().getResultData(); in testRetake() local 125 mVideoUri = resultData.getData(); in testRetake()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiDialogActivity.java | 271 Intent resultData = new Intent(); in onForget() local 275 resultData.putExtra(KEY_ACCESS_POINT_STATE, accessPointState); in onForget() 295 Intent resultData = hasPermissionForResult() ? createResultData(config, null) : null; in onSubmit() local 296 setResult(RESULT_CONNECTED, resultData); in onSubmit() 323 Intent resultData = hasPermissionForResult() ? createResultData(config, accessPoint) : null; in onSubmit() local 324 setResult(RESULT_CONNECTED, resultData); in onSubmit()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | DataProcessManagerTest.java | 311 final BatteryLevelData resultData = in getBatteryLevelData_allDataInOneHour_returnExpectedResult() local 325 resultData, in getBatteryLevelData_allDataInOneHour_returnExpectedResult() 340 final BatteryLevelData resultData = in getBatteryLevelData_returnExpectedResult() local 354 resultData, in getBatteryLevelData_returnExpectedResult() 422 final BatteryLevelData resultData, in verifyExpectedBatteryLevelData() argument 428 resultData.getDailyBatteryLevels(); in verifyExpectedBatteryLevelData() 430 resultData.getHourlyBatteryLevelsPerDay(); in verifyExpectedBatteryLevelData()
|
D | DataProcessorTest.java | 394 final BatteryLevelData resultData = in getLevelDataThroughProcessedHistoryMap_OneDayData_returnExpectedResult() local 406 resultData, in getLevelDataThroughProcessedHistoryMap_OneDayData_returnExpectedResult() 427 final BatteryLevelData resultData = in getLevelDataThroughProcessedHistoryMap_MultipleDaysData_returnExpectedResult() local 468 resultData, in getLevelDataThroughProcessedHistoryMap_MultipleDaysData_returnExpectedResult() 488 final BatteryLevelData resultData = in getLevelDataThroughProcessedHistoryMap_daylightSaving25Hour_returnExpectedResult() local 571 resultData, in getLevelDataThroughProcessedHistoryMap_daylightSaving25Hour_returnExpectedResult() 591 final BatteryLevelData resultData = in getLevelDataThroughProcessedHistoryMap_daylightSaving23Hour_returnExpectedResult() local 660 resultData, in getLevelDataThroughProcessedHistoryMap_daylightSaving23Hour_returnExpectedResult() 1868 final BatteryLevelData resultData, in verifyExpectedBatteryLevelData() argument 1874 resultData.getDailyBatteryLevels(); in verifyExpectedBatteryLevelData() [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/widget/ |
D | SelectPhoneAccountDialogFragment.java | 208 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument 211 resultData.getParcelable(EXTRA_SELECTED_ACCOUNT_HANDLE), in onReceiveResult() 212 resultData.getBoolean(EXTRA_SET_DEFAULT), in onReceiveResult() 213 resultData.getString(EXTRA_CALL_ID)); in onReceiveResult() 215 onDialogDismissed(resultData.getString(EXTRA_CALL_ID)); in onReceiveResult()
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/ |
D | AnomalyActivity.java | 123 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument 124 super.onReceiveResult(resultCode, resultData); in onReceiveResult() 126 final Button button = findViewById(resultData.getInt(KEY_TARGET_BUTTON)); in onReceiveResult()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | EntitlementManagerTest.java | 326 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 339 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 351 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 364 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 376 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 388 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 399 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 411 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 688 protected void onReceiveResult(int resultCode, Bundle resultData) { in requestLatestTetheringEntitlementResult_carrierDoesNotSupport_noProvisionCount()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivity.java | 484 private void handlePlatformRequestedUpdateResult(int resultCode, @Nullable Intent resultData) { 506 if (isRoleHolderUpdaterRequestingPlatformDrivenProvisioning(resultData)) { 524 } else if (isRoleHolderUpdaterRequestingPlatformDrivenProvisioning(resultData)) { 538 private void handleRoleHolderRequestedUpdateResult(int resultCode, Intent resultData) { 556 if (isRoleHolderUpdaterRequestingPlatformDrivenProvisioning(resultData)) { 573 } else if (isRoleHolderUpdaterRequestingPlatformDrivenProvisioning(resultData)) { 587 @Nullable Intent resultData) { 588 if (resultData == null) { 591 return resultData.getIntExtra(
|
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/ |
D | EmergencyNamePreferenceTest.java | 132 Intent resultData = new Intent(); in onActivityResult_whenWaitingForActivityResult_onActivityResultIsCalled() local 133 mTestEmergencyNamePreference.onActivityResult(0, 0, resultData); in onActivityResult_whenWaitingForActivityResult_onActivityResultIsCalled() 135 verify(photoController).onActivityResult(eq(0), eq(0), same(resultData)); in onActivityResult_whenWaitingForActivityResult_onActivityResultIsCalled()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | ActivityState.java | 60 public Intent resultData; field in ActivityState.ResultEntry 103 mResult.resultData = data; in setStateResult() 223 onStateResult(entry.requestCode, entry.resultCode, entry.resultData); in resume()
|
/packages/modules/Media/apex/framework/java/android/media/ |
D | Session2Command.java | 197 public Result(int resultCode, @Nullable Bundle resultData) { in Result() argument 199 mResultData = resultData; in Result()
|
/packages/apps/Settings/src/com/android/settings/applications/autofill/ |
D | PasswordsPreferenceController.java | 202 public void send(int resultCode, Bundle resultData) { in onServiceConnected() 207 if (resultCode == 0 && resultData != null) { in onServiceConnected() 208 mData.postValue(resultData.getInt(EXTRA_RESULT)); in onServiceConnected()
|
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/common/ |
D | BroadcastManager.java | 397 int resultCode, String resultData, Bundle resultExtras, boolean isOrdered) { in newPendingResult() argument 414 resultData, in newPendingResult() 436 resultData, in newPendingResult() 460 resultData, in newPendingResult()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | SelectPhoneAccountDialogFragment.java | 127 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument 130 (PhoneAccountHandle) resultData.getParcelable( in onReceiveResult() 132 resultData.getBoolean(EXTRA_SET_DEFAULT)); in onReceiveResult()
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
D | ImageCaptureIntentTest.java | 60 Intent resultData = getActivity().getResultData(); in testNoExtraOutput() local 61 Bitmap bitmap = (Bitmap) resultData.getParcelableExtra("data"); in testNoExtraOutput()
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | RegionSearchPicker.java | 86 final Intent resultData = new Intent() in onListItemClick() local 89 getActivity().setResult(Activity.RESULT_OK, resultData); in onListItemClick()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierConfigLoader.java | 334 public void onReceiveResult(int resultCode, Bundle resultData) { in handleMessage() 343 if (resultCode == RESULT_ERROR || resultData == null) { in handleMessage() 350 resultData.getParcelable(KEY_CONFIG_BUNDLE); in handleMessage() 464 public void onReceiveResult(int resultCode, Bundle resultData) { in handleMessage() 473 if (resultCode == RESULT_ERROR || resultData == null) { in handleMessage() 482 resultData.getParcelable(KEY_CONFIG_BUNDLE); in handleMessage() 644 public void onReceiveResult(int resultCode, Bundle resultData) { in handleMessage() 652 if (resultCode == RESULT_ERROR || resultData == null) { in handleMessage() 658 resultData.getParcelable(KEY_CONFIG_BUNDLE); in handleMessage()
|