/cts/hostsidetests/services/activitymanager/app/src/android/server/app/ |
H A D | AlwaysFocusablePipActivity.java | 33 final ActivityOptions options = ActivityOptions.makeBasic(); 34 options.setLaunchBounds(new Rect(0, 0, 500, 500)); 35 options.setLaunchStackId(4 /* ActivityManager.StackId.PINNED_STACK_ID */); 36 caller.startActivity(intent, options.toBundle());
|
H A D | FreeformActivity.java | 35 final ActivityOptions options = ActivityOptions.makeBasic(); 36 options.setLaunchBounds(new Rect(0, 0, 500, 500)); 37 this.startActivity(intent, options.toBundle());
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
H A D | RenderScriptTask.java | 32 * {@code DepthOfFieldOptions options;} 34 * {@code Bitmap result = renderScriptTask.applyRefocusFilter(options);} 92 * @param options an object contains color image, depth map, focal depth, and 96 public Bitmap applyRefocusFilter(DepthOfFieldOptions options) { argument 100 prepareRefocusFilter(options); 128 * @param options an object contains color image, depth map, focal depth, and 131 private void prepareRefocusFilter(DepthOfFieldOptions options) { argument 133 options.rgbz.getDepthTransform(), options.focalDepth, 134 options [all...] |
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
H A D | AddAccountTx.java | 29 public final Bundle options; field in class:AddAccountTx 36 options = in.readBundle(); 44 Bundle options, 53 this.options = options; 67 out.writeBundle(options); 40 AddAccountTx( String accountType, String authTokenType, String[] requiredFeatures, Bundle options, Bundle result) argument
|
H A D | ConfirmCredentialsTx.java | 25 public final Bundle options; field in class:ConfirmCredentialsTx 30 options = in.readBundle(); 36 Bundle options, 39 this.options = options; 51 out.writeBundle(options); 34 ConfirmCredentialsTx( Account account, Bundle options, Bundle result) argument
|
H A D | GetAuthTokenTx.java | 26 public final Bundle options; field in class:GetAuthTokenTx 32 options = in.readBundle(); 39 Bundle options, 43 this.options = options; 56 out.writeBundle(options); 36 GetAuthTokenTx( Account account, String authTokenType, Bundle options, Bundle result) argument
|
H A D | UpdateCredentialsTx.java | 26 public final Bundle options; field in class:UpdateCredentialsTx 32 options = in.readBundle(); 39 Bundle options, 43 this.options = options; 56 out.writeBundle(options); 36 UpdateCredentialsTx( Account account, String authTokenType, Bundle options, Bundle result) argument
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
H A D | BitmapFactoryTest.java | 192 BitmapFactory.Options options = new BitmapFactory.Options(); 194 options.inPreferredConfig = COLOR_CONFIGS[k]; 199 Bitmap bPng = BitmapFactory.decodeStream(iStreamPng, null, options); 206 Bitmap bWebp1 = BitmapFactory.decodeStream(iStreamWebp1, null, options); 217 Bitmap bWebp2 = BitmapFactory.decodeStream(iStreamWebp2, null, options); 226 BitmapFactory.Options options = new BitmapFactory.Options(); 228 options.inPreferredConfig = COLOR_CONFIGS_RGBA[k]; 233 Bitmap bPng = BitmapFactory.decodeStream(iStreamPng, null, options); 241 Bitmap bWebP1 = BitmapFactory.decodeStream(iStreamWebP1, null, options); 253 Bitmap bWebP2 = BitmapFactory.decodeStream(iStreamWebp2, null, options); [all...] |
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
H A D | AppSecurityTests.java | 119 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; 121 false, options); 125 false, options); 146 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; 148 false, options); 152 true /* reinstall */, options); 172 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; 174 false, options); 181 false, options); 201 String[] options [all...] |
H A D | ExternalStorageHostTest.java | 94 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; 95 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); 118 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; 119 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); 142 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; 143 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); 167 final String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; 171 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); 176 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); 177 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); [all...] |
/cts/libs/deviceutil/src/android/cts/util/ |
H A D | WidgetTestUtils.java | 119 BitmapFactory.Options options = new BitmapFactory.Options(); 120 options.inScaled = false; 121 return BitmapFactory.decodeResource(resources, resId, options); 132 BitmapFactory.Options options = new BitmapFactory.Options(); 133 options.inDither = true; 134 options.inScaled = false; 135 options.inPreferredConfig = config; 136 return BitmapFactory.decodeResource(resources, resId, options);
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
H A D | TestAccountAuthenticator.java | 60 Bundle options) throws NetworkErrorException { 66 if (options != null) { 67 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); 68 isCallbackRequired = options.getBoolean(Fixtures.KEY_CALLBACK_REQUIRED, false); 72 new AddAccountTx(accountType, authTokenType, requiredFeatures, options, result)); 92 if (options != null) { 93 errorCode = options.getInt(AccountManager.KEY_ERROR_CODE); 94 errorMsg = options.getString(AccountManager.KEY_ERROR_MESSAGE); 113 Bundle options) throws NetworkErrorException { 119 new ConfirmCredentialsTx(account, options, resul 55 addAccount( AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument 110 confirmCredentials( AccountAuthenticatorResponse response, Account account, Bundle options) argument 164 getAuthToken( AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 235 updateCredentials( AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument [all...] |
/cts/hostsidetests/devicepolicy/app/VpnApp/src/com/android/cts/vpnfirewall/ |
H A D | Ipv4Packet.java | 39 byte[] options; field in class:Ipv4Packet 67 options = new byte[headerLength - HEADER_MIN_LENGTH]; 68 stream.read(options, 0, options.length); 86 options = newOptions; 87 headerLength = HEADER_MIN_LENGTH + options.length; 111 stream.write(options, 0, options.length); 138 for (int i = 0 ; i < options.length; i++) { 142 out.append(String.format(" %02X", options[ [all...] |
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
H A D | MockAccountAuthenticator.java | 51 String authTokenType, String[] requiredFeatures, Bundle options) 63 String authTokenType, Bundle options) throws NetworkErrorException { 69 Bundle options) throws NetworkErrorException { 78 String authTokenType, Bundle options) throws NetworkErrorException { 50 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument 62 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 68 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument 77 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
H A D | AccountAuthenticator.java | 49 String authTokenType, String[] requiredFeatures, Bundle options) 61 String authTokenType, Bundle options) throws NetworkErrorException { 67 Bundle options) throws NetworkErrorException { 76 String authTokenType, Bundle options) throws NetworkErrorException { 48 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument 60 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 66 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument 75 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
|
/cts/tests/tests/content/src/android/content/cts/ |
H A D | MockAccountAuthenticator.java | 51 String authTokenType, String[] requiredFeatures, Bundle options) 63 String authTokenType, Bundle options) throws NetworkErrorException { 69 Bundle options) throws NetworkErrorException { 78 String authTokenType, Bundle options) throws NetworkErrorException { 50 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument 62 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 68 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument 77 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
H A D | StaticAccountAuthenticator.java | 64 String authTokenType, String[] requiredFeatures, Bundle options) 71 Bundle options) throws NetworkErrorException { 79 String authTokenType, Bundle options) throws NetworkErrorException { 90 String authTokenType, Bundle options) throws NetworkErrorException { 63 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument 70 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument 78 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 89 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
H A D | ByodPresentMediaDialog.java | 91 private int calculateInSampleSize(BitmapFactory.Options options, int reqWidth, int reqHeight){ argument 93 final int height = options.outHeight; 94 final int width = options.outWidth; 147 BitmapFactory.Options options = new BitmapFactory.Options(); 148 options.inJustDecodeBounds = true; 149 BitmapFactory.decodeStream(input, null, options); 156 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); 158 options.inJustDecodeBounds = false; 161 scaled = BitmapFactory.decodeStream(input, null, options); [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
H A D | MediaBrowserTest.java | 126 Bundle options = new Bundle(); 127 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); 130 options.putInt(MediaBrowser.EXTRA_PAGE, page); 131 mMediaBrowser.subscribe(StubMediaBrowserService.MEDIA_ID_ROOT, options, 177 Bundle options = new Bundle(); 178 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); 179 options.putInt(MediaBrowser.EXTRA_PAGE, page); 180 mMediaBrowser.subscribe(StubMediaBrowserService.MEDIA_ID_INVALID, options, 305 Bundle options) { 308 mLastOptions = options; 304 onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children, Bundle options) argument 318 onError(String id, Bundle options) argument [all...] |
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/ |
H A D | Utils.java | 85 public static final String toOptionsString(Option[] options) { argument 88 for (int i = 0; i < options.length; i++) { 92 sb.append(options[i].getLabel());
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
H A D | MockAccountAuthenticator.java | 148 String authTokenType, String[] requiredFeatures, Bundle options) 154 this.mOptionsAddAccount = options; 165 String authTokenType, Bundle options) throws NetworkErrorException { 169 this.mOptionsUpdateCredentials = options; 190 Bundle options) throws NetworkErrorException { 193 this.mOptionsConfirmCredentials = options; 195 if (options.containsKey(KEY_RETURN_INTENT)) { 214 Bundle options) throws NetworkErrorException { 220 this.mOptionsGetAuthToken = options; 147 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument 164 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 189 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument 210 getAuthToken( AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
|
/cts/hostsidetests/abioverride/src/android/abioverride/cts/ |
H A D | AbiOverrideTest.java | 76 String[] options = {}; 77 device.installPackage(app, false, options);
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/ |
H A D | OptionHelper.java | 64 Set<String> options = new HashSet<String>(); 69 options.add(option.name()); 71 return options; 95 * command-line options for the given {@link Object} from the given 121 // add substrings only when the options are recognized
|
/cts/tools/cts-java-scanner/src/com/android/cts/javascanner/ |
H A D | DocletRunner.java | 117 private String join(List<String> options, String delimiter) { argument 119 int numOptions = options.size(); 121 builder.append(options.get(i));
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
H A D | WrappedGTest.java | 95 String[] options = {AbiUtils.createAbiFlag(mAbi.getName())}; 96 String installCode = mDevice.installPackage(testApp, true, options); 116 String options = mAbi == null ? "" : String.format("--abi %s ", mAbi.getName()); 117 String command = String.format("am instrument -w %s%s/.%s", options, mAppNameSpace, mRunner);
|