Home
last modified time | relevance | path

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

123

/cts/tests/tests/print/src/android/print/cts/
DPrintDocumentAdapterContractTest.java90 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in noPrintOptionsOrPrinterChange()
91 … LayoutResultCallback callback = (LayoutResultCallback) invocation.getArguments()[3]; in noPrintOptionsOrPrinterChange()
101 Object[] args = invocation.getArguments(); in noPrintOptionsOrPrinterChange()
254 (PrintAttributes) invocation.getArguments()[1]; in nonCallingBackWrite()
257 .getArguments()[3]; in nonCallingBackWrite()
268 Object[] args = invocation.getArguments(); in nonCallingBackWrite()
325 (PrintAttributes) invocation.getArguments()[1]; in nonChangePrinterWhileNotWritten()
328 .getArguments()[3]; in nonChangePrinterWhileNotWritten()
339 Object[] args = invocation.getArguments(); in nonChangePrinterWhileNotWritten()
397 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in printOptionsChangeAndNoPrinterChange()
[all …]
DPageRangeAdjustmentTest.java79 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in setDefaultPrinter()
104 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in allPagesWantedAndAllPagesWritten()
152 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in somePagesWantedAndAllPagesWritten()
171 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in somePagesWantedAndAllPagesWritten()
172 … LayoutResultCallback callback = (LayoutResultCallback) invocation.getArguments()[3]; in somePagesWantedAndAllPagesWritten()
182 Object[] args = invocation.getArguments(); in somePagesWantedAndAllPagesWritten()
240 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in somePagesWantedAndSomeMorePagesWritten()
262 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in somePagesWantedAndSomeMorePagesWritten()
263 … LayoutResultCallback callback = (LayoutResultCallback) invocation.getArguments()[3]; in somePagesWantedAndSomeMorePagesWritten()
273 Object[] args = invocation.getArguments(); in somePagesWantedAndSomeMorePagesWritten()
[all …]
DPrintDocumentInfoTest.java110 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in printDocumentBaseTest()
127 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in printDocumentBaseTest()
129 .getArguments()[3]; in printDocumentBaseTest()
133 Object[] args = invocation.getArguments(); in printDocumentBaseTest()
324 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in createFirstMockPrintServiceCallbacks()
DPageRangeAdjustAndVerify.java89 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in setDefaultPrinter()
191 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in adjustPageRangeAndVerifyPages()
270 invocation.getArguments()[1]); in adjustPageRangeAndVerifyPages()
272 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in adjustPageRangeAndVerifyPages()
280 ((PrintDocumentAdapter.LayoutResultCallback) invocation.getArguments()[3]) in adjustPageRangeAndVerifyPages()
287 Object[] args = invocation.getArguments(); in adjustPageRangeAndVerifyPages()
DPrintServicesTest.java146 .getArguments()[2]; in createMockPrinterDiscoverySessionCallbacks()
245 sPrintJob = (PrintJob) invocation.getArguments()[0]; in createMockPrinterServiceCallbacks()
251 sPrintJob = (PrintJob) invocation.getArguments()[0]; in createMockPrinterServiceCallbacks()
622 ((PrinterId) invocation.getArguments()[0]).getLocalId());
630 ((PrinterId) invocation.getArguments()[0]).getLocalId());
DPrintAttributesTest.java230 mLayoutAttributes = (PrintAttributes) invocation.getArguments()[1]; in createMockPrintDocumentAdapter()
232 (LayoutResultCallback) invocation.getArguments()[3]; in createMockPrintDocumentAdapter()
242 Object[] args = invocation.getArguments(); in createMockPrintDocumentAdapter()
286 PrintJob printJob = (PrintJob) invocation.getArguments()[0];
DPrinterCapabilitiesChangeTest.java186 .getArguments()[3]; in setUpPrinting()
193 mLayoutAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in setUpPrinting()
201 Object[] args = invocation.getArguments(); in setUpPrinting()
DInteractionBetweenPrintDocumentAndPrinterDiscovery.java124 Object[] args = invocation.getArguments(); in printerReappearsWhileCanceling()
134 Object[] args = invocation.getArguments(); in printerReappearsWhileCanceling()
DCustomPrintOptionsTest.java162 .getArguments()[3]; in setUpServicesAndAdapter()
169 mLayoutAttributes = (PrintAttributes) invocation.getArguments()[1]; in setUpServicesAndAdapter()
178 Object[] args = invocation.getArguments(); in setUpServicesAndAdapter()
DPrinterDiscoverySessionLifecycleTest.java266 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in normalLifecycle()
374 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in cancelPrintServicesAlertDialog()
464 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in startPrinterDiscoveryWithHistoricalPrinters()
697 PrinterId trackedPrinterId = (PrinterId) invocation.getArguments()[0]; in createFirstMockPrinterDiscoverySessionCallbacks()
DPrinterCapabilitiesTest.java357 .getArguments()[3]; in testPrinterCapabilityInfo()
361 layoutAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in testPrinterCapabilityInfo()
367 Object[] args = invocation.getArguments(); in testPrinterCapabilityInfo()
DInterfaceForAppsTest.java116 .getArguments()[0]; in createFirstMockPrinterServiceCallbacks()
152 .getArguments()[0]; in createFirstMockPrinterServiceCallbacks()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java157 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in editorMatcher()
174 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo");
202 ImeCommand.fromBundle(event.getArguments().getBundle("command"));
288 final InputBinding binding = event.getArguments().getParcelable("binding");
320 lastLayout = ImeLayoutInfo.readFromBundle(event.get().getArguments());
/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.java74 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in editorMatcher()
84 final int flags = event.getArguments().getInt("flags");
98 final boolean finishingInput = event.getArguments().getBoolean("finishingInput");
DFocusHandlingTest.java121 assertFalse(stream.dump(), onStart.getArguments().getBoolean("restarting")); in testOnStartInputCalledOnceIme()
304 if (!event.getArguments().getBoolean("restarting")) { in testFocusableWindowDoesNotInvalidateExistingInputConnection()
307 final EditorInfo editorInfo = event.getArguments().getParcelable("editorInfo"); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/
DMediaBitstreamsDeviceSideTest.java73 private static String mDeviceBitstreamsPath = InstrumentationRegistry.getArguments().getString(
79 Bundle args = InstrumentationRegistry.getArguments(); in setUp()
181 Bundle args = InstrumentationRegistry.getArguments(); in run()
225 Bundle args = InstrumentationRegistry.getArguments(); in setup()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDevicePolicyLoggingTest.java156 InstrumentationRegistry.getArguments().getString(PARAM_APP_TO_ENABLE); in testEnableSystemAppLogged()
162 InstrumentationRegistry.getArguments().getString(PARAM_APP_TO_ENABLE); in testEnableSystemAppWithIntentLogged()
DStorageEncryptionTest.java55 InstrumentationRegistry.getArguments().getString(IS_PRIMARY_USER_PARAM)); in setUp()
/cts/tests/media/src/android/mediav2/cts/
DWorkDir.java37 android.os.Bundle bundle = InstrumentationRegistry.getArguments(); in getMediaDirString()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DWorkDir.java42 Bundle bundle = InstrumentationRegistry.getArguments(); in getMediaDirString()
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
DBaseNumberBlockingClientTest.java41 Bundle arguments = InstrumentationRegistry.getArguments(); in setUp()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DGeneralDelegateTest.java44 Bundle arguments = InstrumentationRegistry.getArguments(); in testGetsExpectedDelegationScopes()
/cts/hostsidetests/devicepolicy/app/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/
DCrossProfileAppsNonTargetUserTest.java55 Bundle arguments = InstrumentationRegistry.getArguments(); in readTargetUser()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/
DPhaseStartFragment.java58 mPhase = (TestActivity.CTSTest) getArguments().getSerializable(ARG_PHASE); in onCreateView()

123