/frameworks/compile/libbcc/bcinfo/include/bcinfo/ |
D | BitcodeWrapper.h | 127 static inline size_t writeAndroidBitcodeWrapper(AndroidBitcodeWrapper *wrapper, in writeAndroidBitcodeWrapper() argument 130 if (!wrapper) { in writeAndroidBitcodeWrapper() 134 wrapper->Magic = 0x0B17C0DE; in writeAndroidBitcodeWrapper() 135 wrapper->Version = 0; in writeAndroidBitcodeWrapper() 136 wrapper->BitcodeOffset = sizeof(*wrapper); in writeAndroidBitcodeWrapper() 137 wrapper->BitcodeSize = bitcodeSize; in writeAndroidBitcodeWrapper() 138 wrapper->HeaderVersion = 0; in writeAndroidBitcodeWrapper() 139 wrapper->TargetAPI = targetAPI; in writeAndroidBitcodeWrapper() 140 wrapper->PNaClVersion = 0; in writeAndroidBitcodeWrapper() 141 wrapper->CompilerVersionTag = BCHeaderField::kAndroidCompilerVersion; in writeAndroidBitcodeWrapper() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | GraphicBuffer.cpp | 116 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(b); in android_graphics_GraphicBuffer_wrap() local 117 return reinterpret_cast<jlong>(wrapper); in android_graphics_GraphicBuffer_wrap() 134 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_graphics_GraphicBuffer_create() local 135 return reinterpret_cast<jlong>(wrapper); in android_graphics_GraphicBuffer_create() 140 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_destroy() local 142 delete wrapper; in android_graphics_GraphicBuffer_destroy() 167 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_lockCanvas() local 169 if (!wrapper) { in android_graphics_GraphicBuffer_lockCanvas() 173 sp<GraphicBuffer> buffer(wrapper->get()); in android_graphics_GraphicBuffer_lockCanvas() 224 GraphicBufferWrapper* wrapper = in android_graphics_GraphicBuffer_unlockCanvasAndPost() local [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaTrack.cpp | 64 wrapper = cmediatrack; in MediaTrackCUnwrapper() 76 wrapper->free(wrapper->data); in ~MediaTrackCUnwrapper() 77 free(wrapper); in ~MediaTrackCUnwrapper() 85 return reverse_translate_error(wrapper->start(wrapper->data, bufferGroup->wrap())); in start() 89 return reverse_translate_error(wrapper->stop(wrapper->data)); in stop() 95 media_status_t ret = wrapper->getFormat(wrapper->data, tmpFormat); in getFormat() 118 media_status_t ret = wrapper->read(wrapper->data, &buf, opts, seekPosition); in read() 194 return wrapper->supportsNonBlockingRead(wrapper->data); in supportNonblockingRead()
|
/frameworks/av/include/media/ |
D | MediaExtractorPluginHelper.h | 177 CMediaTrack *wrapper = (CMediaTrack*) malloc(sizeof(CMediaTrack)); in wrap() local 178 wrapper->data = track; in wrap() 179 wrapper->free = [](void *data) -> void { in wrap() 182 wrapper->start = [](void *data, CMediaBufferGroup *bufferGroup) -> media_status_t { in wrap() 190 wrapper->stop = [](void *data) -> media_status_t { in wrap() 193 wrapper->getFormat = [](void *data, AMediaFormat *meta) -> media_status_t { in wrap() 196 wrapper->read = [](void *data, CMediaBuffer **buffer, uint32_t options, int64_t seekPosUs) in wrap() 206 wrapper->supportsNonBlockingRead = [](void *data) -> bool { in wrap() 209 return wrapper; in wrap() 261 CMediaExtractor *wrapper = (CMediaExtractor*) malloc(sizeof(CMediaExtractor)); in wrap() local [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardware.java | 450 GeofenceHardwareCallbackWrapper wrapper = mCallbacks.get(callback); in getCallbackWrapper() local 451 if (wrapper == null) { in getCallbackWrapper() 452 wrapper = new GeofenceHardwareCallbackWrapper(callback); in getCallbackWrapper() 453 mCallbacks.put(callback, wrapper); in getCallbackWrapper() 455 return wrapper; in getCallbackWrapper() 468 GeofenceHardwareMonitorCallbackWrapper wrapper = mMonitorCallbacks.get(callback); in getMonitorCallbackWrapper() local 469 if (wrapper == null) { in getMonitorCallbackWrapper() 470 wrapper = new GeofenceHardwareMonitorCallbackWrapper(callback); in getMonitorCallbackWrapper() 471 mMonitorCallbacks.put(callback, wrapper); in getMonitorCallbackWrapper() 473 return wrapper; in getMonitorCallbackWrapper()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | SettingsWrapperTest.kt | 40 private lateinit var wrapper: SettingsWrapper variable in com.android.keyguard.clock.SettingsWrapperTest 46 wrapper = SettingsWrapper(getContext().contentResolver, migration) in setUp() 54 val decoded = wrapper.decode(value, USER_ID) in testDecodeUnnecessary() 70 val decoded = wrapper.decode(value, USER_ID) in testDecodeJSON() 82 val decoded = wrapper.decode(value, USER_ID) in testDecodeJSONWithoutClockField() 91 assertThat(wrapper.decode(null, USER_ID)).isNull() in testDecodeNullJSON()
|
/frameworks/base/core/jni/ |
D | android_media_RemoteDisplay.cpp | 159 NativeRemoteDisplay* wrapper = new NativeRemoteDisplay(display, client); in nativeListen() local 160 return reinterpret_cast<jlong>(wrapper); in nativeListen() 164 NativeRemoteDisplay* wrapper = reinterpret_cast<NativeRemoteDisplay*>(ptr); in nativePause() local 165 wrapper->pause(); in nativePause() 169 NativeRemoteDisplay* wrapper = reinterpret_cast<NativeRemoteDisplay*>(ptr); in nativeResume() local 170 wrapper->resume(); in nativeResume() 174 NativeRemoteDisplay* wrapper = reinterpret_cast<NativeRemoteDisplay*>(ptr); in nativeDispose() local 175 delete wrapper; in nativeDispose()
|
D | android_hardware_HardwareBuffer.cpp | 96 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_hardware_HardwareBuffer_create() local 97 return reinterpret_cast<jlong>(wrapper); in android_hardware_HardwareBuffer_create() 102 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_hardware_HardwareBuffer_createFromGraphicBuffer() local 103 return reinterpret_cast<jlong>(wrapper); in android_hardware_HardwareBuffer_createFromGraphicBuffer() 106 static void destroyWrapper(GraphicBufferWrapper* wrapper) { in destroyWrapper() argument 107 delete wrapper; in destroyWrapper() 215 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_hardware_HardwareBuffer_createFromAHardwareBuffer() local 217 gHardwareBufferClassInfo.ctor, reinterpret_cast<jlong>(wrapper)); in android_hardware_HardwareBuffer_createFromAHardwareBuffer() 219 delete wrapper; in android_hardware_HardwareBuffer_createFromAHardwareBuffer()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 576 Drawable loadDrawable(@NonNull Resources wrapper, @NonNull TypedValue value, int id, in loadDrawable() argument 626 final Drawable cachedDrawable = caches.getInstance(key, wrapper, theme); in loadDrawable() 655 dr = cs.newDrawable(wrapper); in loadDrawable() 659 dr = loadDrawableForCookie(wrapper, value, id, density); in loadDrawable() 688 dr = state.newDrawable(wrapper); in loadDrawable() 790 @NonNull Resources wrapper, @NonNull TypedValue value) { in decodeImageDrawable() argument 792 wrapper, value); in decodeImageDrawable() 810 private Drawable loadDrawableForCookie(@NonNull Resources wrapper, @NonNull TypedValue value, in loadDrawableForCookie() argument 860 dr = loadColorOrXmlDrawable(wrapper, value, id, density, file); in loadDrawableForCookie() 862 dr = loadXmlDrawable(wrapper, value, id, density, file); in loadDrawableForCookie() [all …]
|
/frameworks/base/tests/net/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 119 public InstrumentedNetworkAgent(NetworkAgentWrapper wrapper, LinkProperties lp) { in InstrumentedNetworkAgent() argument 120 super(wrapper.mHandlerThread.getLooper(), wrapper.mContext, wrapper.mLogTag, in InstrumentedNetworkAgent() 121 wrapper.mNetworkInfo, wrapper.mNetworkCapabilities, lp, wrapper.mScore, in InstrumentedNetworkAgent() 123 mWrapper = wrapper; in InstrumentedNetworkAgent()
|
/frameworks/av/media/libstagefright/filters/ |
D | RSFilter.cpp | 49 sp<RenderScriptWrapper> wrapper; in configure() local 50 if (!msg->findObject("rs-wrapper", (sp<RefBase>*)&wrapper)) { in configure() 55 mRS = wrapper->mContext; in configure() 56 mCallback = wrapper->mCallback; in configure()
|
/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworksWrapperExtensions.h | 29 using wrapper::SymmPerChannelQuantParams; 30 using wrapper::Type; 91 class Model : public wrapper::Model { 93 using wrapper::Model::Model; // Inherit constructors. 140 namespace wrapper {
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionManager.java | 329 SessionsChangedWrapper wrapper = new SessionsChangedWrapper(mContext, sessionListener, in addOnActiveSessionsChangedListener() local 332 mService.addSessionsListener(wrapper.mStub, notificationListener, userId); in addOnActiveSessionsChangedListener() 333 mListeners.put(sessionListener, wrapper); in addOnActiveSessionsChangedListener() 351 SessionsChangedWrapper wrapper = mListeners.remove(listener); in removeOnActiveSessionsChangedListener() local 352 if (wrapper != null) { in removeOnActiveSessionsChangedListener() 354 mService.removeSessionsListener(wrapper.mStub); in removeOnActiveSessionsChangedListener() 358 wrapper.release(); in removeOnActiveSessionsChangedListener() 419 Session2TokensChangedWrapper wrapper = in addOnSession2TokensChangedListener() local 422 mService.addSession2TokensListener(wrapper.getStub(), userId); in addOnSession2TokensChangedListener() 423 mSession2TokensListeners.put(listener, wrapper); in addOnSession2TokensChangedListener() [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | DrawableWrapperTest.java | 51 DrawableWrapper wrapper = new MyWrapper(xferModeDrawable); in testSetXfermode() local 53 wrapper.setXfermode(mode); in testSetXfermode() 54 assertSame(xferModeDrawable, wrapper.getDrawable()); in testSetXfermode()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsColumnLayoutTest.java | 175 View wrapper = spy(new View(mContext, null)); in testShouldSnapToPowerButton_vertical() local 176 doReturn(wrapper).when(mColumnLayout).getWrapper(); in testShouldSnapToPowerButton_vertical() 177 doReturn(500).when(wrapper).getMeasuredHeight(); in testShouldSnapToPowerButton_vertical() 191 View wrapper = spy(new View(mContext, null)); in testShouldSnapToPowerButton_horizontal() local 192 doReturn(wrapper).when(mColumnLayout).getWrapper(); in testShouldSnapToPowerButton_horizontal() 193 doReturn(500).when(wrapper).getMeasuredWidth(); in testShouldSnapToPowerButton_horizontal()
|
/frameworks/base/core/java/android/service/appprediction/ |
D | AppPredictionService.java | 203 final CallbackWrapper wrapper = findCallbackWrapper(callbacks, callback); in doRegisterPredictionUpdates() local 204 if (wrapper == null) { in doRegisterPredictionUpdates() 228 final CallbackWrapper wrapper = findCallbackWrapper(callbacks, callback); in doUnregisterPredictionUpdates() local 229 if (wrapper != null) { in doUnregisterPredictionUpdates() 230 removeCallbackWrapper(callbacks, wrapper); in doUnregisterPredictionUpdates() 235 ArrayList<CallbackWrapper> callbacks, CallbackWrapper wrapper) { in removeCallbackWrapper() argument 239 callbacks.remove(wrapper); in removeCallbackWrapper()
|
/frameworks/native/libs/vr/libperformance/ |
D | performance_client.cpp | 101 auto wrapper = WrapString(partition_out, size); in GetCpuPartition() local 103 &wrapper, task_id); in GetCpuPartition() 107 if (wrapper.size() < size) in GetCpuPartition() 108 partition_out[wrapper.size()] = '\0'; in GetCpuPartition()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodPrivilegedOperationsRegistry.java | 106 final InputMethodPrivilegedOperations wrapper = wrapperRef.get(); in get() local 107 if (wrapper == null) { in get() 110 return wrapper; in get()
|
/frameworks/multidex/gradle/wrapper/ |
D | gradle-wrapper.properties | 3 distributionPath=wrapper/dists 5 zipStorePath=wrapper/dists
|
/frameworks/ml/nn/runtime/test/ |
D | TestNeuralNetworksWrapper.h | 40 using wrapper::Event; 41 using wrapper::ExecutePreference; 42 using wrapper::ExecutePriority; 43 using wrapper::ExtensionModel; 44 using wrapper::ExtensionOperandParams; 45 using wrapper::ExtensionOperandType; 46 using wrapper::OperandType; 47 using wrapper::Result; 48 using wrapper::SymmPerChannelQuantParams; 49 using wrapper::Type;
|
/frameworks/base/startop/apps/ColorChanging/gradle/wrapper/ |
D | gradle-wrapper.properties | 3 distributionPath=wrapper/dists 5 zipStorePath=wrapper/dists
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/ |
D | gradle-wrapper.properties | 3 distributionPath=wrapper/dists 5 zipStorePath=wrapper/dists
|
/frameworks/base/tests/UiBench/gradle/wrapper/ |
D | gradle-wrapper.properties | 3 distributionPath=wrapper/dists 5 zipStorePath=wrapper/dists
|
/frameworks/base/tests/TouchLatency/gradle/wrapper/ |
D | gradle-wrapper.properties | 3 distributionPath=wrapper/dists 5 zipStorePath=wrapper/dists
|
/frameworks/base/core/java/android/text/ |
D | InputFilter.java | 77 final CharSequence wrapper = new CharSequenceWrapper(source, start, end); in filter() local 84 cp = Character.codePointAt(wrapper, i); in filter() 95 final CharSequence upper = TextUtils.toUpperCase(mLocale, wrapper, copySpans); in filter() 96 if (upper == wrapper) { in filter()
|