Home
last modified time | relevance | path

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

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRulesTest.java67 Message message = (Message) invocation.getArguments()[2]; in testHelper()
78 Message message = (Message) invocation.getArguments()[7]; in testHelper()
91 Message message = (Message) invocation.getArguments()[1]; in testHelper()
305 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAM()
306 Message message = (Message) invocation.getArguments()[2]; in testAID_OnlyARAM()
324 Message message = (Message) invocation.getArguments()[7]; in testAID_OnlyARAM()
337 Message message = (Message) invocation.getArguments()[1]; in testAID_OnlyARAM()
365 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAD()
366 Message message = (Message) invocation.getArguments()[2]; in testAID_OnlyARAD()
385 Message message = (Message) invocation.getArguments()[7]; in testAID_OnlyARAD()
[all …]
DIccPhoneBookInterfaceManagerTest.java77 Message response = (Message) invocation.getArguments()[2]; in setUp()
105 Message response = (Message) invocation.getArguments()[2]; in testAdnEFLoadWithFailure()
/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/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockKeyStore.java44 Object[] args = invocation.getArguments(); in createMock()
55 Object[] args = invocation.getArguments(); in createMock()
65 Object[] args = invocation.getArguments(); in createMock()
74 Object[] args = invocation.getArguments(); in createMock()
/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()
DPhoneSwitcherTest.java1139 Handler handler = (Handler) invocation.getArguments()[0]; in initializeCommandInterfacesMock()
1140 int message = (int) invocation.getArguments()[1]; in initializeCommandInterfacesMock()
1141 Object obj = invocation.getArguments()[2]; in initializeCommandInterfacesMock()
1148 mDataAllowed[0] = (boolean) invocation.getArguments()[0]; in initializeCommandInterfacesMock()
1154 mDataAllowed[1] = (boolean) invocation.getArguments()[0]; in initializeCommandInterfacesMock()
1167 … (SubscriptionManager.OnSubscriptionsChangedListener) invocation.getArguments()[0]; in initializeTelRegistryMock()
1196 int phoneId = (int) invocation.getArguments()[0]; in initializeSubControllerMock()
1207 int subId = (int) invocation.getArguments()[0]; in initializeSubControllerMock()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java262 (KernelCpuUidUserSysTimeReader.Callback<long[]>) invocation.getArguments()[0]; in testReadKernelUidCpuTimesLocked()
297 (KernelCpuUidUserSysTimeReader.Callback<long[]>) invocation.getArguments()[0]; in testReadKernelUidCpuTimesLocked()
337 (KernelCpuUidUserSysTimeReader.Callback<long[]>) invocation.getArguments()[0]; in testReadKernelUidCpuTimesLocked_isolatedUid()
373 (KernelCpuUidUserSysTimeReader.Callback<long[]>) invocation.getArguments()[0]; in testReadKernelUidCpuTimesLocked_isolatedUid()
427 (KernelCpuUidUserSysTimeReader.Callback<long[]>) invocation.getArguments()[0]; in testReadKernelUidCpuTimesLocked_invalidUid()
476 (KernelCpuUidUserSysTimeReader.Callback<long[]>) invocation.getArguments()[0]; in testReadKernelUidCpuTimesLocked_withPartialTimers()
556 (KernelCpuUidFreqTimeReader.Callback) invocation.getArguments()[0]; in testReadKernelUidCpuFreqTimesLocked()
589 (KernelCpuUidFreqTimeReader.Callback) invocation.getArguments()[0]; in testReadKernelUidCpuFreqTimesLocked()
639 (KernelCpuUidFreqTimeReader.Callback) invocation.getArguments()[0]; in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
683 (KernelCpuUidFreqTimeReader.Callback) invocation.getArguments()[0]; in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
[all …]
/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()
DResolverTargetActionsDialogFragment.java60 final Bundle args = getArguments(); in onCreateDialog()
73 final Bundle args = getArguments(); in onClick()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiBaseFragmentTest.java65 InstrumentationRegistry.registerInstance(inst, InstrumentationRegistry.getArguments()); in SysuiSetup()
71 InstrumentationRegistry.getArguments()); in SysuiTeardown()
DSysuiTestCase.java75 InstrumentationRegistry.registerInstance(inst, InstrumentationRegistry.getArguments()); in SysuiSetup()
82 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/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java110 Integer userId = (Integer) invocation.getArguments()[0]; in testMigration()
111 Bundle bundle = (Bundle) invocation.getArguments()[1]; in testMigration()
223 Integer userId = (Integer) invocation.getArguments()[0]; in testMigration2_profileOwnerOnUser0()
224 Bundle bundle = (Bundle) invocation.getArguments()[1]; in testMigration2_profileOwnerOnUser0()
DDpmTestBase.java246 invocation -> invocation.getArguments()[1] in mockSystemPropertiesToReturnDefault()
251 invocation -> invocation.getArguments()[1] in mockSystemPropertiesToReturnDefault()
256 invocation -> invocation.getArguments()[1] in mockSystemPropertiesToReturnDefault()
DMockSystemServices.java215 final int userId1 = (int) invocation.getArguments()[0]; in addUser()
221 final int userId1 = (int) invocation.getArguments()[0]; in addUser()
228 final int userId12 = (int) invocation.getArguments()[0]; in addUser()
234 final int userId13 = (int) invocation.getArguments()[0]; in addUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java170 Object[] args = invocation.getArguments(); in setUp_baseServices()
209 Object[] args = invocation.getArguments(); in setUpStorageManagerMock()
221 Object[] args = invocation.getArguments(); in setUpStorageManagerMock()
234 Object[] args = invocation.getArguments(); in setUpStorageManagerMock()
/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/net/watchlist/
DWatchlistLoggingHandlerTests.java127 int uid = (int) invocation.getArguments()[0]; in setUp()
147 String pkg = (String) invocation.getArguments()[0]; in setUp()
/frameworks/base/tests/utils/testutils/java/android/app/test/
DMockAnswerUtil.java47 Object[] args = invocation.getArguments(); in answer()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java529 wakelockMap.put((String) inv.getArguments()[1], (int) inv.getArguments()[0]); in testForceSuspend_pakeLocksDisabled()
534 wakelockMap.remove((String) inv.getArguments()[1]); in testForceSuspend_pakeLocksDisabled()
582 if (suspendBlockerName.equals(inv.getArguments()[0])) { in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
589 if (suspendBlockerName.equals(inv.getArguments()[0])) { in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java812 final int userId = (Integer) inv.getArguments()[0]; in setUp()
817 final int userId = (Integer) inv.getArguments()[0]; in setUp()
830 final int callingUserId = (Integer) inv.getArguments()[0]; in setUp()
831 final int targetUserId = (Integer) inv.getArguments()[1]; in setUp()
845 final boolean isExternal = (Boolean) inv.getArguments()[3]; in setUp()
849 throw new SecurityException(inv.getArguments()[2] + " for unrelated profile " in setUp()
854 inv -> mUserInfos.get((Integer) inv.getArguments()[0]))); in setUp()
917 final String packageName = (String) pmInvocation.getArguments()[0]; in setUpAppResources()
918 final int userId = (Integer) pmInvocation.getArguments()[1]; in setUpAppResources()
923 final int argResId = (Integer) resInvocation.getArguments()[0]; in setUpAppResources()
[all …]

1234