Searched refs:self (Results 101 - 125 of 186) sorted by relevance

12345678

/frameworks/base/native/android/
H A Dlooper.cpp59 IPCThreadState::self()->flushCommands();
70 IPCThreadState::self()->flushCommands();
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp321 sp<Surface> self(reinterpret_cast<Surface *>(nativeObject));
326 if (self != NULL
327 && (self->getIGraphicBufferProducer()->asBinder() == binder)) {
329 return jlong(self.get());
341 if (self != NULL) {
343 self->decStrong(&sRefBaseOwner);
356 sp<Surface> self(reinterpret_cast<Surface *>(nativeObject));
357 parcel->writeStrongBinder( self != 0 ? self->getIGraphicBufferProducer()->asBinder() : NULL);
H A Dandroid_util_Binder.cpp266 IPCThreadState* thread_state = IPCThreadState::self();
747 return IPCThreadState::self()->getCallingPid();
752 return IPCThreadState::self()->getCallingUid();
757 return IPCThreadState::self()->clearCallingIdentity();
771 IPCThreadState::self()->restoreCallingIdentity(token);
776 IPCThreadState::self()->setStrictModePolicy(policyMask);
781 return IPCThreadState::self()->getStrictModePolicy();
786 IPCThreadState::self()->flushCommands();
887 sp<IBinder> b = ProcessState::self()->getContextObject(NULL);
893 sp<IBinder> b = ProcessState::self()
[all...]
/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.cpp182 int Effect_process(effect_handle_t self, argument
186 EffectContext *pContext = (EffectContext *) self;
200 int Effect_command(effect_handle_t self, argument
207 EffectContext *pContext = (EffectContext *) self;
336 int Effect_getDescriptor(effect_handle_t self, argument
339 EffectContext * pContext = (EffectContext *) self;
/frameworks/av/media/libstagefright/
H A DTimedEventQueue.cpp337 int64_t token = IPCThreadState::self()->clearCallingIdentity();
342 IPCThreadState::self()->restoreCallingIdentity(token);
365 int64_t token = IPCThreadState::self()->clearCallingIdentity();
367 IPCThreadState::self()->restoreCallingIdentity(token);
H A DCameraSource.cpp498 int64_t token = IPCThreadState::self()->clearCallingIdentity();
502 IPCThreadState::self()->restoreCallingIdentity(token);
597 int64_t token = IPCThreadState::self()->clearCallingIdentity();
628 IPCThreadState::self()->restoreCallingIdentity(token);
692 int64_t token = IPCThreadState::self()->clearCallingIdentity();
699 IPCThreadState::self()->restoreCallingIdentity(token);
723 token = IPCThreadState::self()->clearCallingIdentity();
737 IPCThreadState::self()->restoreCallingIdentity(token);
764 int64_t token = IPCThreadState::self()->clearCallingIdentity();
766 IPCThreadState::self()
[all...]
/frameworks/base/cmds/app_process/
H A Dapp_main.cpp80 sp<ProcessState> proc = ProcessState::self();
87 IPCThreadState::self()->stopProcess();
95 sp<ProcessState> proc = ProcessState::self();
104 IPCThreadState::self()->stopProcess();
/frameworks/wilhelm/tests/sandbox/
H A Dnativewindow.cpp46 android::ProcessState::self()->startThreadPool();
/frameworks/av/media/libeffects/loudness/
H A DEffectLoudnessEnhancer.cpp267 effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer)
269 LoudnessEnhancerContext * pContext = (LoudnessEnhancerContext *)self;
310 int LE_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, argument
313 LoudnessEnhancerContext * pContext = (LoudnessEnhancerContext *)self;
430 int LE_getDescriptor(effect_handle_t self, argument
433 LoudnessEnhancerContext * pContext = (LoudnessEnhancerContext *) self;
266 LE_process( effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
/frameworks/base/libs/common_time/
H A Dcommon_time_server_api.cpp298 IPCThreadState::self()->getCallingPid(),
299 IPCThreadState::self()->getCallingUid());
374 IPCThreadState::self()->getCallingPid(),
375 IPCThreadState::self()->getCallingUid());
/frameworks/native/include/binder/
H A DProcessState.h35 static sp<ProcessState> self();
H A DIPCThreadState.h35 static IPCThreadState* self();
36 static IPCThreadState* selfOrNull(); // self(), but won't instantiate
/frameworks/native/libs/binder/
H A DProcessState.cpp62 IPCThreadState::self()->joinThreadPool(mIsMain);
69 sp<ProcessState> ProcessState::self() function in class:android::ProcessState
113 IPCThreadState* ipc = IPCThreadState::self();
213 status_t status = IPCThreadState::self()->transact(
H A DIPCThreadState.cpp298 IPCThreadState* IPCThreadState::self() function in class:android::IPCThreadState
664 self()->mProcess->expungeHandle(handle, binder);
684 : mProcess(ProcessState::self()),
1155 IPCThreadState* const self = static_cast<IPCThreadState*>(st); local
1156 if (self) {
1157 self->flushCommands();
1159 if (self->mProcess->mDriverFD > 0) {
1160 ioctl(self->mProcess->mDriverFD, BINDER_THREAD_EXIT, 0);
1163 delete self;
1179 IPCThreadState* state = self();
[all...]
H A DPermissionCache.cpp83 IPCThreadState* ipcState = IPCThreadState::self();
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.h212 uint16_t m_zD0Self; // self feeds forward d0 --> d0
216 uint16_t m_zD1Self; // self feeds forward d1 --> d1
220 int16_t m_nSin; // gain for self taps
311 static int Reverb_Process(effect_handle_t self,
314 static int Reverb_Command(effect_handle_t self,
320 static int Reverb_GetDescriptor(effect_handle_t self,
H A DEffectEqualizer.cpp601 extern "C" int Equalizer_process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
603 android::EqualizerContext * pContext = (android::EqualizerContext *) self;
626 extern "C" int Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, argument
629 android::EqualizerContext * pContext = (android::EqualizerContext *) self;
727 extern "C" int Equalizer_getDescriptor(effect_handle_t self, argument
730 android::EqualizerContext * pContext = (android::EqualizerContext *) self;
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c258 static int Downmix_Process(effect_handle_t self, argument
263 downmix_module_t *pDwmModule = (downmix_module_t *)self;
356 static int Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, argument
359 downmix_module_t *pDwmModule = (downmix_module_t *) self;
497 int Downmix_GetDescriptor(effect_handle_t self, effect_descriptor_t *pDescriptor) argument
499 downmix_module_t *pDwnmxModule = (downmix_module_t *) self;
/frameworks/av/media/libeffects/visualizer/
H A DEffectVisualizer.cpp308 effect_handle_t self,audio_buffer_t *inBuffer, audio_buffer_t *outBuffer)
310 VisualizerContext * pContext = (VisualizerContext *)self;
413 int Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, argument
416 VisualizerContext * pContext = (VisualizerContext *)self;
658 int Visualizer_getDescriptor(effect_handle_t self, argument
661 VisualizerContext * pContext = (VisualizerContext *) self;
307 Visualizer_process( effect_handle_t self,audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp40 IPCThreadState* ipcState = IPCThreadState::self();
291 IPCThreadState::self()->getCallingPid(),
292 IPCThreadState::self()->getCallingUid());
/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp75 android::ProcessState::self()->startThreadPool();
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp155 android::ProcessState::self()->startThreadPool();
/frameworks/base/media/tests/audiotests/
H A Dshared_mem_test.cpp196 ProcessState::self()->startThreadPool();
/frameworks/wilhelm/src/itf/
H A DIOutputMixExt.c169 void IOutputMixExt_FillBuffer(SLOutputMixExtItf self, void *pBuffer, SLuint32 size) argument
176 IOutputMixExt *thiz = (IOutputMixExt *) self;
339 void IOutputMixExt_init(void *self) argument
341 IOutputMixExt *thiz = (IOutputMixExt *) self;
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c77 int Effect_Process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
83 effect_entry_t *fx = (effect_entry_t *)self;
97 int Effect_Command(effect_handle_t self, argument
108 effect_entry_t *fx = (effect_entry_t *)self;
122 int Effect_GetDescriptor(effect_handle_t self, argument
129 effect_entry_t *fx = (effect_entry_t *)self;
143 int Effect_ProcessReverse(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
149 effect_entry_t *fx = (effect_entry_t *)self;

Completed in 871 milliseconds

12345678