HomeSort by relevance Sort by last modified time
    Searched refs:mHandle (Results 1 - 25 of 45) sorted by null

1 2

  /packages/apps/Nfc/src/com/android/nfc/
NativeNdefTag.java 23 private int mHandle;
NativeLlcpConnectionlessSocket.java 27 private int mHandle;
55 return mHandle;
NativeP2pDevice.java 39 private int mHandle;
56 return mHandle;
NativeLlcpSocket.java 25 private int mHandle;
70 return mHandle;
NativeLlcpServiceSocket.java 25 private int mHandle;
54 return mHandle;
NativeNfcTag.java 27 private int mHandle;
136 return mHandle;
  /development/simulator/app/
Semaphore.cpp 33 : mHandle(0), mCreator(false), mKey(-1)
75 : mHandle((unsigned long) kInvalidHandle), mCreator(false), mKey(-1)
85 mHandle, mCreator);
87 if (mHandle != (unsigned long) kInvalidHandle) {
88 sem_close((sem_t*) mHandle);
134 mHandle = (unsigned long) semPtr;
159 mHandle = (unsigned long) semPtr;
171 int cc = sem_wait((sem_t*) mHandle);
177 int cc = sem_post((sem_t*) mHandle);
183 int cc = sem_trywait((sem_t*) mHandle);
    [all...]
Semaphore.h 52 unsigned long mHandle; // semid(int) or HANDLE
Shmem.cpp 45 : mHandle(kInvalidHandle), mAddr(MAP_FAILED), mLength(-1), mCreator(false),
58 if ((long)mHandle >= 0) {
59 close(mHandle);
118 mHandle = fd;
166 mHandle = fd;
219 : mHandle(kInvalidHandle), mAddr(NULL), mLength(-1), mCreator(false),
233 // mHandle, mCreator);
238 if (mCreator && mHandle != kInvalidHandle) {
239 cc = shmctl((int) mHandle, IPC_RMID, NULL);
243 mHandle, errno)
    [all...]
LocalBiChannel.h 49 unsigned long mHandle;
Shmem.h 86 unsigned long mHandle; // shmid(int) or HANDLE
LocalBiChannel.cpp 41 : mFileName(NULL), mIsListener(false), mHandle(kInvalidHandle)
61 if (mHandle != kInvalidHandle)
62 CloseHandle((HANDLE)mHandle);
112 mHandle = (unsigned long) hPipe;
143 assert(mHandle == kInvalidHandle);
250 if (mHandle != kInvalidHandle)
251 close((int) mHandle);
333 mHandle = (unsigned long) sock;
390 assert(mHandle == kInvalidHandle);
413 assert(mHandle != kInvalidHandle)
    [all...]
  /frameworks/base/core/java/com/android/internal/nfc/
P2pInitiator.java 48 this.mHandle = handle;
60 byte[] result = mService.receive(mHandle);
80 boolean isSuccess = mService.send(mHandle, data);
92 return mService.getGeneralBytes(mHandle);
LlcpConnectionlessSocket.java 34 protected int mHandle;
52 this.mHandle = handle;
64 int result = mService.sendTo(mHandle, packet);
83 LlcpPacket packet = mService.receiveFrom(mHandle);
101 mService.close(mHandle);
116 sap = mService.getSap(mHandle);
P2pTarget.java 70 this.mHandle = handle;
88 int result = mService.connect(mHandle);
113 mService.disconnect(mHandle);
135 byte[] response = mService.transceive(mHandle, data);
156 return mService.getGeneralBytes(mHandle);
LlcpSocket.java 38 protected int mHandle;
85 this.mHandle = handle;
101 int result = mService.connect(mHandle, sap);
128 int result = mService.connectByName(mHandle, sn);
151 int result = mService.close(mHandle);
169 int result = mService.send(mHandle, data);
191 receivedLength = mService.receive(mHandle, receiveBuffer);
209 return mService.getLocalSap(mHandle);
223 return mService.getLocalSocketMiu(mHandle);
237 return mService.getLocalSocketRw(mHandle);
    [all...]
LlcpServiceSocket.java 39 protected int mHandle;
85 this.mHandle = handle;
105 int handle = mService.accept(mHandle);
129 mService.close(mHandle);
P2pDevice.java 45 protected int mHandle;
  /frameworks/base/media/libmediaplayerservice/
TestPlayerStub.cpp 64 mHandle(NULL), mNewPlayer(NULL), mDeletePlayer(NULL),
117 if (!isTestUrl(url) || NULL != mHandle) {
135 mHandle = ::dlopen(mFilename, RTLD_NOW | RTLD_GLOBAL);
136 if (!mHandle) {
144 mNewPlayer = reinterpret_cast<NEW_PLAYER>(dlsym(mHandle,
155 mDeletePlayer = reinterpret_cast<DELETE_PLAYER>(dlsym(mHandle,
184 if (mHandle) {
185 ::dlclose(mHandle);
186 mHandle = NULL;
  /frameworks/base/libs/binder/
BpBinder.cpp 90 : mHandle(handle)
95 LOGV("Creating BpBinder %p handle %d\n", this, mHandle);
165 mHandle, code, data, reply, flags);
193 LOGV("Requesting death notification: %p handle %d\n", this, mHandle);
196 self->requestDeathNotification(mHandle, this);
229 LOGV("Clearing death notification: %p handle %d\n", this, mHandle);
231 self->clearDeathNotification(mHandle, this);
246 this, mHandle, mObitsSent ? "true" : "false");
254 LOGV("Clearing sent death notification: %p handle %d\n", this, mHandle);
256 self->clearDeathNotification(mHandle, this)
    [all...]
  /frameworks/base/media/libstagefright/codecs/m4v_h263/dec/
M4vH263Decoder.cpp 38 mHandle(new tagvideoDecControls),
44 memset(mHandle, 0, sizeof(tagvideoDecControls));
69 delete mHandle;
70 mHandle = NULL;
83 mHandle,
126 mHandle, vol_data, &vol_size, 1, mWidth, mHeight, mode);
134 MP4DecodingMode actualMode = PVGetDecBitstreamMode(mHandle);
137 PVSetPostProcType((VideoDecControls *) mHandle, 0);
140 PVGetVideoDimensions(mHandle, &width, &height);
169 return (PVCleanUpVideoDecoder(mHandle) == PV_TRUE)? OK: UNKNOWN_ERROR
    [all...]
  /frameworks/base/core/java/android/hardware/
Sensor.java 111 private int mHandle;
182 return mHandle;
  /frameworks/base/media/libstagefright/omx/
OMXNodeInstance.cpp 81 mHandle(NULL),
87 CHECK_EQ(mHandle, NULL);
91 CHECK_EQ(mHandle, NULL);
93 mHandle = handle;
132 CHECK_EQ(OMX_GetState(mHandle, &state), OMX_ErrorNone);
139 while ((err = OMX_GetState(mHandle, &state)) == OMX_ErrorNone
161 while ((err = OMX_GetState(mHandle, &state)) == OMX_ErrorNone
182 static_cast<OMX_COMPONENTTYPE *>(mHandle));
184 mHandle = NULL;
203 OMX_ERRORTYPE err = OMX_SendCommand(mHandle, cmd, param, NULL)
    [all...]
  /frameworks/base/media/libstagefright/codecs/avc/dec/
AVCDecoder.cpp 51 mHandle(new tagAVCHandle),
60 memset(mHandle, 0, sizeof(tagAVCHandle));
61 mHandle->AVCObject = NULL;
62 mHandle->userData = this;
63 mHandle->CBAVC_DPBAlloc = ActivateSPSWrapper;
64 mHandle->CBAVC_FrameBind = BindFrameWrapper;
65 mHandle->CBAVC_FrameUnbind = UnbindFrame;
66 mHandle->CBAVC_Malloc = Malloc;
67 mHandle->CBAVC_Free = Free;
90 PVAVCCleanUpDecoder(mHandle);
    [all...]
  /frameworks/base/core/java/android/widget/
SlidingDrawer.java 100 private View mHandle;
237 mHandle = findViewById(mHandleId);
238 if (mHandle == null) {
242 mHandle.setOnClickListener(new DrawerToggler());
264 final View handle = mHandle;
283 final View handle = mHandle;
317 final View handle = mHandle;
359 final View handle = mHandle;
379 final int top = mHandle.getTop();
383 final int left = mHandle.getLeft()
    [all...]

Completed in 651 milliseconds

1 2