/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/procedure/ |
D | secure_simple_pairing.rs | 851 use crate::lmp::test::{sequence, TestContext}; 856 fn local_p192_public_key(context: &crate::lmp::test::TestContext) -> [[u8; 16]; 3] { in local_p192_public_key() 877 let context = crate::lmp::test::TestContext::new(); in initiate_size() 892 let context = TestContext::new(); in numeric_comparison_initiator_success() 900 let context = TestContext::new(); in numeric_comparison_responder_success() 908 let context = TestContext::new(); in numeric_comparison_initiator_failure_on_initiating_side() 916 let context = TestContext::new(); in numeric_comparison_responder_failure_on_initiating_side() 924 let context = TestContext::new(); in numeric_comparison_initiator_failure_on_responding_side() 932 let context = TestContext::new(); in numeric_comparison_responder_failure_on_responding_side() 940 let context = TestContext::new(); in passkey_entry_initiator_success() [all …]
|
D | encryption.rs | 122 use crate::lmp::test::{sequence, TestContext}; 129 let context = TestContext::new(); in accept_encryption() 137 let context = TestContext::new(); in initiate_encryption() 145 let context = TestContext::new() in accept_aes_ccm_encryption_request() 157 let context = TestContext::new() in initiate_aes_ccm_encryption()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastActivityTestCase.java | 44 protected TestContext mContext; 55 mContext = new TestContext(getInstrumentation().getTargetContext()); in setUp() 119 public static class TestContext extends ContextWrapper { class in CellBroadcastActivityTestCase 121 private static final String TAG = TestContext.class.getSimpleName(); 133 public TestContext(Context base) { in TestContext() method in CellBroadcastActivityTestCase.TestContext 202 TestContext newTestContext = new TestContext( in createConfigurationContext()
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/ |
D | SandboxedSdkContextUnitTest.java | 180 TestContext testContext = new TestContext(testService); in testGetSystemService_notRegistered_delegatesToBaseContext() 205 TestContext testContext = new TestContext(testService); in testGetSystemService_registered_mutatesService() 282 TestContext baseContext = new TestContext(testService); in testCreateContextWithNewBase() 294 Context newBaseContext = new TestContext(testService); in testCreateContextWithNewBase() 301 private static class TestContext extends MockContext { class in SandboxedSdkContextUnitTest 305 private TestContext(TestService mockService) { in TestContext() method in SandboxedSdkContextUnitTest.TestContext
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | FakeContactsProviderTestBase.java | 44 protected TestContext mContext; 51 mContext = new TestContext(context); in setUp() 66 class TestContext extends ContextWrapper { class in FakeContactsProviderTestBase 70 TestContext(Context base) { in TestContext() method in FakeContactsProviderTestBase.TestContext
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | context.py | 67 class TestContext(object): class 170 class RootContext(TestContext): 185 class TestCaseContext(TestContext):
|
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/test/ |
D | context.rs | 28 pub struct TestContext { struct 38 impl TestContext { argument 66 impl Context for TestContext { implementation
|
D | mod.rs | 18 pub(crate) use context::{poll, TestContext};
|
/packages/services/Telephony/tests/src/com/android/ |
D | TelephonyTestBase.java | 47 protected TestContext mContext; 54 mContext = spy(new TestContext()); in setUp() 178 protected TestContext getTestContext() { in getTestContext()
|
D | TestContext.java | 53 public class TestContext extends MockContext { class 75 public TestContext() { in TestContext() method in TestContext
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractDownloadProviderFunctionalTest.java | 74 protected TestContext mTestContext; 137 static class TestContext extends RenamingDelegatingContext { class in AbstractDownloadProviderFunctionalTest 145 public TestContext(Context realContext) { in TestContext() method in AbstractDownloadProviderFunctionalTest.TestContext 194 mTestContext = new TestContext(realContext); in setUp()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | DomainSelectorBaseTest.java | 33 import com.android.TestContext; 84 mContext = new TestContext(); in setUp()
|
D | DynamicRoutingControllerTest.java | 40 import com.android.TestContext; 78 mContext = new TestContext() { in setUp()
|
D | SmsDomainSelectorTest.java | 45 import com.android.TestContext; 79 mContext = new TestContext(); in setUp()
|
D | TelephonyDomainSelectionServiceTest.java | 48 import com.android.TestContext; 153 mContext = new TestContext(); in setUp()
|
D | DataConnectionStateHelperTest.java | 49 import com.android.TestContext; 85 mContext = new TestContext() { in setUp()
|
D | CrossSimRedialingControllerTest.java | 50 import com.android.TestContext; 90 mContext = new TestContext() { in setUp()
|
/packages/modules/Virtualization/apkdmverity/src/ |
D | main.rs | 170 struct TestContext<'a> { struct 205 fn run_test(apk: &[u8], idsig: &[u8], name: &str, check: fn(TestContext)) { in run_test() argument 214 check: fn(TestContext), in run_test_with_hash() argument 228 check(TestContext { in run_test_with_hash()
|
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/ |
D | AppsIndexerUserInstanceTest.java | 66 private TestContext mContext; 82 mContext = new TestContext(context); in setUp() 242 new TestContext(ApplicationProvider.getApplicationContext()) { in testHandleMultipleNotifications_onlyOneUpdateCanBeScheduledAndRun() 726 class TestContext extends ContextWrapper { class in AppsIndexerUserInstanceTest 729 TestContext(Context base) { in TestContext() method in AppsIndexerUserInstanceTest.TestContext
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/ |
D | TestContext.java | 26 public final class TestContext { class
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdaterTest.kt | 95 private lateinit var context: TestContext 109 private inner class TestContext(c: Context) : BroadcastInterceptingContext(c) { class in com.android.networkstack.tethering.TetheringNotificationUpdaterTest 147 context = TestContext(InstrumentationRegistry.getInstrumentation().context) in setUp()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/ |
D | ModelBackedDocumentsAdapterTest.java | 45 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp()
|
D | ModelBackedDocumentsAdapterPrivateSpaceTest.java | 49 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp()
|
D | DirectoryAddonsAdapterTest.java | 56 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp()
|
D | DirectoryAddonsAdapterPrivateSpaceTest.java | 79 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp()
|