/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactoryTest.java | 193 BitmapFactory.Options options = new BitmapFactory.Options(); in testDecodeStream4() local 195 options.inPreferredConfig = COLOR_CONFIGS[k]; in testDecodeStream4() 200 Bitmap bPng = BitmapFactory.decodeStream(iStreamPng, null, options); in testDecodeStream4() 207 Bitmap bWebp1 = BitmapFactory.decodeStream(iStreamWebp1, null, options); in testDecodeStream4() 218 Bitmap bWebp2 = BitmapFactory.decodeStream(iStreamWebp2, null, options); in testDecodeStream4() 227 BitmapFactory.Options options = new BitmapFactory.Options(); in testDecodeStream5() local 229 options.inPreferredConfig = COLOR_CONFIGS_RGBA[k]; in testDecodeStream5() 234 Bitmap bPng = BitmapFactory.decodeStream(iStreamPng, null, options); in testDecodeStream5() 242 Bitmap bWebP1 = BitmapFactory.decodeStream(iStreamWebP1, null, options); in testDecodeStream5() 254 Bitmap bWebP2 = BitmapFactory.decodeStream(iStreamWebp2, null, options); in testDecodeStream5() [all …]
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
D | TestAccountAuthenticator.java | 60 Bundle options) throws NetworkErrorException { in addAccount() argument 66 if (options != null) { in addAccount() 67 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in addAccount() 68 isCallbackRequired = options.getBoolean(Fixtures.KEY_CALLBACK_REQUIRED, false); in addAccount() 72 new AddAccountTx(accountType, authTokenType, requiredFeatures, options, result)); in addAccount() 92 if (options != null) { in addAccount() 93 errorCode = options.getInt(AccountManager.KEY_ERROR_CODE); in addAccount() 94 errorMsg = options.getString(AccountManager.KEY_ERROR_MESSAGE); in addAccount() 113 Bundle options) throws NetworkErrorException { in confirmCredentials() argument 119 new ConfirmCredentialsTx(account, options, result)); in confirmCredentials() [all …]
|
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/ |
D | AppSecurityTests.java | 119 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; in testSharedUidDifferentCerts() local 121 false, options); in testSharedUidDifferentCerts() 125 false, options); in testSharedUidDifferentCerts() 145 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; in testAppUpgradeDifferentCerts() local 147 false, options); in testAppUpgradeDifferentCerts() 151 true /* reinstall */, options); in testAppUpgradeDifferentCerts() 170 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; in testAppFailAccessPrivateData() local 172 false, options); in testAppFailAccessPrivateData() 179 false, options); in testAppFailAccessPrivateData() 199 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; in testUninstallRemovesData() local [all …]
|
D | ExternalStorageHostTest.java | 94 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; in testExternalStorageNone() local 95 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testExternalStorageNone() local 118 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; in testExternalStorageRead() local 119 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); in testExternalStorageRead() local 142 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; in testExternalStorageWrite() local 143 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageWrite() local 167 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; in testExternalStorageGifts() local 168 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testExternalStorageGifts() local 169 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); in testExternalStorageGifts() local 170 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageGifts() local [all …]
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
D | ConfirmCredentialsTx.java | 25 public final Bundle options; field in ConfirmCredentialsTx 30 options = in.readBundle(); in ConfirmCredentialsTx() 36 Bundle options, in ConfirmCredentialsTx() argument 39 this.options = options; in ConfirmCredentialsTx() 51 out.writeBundle(options); in writeToParcel()
|
D | GetAuthTokenTx.java | 26 public final Bundle options; field in GetAuthTokenTx 32 options = in.readBundle(); in GetAuthTokenTx() 39 Bundle options, in GetAuthTokenTx() argument 43 this.options = options; in GetAuthTokenTx() 56 out.writeBundle(options); in writeToParcel()
|
D | UpdateCredentialsTx.java | 26 public final Bundle options; field in UpdateCredentialsTx 32 options = in.readBundle(); in UpdateCredentialsTx() 39 Bundle options, in UpdateCredentialsTx() argument 43 this.options = options; in UpdateCredentialsTx() 56 out.writeBundle(options); in writeToParcel()
|
D | AddAccountTx.java | 29 public final Bundle options; field in AddAccountTx 36 options = in.readBundle(); in AddAccountTx() 44 Bundle options, in AddAccountTx() argument 53 this.options = options; in AddAccountTx() 67 out.writeBundle(options); in writeToParcel()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | WidgetTestUtils.java | 119 BitmapFactory.Options options = new BitmapFactory.Options(); in getUnscaledBitmap() local 120 options.inScaled = false; in getUnscaledBitmap() 121 return BitmapFactory.decodeResource(resources, resId, options); in getUnscaledBitmap() 132 BitmapFactory.Options options = new BitmapFactory.Options(); in getUnscaledAndDitheredBitmap() local 133 options.inDither = true; in getUnscaledAndDitheredBitmap() 134 options.inScaled = false; in getUnscaledAndDitheredBitmap() 135 options.inPreferredConfig = config; in getUnscaledAndDitheredBitmap() 136 return BitmapFactory.decodeResource(resources, resId, options); in getUnscaledAndDitheredBitmap()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/ |
D | bootstrap-collapse.js | 29 var Collapse = function (element, options) { argument 31 this.options = $.extend({}, $.fn.collapse.defaults, options) 33 if (this.options.parent) { 34 this.$parent = $(this.options.parent) 37 this.options.toggle && this.toggle() 130 , options = typeof option == 'object' && option 131 if (!data) $this.data('collapse', (data = new Collapse(this, options)))
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | MockAccountAuthenticator.java | 147 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount() argument 153 this.mOptionsAddAccount = options; in addAccount() 164 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials() argument 168 this.mOptionsUpdateCredentials = options; in updateCredentials() 189 Bundle options) throws NetworkErrorException { in confirmCredentials() argument 192 this.mOptionsConfirmCredentials = options; in confirmCredentials() 194 if (options.containsKey(KEY_RETURN_INTENT)) { in confirmCredentials() 213 Bundle options) throws NetworkErrorException { in getAuthToken() argument 219 this.mOptionsGetAuthToken = options; in getAuthToken()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | MockAccountAuthenticator.java | 49 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount() argument 61 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials() argument 67 Bundle options) throws NetworkErrorException { in confirmCredentials() argument 76 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken() argument
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockAccountAuthenticator.java | 51 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount() argument 63 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials() argument 69 Bundle options) throws NetworkErrorException { in confirmCredentials() argument 78 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken() argument
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
D | StaticAccountAuthenticator.java | 64 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount() argument 71 Bundle options) throws NetworkErrorException { in confirmCredentials() argument 79 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken() argument 90 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials() argument
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | WrappedGTest.java | 95 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; in installTest() local 96 String installCode = mDevice.installPackage(testApp, true, options); in installTest() 116 String options = mAbi == null ? "" : String.format("--abi %s ", mAbi.getName()); in runTest() local 117 … String command = String.format("am instrument -w %s%s/.%s", options, mAppNameSpace, mRunner); in runTest()
|
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/ |
D | Utils.java | 82 public static final String toOptionsString(Option[] options) { in toOptionsString() argument 85 for (int i = 0; i < options.length; i++) { in toOptionsString() 89 sb.append(options[i].getLabel()); in toOptionsString()
|
/cts/suite/cts/hostTests/jank/src/com/android/cts/jank/opengl/ |
D | CtsHostJankOpenGl.java | 39 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; in setUp() local 40 mDevice.installPackage(app, false, options); in setUp()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | JillBuildStep.java | 49 Options options = Main.getOptions(commandLine); in build() local 50 Jill.process(options); in build()
|
D | JackDexBuildStep.java | 63 Options options = Main.parseCommandLine(commandLine); in build() local 64 Jack.checkAndRun(options); in build()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/ |
D | WidgetCtsProvider.java | 98 Bundle options = getAppWidgetOptions(mgr, widgetId); in onReceive() local 99 updateWidget(ctx, widgetId, mgr, options); in onReceive() 162 private TextData getInstruction(int state, Bundle options, int widgetId) { in getInstruction() argument 175 if (options != null) { in getInstruction() 176 widthP = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH, -1); in getInstruction() 177 heightP = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT, -1); in getInstruction() 178 widthL = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_WIDTH, -1); in getInstruction() 179 heightL = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT, -1); in getInstruction() 180 category = options.getInt(AppWidgetManager.OPTION_APPWIDGET_HOST_CATEGORY, -1); in getInstruction()
|
/cts/tools/cts-java-scanner/src/com/android/cts/javascanner/ |
D | DocletRunner.java | 117 private String join(List<String> options, String delimiter) { in join() argument 119 int numOptions = options.size(); in join() 121 builder.append(options.get(i)); in join()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | raytrace.js | 607 initialize: function(options){ argument 608 this.options = Object.extend({ 618 }, options || {}); 620 this.options.canvasHeight /= this.options.pixelHeight; 621 this.options.canvasWidth /= this.options.pixelWidth; 628 pxW = this.options.pixelWidth; 629 pxH = this.options.pixelHeight; 651 var canvasHeight = this.options.canvasHeight; 652 var canvasWidth = this.options.canvasWidth; 724 if(this.options.renderDiffuse){ [all …]
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ActivityManagerTest.java | 398 ActivityOptions options = ActivityOptions.makeBasic(); in testTimeTrackingAPI_SimpleStartExit() local 400 options.requestUsageTimeReport(PendingIntent.getBroadcast(context, in testTimeTrackingAPI_SimpleStartExit() 410 mContext.startActivity(intent, options.toBundle()); in testTimeTrackingAPI_SimpleStartExit() 445 ActivityOptions options = ActivityOptions.makeBasic(); in testTimeTrackingAPI_SwitchAwayTriggers() local 447 options.requestUsageTimeReport(PendingIntent.getBroadcast(context, in testTimeTrackingAPI_SwitchAwayTriggers() 458 mContext.startActivity(intent, options.toBundle()); in testTimeTrackingAPI_SwitchAwayTriggers() 493 ActivityOptions options = ActivityOptions.makeBasic(); in testTimeTrackingAPI_ChainedActivityExit() local 495 options.requestUsageTimeReport(PendingIntent.getBroadcast(context, in testTimeTrackingAPI_ChainedActivityExit() 506 mContext.startActivity(intent, options.toBundle()); in testTimeTrackingAPI_ChainedActivityExit()
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
D | AbstractMonkeyTest.java | 43 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; in setUp() local 47 mDevice.installPackage(app, false, options); in setUp()
|
/cts/tests/tests/location/ |
D | README.txt | 2 Note you must enable "Allow mock locations" at Settings > Developer options.
|