Home
last modified time | relevance | path

Searched refs:getArguments (Results 1 – 25 of 114) sorted by relevance

12345

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRulesTest.java77 Message message = (Message) invocation.getArguments()[2]; in testHelper()
88 Message message = (Message) invocation.getArguments()[7]; in testHelper()
101 Message message = (Message) invocation.getArguments()[1]; in testHelper()
311 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAM()
312 Message message = (Message) invocation.getArguments()[2]; in testAID_OnlyARAM()
330 Message message = (Message) invocation.getArguments()[7]; in testAID_OnlyARAM()
343 Message message = (Message) invocation.getArguments()[1]; in testAID_OnlyARAM()
371 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAD()
372 Message message = (Message) invocation.getArguments()[2]; in testAID_OnlyARAD()
391 Message message = (Message) invocation.getArguments()[7]; in testAID_OnlyARAD()
[all …]
DIccPhoneBookInterfaceManagerTest.java82 Message response = (Message) invocation.getArguments()[2]; in setUp()
91 Message response = (Message) invocation.getArguments()[0]; in setUp()
123 Message response = (Message) invocation.getArguments()[2]; in testAdnEFLoadWithFailure()
146 Message response = (Message) invocation.getArguments()[0]; in testAdnEFLoadByPbCacheWithFailure()
166 Message response = (Message) invocation.getArguments()[4]; in testUpdateAdnRecord()
197 Message response = (Message) invocation.getArguments()[2]; in testUpdateAdnRecordByPbCache()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DErrorDialogFragment.java35 .setMessage(getArguments().getInt(TEXT)) in onCreateDialog()
38 if (getArguments().containsKey(TITLE)) { in onCreateDialog()
39 b.setTitle(getArguments().getInt(TITLE)); in onCreateDialog()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorInstrumentationTestRunner.java40 String traceType = getArguments().getString("traceOutputMode"); in onStart()
44 String filename = getArguments().getString("traceLogFilename"); in onStart()
63 ((UiAutomatorTestCase)test).initialize(getArguments()); in getAndroidTestRunner()
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerDialog.java92 if (getArguments() != null) { in onCreate()
93 mTitleResId = getArguments().getInt(KEY_TITLE_ID); in onCreate()
94 mColumns = getArguments().getInt(KEY_COLUMNS); in onCreate()
95 mSize = getArguments().getInt(KEY_SIZE); in onCreate()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DExponentialBackoffTest.java57 doAnswer(invocation -> mHandler.postDelayed((Runnable) invocation.getArguments()[0], in setUp()
58 (long) invocation.getArguments()[1]) in setUp()
61 mHandler.removeCallbacks((Runnable) invocation.getArguments()[0]); in setUp()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DErrorFragment.java42 getString(getArguments().getInt(TITLE)), in onCreateGuidance()
43 getString(getArguments().getInt(TEXT)), in onCreateGuidance()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteChooserDialogFragment.java55 Bundle args = getArguments(); in getRouteTypes()
61 Bundle args = getArguments(); in setRouteTypes()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java175 Object[] args = invocation.getArguments(); in setUp_baseServices()
221 Object[] args = invocation.getArguments(); in setUpStorageManagerMock()
233 Object[] args = invocation.getArguments(); in setUpStorageManagerMock()
246 Object[] args = invocation.getArguments(); in setUpStorageManagerMock()
263 (FingerprintManager.RemovalCallback) invocation.getArguments()[1]; in mockBiometricsHardwareFingerprintsAndTemplates()
278 (FaceManager.RemovalCallback) invocation.getArguments()[1]; in mockBiometricsHardwareFingerprintsAndTemplates()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiBaseFragmentTest.java70 InstrumentationRegistry.registerInstance(inst, InstrumentationRegistry.getArguments()); in SysuiSetup()
77 InstrumentationRegistry.getArguments()); in SysuiTeardown()
DSysuiTestCase.java94 InstrumentationRegistry.registerInstance(inst, InstrumentationRegistry.getArguments()); in SysuiSetup()
118 InstrumentationRegistry.getArguments()); in SysuiTeardown()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintErrorFragment.java65 CharSequence message = getArguments().getCharSequence(EXTRA_MESSAGE); in onViewCreated()
74 final int action = getArguments().getInt(EXTRA_ACTION); in onViewCreated()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DAdminSecondaryLockScreenControllerTest.java110 IKeyguardCallback callback = (IKeyguardCallback) invocation.getArguments()[1]; in testShow()
125 IKeyguardCallback callback = (IKeyguardCallback) invocation.getArguments()[1]; in testShow_dismissedByCallback()
139 IKeyguardCallback callback = (IKeyguardCallback) invocation.getArguments()[1]; in testHide()
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DEfficientXmlChecker.java173 .getArguments();
183 .getArguments().get(0));
210 .getArguments();
226 final List<? extends ExpressionTree> args = tree.getArguments(); in matchMethodInvocation()
299 final ExpressionTree arg = node.getArguments().get(0); in matchMethodInvocation()
DEfficientStringsChecker.java112 final List<? extends ExpressionTree> args = tree.getArguments(); in matchMethodInvocation()
133 final List<? extends ExpressionTree> args = tree.getArguments(); in matchMethodInvocation()
145 final ExpressionTree arg = tree.getArguments().get(0); in matchMethodInvocation()
DUidChecker.java54 return matchArguments(ASTHelpers.getSymbol(tree).params(), tree.getArguments(), tree); in matchMethodInvocation()
59 return matchArguments(ASTHelpers.getSymbol(tree).params(), tree.getArguments(), tree); in matchNewClass()
DRequiresPermissionChecker.java302 return tree.getArguments().get(i); in findArgumentByParameterName()
319 final Optional<? extends ExpressionTree> arg = tree.getArguments().stream().findFirst(); in parseIntentAction()
330 tree.getArguments().get(0), RequiresPermission.class)); in parseIntentAction()
412 res.allOf.add(String.valueOf(ASTHelpers.constValue(tree.getArguments().get(0)))); in parseRequiresPermissionRecursively()
416 res.allOf.add(String.valueOf(ASTHelpers.constValue(tree.getArguments().get(1)))); in parseRequiresPermissionRecursively()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/
DTunablePaddingTest.java56 tracker.getLeakInfo(invocation.getArguments()[0]).addAllocation(new Throwable()); in setup()
60 tracker.getLeakInfo(invocation.getArguments()[0]).clearAllocations(); in setup()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DBatteryServiceTest.java112 ((IServiceNotification)invocation.getArguments()[2]).onRegistration(
114 (String)invocation.getArguments()[1],
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java269 invocation -> invocation.getArguments()[1] in mockSystemPropertiesToReturnDefault()
274 invocation -> invocation.getArguments()[1] in mockSystemPropertiesToReturnDefault()
279 invocation -> invocation.getArguments()[1] in mockSystemPropertiesToReturnDefault()
/frameworks/base/tests/utils/testutils/java/android/app/test/
DMockAnswerUtil.java47 Object[] args = invocation.getArguments(); in answer()
/frameworks/base/core/tests/coretests/src/android/hardware/input/
DInputDeviceLightsManagerTest.java89 final int[] lightIds = (int[]) invocation.getArguments()[1]; in setUp()
91 (LightState[]) invocation.getArguments()[2]; in setUp()
100 int lightId = (int) invocation.getArguments()[1]; in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DWatchlistLoggingHandlerTests.java127 int uid = (int) invocation.getArguments()[0]; in setUp()
147 String pkg = (String) invocation.getArguments()[0]; in setUp()
/frameworks/base/core/java/android/content/pm/
DDataLoaderParams.java98 public final @NonNull String getArguments() { in getArguments() method in DataLoaderParams
/frameworks/opt/chips/src/com/android/ex/chips/
DCopyDialog.java33 final Bundle args = getArguments(); in onCreateDialog()

12345