Home
last modified time | relevance | path

Searched refs:mWrapper (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaBufferBase.h79 delete mWrapper; in ~MediaBufferBase() local
84 if (mWrapper) { in wrap()
85 return mWrapper; in wrap()
87 mWrapper = new CMediaBuffer; in wrap()
88 mWrapper->handle = this; in wrap()
90 mWrapper->release = [](void *handle) -> void { in wrap()
94 mWrapper->data = [](void *handle) -> void * { in wrap()
98 mWrapper->size = [](void *handle) -> size_t { in wrap()
102 mWrapper->range_offset = [](void *handle) -> size_t { in wrap()
106 mWrapper->range_length = [](void *handle) -> size_t { in wrap()
[all …]
DDataSource.h38 DataSource() : mWrapper(NULL) {} in DataSource()
69 if (mWrapper) { in wrap()
70 return mWrapper; in wrap()
72 mWrapper = new CDataSource(); in wrap()
73 mWrapper->handle = this; in wrap()
75 mWrapper->readAt = [](void *handle, off64_t offset, void *data, size_t size) -> ssize_t { in wrap()
78 mWrapper->getSize = [](void *handle, off64_t *size) -> status_t { in wrap()
81 mWrapper->flags = [](void *handle) -> uint32_t { in wrap()
84 mWrapper->getUri = [](void *handle, char *uriString, size_t bufferSize) -> bool { in wrap()
87 return mWrapper; in wrap()
[all …]
DMediaBufferGroup.h63 if (mWrapper) { in wrap()
64 return mWrapper; in wrap()
67 mWrapper = new CMediaBufferGroup; in wrap()
68 mWrapper->handle = this; in wrap()
70 mWrapper->add_buffer = [](void *handle, size_t size) -> void { in wrap()
75 mWrapper->init = [](void *handle, in wrap()
82 mWrapper->acquire_buffer = [](void *handle, in wrap()
95 mWrapper->has_buffers = [](void *handle) -> bool { in wrap()
99 return mWrapper; in wrap()
103 CMediaBufferGroup *mWrapper;
/frameworks/av/include/media/
DDataSource.h38 DataSource() : mWrapper(NULL) {} in DataSource()
69 if (mWrapper) { in wrap()
70 return mWrapper; in wrap()
72 mWrapper = new CDataSource(); in wrap()
73 mWrapper->handle = this; in wrap()
75 mWrapper->readAt = [](void *handle, off64_t offset, void *data, size_t size) -> ssize_t { in wrap()
78 mWrapper->getSize = [](void *handle, off64_t *size) -> status_t { in wrap()
81 mWrapper->flags = [](void *handle) -> uint32_t { in wrap()
84 mWrapper->getUri = [](void *handle, char *uriString, size_t bufferSize) -> bool { in wrap()
87 return mWrapper; in wrap()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSuspendScreenStatePreventingAdapterTest.java39 private DozeSuspendScreenStatePreventingAdapter mWrapper; field in DozeSuspendScreenStatePreventingAdapterTest
44 mWrapper = new DozeSuspendScreenStatePreventingAdapter(mInner); in setup()
49 mWrapper.finish(); in forwards_finish()
55 mWrapper.setDozeScreenState(Display.STATE_ON); in forwards_setDozeScreenState_on()
61 mWrapper.setDozeScreenState(Display.STATE_OFF); in forwards_setDozeScreenState_off()
67 mWrapper.setDozeScreenState(Display.STATE_DOZE); in forwards_setDozeScreenState_doze()
73 mWrapper.setDozeScreenState(Display.STATE_DOZE_SUSPEND); in forwards_setDozeScreenState_doze_suspend()
79 mWrapper.setDozeScreenState(Display.STATE_ON_SUSPEND); in forwards_setDozeScreenState_on_suspend()
85 mWrapper.requestWakeUp(); in forwards_requestWakeUp()
DDozeScreenStatePreventingAdapterTest.java39 private DozeScreenStatePreventingAdapter mWrapper; field in DozeScreenStatePreventingAdapterTest
44 mWrapper = new DozeScreenStatePreventingAdapter(mInner); in setup()
49 mWrapper.finish(); in forwards_finish()
55 mWrapper.setDozeScreenState(Display.STATE_ON); in forwards_setDozeScreenState_on()
61 mWrapper.setDozeScreenState(Display.STATE_OFF); in forwards_setDozeScreenState_off()
67 mWrapper.setDozeScreenState(Display.STATE_DOZE); in forwards_setDozeScreenState_doze()
73 mWrapper.setDozeScreenState(Display.STATE_DOZE_SUSPEND); in forwards_setDozeScreenState_doze_suspend()
79 mWrapper.requestWakeUp(); in forwards_requestWakeUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileLifecycleManager.java77 private QSTileServiceWrapper mWrapper; field in TileLifecycleManager
175 mWrapper = null; in setBindService()
193 mWrapper = wrapper; in onServiceConnected()
259 if (mWrapper == null) return; in handleDeath()
260 mWrapper = null; in handleDeath()
360 if (mWrapper == null || !mWrapper.onTileAdded()) { in onTileAdded()
369 if (mWrapper == null || !mWrapper.onTileRemoved()) { in onTileRemoved()
379 if (mWrapper != null && !mWrapper.onStartListening()) { in onStartListening()
388 if (mWrapper != null && !mWrapper.onStopListening()) { in onStopListening()
396 if (mWrapper == null || !mWrapper.onClick(iBinder)) { in onClick()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DBatteryServiceTest.java48 BatteryService.HealthServiceWrapper mWrapper; field in BatteryServiceTest
60 if (mWrapper != null) in tearDown()
61 mWrapper.getHandlerThread().quitSafely(); in tearDown()
97 mWrapper = new BatteryService.HealthServiceWrapper();
102 if (!mWrapper.getHandlerThread().getThreadHandler().hasMessagesOrCallbacks()) {
107 assertFalse(mWrapper.getHandlerThread().getThreadHandler().hasMessagesOrCallbacks());
121 mWrapper.init(mCallback, mManagerSupplier, mHealthServiceSupplier);
131 mWrapper.init(mCallback, mManagerSupplier, mHealthServiceSupplier);
142 mWrapper.init(mCallback, mManagerSupplier, mHealthServiceSupplier);
/frameworks/base/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java117 private final NetworkAgentWrapper mWrapper; field in NetworkAgentWrapper.InstrumentedNetworkAgent
123 mWrapper = wrapper; in InstrumentedNetworkAgent()
128 mWrapper.mDisconnected.open(); in unwanted()
134 if (mWrapper.mExpectedKeepaliveSlot != null) { in startSocketKeepalive()
135 assertEquals((int) mWrapper.mExpectedKeepaliveSlot, slot); in startSocketKeepalive()
137 onSocketKeepaliveEvent(slot, mWrapper.mStartKeepaliveError); in startSocketKeepalive()
142 onSocketKeepaliveEvent(msg.arg1, mWrapper.mStopKeepaliveError); in stopSocketKeepalive()
147 mWrapper.mPreventReconnectReceived.open(); in preventAutomaticReconnect()
152 Log.i(mWrapper.mLogTag, "Add keepalive packet filter."); in addKeepalivePacketFilter()
157 Log.i(mWrapper.mLogTag, "Remove keepalive packet filter."); in removeKeepalivePacketFilter()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java287 protected NotificationListenerWrapper mWrapper = null; field in NotificationListenerService
572 mWrapper, pkg, tag, id); in cancelNotification()
601 getNotificationInterface().cancelNotificationsFromListener(mWrapper, in cancelNotification()
642 getNotificationInterface().cancelNotificationsFromListener(mWrapper, keys); in cancelNotifications()
669 mWrapper, key, snoozeCriterionId); in snoozeNotification()
692 mWrapper, key, durationMs); in snoozeNotification()
713 getNotificationInterface().setNotificationsShownFromListener(mWrapper, keys); in setNotificationsShown()
738 mWrapper, pkg, user, channel); in updateNotificationChannel()
762 mWrapper, pkg, user).getList(); in getNotificationChannels()
786 mWrapper, pkg, user).getList(); in getNotificationChannelGroups()
[all …]
DNotificationAssistantService.java107 if (mWrapper == null) { in onBind()
108 mWrapper = new NotificationAssistantServiceWrapper(); in onBind()
110 return mWrapper; in onBind()
240 getNotificationInterface().applyEnqueuedAdjustmentFromAssistant(mWrapper, adjustment); in adjustNotification()
260 getNotificationInterface().applyAdjustmentsFromAssistant(mWrapper, adjustments); in adjustNotifications()
279 getNotificationInterface().unsnoozeNotificationFromAssistant(mWrapper, key); in unsnoozeNotification()
410 mWrapper, adjustment); in handleMessage()
/frameworks/base/core/java/android/service/chooser/
DChooserTargetService.java101 private IChooserTargetServiceWrapper mWrapper = null; field in ChooserTargetService
131 if (mWrapper == null) { in onBind()
132 mWrapper = new IChooserTargetServiceWrapper(); in onBind()
134 return mWrapper; in onBind()
/frameworks/base/core/java/android/service/resolver/
DResolverRankerService.java80 private ResolverRankerServiceWrapper mWrapper = null; field in ResolverRankerService
122 if (mWrapper == null) { in onBind()
123 mWrapper = new ResolverRankerServiceWrapper(); in onBind()
125 return mWrapper; in onBind()
/frameworks/base/core/java/android/service/sms/
DFinancialSmsService.java54 private FinancialSmsServiceWrapper mWrapper; field in FinancialSmsService
74 mWrapper = new FinancialSmsServiceWrapper(); in onCreate()
79 return mWrapper; in onBind()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationMediaTemplateViewWrapperTest.java59 private NotificationMediaTemplateViewWrapper mWrapper; field in NotificationMediaTemplateViewWrapperTest
102 mWrapper = new NotificationMediaTemplateViewWrapper(mContext, in makeTestNotification()
104 mWrapper.onContentUpdated(mRow); in makeTestNotification()
134 mWrapper.mOnUpdateTimerTick.run(); in testLogging_HasSeekbarNoScrubber()
167 mWrapper.mSeekListener.onStopTrackingTouch(seekbar); in testLogging_UpdateSeekbar()
/frameworks/base/core/java/android/app/usage/
DCacheQuotaService.java52 private CacheQuotaServiceWrapper mWrapper; field in CacheQuotaService
58 mWrapper = new CacheQuotaServiceWrapper(); in onCreate()
64 return mWrapper; in onBind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java100 private NotificationViewWrapper mWrapper; field in RemoteInputView
235 if (mWrapper != null) { in onDefocus()
236 mWrapper.setRemoteInputVisible(false); in onDefocus()
243 if (mWrapper != null) { in onDefocus()
244 mWrapper.setRemoteInputVisible(false); in onDefocus()
320 if (mWrapper != null) { in focus()
321 mWrapper.setRemoteInputVisible(true); in focus()
343 if (isActive() && mWrapper != null) { in onNotificationUpdateOrReset()
344 mWrapper.setRemoteInputVisible(true); in onNotificationUpdateOrReset()
492 mWrapper = wrapper; in setWrapper()
/frameworks/base/core/java/android/service/autofill/
DAutofillFieldClassificationService.java99 private AutofillFieldClassificationServiceWrapper mWrapper; field in AutofillFieldClassificationService
123 mWrapper = new AutofillFieldClassificationServiceWrapper(); in onCreate()
128 return mWrapper; in onBind()
/frameworks/av/media/libstagefright/foundation/
DMediaBufferGroup.cpp47 : mWrapper(nullptr), mInternal(new InternalData()) { in MediaBufferGroup()
52 : mWrapper(nullptr), mInternal(new InternalData()) { in MediaBufferGroup()
128 delete mWrapper; in ~MediaBufferGroup()
/frameworks/base/core/java/android/service/watchdog/
DExplicitHealthCheckService.java110 private final ExplicitHealthCheckServiceWrapper mWrapper = field in ExplicitHealthCheckService
156 return mWrapper; in onBind()
/frameworks/base/core/java/android/service/carrier/
DCarrierMessagingService.java112 private final ICarrierMessagingWrapper mWrapper = new ICarrierMessagingWrapper(); field in CarrierMessagingService
321 return mWrapper; in onBind()
/frameworks/av/camera/ndk/impl/
DACameraDevice.h111 inline ACameraDevice* getWrapper() const { return mWrapper; }; in getWrapper()
186 ACameraDevice* mWrapper; variable
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.h135 inline ACameraDevice* getWrapper() const { return mWrapper; }; in getWrapper()
214 ACameraDevice* mWrapper; variable
/frameworks/base/core/java/android/widget/
DToolbar.java209 private ToolbarWidgetWrapper mWrapper; field in Toolbar
2224 if (mWrapper == null) { in getWrapper()
2225 mWrapper = new ToolbarWidgetWrapper(this, true); in getWrapper()
2227 return mWrapper; in getWrapper()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java1087 private final Tethering mWrapper; field in Tethering.UserRestrictionActionListener
1094 mWrapper = wrapper; in UserRestrictionActionListener()
1121 if (mWrapper.isTetheringActive()) { in onUserRestrictionsChanged()
1127 mWrapper.untetherAll(); in onUserRestrictionsChanged()

12