Home
last modified time | relevance | path

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

123

/cts/tests/tests/print/src/android/print/cts/
DPageRangeAdjustmentTest.java78 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in setDefaultPrinter()
103 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in allPagesWantedAndAllPagesWritten()
151 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in somePagesWantedAndAllPagesWritten()
170 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in somePagesWantedAndAllPagesWritten()
171 … LayoutResultCallback callback = (LayoutResultCallback) invocation.getArguments()[3]; in somePagesWantedAndAllPagesWritten()
181 Object[] args = invocation.getArguments(); in somePagesWantedAndAllPagesWritten()
239 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in somePagesWantedAndSomeMorePagesWritten()
261 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in somePagesWantedAndSomeMorePagesWritten()
262 … LayoutResultCallback callback = (LayoutResultCallback) invocation.getArguments()[3]; in somePagesWantedAndSomeMorePagesWritten()
272 Object[] args = invocation.getArguments(); in somePagesWantedAndSomeMorePagesWritten()
[all …]
DPrintDocumentInfoTest.java109 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in printDocumentBaseTest()
123 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in printDocumentBaseTest()
125 .getArguments()[3]; in printDocumentBaseTest()
129 Object[] args = invocation.getArguments(); in printDocumentBaseTest()
309 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in createFirstMockPrintServiceCallbacks()
DPageRangeAdjustAndVerify.java88 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in setDefaultPrinter()
190 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in adjustPageRangeAndVerifyPages()
269 invocation.getArguments()[1]); in adjustPageRangeAndVerifyPages()
271 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in adjustPageRangeAndVerifyPages()
279 ((PrintDocumentAdapter.LayoutResultCallback) invocation.getArguments()[3]) in adjustPageRangeAndVerifyPages()
286 Object[] args = invocation.getArguments(); in adjustPageRangeAndVerifyPages()
DPrintServicesTest.java143 .add(((PrinterId) invocation.getArguments()[0]).getLocalId()); in createMockPrinterDiscoverySessionCallbacks()
150 .getArguments()[2]; in createMockPrinterDiscoverySessionCallbacks()
159 trackedPrinters.remove(((PrinterId) invocation.getArguments()[0]).getLocalId()); in createMockPrinterDiscoverySessionCallbacks()
258 sPrintJob = (PrintJob) invocation.getArguments()[0]; in createMockPrinterServiceCallbacks()
264 sPrintJob = (PrintJob) invocation.getArguments()[0]; in createMockPrinterServiceCallbacks()
DPrinterCapabilitiesChangeTest.java186 .getArguments()[3]; in setUpPrinting()
193 mLayoutAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in setUpPrinting()
201 Object[] args = invocation.getArguments(); in setUpPrinting()
DPrintAttributesTest.java229 mLayoutAttributes = (PrintAttributes) invocation.getArguments()[1]; in createMockPrintDocumentAdapter()
231 (LayoutResultCallback) invocation.getArguments()[3]; in createMockPrintDocumentAdapter()
241 Object[] args = invocation.getArguments(); in createMockPrintDocumentAdapter()
285 PrintJob printJob = (PrintJob) invocation.getArguments()[0];
DCustomPrintOptionsTest.java161 .getArguments()[3]; in setUpServicesAndAdapter()
168 mLayoutAttributes = (PrintAttributes) invocation.getArguments()[1]; in setUpServicesAndAdapter()
177 Object[] args = invocation.getArguments(); in setUpServicesAndAdapter()
DPrinterCapabilitiesTest.java356 .getArguments()[3]; in testPrinterCapabilityInfo()
360 layoutAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in testPrinterCapabilityInfo()
366 Object[] args = invocation.getArguments(); in testPrinterCapabilityInfo()
DPrinterDiscoverySessionLifecycleTest.java251 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in normalLifecycle()
357 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in cancelPrintServicesAlertDialog()
447 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in startPrinterDiscoveryWithHistoricalPrinters()
678 PrinterId trackedPrinterId = (PrinterId) invocation.getArguments()[0]; in createFirstMockPrinterDiscoverySessionCallbacks()
DInterfaceForAppsTest.java116 .getArguments()[0]; in createFirstMockPrinterServiceCallbacks()
152 .getArguments()[0]; in createFirstMockPrinterServiceCallbacks()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java156 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in editorMatcher()
184 ImeCommand.fromBundle(event.getArguments().getBundle("command"));
270 final InputBinding binding = event.getArguments().getParcelable("binding");
302 lastLayout = ImeLayoutInfo.readFromBundle(event.get().getArguments());
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DWorkDir.java41 Bundle bundle = InstrumentationRegistry.getArguments(); in getMediaDirString()
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
DBaseNumberBlockingClientTest.java40 Bundle arguments = InstrumentationRegistry.getArguments(); in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodPresentMediaDialog.java114 Bundle arguments = getArguments(); in onCreateDialog()
121 Uri uri = (Uri) getArguments().getParcelable(KEY_VIDEO_URI); in onCreateDialog()
137 File imageFile = (File) getArguments().getSerializable(KEY_IMAGE_FILE); in onCreateDialog()
181 Uri uri = (Uri) getArguments().getParcelable(KEY_AUDIO_URI); in onCreateDialog()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardVisibilityControlTest.java73 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in editorMatcher()
83 final int flags = event.getArguments().getInt("flags");
97 final boolean finishingInput = event.getArguments().getBoolean("finishingInput");
DFocusHandlingTest.java120 assertFalse(stream.dump(), onStart.getArguments().getBoolean("restarting")); in testOnStartInputCalledOnceIme()
302 if (!event.getArguments().getBoolean("restarting")) { in testFocusableWindowDoesNotInvalidateExistingInputConnection()
305 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
DOnScreenPositionTest.java105 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in testImeIsNotBehindNavBar()
/cts/hostsidetests/devicepolicy/app/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/
DCrossProfileAppsNonTargetUserTest.java54 Bundle arguments = InstrumentationRegistry.getArguments(); in readTargetUser()
DCrossProfileAppsTargetUserTest.java78 Bundle arguments = InstrumentationRegistry.getArguments(); in readTargetUser()
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/
DMediaBitstreamsDeviceSideTest.java70 private static String mDeviceBitstreamsPath = InstrumentationRegistry.getArguments().getString(
76 Bundle args = InstrumentationRegistry.getArguments(); in setUp()
149 Bundle args = InstrumentationRegistry.getArguments(); in run()
192 Bundle args = InstrumentationRegistry.getArguments(); in setup()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/
DPhaseStartFragment.java58 mPhase = (TestActivity.CTSTest) getArguments().getSerializable(ARG_PHASE); in onCreateView()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DResetPasswordWithTokenTest.java37 Boolean allowFailure = Boolean.parseBoolean(InstrumentationRegistry.getArguments() in setUp()
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/
DApplicationVisibilityCrossUserTest.java166 final Bundle testArguments = InstrumentationRegistry.getArguments(); in getTestUser()
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DAbstractApiTest.java75 ((InstrumentationTestRunner) getInstrumentation()).getArguments(); in setUp()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DQuietModeTest.java81 Bundle arguments = InstrumentationRegistry.getArguments(); in readParams()

123