/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | KeepalivePacketDataUtilTest.java | 73 final TcpKeepalivePacketDataParcelable testInfo = new TcpKeepalivePacketDataParcelable(); in testFromTcpKeepaliveStableParcelable() local 74 testInfo.srcAddress = IPV4_KEEPALIVE_SRC_ADDR; in testFromTcpKeepaliveStableParcelable() 75 testInfo.srcPort = srcPort; in testFromTcpKeepaliveStableParcelable() 76 testInfo.dstAddress = IPV4_KEEPALIVE_DST_ADDR; in testFromTcpKeepaliveStableParcelable() 77 testInfo.dstPort = dstPort; in testFromTcpKeepaliveStableParcelable() 78 testInfo.seq = seq; in testFromTcpKeepaliveStableParcelable() 79 testInfo.ack = ack; in testFromTcpKeepaliveStableParcelable() 80 testInfo.rcvWnd = wnd; in testFromTcpKeepaliveStableParcelable() 81 testInfo.rcvWndScale = wndScale; in testFromTcpKeepaliveStableParcelable() 82 testInfo.tos = tos; in testFromTcpKeepaliveStableParcelable() [all …]
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | UnderlyingNetworkInfoTest.kt | 40 val testInfo = UnderlyingNetworkInfo(TEST_OWNER_UID, TEST_IFACE, TEST_IFACE_LIST) in testParcelUnparcel() constant 41 assertEquals(TEST_OWNER_UID, testInfo.getOwnerUid()) in testParcelUnparcel() 42 assertEquals(TEST_IFACE, testInfo.getInterface()) in testParcelUnparcel() 43 assertEquals(TEST_IFACE_LIST, testInfo.getUnderlyingInterfaces()) in testParcelUnparcel() 44 assertParcelingIsLossless(testInfo) in testParcelUnparcel()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/user/ |
D | UserHelperTest.java | 123 UserInfo testInfo = newUser(userId); in testGrantAdminPermissions_nonAdmin() local 127 UserHelper.grantAdminPermissions(mContext, testInfo.getUserHandle()); in testGrantAdminPermissions_nonAdmin() 134 UserInfo testInfo = newUser(userId); in testGrantAdminPermissions_admin() local 138 UserHelper.grantAdminPermissions(mContext, testInfo.getUserHandle()); in testGrantAdminPermissions_admin() 146 UserInfo testInfo = newUser(testUserId); in testGrantingAdminPermissionsRemovesNonAdminRestrictions() local 151 UserHelper.grantAdminPermissions(mContext, testInfo.getUserHandle()); in testGrantingAdminPermissionsRemovesNonAdminRestrictions()
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | SmsCbContactInfoTest.java | 64 SmsCbConcatInfo testInfo = new SmsCbConcatInfo( in testHasCode() local 66 assertNotSame(testInfo.hashCode(), mSmsCbConcatInfo.hashCode()); in testHasCode() 72 SmsCbConcatInfo testInfo = new SmsCbConcatInfo( in testEquals() local 74 assertFalse(testInfo.equals(mSmsCbConcatInfo)); in testEquals()
|
/packages/modules/Virtualization/authfs/tests/java/src/com/android/fs/ |
D | AuthFsHostTest.java | 123 public static void beforeClassWithDevice(TestInformation testInfo) throws Exception { in beforeClassWithDevice() argument 124 assertNotNull(testInfo.getDevice()); in beforeClassWithDevice() 125 ITestDevice androidDevice = testInfo.getDevice(); in beforeClassWithDevice() 151 .fromFile(findTestApk(testInfo.getBuildInfo()), VM_CONFIG_PATH_IN_APK) in beforeClassWithDevice() 165 public static void afterClassWithDevice(TestInformation testInfo) in afterClassWithDevice() argument 171 ((TestDevice) testInfo.getDevice()).shutdownMicrodroid(sMicrodroid.getDevice()); in afterClassWithDevice()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | AllApps.java | 334 final Bundle testInfo = mLauncher.getTestInfo(TestProtocol.REQUEST_APP_LIST_FREEZE_FLAGS); in getFreezeFlags() local 335 return testInfo == null ? 0 : testInfo.getInt(TestProtocol.TEST_INFO_RESPONSE_FIELD); in getFreezeFlags()
|
D | LauncherInstrumentation.java | 1825 final Bundle testInfo = getTestInfo(TestProtocol.REQUEST_PID); in getPid() local 1826 return testInfo != null ? testInfo.getInt(TestProtocol.TEST_INFO_RESPONSE_FIELD) : null; in getPid()
|
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include_legacy/ |
D | TestHarness.h | 263 const ::testing::TestInfo* const testInfo = in getQuant8AllowedError() local 265 const std::string testCaseName = testInfo->test_case_name(); in getQuant8AllowedError() 266 const std::string testName = testInfo->name(); in getQuant8AllowedError()
|
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/ |
D | TestHarness.cpp | 46 const ::testing::TestInfo* const testInfo = in getQuant8AllowedError() local 48 const std::string testCaseName = testInfo->test_case_name(); in getQuant8AllowedError() 49 const std::string testName = testInfo->name(); in getQuant8AllowedError()
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 179 const ::testing::TestInfo* const testInfo = in SetUp() local 181 mTestName = mTestName + testInfo->test_case_name() + "_" + testInfo->name(); in SetUp()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivityTest.java | 309 final WifiInfo testInfo = makeWifiInfo(); in setUp() local 310 doReturn(testInfo).when(sMockWifiManager).getConnectionInfo(); in setUp()
|