Lines Matching defs:handle
48 if (mMem.handle != nullptr) {
49 native_handle_close(mMem.handle);
50 native_handle_delete(const_cast<struct native_handle*>(mMem.handle));
60 result.appendFormat("\tPackage %s, HAL channel handle %d, total sensor activated %zu\n",
72 int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs,
75 UNUSED(handle);
84 int handle, nsecs_t samplingPeriodNs) {
86 UNUSED(handle);
96 int32_t SensorService::SensorDirectConnection::configureChannel(int handle, int rateLevel) {
98 if (handle == -1 && rateLevel == SENSOR_DIRECT_RATE_STOP) {
107 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle);
129 int ret = dev.configureDirectChannel(handle, getHalChannelHandle(), &config);
133 mActivated.erase(handle);
139 mActivated[handle] = rateLevel;
196 int fd1 = mMem.handle->data[0];
197 int fd2 = mem->handle->data[0];
202 // there is no known method to test if two gralloc handle are equivalent