Loading services/sensorservice/tests/sensorservicetest.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,7 @@ void testInvalidSharedMem_NoCrash(SensorManager &mgr) { int ret = mgr.createDirectChannel( kMemSize, ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY, resourceHandle); // Should print -22 (BAD_VALUE) and the device runtime shouldn't restart // Should not succeed (ret != OK) and the device runtime shouldn't restart printf("createInvalidDirectChannel=%d\n", ret); // Secondary test: correct channel creation & destruction (should print 0) Loading Loading
services/sensorservice/tests/sensorservicetest.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,7 @@ void testInvalidSharedMem_NoCrash(SensorManager &mgr) { int ret = mgr.createDirectChannel( kMemSize, ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY, resourceHandle); // Should print -22 (BAD_VALUE) and the device runtime shouldn't restart // Should not succeed (ret != OK) and the device runtime shouldn't restart printf("createInvalidDirectChannel=%d\n", ret); // Secondary test: correct channel creation & destruction (should print 0) Loading