Home
last modified time | relevance | path

Searched refs:extension (Results 1 – 25 of 127) sorted by relevance

123456

/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DExtensionFragmentListener.java40 private ExtensionFragmentListener(View view, String tag, int id, Extension<T> extension) { in ExtensionFragmentListener() argument
43 mExtension = extension; in ExtensionFragmentListener()
52 public void accept(T extension) { in accept() argument
54 Fragment.class.cast(extension); in accept()
56 mOldClass, extension.getClass().getName(), mExtension.getContext()); in accept()
57 mOldClass = extension.getClass().getName(); in accept()
59 Log.e(TAG, extension.getClass().getName() + " must be a Fragment", e); in accept()
65 Extension<T> extension) { in attachExtensonToFragment() argument
66 extension.addCallback(new ExtensionFragmentListener(view, tag, id, extension)); in attachExtensonToFragment()
/frameworks/base/core/java/android/webkit/
DMimeTypeMap.java91 public String getMimeTypeFromExtension(String extension) { in getMimeTypeFromExtension() argument
92 return MimeMap.getDefault().guessMimeTypeFromExtension(extension); in getMimeTypeFromExtension()
96 private static String mimeTypeFromExtension(String extension) { in mimeTypeFromExtension() argument
97 return MimeMap.getDefault().guessMimeTypeFromExtension(extension); in mimeTypeFromExtension()
105 public boolean hasExtension(String extension) { in hasExtension() argument
106 return MimeMap.getDefault().hasExtension(extension); in hasExtension()
147 String extension = getFileExtensionFromUrl(url); in remapGenericMimeType() local
148 String newMimeType = getMimeTypeFromExtension(extension); in remapGenericMimeType()
DURLUtil.java310 String extension = null; in guessFileName() local
351 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in guessFileName()
352 if (extension != null) { in guessFileName()
353 extension = "." + extension; in guessFileName()
356 if (extension == null) { in guessFileName()
359 extension = ".html"; in guessFileName()
361 extension = ".txt"; in guessFileName()
364 extension = ".bin"; in guessFileName()
375 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in guessFileName()
376 if (extension != null) { in guessFileName()
[all …]
/frameworks/base/core/java/android/hardware/camera2/extension/
DIImageCaptureExtenderImpl.aidl16 package android.hardware.camera2.extension;
20 import android.hardware.camera2.extension.CaptureStageImpl;
21 import android.hardware.camera2.extension.ICaptureProcessorImpl;
22 import android.hardware.camera2.extension.LatencyRange;
23 import android.hardware.camera2.extension.Size;
24 import android.hardware.camera2.extension.SizeList;
DICameraExtensionsProxyService.aidl16 package android.hardware.camera2.extension;
18 import android.hardware.camera2.extension.IAdvancedExtenderImpl;
19 import android.hardware.camera2.extension.IPreviewExtenderImpl;
20 import android.hardware.camera2.extension.IImageCaptureExtenderImpl;
21 import android.hardware.camera2.extension.IInitializeSessionCallback;
DISessionProcessorImpl.aidl16 package android.hardware.camera2.extension;
18 import android.hardware.camera2.extension.CameraSessionConfig;
19 import android.hardware.camera2.extension.ICaptureCallback;
20 import android.hardware.camera2.extension.IRequestProcessorImpl;
21 import android.hardware.camera2.extension.OutputSurface;
DIRequestProcessorImpl.aidl16 package android.hardware.camera2.extension;
18 import android.hardware.camera2.extension.IImageProcessorImpl;
19 import android.hardware.camera2.extension.IRequestCallback;
20 import android.hardware.camera2.extension.OutputConfigId;
21 import android.hardware.camera2.extension.Request;
DIAdvancedExtenderImpl.aidl16 package android.hardware.camera2.extension;
18 import android.hardware.camera2.extension.ISessionProcessorImpl;
19 import android.hardware.camera2.extension.LatencyRange;
20 import android.hardware.camera2.extension.Size;
21 import android.hardware.camera2.extension.SizeList;
DIPreviewExtenderImpl.aidl16 package android.hardware.camera2.extension;
20 import android.hardware.camera2.extension.CaptureStageImpl;
21 import android.hardware.camera2.extension.IPreviewImageProcessorImpl;
22 import android.hardware.camera2.extension.IRequestUpdateProcessorImpl;
23 import android.hardware.camera2.extension.SizeList;
DIRequestCallback.aidl16 package android.hardware.camera2.extension;
18 import android.hardware.camera2.extension.CaptureFailure;
19 import android.hardware.camera2.extension.ParcelCaptureResult;
20 import android.hardware.camera2.extension.ParcelTotalCaptureResult;
DIImageProcessorImpl.aidl16 package android.hardware.camera2.extension;
18 import android.hardware.camera2.extension.OutputConfigId;
19 import android.hardware.camera2.extension.ParcelImage;
DICaptureProcessorImpl.aidl16 package android.hardware.camera2.extension;
19 import android.hardware.camera2.extension.CaptureBundle;
20 import android.hardware.camera2.extension.Size;
DCameraOutputConfig.aidl16 package android.hardware.camera2.extension;
18 import android.hardware.camera2.extension.Size;
19 import android.hardware.camera2.extension.OutputConfigId;
DIRequestUpdateProcessorImpl.aidl16 package android.hardware.camera2.extension;
20 import android.hardware.camera2.extension.CaptureStageImpl;
21 import android.hardware.camera2.extension.Size;
DIPreviewImageProcessorImpl.aidl16 package android.hardware.camera2.extension;
20 import android.hardware.camera2.extension.ParcelImage;
21 import android.hardware.camera2.extension.Size;
/frameworks/base/core/java/android/hardware/camera2/
DCameraExtensionCharacteristics.java25 import android.hardware.camera2.extension.IAdvancedExtenderImpl;
26 import android.hardware.camera2.extension.ICameraExtensionsProxyService;
27 import android.hardware.camera2.extension.IImageCaptureExtenderImpl;
28 import android.hardware.camera2.extension.IInitializeSessionCallback;
29 import android.hardware.camera2.extension.IPreviewExtenderImpl;
30 import android.hardware.camera2.extension.LatencyRange;
31 import android.hardware.camera2.extension.SizeList;
173 for (android.hardware.camera2.extension.Size sz : entry.sizes) { in getSupportedSizes()
583 public <T> List<Size> getExtensionSupportedSizes(@Extension int extension, in getExtensionSupportedSizes() argument
597 if (!isExtensionSupported(mCameraId, extension, mChars)) { in getExtensionSupportedSizes()
[all …]
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/
DCameraExtensionsProxyService.java30 import android.hardware.camera2.extension.CameraOutputConfig;
31 import android.hardware.camera2.extension.CameraSessionConfig;
32 import android.hardware.camera2.extension.CaptureBundle;
33 import android.hardware.camera2.extension.CaptureFailure;
34 import android.hardware.camera2.extension.CaptureStageImpl;
35 import android.hardware.camera2.extension.IAdvancedExtenderImpl;
36 import android.hardware.camera2.extension.ICameraExtensionsProxyService;
37 import android.hardware.camera2.extension.ICaptureCallback;
38 import android.hardware.camera2.extension.ICaptureProcessorImpl;
39 import android.hardware.camera2.extension.IPreviewExtenderImpl;
[all …]
/frameworks/base/tools/aapt2/optimize/
DResourcePathShortener.cpp66 const android::StringPiece& extension, int collision_count) { in GetShortenedPath() argument
71 shortened_path += extension; in GetShortenedPath()
102 android::StringPiece res_subdir, actual_filename, extension; in Consume() local
103 util::ExtractResFilePathParts(*file_ref->path, &res_subdir, &actual_filename, &extension); in Consume()
111 std::string shortened_path = GetShortenedPath(shortened_filename, extension, collision_count); in Consume()
114 shortened_path = GetShortenedPath(shortened_filename, extension, collision_count); in Consume()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/d2d/
DRtpTransport.java437 private Communicator.Message extractMessage(@NonNull RtpHeaderExtension extension) { in extractMessage() argument
440 .filter(et -> et.getLocalIdentifier() == extension.getLocalIdentifier()) in extractMessage()
445 extension.getLocalIdentifier()); in extractMessage()
449 if (extension.getExtensionData() == null || extension.getExtensionData().length != 1) { in extractMessage()
451 extension.getLocalIdentifier()); in extractMessage()
458 byte messageTypeBits = (byte) (extension.getExtensionData()[0] & 0b1111); in extractMessage()
459 byte messageValueBits = (byte) (extension.getExtensionData()[0] in extractMessage()
468 extension.getLocalIdentifier(), Integer.toBinaryString(messageTypeBits)); in extractMessage()
478 extension.getLocalIdentifier(), in extractMessage()
489 extension.getLocalIdentifier(), in extractMessage()
[all …]
/frameworks/base/libs/hwui/tests/scripts/
Dskp-capture.sh32 extension="skp"
34 extension="mskp" # use different extension for multi frame files.
36 filename="$(date '+%H%M%S').${extension}"
39 local_path="${local_path_prefix}.${extension}"
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DUdfpsHelper.java40 android.hardware.biometrics.fingerprint.V2_3.IBiometricsFingerprint extension = in onFingerDown() local
43 if (extension == null) { in onFingerDown()
49 extension.onFingerDown(x, y, minor, major); in onFingerDown()
56 android.hardware.biometrics.fingerprint.V2_3.IBiometricsFingerprint extension = in onFingerUp() local
59 if (extension == null) { in onFingerUp()
65 extension.onFingerUp(); in onFingerUp()
/frameworks/base/tools/validatekeymaps/
DMain.cpp68 const char *extension = strrchr(filename, '.'); in getFileType() local
69 if (extension) { in getFileType()
70 if (strcmp(extension, ".kl") == 0) { in getFileType()
73 if (strcmp(extension, ".kcm") == 0) { in getFileType()
76 if (strcmp(extension, ".idc") == 0) { in getFileType()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/d2d/
DRtpTransportConversionTest.java54 public RtpHeaderExtension extension; field in RtpTransportConversionTest.TestParams
58 extension = theExtension; in TestParams()
63 + Integer.toBinaryString(extension.getExtensionData()[0]) + "}"; in toString()
175 assertTrue(extensions.contains(mParams.extension)); in testSendMessages()
184 ArraySet<RtpHeaderExtension> extension = new ArraySet<>(); in testReceiveMessage() local
185 extension.add(mParams.extension); in testReceiveMessage()
186 mRtpTransport.onRtpHeaderExtensionsReceived(extension); in testReceiveMessage()
/frameworks/base/tools/split-select/
DSplitDescription.cpp71 String8 extension; in toString() local
73 if (extension.isEmpty()) { in toString()
74 extension.append(":"); in toString()
76 extension.append("-"); in toString()
78 extension.append(abi::toString(abi)); in toString()
81 str.append(extension); in toString()
/frameworks/native/vulkan/scripts/
Dgenerator_common.py392 for extension in exts:
394 if extension.tag == 'extension':
395 extname = extension.get('name')
396 if (extension.get('type') == 'instance' and
397 extension.get('promotedto') is not None):
399 version_2_api_version(extension.get('promotedto'))
400 for req in extension:

123456