Home
last modified time | relevance | path

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

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRulesTest.java107 Message message = (Message) invocation.getArguments()[2]; in testHelper()
118 Message message = (Message) invocation.getArguments()[7]; in testHelper()
131 Message message = (Message) invocation.getArguments()[1]; in testHelper()
315 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAM()
316 Message message = (Message) invocation.getArguments()[2]; in testAID_OnlyARAM()
334 Message message = (Message) invocation.getArguments()[7]; in testAID_OnlyARAM()
347 Message message = (Message) invocation.getArguments()[1]; in testAID_OnlyARAM()
377 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAD()
378 Message message = (Message) invocation.getArguments()[2]; in testAID_OnlyARAD()
397 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.java1009 Handler handler = (Handler) invocation.getArguments()[0]; in initializeCommandInterfacesMock()
1010 int message = (int) invocation.getArguments()[1]; in initializeCommandInterfacesMock()
1011 Object obj = invocation.getArguments()[2]; in initializeCommandInterfacesMock()
1018 mDataAllowed[0] = (boolean) invocation.getArguments()[0]; in initializeCommandInterfacesMock()
1024 mDataAllowed[1] = (boolean) invocation.getArguments()[0]; in initializeCommandInterfacesMock()
1037 (IOnSubscriptionsChangedListener) invocation.getArguments()[1]; in initializeTelRegistryMock()
1065 int phoneId = (int) invocation.getArguments()[0]; in initializeSubControllerMock()
1076 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java119 mNetworkRequestList.add((NetworkRequest) invocation.getArguments()[0]); in setUp()
124 mNetworkRequestList.remove((NetworkRequest) invocation.getArguments()[0]); in setUp()
130 (Messenger) invocation.getArguments()[0], in setUp()
131 (String) invocation.getArguments()[1]); in setUp()
137 (Messenger) invocation.getArguments()[0]); in setUp()
/frameworks/base/core/java/com/android/internal/app/
DResolverTargetActionsDialogFragment.java55 final Bundle args = getArguments(); in onCreateDialog()
65 final Bundle args = getArguments(); in onClick()
DMediaRouteChooserDialogFragment.java55 Bundle args = getArguments(); in getRouteTypes()
61 Bundle args = getArguments(); in setRouteTypes()
/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/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/locksettings/
DBaseLockSettingsServiceTests.java165 Object[] args = invocation.getArguments(); in setUp()
204 Object[] args = invocation.getArguments(); in setUpStorageManagerMock()
217 Object[] args = invocation.getArguments(); in setUpStorageManagerMock()
/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/net/watchlist/
DWatchlistLoggingHandlerTests.java127 int uid = (int) invocation.getArguments()[0]; in setUp()
147 String pkg = (String) invocation.getArguments()[0]; in setUp()
/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