/packages/modules/Connectivity/tests/cts/hostside/src/com/android/cts/net/ |
D | HostsideNetworkTestCase.java | 84 boolean shouldSucceed) in uninstallPackage() argument 88 if (shouldSucceed) { in uninstallPackage() 94 boolean shouldSucceed) in uninstallPackage() argument 96 uninstallPackage(getTestInformation(), packageName, shouldSucceed); in uninstallPackage() local
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | HostapdHalTest.java | 82 private void initializeWithAidlImp(boolean shouldSucceed) { in initializeWithAidlImp() argument 84 when(mIHostapdAidlMock.initialize()).thenReturn(shouldSucceed); in initializeWithAidlImp() 85 assertEquals(mHostapdHal.initialize(), shouldSucceed); in initializeWithAidlImp() local 90 private void initializeWithHidlImp(boolean shouldSucceed) { in initializeWithHidlImp() argument 92 when(mIHostapdHidlMock.initialize()).thenReturn(shouldSucceed); in initializeWithHidlImp() 93 assertEquals(mHostapdHal.initialize(), shouldSucceed); in initializeWithHidlImp() local
|
D | SupplicantStaIfaceHalTest.java | 144 private void initializeWithAidlImpl(boolean shouldSucceed) { in initializeWithAidlImpl() argument 145 when(mStaIfaceHalAidlMock.initialize()).thenReturn(shouldSucceed); in initializeWithAidlImpl() 146 assertEquals(shouldSucceed, mDut.initialize()); in initializeWithAidlImpl() 154 private void initializeWithHidlImpl(boolean shouldSucceed) { in initializeWithHidlImpl() argument 156 when(mStaIfaceHalHidlMock.initialize()).thenReturn(shouldSucceed); in initializeWithHidlImpl() 157 assertEquals(shouldSucceed, mDut.initialize()); in initializeWithHidlImpl()
|
D | HostapdHalHidlImpTest.java | 717 boolean shouldSucceed = !causeRegisterRemoteException && !causeRegisterFailure; in executeAndValidateInitializationSequence() 728 assertEquals(shouldSucceed, mHostapdHal.initialize()); in executeAndValidateInitializationSequence() 734 if (shouldSucceed) { in executeAndValidateInitializationSequence() 753 boolean shouldSucceed = !causeCallbackFailure; in executeAndValidateInitializationSequenceV1_1() 780 assertEquals(shouldSucceed, mHostapdHal.isInitializationComplete()); in executeAndValidateInitializationSequenceV1_1() 791 boolean shouldSucceed = !causeCallbackFailure; in executeAndValidateInitializationSequenceV1_2() 820 assertEquals(shouldSucceed, mHostapdHal.isInitializationComplete()); in executeAndValidateInitializationSequenceV1_2() 831 boolean shouldSucceed = !causeCallbackFailure; in executeAndValidateInitializationSequenceV1_3() 864 assertEquals(shouldSucceed, mHostapdHal.isInitializationComplete()); in executeAndValidateInitializationSequenceV1_3()
|
D | HostapdHalAidlImpTest.java | 610 boolean shouldSucceed) throws Exception { in executeAndValidateInitializationSequence() argument 612 if (!shouldSucceed) { in executeAndValidateInitializationSequence() 628 assertTrue(mHostapdHal.startDaemon() == shouldSucceed); in executeAndValidateInitializationSequence() 634 assertEquals(shouldSucceed, mHostapdHal.isInitializationComplete()); in executeAndValidateInitializationSequence()
|
D | SupplicantStaIfaceHalHidlImplTest.java | 2757 boolean shouldSucceed = in executeAndValidateInitializationSequence() 2811 assertEquals(shouldSucceed, mDut.setupIface(WLAN0_IFACE_NAME)); in executeAndValidateInitializationSequence() 2836 boolean shouldSucceed = !causeRemoteException && !getNullInterface; in executeAndValidateInitializationSequenceV1_1() 2875 assertTrue(mDut.setupIface(WLAN0_IFACE_NAME) == shouldSucceed); in executeAndValidateInitializationSequenceV1_1()
|
D | SupplicantStaIfaceHalAidlImplTest.java | 2865 boolean shouldSucceed = !causeRemoteException && !getNullInterface; in executeAndValidateInitializationSequence() 2890 assertEquals(shouldSucceed, mDut.setupIface(WLAN0_IFACE_NAME)); in executeAndValidateInitializationSequence()
|
/packages/modules/Connectivity/tests/cts/hostside-network-policy/src/com/android/cts/netpolicy/ |
D | HostsideNetworkPolicyTestCase.java | 94 boolean shouldSucceed) in uninstallPackage() argument 98 if (shouldSucceed) { in uninstallPackage() 104 boolean shouldSucceed) in uninstallPackage() argument 106 uninstallPackage(getTestInformation(), packageName, shouldSucceed); in uninstallPackage() local
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalTest.java | 126 private void initializeWithAidlImpl(boolean shouldSucceed) { in initializeWithAidlImpl() argument 127 when(mP2pIfaceHalAidlMock.initialize()).thenReturn(shouldSucceed); in initializeWithAidlImpl() 128 assertEquals(shouldSucceed, mDut.initialize()); in initializeWithAidlImpl() 136 private void initializeWithHidlImpl(boolean shouldSucceed) { in initializeWithHidlImpl() argument 138 when(mP2pIfaceHalHidlMock.initialize()).thenReturn(shouldSucceed); in initializeWithHidlImpl() 139 assertEquals(shouldSucceed, mDut.initialize()); in initializeWithHidlImpl()
|
D | WifiP2pServiceImplTest.java | 6951 private void verifySetVendorElement(boolean isP2pActivated, boolean shouldSucceed, in verifySetVendorElement() argument 6977 if (shouldSucceed) { in verifySetVendorElement() 6986 if (shouldSucceed) { in verifySetVendorElement() 7003 boolean isP2pActivated = false, shouldSucceed = true; in testSetVendorElementsSuccessForIdleShutdown() 7005 verifySetVendorElement(isP2pActivated, shouldSucceed, in testSetVendorElementsSuccessForIdleShutdown() 7015 boolean isP2pActivated = true, shouldSucceed = true; in testSetVendorElementsSuccessForActiveP2p() 7017 verifySetVendorElement(isP2pActivated, shouldSucceed, in testSetVendorElementsSuccessForActiveP2p() 7027 boolean isP2pActivated = false, shouldSucceed = false; in testSetVendorElementsFailureWithoutNearbyPermission() 7029 verifySetVendorElement(isP2pActivated, shouldSucceed, in testSetVendorElementsFailureWithoutNearbyPermission() 7034 boolean shouldSucceed) throws Exception { in verifyAddExternalApprover() argument [all …]
|
D | SupplicantP2pIfaceHalHidlImplTest.java | 2792 boolean shouldSucceed = !causeRemoteException && !getZeroInterfaces && !getNullInterface; in executeAndValidateInitializationSequence() 2833 assertTrue(mDut.setupIface(mIfaceName) == shouldSucceed); in executeAndValidateInitializationSequence() 2860 boolean shouldSucceed = !causeRemoteException && !getNullInterface; in executeAndValidateInitializationSequenceV1_1() 2890 assertTrue(mDut.setupIface(mIfaceName) == shouldSucceed); in executeAndValidateInitializationSequenceV1_1()
|
D | SupplicantP2pIfaceHalAidlImplTest.java | 2733 boolean shouldSucceed = !causeRemoteException && !getNullInterface; in executeAndValidateInitializationSequence() 2751 assertEquals(shouldSucceed, mDut.setupIface(mIfaceName)); in executeAndValidateInitializationSequence()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomServiceImplTest.java | 1060 boolean shouldSucceed) throws RemoteException { in registerPhoneAccountTestHelper() argument 1069 if (shouldSucceed) { in registerPhoneAccountTestHelper()
|