Home
last modified time | relevance | path

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

1234567

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRulesTest.java78 Message message = (Message) invocation.getArguments()[2]; in testHelper()
89 Message message = (Message) invocation.getArguments()[8]; in testHelper()
102 Message message = (Message) invocation.getArguments()[2]; in testHelper()
312 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAM()
313 Message message = (Message) invocation.getArguments()[2]; in testAID_OnlyARAM()
331 Message message = (Message) invocation.getArguments()[8]; in testAID_OnlyARAM()
344 Message message = (Message) invocation.getArguments()[2]; in testAID_OnlyARAM()
372 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAD()
373 Message message = (Message) invocation.getArguments()[2]; in testAID_OnlyARAD()
392 Message message = (Message) invocation.getArguments()[8]; in testAID_OnlyARAD()
[all …]
DIccPhoneBookInterfaceManagerTest.java84 Message response = (Message) invocation.getArguments()[2]; in setUp()
93 Message response = (Message) invocation.getArguments()[0]; in setUp()
129 Message response = (Message) invocation.getArguments()[2]; in testAdnEFLoadWithFailure()
152 Message response = (Message) invocation.getArguments()[0]; in testAdnEFLoadByPbCacheWithFailure()
172 Message response = (Message) invocation.getArguments()[4]; in testUpdateAdnRecord()
203 Message response = (Message) invocation.getArguments()[2]; in testUpdateAdnRecordByPbCache()
/frameworks/base/tests/testables/src/android/testing/
DTestableResources.java99 if (invocationOnMock.getArguments().length > 0) { in answer()
111 && invocationOnMock.getArguments().length > 1) { in answer()
114 Arrays.copyOfRange(invocationOnMock.getArguments(), 1, in answer()
115 invocationOnMock.getArguments().length)); in answer()
/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.java61 doAnswer(invocation -> mHandler.postDelayed((Runnable) invocation.getArguments()[0], in setUp()
62 (long) invocation.getArguments()[1]) in setUp()
65 mHandler.removeCallbacks((Runnable) invocation.getArguments()[0]); in setUp()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUnarchiveFragment.java30 String appTitle = getArguments().getString(UnarchiveActivity.APP_TITLE); in onCreateDialog()
31 String installerTitle = getArguments().getString(UnarchiveActivity.INSTALLER_TITLE); in onCreateDialog()
/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/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/services/tests/servicestests/src/com/android/server/health/
DHealthServiceWrapperTest.java168 ((IServiceNotification) invocation.getArguments()[2])
171 (String) invocation.getArguments()[1],
177 ((IServiceCallback) invocation.getArguments()[1])
178 .onRegistration((String) invocation.getArguments()[0], service.asBinder());
/frameworks/base/services/tests/VpnTests/java/com/android/server/
DVpnTestBase.java80 final String appName = (String) invocation.getArguments()[0]; in setMockedPackages()
81 final int userId = (int) invocation.getArguments()[1]; in setMockedPackages()
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DRequiresPermissionChecker.java315 return tree.getArguments().get(i); in findArgumentByParameterName()
332 final Optional<? extends ExpressionTree> arg = tree.getArguments().stream().findFirst(); in parseIntentAction()
343 tree.getArguments().get(0), RequiresPermission.class)); in parseIntentAction()
423 if (ENFORCE_VIA_CONTEXT.matches(tree, state) && tree.getArguments().size() > 0) { in parseRequiresPermissionRecursively()
425 res.allOf.add(String.valueOf(ASTHelpers.constValue(tree.getArguments().get(0)))); in parseRequiresPermissionRecursively()
428 if (ENFORCE_VIA_CHECKER.matches(tree, state) && tree.getArguments().size() > 1) { in parseRequiresPermissionRecursively()
430 res.allOf.add(String.valueOf(ASTHelpers.constValue(tree.getArguments().get(1)))); in parseRequiresPermissionRecursively()
DEfficientXmlChecker.java176 .getArguments();
186 .getArguments().get(0));
214 .getArguments();
230 final List<? extends ExpressionTree> args = tree.getArguments(); in matchMethodInvocation()
303 final ExpressionTree arg = node.getArguments().get(0); in matchMethodInvocation()
DEfficientStringsChecker.java114 final List<? extends ExpressionTree> args = tree.getArguments(); in matchMethodInvocation()
135 final List<? extends ExpressionTree> args = tree.getArguments(); in matchMethodInvocation()
147 final ExpressionTree arg = tree.getArguments().get(0); in matchMethodInvocation()
DUidChecker.java56 return matchArguments(ASTHelpers.getSymbol(tree).params(), tree.getArguments(), tree); in matchMethodInvocation()
61 return matchArguments(ASTHelpers.getSymbol(tree).params(), tree.getArguments(), tree); in matchNewClass()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DSysuiBaseFragmentTest.java82 InstrumentationRegistry.registerInstance(inst, InstrumentationRegistry.getArguments()); in sysuiSetup()
89 InstrumentationRegistry.getArguments()); in SysuiTeardown()
/frameworks/base/tests/FsVerityTest/FsVerityTestApp/src/com/android/fsverity/
DHelper.java61 android.os.Bundle testArgs = InstrumentationRegistry.getArguments(); in prepareTest()
92 android.os.Bundle testArgs = InstrumentationRegistry.getArguments(); in verifyFileRead()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DAdminSecondaryLockScreenControllerTest.java126 IKeyguardCallback callback = (IKeyguardCallback) invocation.getArguments()[1]; in testShow()
141 IKeyguardCallback callback = (IKeyguardCallback) invocation.getArguments()[1]; in testShow_dismissedByCallback()
155 IKeyguardCallback callback = (IKeyguardCallback) invocation.getArguments()[1]; in testHide()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DBroadcastRadioServiceImplTest.java216 String serviceName = (String) invocation.getArguments()[0]; in mockServiceManager()
217 IServiceCallback serviceCallback = (IServiceCallback) invocation.getArguments()[1]; in mockServiceManager()
239 mFmDeathRecipient = (IBinder.DeathRecipient) invocation.getArguments()[0]; in mockServiceManager()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java220 Object[] args = invocation.getArguments(); in setUp_baseServices()
306 Object[] args = invocation.getArguments(); in setUpStorageManagerMock()
313 Object[] args = invocation.getArguments(); in setUpStorageManagerMock()
331 (FingerprintManager.RemovalCallback) invocation.getArguments()[1]; in mockBiometricsHardwareFingerprintsAndTemplates()
346 (FaceManager.RemovalCallback) invocation.getArguments()[1]; in mockBiometricsHardwareFingerprintsAndTemplates()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DRadioModuleHidlTest.java76 .getArguments()[1]; in setup()
79 invocation.getArguments()[2]; in setup()
DTunerSessionHidlTest.java130 mHalTunerCallback = (ITunerCallback) invocation.getArguments()[0]; in setup()
132 invocation.getArguments()[1]; in setup()
140 invocation.getArguments()[0]; in setup()
150 if ((boolean) invocation.getArguments()[0]) { in setup()
171 !(boolean) invocation.getArguments()[0]); in setup()
181 int configFlag = (int) invocation.getArguments()[0]; in setup()
183 invocation.getArguments()[1]; in setup()
193 int configFlag = (int) invocation.getArguments()[0]; in setup()
197 mHalConfigMap.put(configFlag, (boolean) invocation.getArguments()[1]); in setup()
/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()

1234567