Searched refs:outputFd (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMemoryInternal.cpp | 164 int outputFd = ASharedMemory_create("output", outputSize); in TEST_F() local 167 int outputFd = tmpOutputFile.release(); in TEST_F() local 168 CHECK_EQ(ftruncate(outputFd, outputSize), 0); in TEST_F() 170 ASSERT_GT(outputFd, -1); in TEST_F() 172 (uint8_t*)mmap(nullptr, outputSize, PROT_READ | PROT_WRITE, MAP_SHARED, outputFd, 0); in TEST_F() 175 WrapperMemory actual(outputSize, PROT_READ | PROT_WRITE, outputFd, 0); in TEST_F() 196 close(outputFd); in TEST_F()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 843 ParcelFileDescriptor outputFd = in getBackup() local 846 FullBackupDataOutput fullBackupDataOutput = new FullBackupDataOutput(outputFd); in getBackup() 850 outputFd.close(); in getBackup()
|