Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 25 of 51) sorted by relevance

123

/packages/modules/Bluetooth/system/gd/dumpsys/bundler/
Dbundler.cc34 struct Opts opts; variable
110 if (opts.verbose) { in CreateBinarySchemaBundle()
127 std::string ns_string(opts.ns_name); in WriteHeaderFile()
180 const char* filename = opts.filename; in ReadBundledSchema()
202 const char* filename = opts.filename; in WriteBundledSchema()
205 const char* main_root_name = opts.main_root_name; in WriteBundledSchema()
212 for (int i = 0; i < opts.arg.c; i++) { in WriteBundledSchema()
213 bfbs_filenames.push_back(std::string(opts.arg.v[i])); in WriteBundledSchema()
238 const char* title = opts.title; in WriteBundledSchema()
242 std::string final_filename(opts.gen); in WriteBundledSchema()
[all …]
Dmain.cc21 if (opts.read) { in main()
24 if (opts.write) { in main()
Dbundler.h40 extern Opts opts;
/packages/apps/Camera2/src/com/android/camera/data/
DPhotoDataFactory.java95 BitmapFactory.Options opts = new BitmapFactory.Options(); in decodeBitmapDimensions() local
96 opts.inJustDecodeBounds = true; in decodeBitmapDimensions()
97 BitmapFactory.decodeFile(filePath, opts); in decodeBitmapDimensions()
98 if (opts.outWidth > 0 && opts.outHeight > 0) { in decodeBitmapDimensions()
99 width = opts.outWidth; in decodeBitmapDimensions()
100 height = opts.outHeight; in decodeBitmapDimensions()
DFilmstripItemUtils.java128 BitmapFactory.Options opts = new BitmapFactory.Options(); in loadImageThumbnailFromStream() local
129 opts.inSampleSize = sampleSize; in loadImageThumbnailFromStream()
130 opts.inTempStorage = decodeBuffer; in loadImageThumbnailFromStream()
131 Bitmap b = BitmapFactory.decodeStream(stream, null, opts); in loadImageThumbnailFromStream()
/packages/apps/Messaging/tools/
Dbuglesql20 opts='-column -header'
26 opts='-column -header'
30 opts='-line'
43 adb shell su -c sqlite3 $opts data/data/com.android.messaging/databases/bugle_db "$1"
Dmmssql20 opts='-column -header'
26 opts='-column -header'
30 opts='-line'
43 adb shell su -c sqlite3 $opts data/data/com.android.providers.telephony/databases/mmssms.db "$1"
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/utils/
DMockContentProviderWrapper.kt45 opts: Bundle?, in openTypedAssetFile()
48 return provider.openTypedAssetFile(uri, mimetype, opts, cancellationSignal) in openTypedAssetFile()
55 opts: Bundle?, in openTypedAssetFile()
57 return provider.openTypedAssetFile(uri, mimeType, opts) in openTypedAssetFile()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/glide/
DPickerThumbnailFetcher.java68 final Bundle opts = new Bundle(); in loadData() local
69 opts.putParcelable(ContentResolver.EXTRA_SIZE, new Point(mWidth, mHeight)); in loadData()
70 opts.putBoolean(CloudMediaProviderContract.EXTRA_PREVIEW_THUMBNAIL, true); in loadData()
73 opts.putBoolean(CloudMediaProviderContract.EXTRA_MEDIASTORE_THUMB, true); in loadData()
84 opts, in loadData()
/packages/apps/DevCamera/src/com/android/devcamera/
DBitmapUtility.java34 BitmapFactory.Options opts = new BitmapFactory.Options(); in bitmapFromJpeg() local
35 opts.inSampleSize = 16; // 3264 / 16 = 204. in bitmapFromJpeg()
36 opts.inTempStorage = decodeBuffer; in bitmapFromJpeg()
37 Bitmap b = BitmapFactory.decodeByteArray(data, 0, data.length, opts); in bitmapFromJpeg()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DPictureDecoder.java36 final BitmapFactory.Options opts = new BitmapFactory.Options(); in decode() local
37 opts.inSampleSize = downSampleFactor; in decode()
38 final Bitmap pictureBitmap = BitmapFactory.decodeByteArray(data, 0, data.length, opts); in decode()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DForwardingContentProvider.java172 Bundle opts) { in openTypedAssetFileDescriptor() argument
174 return mClient.openTypedAssetFileDescriptor(uri, mimeType, opts); in openTypedAssetFileDescriptor()
181 Bundle opts, CancellationSignal signal) { in openTypedAssetFileDescriptor() argument
183 return mClient.openTypedAssetFileDescriptor(uri, mimeType, opts, signal); in openTypedAssetFileDescriptor()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DCloudMediaProvider.java461 @NonNull String mimeTypeFilter, @Nullable Bundle opts) throws FileNotFoundException { in openTypedAssetFile() argument
462 return openTypedAssetFile(uri, mimeTypeFilter, opts, null); in openTypedAssetFile()
474 @NonNull Uri uri, @NonNull String mimeTypeFilter, @Nullable Bundle opts, in openTypedAssetFile() argument
483 if (opts != null) { in openTypedAssetFile()
484 bundle.putBoolean(EXTRA_MEDIASTORE_THUMB, opts.getBoolean(EXTRA_MEDIASTORE_THUMB)); in openTypedAssetFile()
486 if (opts.containsKey(CloudMediaProviderContract.EXTRA_PREVIEW_THUMBNAIL)) { in openTypedAssetFile()
491 previewSize = opts.getParcelable(ContentResolver.EXTRA_SIZE); in openTypedAssetFile()
/packages/apps/Contacts/src/com/android/contacts/
DDynamicShortcuts.java387 final BitmapFactory.Options opts = new BitmapFactory.Options(); in decodeStreamForShortcut() local
388 opts.inSampleSize = sampleSize; in decodeStreamForShortcut()
390 final int scaledWidth = sourceWidth / opts.inSampleSize; in decodeStreamForShortcut()
391 final int scaledHeight = sourceHeight / opts.inSampleSize; in decodeStreamForShortcut()
401 final int prescaledXOffset = ((scaledWidth - targetSize) * opts.inSampleSize) / 2; in decodeStreamForShortcut()
402 final int prescaledYOffset = ((scaledHeight - targetSize) * opts.inSampleSize) / 2; in decodeStreamForShortcut()
407 ), opts); in decodeStreamForShortcut()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerProvider.java96 final Bundle opts = new Bundle(); in onOpenPreview() local
97 opts.putParcelable(ContentResolver.EXTRA_SIZE, size); in onOpenPreview()
108 return mMediaProvider.openTypedAssetFile(fromMediaId(mediaId), mimeTypeFilter, opts); in onOpenPreview()
/packages/apps/Launcher3/src/com/android/launcher3/qsb/
DQsbContainerView.java205 Bundle opts = createBindOptions(); in createQsb() local
223 widgetId, mWidgetInfo.getProfile(), mWidgetInfo.provider, opts); in createQsb()
241 .getAppWidgetOptions(widgetId), opts)) { in createQsb()
242 mQsb.updateAppWidgetOptions(opts); in createQsb()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialogFragment.java135 final Bundle opts = new Bundle(); in onClick() local
136 opts.putParcelable(ARG_PROFILE, profile); in onClick()
138 /* from */ wasLockdown, /* to */ shouldLockdown, opts); in onClick()
/packages/modules/Bluetooth/android/app/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapEmailProvider.java128 ParcelFileDescriptor input, Uri uri, String mimeType, Bundle opts, T args); in readDataFromPipe() argument
138 ParcelFileDescriptor input, Uri uri, String mimeType, Bundle opts, Cursor args) { in readDataFromPipe() argument
181 ParcelFileDescriptor output, Uri uri, String mimeType, Bundle opts, Cursor c) { in writeDataToPipe() argument
374 final Bundle opts, in openInversePipeHelper() argument
385 func.readDataFromPipe(fds[0], uri, mimeType, opts, args); in openInversePipeHelper()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPickerUriResolver.java155 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts, in openTypedAssetFile() argument
175 return openThumbnailFromProvider(resolver, uri, mimeTypeFilter, opts, signal); in openTypedAssetFile()
182 return resolver.openTypedAssetFile(uri, mimeTypeFilter, opts, signal); in openTypedAssetFile()
586 String mimeTypeFilter, Bundle opts, in openThumbnailFromProvider() argument
588 Bundle newOpts = opts == null ? new Bundle() : (Bundle) opts.clone(); in openThumbnailFromProvider()
DMediaDocumentsProvider.java1061 final Bundle opts = new Bundle(); in openFile() local
1062 opts.putInt(MediaStore.EXTRA_MEDIA_CAPABILITIES_UID, callingUid); in openFile()
1063 opts.putString(MediaStore.EXTRA_MODE, mode); in openFile()
1066 opts); in openFile()
1500 final Bundle opts = new Bundle(); in openOrCreateImageThumbnailCleared() local
1501 opts.putParcelable(EXTRA_SIZE, size); in openOrCreateImageThumbnailCleared()
1504 return getContext().getContentResolver().openTypedAssetFile(uri, "image/*", opts, signal); in openOrCreateImageThumbnailCleared()
1537 final Bundle opts = new Bundle(); in openOrCreateVideoThumbnailCleared() local
1538 opts.putParcelable(EXTRA_SIZE, size); in openOrCreateVideoThumbnailCleared()
1541 return getContext().getContentResolver().openTypedAssetFile(uri, "image/*", opts, signal); in openOrCreateVideoThumbnailCleared()
/packages/modules/Bluetooth/system/stack/mmc/daemon/
Dservice.cc125 dbus::Bus::Options opts; in Init() local
126 opts.bus_type = dbus::Bus::SYSTEM; in Init()
127 bus_ = new dbus::Bus(std::move(opts)); in Init()
/packages/modules/adb/daemon/
Dmain.cpp318 static struct option opts[] = { in main() local
327 int c = getopt_long(argc, argv, "", opts, &option_index); in main()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java776 SubscribeOptions opts = new SubscribeOptions(); in createVhalSubscribeOptionsLocked() local
777 opts.propId = property; in createVhalSubscribeOptionsLocked()
778 opts.sampleRate = samplingRateHz; in createVhalSubscribeOptionsLocked()
779 opts.enableVariableUpdateRate = enableVariableUpdateRate; in createVhalSubscribeOptionsLocked()
780 opts.resolution = resolution; in createVhalSubscribeOptionsLocked()
783 opts.areaIds = filteredAreaIds; in createVhalSubscribeOptionsLocked()
784 if (opts.areaIds.length == 0) { in createVhalSubscribeOptionsLocked()
797 VehiclePropertyIds.toString(opts.propId), filteredAreaIds[j], in createVhalSubscribeOptionsLocked()
802 subscribeOptionsList.add(opts); in createVhalSubscribeOptionsLocked()
/packages/modules/Bluetooth/system/btif/co/
Dbta_hh_co.cc62 int opts = fcntl(fd, F_GETFL); in uhid_set_non_blocking() local
63 if (opts < 0) log::error("Getting flags failed ({})", strerror(errno)); in uhid_set_non_blocking()
65 opts |= O_NONBLOCK; in uhid_set_non_blocking()
67 if (fcntl(fd, F_SETFL, opts) < 0) in uhid_set_non_blocking()
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/
DNaughtySuggestionProvider.java59 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) { in openTypedAssetFile() argument

123