/external/google-breakpad/src/client/linux/minidump_writer/ |
cpu_set_unittest.cc | 68 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); 77 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); 86 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); 95 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); 104 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); 113 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); 121 ASSERT_TRUE(set1.ParseSysFile(file1.GetFd())); 127 ASSERT_TRUE(set2.ParseSysFile(file2.GetFd())); 139 ASSERT_TRUE(set1.ParseSysFile(file1.GetFd())); 150 ASSERT_TRUE(set1.ParseSysFile(file1.GetFd())); [all...] |
proc_cpuinfo_reader_unittest.cc | 66 ProcCpuInfoReader reader(file.GetFd()); 75 ProcCpuInfoReader reader(file.GetFd()); 88 ProcCpuInfoReader reader(file.GetFd()); 103 ProcCpuInfoReader reader(file.GetFd()); 120 ProcCpuInfoReader reader(file.GetFd()); 133 ProcCpuInfoReader reader(file.GetFd()); 146 ProcCpuInfoReader reader(file.GetFd()); 159 ProcCpuInfoReader reader(file.GetFd()); 176 ProcCpuInfoReader reader(file.GetFd()); 189 ProcCpuInfoReader reader(file.GetFd()); [all...] |
line_reader_unittest.cc | 60 LineReader reader(file.GetFd()); 70 LineReader reader(file.GetFd()); 86 LineReader reader(file.GetFd()); 102 LineReader reader(file.GetFd()); 124 LineReader reader(file.GetFd()); 148 LineReader reader(file.GetFd()); 164 LineReader reader(file.GetFd());
|
/frameworks/base/native/android/ |
sharedmem.cpp | 30 jmethodID getFd; 41 sSharedMemory.getFd = env->GetMethodID(sSharedMemory.clazz, "getFd", "()I"); 42 LOG_ALWAYS_FATAL_IF(sSharedMemory.getFd == nullptr, 43 "Failed to find method SharedMemory#getFd()"); 72 int fd = env->CallIntMethod(javaSharedMemory, sSharedMemory.getFd);
|
/libcore/luni/src/test/java/libcore/java/io/ |
FileDescriptorTest.java | 30 new RandomAccessFile(f, "r").getFD().sync(); 36 assertFalse(fis.getFD().isSocket$()); 40 assertTrue(s.getImpl().getFD$().isSocket$());
|
FileInputStreamTest.java | 120 FileInputStream fis2 = new FileInputStream(fis1.getFD()); 146 assertTrue(fis1.getFD().valid()); 173 assertFalse(fis1.getFD().valid()); 225 android.system.Os.ioctlInt(input.getFD(), OsConstants.FIONREAD, new MutableInt(0)); 264 assertEquals(0, Libcore.os.lseek(fis.getFD(), 0, OsConstants.SEEK_CUR)); 281 Os.posix_fallocate(fos.getFD(), 0, fileSize); 289 Os.ftruncate(fos.getFD(), fileSize);
|
/hardware/qcom/display/msm8909/liboverlay/ |
overlayWriteback.cpp | 60 OVASSERT(mBuf.getFD() != -1, "getFd is -1"); 95 if(!mdp_wrapper::wbInitStart(mFd.getFD())) { 104 if(!Overlay::displayCommit(mFd.getFD())) { 108 if(!mdp_wrapper::wbStopTerminate(mFd.getFD())) { 123 if(!mdp_wrapper::getVScreenInfo(mFd.getFD(), vinfo)) { 133 if(!mdp_wrapper::setVScreenInfo(mFd.getFD(), vinfo)) { 158 if(!mdp_wrapper::wbQueueBuffer(mFd.getFD(), mFbData)) { 168 if(!mdp_wrapper::wbDequeueBuffer(mFd.getFD(), mFbData)) { 179 if(!Overlay::displayCommit(mFd.getFD())) { [all...] |
/hardware/qcom/display/msm8994/liboverlay/ |
overlayWriteback.cpp | 60 OVASSERT(mBuf.getFD() != -1, "getFd is -1"); 95 if(!mdp_wrapper::wbInitStart(mFd.getFD())) { 104 if(!Overlay::displayCommit(mFd.getFD())) { 108 if(!mdp_wrapper::wbStopTerminate(mFd.getFD())) { 123 if(!mdp_wrapper::getVScreenInfo(mFd.getFD(), vinfo)) { 133 if(!mdp_wrapper::setVScreenInfo(mFd.getFD(), vinfo)) { 158 if(!mdp_wrapper::wbQueueBuffer(mFd.getFD(), mFbData)) { 168 if(!mdp_wrapper::wbDequeueBuffer(mFd.getFD(), mFbData)) { 179 if(!Overlay::displayCommit(mFd.getFD())) { [all...] |
/hardware/qcom/display/msm8084/liboverlay/ |
overlayWriteback.cpp | 60 OVASSERT(mBuf.getFD() != -1, "getFd is -1"); 95 if(!mdp_wrapper::wbInitStart(mFd.getFD())) { 104 if(!mdp_wrapper::wbStopTerminate(mFd.getFD())) { 119 if(!mdp_wrapper::getVScreenInfo(mFd.getFD(), vinfo)) { 129 if(!mdp_wrapper::setVScreenInfo(mFd.getFD(), vinfo)) { 154 if(!mdp_wrapper::wbQueueBuffer(mFd.getFD(), mFbData)) { 164 if(!mdp_wrapper::wbDequeueBuffer(mFd.getFD(), mFbData)) { 175 if(!Overlay::displayCommit(mFd.getFD())) { 195 if (ioctl(mFd.getFD(), MSMFB_METADATA_SET, &metadata) < 0) [all...] |
overlayMdpRot.cpp | 124 if(!overlay::mdp_wrapper::startRotator(mFd.getFD(), mRotImgInfo)) { 155 OVASSERT(mem.getFD() != -1, "getFd is -1"); 157 mRotDataInfo.dst.memory_id = mem.getFD(); 166 if(!mdp_wrapper::endRotator(mFd.getFD(), getSessId())) { 168 mFd.getFD(), getSessId()); 235 if(!overlay::mdp_wrapper::rotate(mFd.getFD(), mRotDataInfo)) {
|
overlayMdp.h | 78 int getFd() const; 178 int getFd() const; 217 inline int MdpCtrl::getFd() const { 218 return mFd.getFD(); 319 if(!mdp_wrapper::set3D(mFd.getFD(), m3DOVInfo)) { 345 if(!mdp_wrapper::set3D(mFd.getFD(), m3DOVInfo)) { 378 inline int MdpData::getFd() const { return mFd.getFD(); } 383 if(!mdp_wrapper::play(mFd.getFD(), mOvData)){
|
/hardware/qcom/display/msm8226/liboverlay/ |
overlayWriteback.cpp | 60 OVASSERT(mBuf.getFD() != -1, "getFd is -1"); 95 if(!mdp_wrapper::wbInitStart(mFd.getFD())) { 104 if(!mdp_wrapper::wbStopTerminate(mFd.getFD())) { 119 if(!mdp_wrapper::getVScreenInfo(mFd.getFD(), vinfo)) { 129 if(!mdp_wrapper::setVScreenInfo(mFd.getFD(), vinfo)) { 154 if(!mdp_wrapper::wbQueueBuffer(mFd.getFD(), mFbData)) { 164 if(!mdp_wrapper::wbDequeueBuffer(mFd.getFD(), mFbData)) { 175 if(!Overlay::displayCommit(mFd.getFD())) { 195 if (ioctl(mFd.getFD(), MSMFB_METADATA_SET, &metadata) < 0) [all...] |
overlayMdpRot.cpp | 143 if(!overlay::mdp_wrapper::startRotator(mFd.getFD(), mRotImgInfo)) { 174 OVASSERT(mem.getFD() != -1, "getFd is -1"); 176 mRotDataInfo.dst.memory_id = mem.getFD(); 185 if(!mdp_wrapper::endRotator(mFd.getFD(), getSessId())) { 187 mFd.getFD(), getSessId()); 254 if(!overlay::mdp_wrapper::rotate(mFd.getFD(), mRotDataInfo)) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileDescriptorTest.java | 43 FileDescriptor fd = fos.getFD(); 50 fd = fis.getFD(); 55 fd = raf.getFD(); 79 FileDescriptor fd = fos.getFD();
|
/system/core/libsync/tests/ |
sync_test.cpp | 62 int getFd() const { 107 setFd(rhs.getFd()); 114 setFd(fence.getFd()); 122 int fd = dup(fence.getFd()); 134 int fd = sw_sync_fence_create(timeline.getFd(), name ? name : autoName.c_str(), value); 143 int fd = sync_merge(name ? name : autoName.c_str(), a.getFd(), b.getFd()); 155 setFd(temp.getFd()); 168 int getFd() const { 176 struct sync_file_info *info = sync_file_info(getFd()); [all...] |
/frameworks/native/libs/sensor/ |
SensorEventQueue.cpp | 54 int SensorEventQueue::getFd() const 56 return mSensorChannel->getFd(); 87 mLooper->addFd(getFd(), getFd(), ALOOPER_EVENT_INPUT, NULL, NULL); 94 const int fd = getFd(); 158 ssize_t size = ::send(mSensorChannel->getFd(), &event, sizeof(event), MSG_NOSIGNAL); 180 ssize_t size = ::send(mSensorChannel->getFd(), &mNumAcksToSend, sizeof(mNumAcksToSend),
|
/art/runtime/jit/ |
profile_compilation_info_test.cc | 92 uint32_t GetFd(const ScratchFile& file) { 93 return static_cast<uint32_t>(file.GetFd()); 302 ASSERT_TRUE(info1.Load(GetFd(profile))); 319 ASSERT_TRUE(info2.Load(GetFd(profile))); 343 ASSERT_TRUE(saved_info.Save(GetFd(profile))); 349 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); 359 ASSERT_TRUE(saved_info.Save(GetFd(profile))); 365 ASSERT_TRUE(loaded_info2.Load(GetFd(profile))); 405 ASSERT_TRUE(saved_info.Save(GetFd(profile))); 411 ASSERT_TRUE(loaded_info.Load(GetFd(profile))) [all...] |
/art/runtime/ |
zip_archive_test.cc | 43 ASSERT_NE(-1, tmp.GetFd()); 44 std::unique_ptr<File> file(new File(tmp.GetFd(), tmp.GetFilename(), false));
|
/external/webrtc/webrtc/test/channel_transport/ |
udp_socket_manager_posix.cc | 299 if(sl->GetFd() == INVALID_SOCKET || !(sl->GetFd() < FD_SETSIZE)) 318 unsigned int addFD = addSocket->GetFd(); 319 unsigned int removeFD = static_cast<UdpSocketPosix*>(s)->GetFd(); 330 if (_socketMap.find(static_cast<UdpSocketPosix*>(s)->GetFd()) != 332 _removeList.push_back(static_cast<UdpSocketPosix*>(s)->GetFd()); 354 SOCKET addFD = addSocket->GetFd(); 384 _socketMap[s->GetFd()] = s;
|
udp_socket_wrapper.cc | 107 if (sl->GetFd() != INVALID_SOCKET && sl->GetFd() < FD_SETSIZE)
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
BitmapSerializeUtils.java | 44 nativeReadBitmapPixels(bitmap, source.getFd()); 54 nativeWriteBitmapPixels(bitmap, destination.getFd());
|
/hardware/qcom/display/msm8960/liboverlay/ |
overlayMdssRot.cpp | 121 if(!overlay::mdp_wrapper::setOverlay(mFd.getFD(), mRotInfo)) { 143 if(!overlay::mdp_wrapper::play(mFd.getFD(), mRotData)) { 176 OVASSERT(mem.getFD() != -1, "getFd is -1"); 178 mRotData.dst_data.memory_id = mem.getFD(); 211 if(!mdp_wrapper::unsetOverlay(mFd.getFD(), getSessId())) { 213 mFd.getFD(), getSessId());
|
overlayMdp.h | 77 int getFd() const; 184 int getFd() const; 222 inline int MdpCtrl::getFd() const { 223 return mFd.getFD(); 353 if(!mdp_wrapper::set3D(mFd.getFD(), m3DOVInfo)) { 379 if(!mdp_wrapper::set3D(mFd.getFD(), m3DOVInfo)) { 418 inline int MdpData::getFd() const { return mFd.getFD(); } 423 if(!mdp_wrapper::play(mFd.getFD(), mOvData)){
|
/art/profman/ |
profile_assistant_test.cc | 75 ASSERT_TRUE(info->Save(GetFd(profile))); 103 ASSERT_TRUE(info->Save(GetFd(profile))); 153 int GetFd(const ScratchFile& file) const { 154 return static_cast<int>(file.GetFd()); 160 ASSERT_TRUE(file_info.Load(GetFd(file))); 241 argv_str.push_back("--dump-output-to-fd=" + std::to_string(GetFd(output_file))); 342 std::vector<int> profile_fds({ GetFd(profile)}); 343 int reference_profile_fd = GetFd(reference_profile); 368 std::vector<int> profile_fds({ GetFd(profile)}); 369 int reference_profile_fd = GetFd(reference_profile) [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkTest.java | 59 assertTrue(null != fis.getFD()); 60 assertTrue(fis.getFD().valid()); 63 mNetwork.bindSocket(fis.getFD());
|