/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationCustomViewWrapperTest.java | 51 NotificationViewWrapper wrap = NotificationCustomViewWrapper.wrap(mContext, v, mRow); in testBackgroundPersists() local 52 wrap.onContentUpdated(mRow); in testBackgroundPersists() 54 wrap.getCustomBackgroundColor() != 0); in testBackgroundPersists() 56 wrap.onReinflated(); in testBackgroundPersists() 57 wrap.onContentUpdated(mRow); in testBackgroundPersists() 59 wrap.getCustomBackgroundColor() != 0); in testBackgroundPersists()
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
D | NavigationBarButton.java | 54 drawables[i] = TintedDrawable.wrap(drawables[i]); in init() 65 left = TintedDrawable.wrap(left); in setCompoundDrawables() 68 top = TintedDrawable.wrap(top); in setCompoundDrawables() 71 right = TintedDrawable.wrap(right); in setCompoundDrawables() 74 bottom = TintedDrawable.wrap(bottom); in setCompoundDrawables() 84 start = TintedDrawable.wrap(start); in setCompoundDrawablesRelative() 87 top = TintedDrawable.wrap(top); in setCompoundDrawablesRelative() 90 end = TintedDrawable.wrap(end); in setCompoundDrawablesRelative() 93 bottom = TintedDrawable.wrap(bottom); in setCompoundDrawablesRelative() 136 public static TintedDrawable wrap(Drawable drawable) { in wrap() method in NavigationBarButton.TintedDrawable
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/easing/ |
D | FloatAnimation.java | 64 float wrap) { in FloatAnimation() argument 66 type, description, initialValue, wrap)); in FloatAnimation() 82 float wrap) { in packToFloatArray() argument 101 if (!Float.isNaN(wrap)) { in packToFloatArray() 113 int wrapBit = (Float.isNaN(wrap)) ? 0 : 1; in packToFloatArray() 126 if (!Float.isNaN(wrap)) { in packToFloatArray() 127 ret[pos] = wrap; in packToFloatArray() 143 boolean wrap = ((num_type >> 8) & 0x1) > 0; in setAnimationDescription() 150 if (wrap) { in setAnimationDescription()
|
/frameworks/base/keystore/java/android/security/ |
D | AuthTokenUtils.java | 45 ByteBuffer.wrap(array, 1, 8).order(ByteOrder.nativeOrder()).getLong(); in toHardwareAuthToken() 49 ByteBuffer.wrap(array, 9, 8).order(ByteOrder.nativeOrder()).getLong(); in toHardwareAuthToken() 53 ByteBuffer.wrap(array, 17, 8).order(ByteOrder.nativeOrder()).getLong(); in toHardwareAuthToken() 59 ByteBuffer.wrap(array, 25, 4).order(ByteOrder.BIG_ENDIAN).getInt(); in toHardwareAuthToken() 63 ByteBuffer.wrap(array, 29, 8).order(ByteOrder.BIG_ENDIAN).getLong(); in toHardwareAuthToken()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | FakeSoundTriggerHal.java | 159 mCallbackDispatcher.wrap((ISoundTriggerHwCallback cb) -> in forceRecognitionForModel() 163 mCallbackDispatcher.wrap((ISoundTriggerHwCallback cb) -> in forceRecognitionForModel() 205 mCallbackDispatcher.wrap((ISoundTriggerHwCallback cb) -> in triggerUnloadModel() 213 mGlobalCallbackDispatcher.wrap((ISoundTriggerHwGlobalCallback cb) -> in triggerUnloadModel() 236 mCallbackDispatcher.wrap((ISoundTriggerHwCallback cb) -> in triggerRecognitionEvent() 241 mCallbackDispatcher.wrap((ISoundTriggerHwCallback cb) -> in triggerRecognitionEvent() 256 mCallbackDispatcher.wrap((ISoundTriggerHwCallback cb) -> in triggerAbortRecognition() 260 mCallbackDispatcher.wrap((ISoundTriggerHwCallback cb) -> in triggerAbortRecognition() 289 mInjectionDispatcher.wrap((ISoundTriggerInjection cb) -> in FakeSoundTriggerHal() 320 mInjectionDispatcher.wrap((ISoundTriggerInjection unused) -> in FakeSoundTriggerHal() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewDebugTest.java | 227 ByteBuffer.wrap(SERIALIZED_INVALID_STRING))); in deserializeMethodParameters_stringPayloadMissing_throws() 262 ByteBuffer.wrap(SERIALIZED_VOID))); in deserializeMethodParameters_void_throws() 314 ByteBuffer.wrap(SERIALIZED_INVALID_BYTE_ARRAY))); in deserializeMethodParameters_sizeExceedsBuffer_throws() 332 ByteBuffer.wrap(SERIALIZED_EMPTY_INT_ARRAY))); in deserializeMethodParameters_nonByteArrayType_throws() 354 ByteBuffer.wrap(SERIALIZED_INVALID_UNKNOWN_TYPE))); in deserializeMethodParameters_unknownType_throws() 361 deserializeMethodParameters(args, argTypes, ByteBuffer.wrap(new byte[0])); in deserializeMethodParameters_noArgumentsEmptyPacket_isNoop() 369 () -> deserializeMethodParameters(args, argTypes, ByteBuffer.wrap(new byte[0]))); in deserializeMethodParameters_withArgumentsEmptyPacket_throws() 385 ByteBuffer buffer = ByteBuffer.wrap(argumentBuffer); in expectDeserializedArguments()
|
/frameworks/av/media/module/extractors/fuzzers/ |
D | ExtractorFuzzerBase.cpp | 44 extractorDef.u.v2.sniff(mDataSource->wrap(), &confidence, &meta, &freeMeta); in getExtractorDef() 46 extractorDef.u.v3.sniff(mDataSource->wrap(), &confidence, &meta, &freeMeta); in getExtractorDef() 72 CMediaTrack* cTrack = wrap(track); in extractTrack() 77 media_status_t status = cTrack->start(track, bufferGroup->wrap()); in extractTrack() 145 CMediaTrack* cTrack = wrap(track); in seekAndExtractTrack() 150 media_status_t status = cTrack->start(track, bufferGroup->wrap()); in seekAndExtractTrack()
|
D | mpeg2_extractor_fuzzer.cpp | 41 mExtractor = new MPEG2PSExtractor(new DataSourceHelper(mDataSource->wrap())); in createExtractor() 43 mExtractor = new MPEG2TSExtractor(new DataSourceHelper(mDataSource->wrap())); in createExtractor()
|
/frameworks/av/media/libstagefright/ |
D | InterfaceUtils.cpp | 37 return RemoteDataSource::wrap(source); in CreateIDataSourceFromDataSource() 47 return RemoteMediaExtractor::wrap(extractor, source, plugin); in CreateIMediaExtractorFromMediaExtractor() 63 return RemoteMediaSource::wrap(extractor, source, plugin); in CreateIMediaSourceFromMediaSourceBase()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
D | WakeLock.java | 60 Runnable wrap(Runnable r); in wrap() method 76 return wrap( in createPartial() 86 return wrap( in createWakeLock() 115 static WakeLock wrap( 161 public Runnable wrap(Runnable runnable) {
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitReader.cpp | 24 return LLVMParseBitcodeInContext(wrap(&getGlobalContext()), MemBuf, OutModule, in LLVMParseBitcode() 34 *OutModule = wrap(ParseBitcodeFile(unwrap(MemBuf), *unwrap(ContextRef), in LLVMParseBitcodeInContext() 54 *OutM = wrap(getLazyBitcodeModule(unwrap(MemBuf), *unwrap(ContextRef), in LLVMGetBitcodeModuleInContext()
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitReader.cpp | 24 return LLVMParseBitcodeInContext(wrap(&getGlobalContext()), MemBuf, OutModule, in LLVMParseBitcode() 34 *OutModule = wrap(ParseBitcodeFile(unwrap(MemBuf), *unwrap(ContextRef), in LLVMParseBitcodeInContext() 54 *OutM = wrap(getLazyBitcodeModule(unwrap(MemBuf), *unwrap(ContextRef), in LLVMGetBitcodeModuleInContext()
|
/frameworks/av/media/module/extractors/tests/ |
D | ExtractorUnitTest.cpp | 247 mExtractor = new AACExtractor(new DataSourceHelper(mDataSource->wrap()), 0); in createExtractor() 250 mExtractor = new AMRExtractor(new DataSourceHelper(mDataSource->wrap())); in createExtractor() 253 mExtractor = new MP3Extractor(new DataSourceHelper(mDataSource->wrap()), nullptr); in createExtractor() 256 mExtractor = new OggExtractor(new DataSourceHelper(mDataSource->wrap())); in createExtractor() 259 mExtractor = new WAVExtractor(new DataSourceHelper(mDataSource->wrap())); in createExtractor() 262 mExtractor = new MatroskaExtractor(new DataSourceHelper(mDataSource->wrap())); in createExtractor() 265 mExtractor = new FLACExtractor(new DataSourceHelper(mDataSource->wrap())); in createExtractor() 268 mExtractor = new MPEG4Extractor(new DataSourceHelper(mDataSource->wrap())); in createExtractor() 271 mExtractor = new MPEG2TSExtractor(new DataSourceHelper(mDataSource->wrap())); in createExtractor() 274 mExtractor = new MPEG2PSExtractor(new DataSourceHelper(mDataSource->wrap())); in createExtractor() [all …]
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | RemoteAnimationTargetCompat.java | 47 return wrap(info, t, leashMap, (change) -> { in wrapApps() 64 return wrap(info, t, leashMap, (change) -> { in wrapNonApps() 72 private static RemoteAnimationTarget[] wrap(TransitionInfo info,
|
/frameworks/av/media/module/extractors/mpeg2/ |
D | ExtractorBundle.cpp | 59 return wrap(new MPEG2TSExtractor(new DataSourceHelper(source)));}; in GETEXTRACTORDEF() 64 return wrap(new MPEG2PSExtractor(new DataSourceHelper(source)));}; in GETEXTRACTORDEF()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLDebugHelper.java | 79 public static GL wrap(GL gl, int configFlags, Writer log) { in wrap() method in GLDebugHelper 100 public static EGL wrap(EGL egl, int configFlags, Writer log) { in wrap() method in GLDebugHelper
|
/frameworks/av/media/module/id3/test/ |
D | ID3Test.cpp | 48 DataSourceHelper helper(file->wrap()); in TEST_P() 69 DataSourceHelper helper(file->wrap()); in TEST_P() 83 DataSourceHelper helper(file->wrap()); in TEST_P() 128 DataSourceHelper helper(file->wrap()); in TEST_P() 155 DataSourceHelper helper(file->wrap()); in TEST_P()
|
/frameworks/base/core/java/android/os/incremental/ |
D | V4Signature.java | 68 ByteBuffer buffer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() 102 return fromByteBuffer(ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN)); in fromByteArray() 162 ByteBuffer buffer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() 297 return ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN).getInt(); in readIntLE() 301 final byte[] buffer = ByteBuffer.wrap(new byte[4]).order(ByteOrder.LITTLE_ENDIAN).putInt( in writeIntLE()
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerInstrumentation.java | 278 private void wrap(Consumer<ModelCallback> consumer) { in wrap() method in SoundTriggerInstrumentation.ModelSession 425 private void wrap(Consumer<RecognitionCallback> consumer) { in wrap() method in SoundTriggerInstrumentation.RecognitionSession 475 clientModelSession.wrap((ModelCallback cb) -> cb.onModelUnloaded()); in onSoundModelUnloaded() 488 clientModelSession.wrap((ModelCallback cb) -> in onRecognitionStarted() 499 clientRecognitionSession.wrap((RecognitionCallback cb) in onRecognitionStopped() 509 clientModelSession.wrap((ModelCallback cb) -> cb.onParamSet(modelParam, value)); in onParamSet()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/ |
D | LocationUtils.java | 44 return LocationResult.wrap(createLocation(provider, random)); in createLocationResult() 69 return LocationResult.wrap(createLocation(provider, latitude, longitude, accuracy)); in createLocationResult()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaBufferGroup.h | 62 CMediaBufferGroup *wrap() { in wrap() function 88 *buf = acquiredBuf->wrap(); in wrap()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/ |
D | WakeLockTest.java | 70 mWakeLock = WakeLock.wrap(mInner, null, 20000); in setUp() 101 Runnable wrapped = mWakeLock.wrap(() -> { in wakeLock_wrap()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PinShapeHintingView.java | 60 Drawable drawable = DrawableCompat.wrap(pinDot.getDrawable()); in PinShapeHintingView() 108 Drawable drawable = DrawableCompat.wrap(pinDot.getDrawable()); in setAnimatedDrawable()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | FakeUserInfoHelper.java | 44 mRunningUserIds = IntArray.wrap(new int[] {DEFAULT_USERID}); in FakeUserInfoHelper() 46 mVisibleUserIds = IntArray.wrap(new int[] {DEFAULT_USERID}); in FakeUserInfoHelper()
|
/frameworks/av/include/media/ |
D | MediaExtractorPluginHelper.h | 42 friend CMediaTrack *wrap(MediaTrackHelper *); 169 friend CMediaTrack *wrap(MediaTrackHelper *track); 173 inline CMediaTrack *wrap(MediaTrackHelper *track) { in wrap() function 260 inline CMediaExtractor *wrap(MediaExtractorPluginHelper *extractor) { in wrap() function 270 return wrap(((MediaExtractorPluginHelper*)data)->getTrack(index)); in wrap()
|