Home
last modified time | relevance | path

Searched defs:options (Results 1 – 25 of 173) sorted by relevance

1234567

/cts/tests/app/src/android/app/cts/
DActivityOptionsTest.java28 ActivityOptions options = ActivityOptions.makeBasic(); in testActivityOptionsBundle_makeBasic() local
35 ActivityOptions options = ActivityOptions.makeBasic(); in testGetPendingIntentBackgroundActivityLaunchAllowedDefault() local
43 ActivityOptions options = ActivityOptions.makeBasic(); in testGetSetPendingIntentBackgroundActivityLaunchAllowedTrue() local
51 ActivityOptions options = ActivityOptions.makeBasic(); in testGetSetPendingIntentBackgroundActivityLaunchAllowedFalse() local
59 ActivityOptions options = ActivityOptions.makeBasic() in testGetSetPendingIntentBackgroundActivityStartModeAllowed() local
68 ActivityOptions options = ActivityOptions.makeBasic() in testGetSetPendingIntentBackgroundActivityStartModeDenied() local
77 ActivityOptions options, boolean allowed, int mode) { in checkPendingIntentBackgroundActivityStartModeBeforeAndAfterBundle()
93 ActivityOptions options = ActivityOptions.makeBasic(); in testGetPendingIntentCreatorBackgroundActivityLaunchAllowedDefault() local
101 ActivityOptions options = ActivityOptions.makeBasic() in testGetPendingIntentCreatorBackgroundActivityStartModeAllowed() local
110 ActivityOptions options = ActivityOptions.makeBasic() in testGetPendingIntentCreatorBackgroundActivityStartModeDenied() local
[all …]
DBroadcastOptionsTest.java180 BroadcastOptions options = BroadcastOptions.makeBasic(); in testGetPendingIntentBackgroundActivityLaunchAllowedDefault() local
189 BroadcastOptions options = BroadcastOptions.makeBasic(); in testGetSetPendingIntentBackgroundActivityLaunchAllowedTrue() local
198 BroadcastOptions options = BroadcastOptions.makeBasic(); in testGetSetPendingIntentBackgroundActivityLaunchAllowedFalse() local
207 BroadcastOptions options = BroadcastOptions.makeBasic() in testGetSetPendingIntentBackgroundActivityStartModeAllowed() local
217 BroadcastOptions options = BroadcastOptions.makeBasic() in testGetSetPendingIntentBackgroundActivityStartModeDenied() local
225 private void assertBroadcastSuccess(BroadcastOptions options) { in assertBroadcastSuccess()
236 private void assertBroadcastFailure(BroadcastOptions options) { in assertBroadcastFailure()
251 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testRequireCompatChange_simple() local
274 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testRequireCompatChange_enabled_success() local
281 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testRequireCompatChange_enabled_failure() local
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DExternalStorageHostTest.java194 String[] options = {AbiUtils.createAbiFlag(getAbi().getName())}; in testExternalStorageNone29() local
195 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testExternalStorageNone29() local
217 String[] options = {AbiUtils.createAbiFlag(getAbi().getName())}; in testExternalStorageRead29() local
218 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); in testExternalStorageRead29() local
240 String[] options = {AbiUtils.createAbiFlag(getAbi().getName())}; in testExternalStorageWrite() local
241 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageWrite() local
265 final String[] options = {AbiUtils.createAbiFlag(getAbi().getName())}; in testExternalStorageNoGifts() local
267 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageNoGifts() local
268 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testExternalStorageNoGifts() local
269 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); in testExternalStorageNoGifts() local
[all …]
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DVisualQueryDetectionServiceBasicTest.java216 PersistableBundle options = Helper.createFakePersistableBundleData(); in testVisualQueryDetectionService_startRecogintion_testCameraOpen() local
247 PersistableBundle options = Helper.createFakePersistableBundleData(); in testVisualQueryDetectionService_startRecogintion_noQuery() local
276 PersistableBundle options = Helper.createFakePersistableBundleData(); in testVisualQueryDetectionService_startRecogintion_attentionQueryFinishedLeave() local
312 PersistableBundle options = Helper.createFakePersistableBundleData(); in testVisualQueryDetectionService_startRecogintion_attentionQueryRejectedLeave() local
346 PersistableBundle options = Helper.createFakePersistableBundleData(); in testVisualQueryDetectionService_startRecogintion_attentionDoubleQueryFinishedLeave() local
382 PersistableBundle options = Helper.createFakePersistableBundleData(); in testVisualQueryDetectionService_startRecogintion_noAttention() local
412 PersistableBundle options = Helper.createFakePersistableBundleData(); in testVisualQueryDetectionService_startRecogintion_noQueryFinish() local
487 PersistableBundle options = Helper.createFakePersistableBundleData(); in testVisualQueryDetectionService_openFileReadOnly_success() local
519 PersistableBundle options = Helper.createFakePersistableBundleData(); in testVisualQueryDetectionService_openFileWrite_failure() local
554 PersistableBundle options = Helper.createFakePersistableBundleData(); in testVisualQueryDetectionService_openFileMultiple_success() local
/cts/tests/tests/accounts/src/android/accounts/cts/
DAbstractAuthenticatorTests.java76 Bundle options = new Bundle(); in testStartAddAccountSessionDefaultImpl() local
112 Bundle options = new Bundle(); in testStartUpdateCredentialsSessionDefaultImpl() local
150 Bundle options = new Bundle(); in testFinishSessionAndStartAddAccountSessionDefaultImpl() local
220 Bundle options = new Bundle(); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl() local
279 private void validateSystemOptions(Bundle options) { in validateSystemOptions()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapFactoryTest.java254 private Bitmap decodeOpaqueImage(int resId, BitmapFactory.Options options) { in decodeOpaqueImage()
258 private Bitmap decodeOpaqueImage(InputStream stream, BitmapFactory.Options options) { in decodeOpaqueImage()
269 BitmapFactory.Options options = new BitmapFactory.Options(); in testWebpStreamDecode() local
283 BitmapFactory.Options options = new BitmapFactory.Options(); in testWebpStreamEncode() local
301 BitmapFactory.Options options = new BitmapFactory.Options(); in testDecodeStream5() local
428 BitmapFactory.Options options = new BitmapFactory.Options(); in testDecodeReuseBasic() local
450 BitmapFactory.Options options = new BitmapFactory.Options(); in testDecodeReuseAttempt() local
464 BitmapFactory.Options options = new BitmapFactory.Options(); in testDecodeReuseRecycled() local
480 BitmapFactory.Options options = new BitmapFactory.Options(); in testDecodeReuseHardware() local
507 BitmapFactory.Options options = new BitmapFactory.Options(); in decodeResourceWithReuse() local
[all …]
/cts/tests/tests/appenumeration/app/target/src/android/appenumeration/testapp/
DMockAuthenticatorService.java54 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount()
61 Bundle options) throws NetworkErrorException { in confirmCredentials()
67 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken()
78 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0685/src/android/security/cts/CVE_2021_0685/
DPocAuthService.java41 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount()
57 Bundle options) throws NetworkErrorException { in confirmCredentials()
63 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken()
74 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAccountAuthenticator.java64 Bundle options) throws NetworkErrorException { in addAccount()
110 Bundle options) throws NetworkErrorException { in confirmCredentials()
157 Bundle options) throws NetworkErrorException { in getAuthToken()
221 Bundle options) throws NetworkErrorException { in updateCredentials()
315 Bundle options) throws NetworkErrorException { in startAddAccountSession()
362 Bundle options) in startUpdateCredentialsSession()
395 private void fillDefaultError(Bundle result, Bundle options) { in fillDefaultError()
DTestDefaultAuthenticator.java56 Bundle options) throws NetworkErrorException { in addAccount()
81 Bundle options) throws NetworkErrorException { in confirmCredentials()
91 Bundle options) throws NetworkErrorException { in getAuthToken()
107 Bundle options) throws NetworkErrorException { in updateCredentials()
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/
DSyncAdapterSettingsAuthenticator.java54 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount()
66 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials()
72 Bundle options) throws NetworkErrorException { in confirmCredentials()
78 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken()
/cts/hostsidetests/compilation/src/android/compilation/cts/
DCompilationTest.java61 var options = new DeviceTestRunOptions(STATUS_CHECKER_PKG) in testCompile() local
126 var options = new DeviceTestRunOptions(STATUS_CHECKER_PKG) in testCompileSecondaryDex() local
154 var options = new DeviceTestRunOptions(STATUS_CHECKER_PKG) in testGetDexFileOutputPaths() local
/cts/tests/framework/base/windowmanager/backgroundactivity/AppB/src/android/server/wm/backgroundactivity/appb/
DStartPendingIntentReceiver.java51 ActivityOptions options = ActivityOptions.makeBasic(); in onReceive() local
58 ActivityOptions options = ActivityOptions.makeBasic(); in onReceive() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2020-0338/src/android/security/cts/CVE_2020_0338/
DPocAuthenticator.java56 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount()
73 Bundle options) throws NetworkErrorException { in confirmCredentials()
79 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken()
90 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials()
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/CloneProfileAppWithLaunchableActivity/src/com/android/cts/launchable/cloneprofile/contacts/app/
DTestAccountAuthenticator.java50 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount()
57 Bundle options) throws NetworkErrorException { in confirmCredentials()
65 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken()
76 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials()
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/
DMockAccountAuthenticator.java50 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount()
62 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials()
68 Bundle options) throws NetworkErrorException { in confirmCredentials()
77 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0921/src/android/security/cts/CVE_2021_0921/
DAuthenticator.java95 String authTokenType, Bundle options) { in getAuthToken()
101 String authTokenType, String[] requiredFeatures, Bundle options) { in addAccount()
144 …Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) { in confirmCredentials()
149 …als(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) { in updateCredentials()
/cts/tests/tests/content/src/android/content/cts/
DMockAccountAuthenticator.java51 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount()
63 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials()
69 Bundle options) throws NetworkErrorException { in confirmCredentials()
78 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken()
/cts/hostsidetests/securitybulletin/test-apps/launchanywhere/src/com/android/security/cts/launchanywhere/
DAuthenticator.java107 Account account, String authTokenType, Bundle options) { in getAuthToken()
114 Bundle options) { in addAccount()
164 AccountAuthenticatorResponse response, Account account, Bundle options) { in confirmCredentials()
170 Account account, String authTokenType, Bundle options) { in updateCredentials()
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsAuthenticator.java105 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount()
117 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials()
123 Bundle options) throws NetworkErrorException { in confirmCredentials()
129 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/
DConfirmCredentialsTx.java25 public final Bundle options; field in ConfirmCredentialsTx
36 Bundle options, in ConfirmCredentialsTx()
DStartUpdateCredentialsSessionTx.java26 public final Bundle options; field in StartUpdateCredentialsSessionTx
37 Bundle options) { in StartUpdateCredentialsSessionTx()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DBroadcastResponseStatsTest.java180 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testBroadcastOptions_noPermission() local
273 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testBroadcastResponseStats_broadcastDispatchedCount() local
337 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testBroadcastResponseStats_notificationPostedCount() local
422 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testBroadcastResponseStats_notificationUpdatedCount() local
505 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testBroadcastResponseStats_notificationCancelledCount() local
579 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testBroadcastResponseStats_multipleEvents() local
707 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testBroadcastResponseStats_clearCounts() local
809 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testBroadcastResponseStats_changeResponseWindowDuration() local
903 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testBroadcastResponseStats_appNotInForeground() local
1020 final BroadcastOptions options = BroadcastOptions.makeBasic(); in testBroadcastResponseStats_multiplePackages() local
[all …]
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DStatsdAuthenticator.java96 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount()
108 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials()
114 Bundle options) throws NetworkErrorException { in confirmCredentials()
120 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsAuthenticator.java97 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount()
109 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials()
115 Bundle options) throws NetworkErrorException { in confirmCredentials()
121 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken()

1234567