/cts/tests/tests/networksecurityconfig/networksecurityconfig-certificate-transparency/src/android/security/net/config/cts/ |
D | CertificateTransparencyTest.java | 41 private final NetworkSecurityPolicy mInstance = NetworkSecurityPolicy.getInstance(); field in CertificateTransparencyTest 45 assertTrue(mInstance.isCertificateTransparencyVerificationRequired("foo.bar")); in testCertificateTransparencyVerificationRequired() 46 assertFalse(mInstance.isCertificateTransparencyVerificationRequired("android.com")); in testCertificateTransparencyVerificationRequired() 47 assertTrue(mInstance.isCertificateTransparencyVerificationRequired("example.com")); in testCertificateTransparencyVerificationRequired() 48 assertFalse(mInstance.isCertificateTransparencyVerificationRequired("wikipedia.org")); in testCertificateTransparencyVerificationRequired() 54 assertTrue(mInstance.isCertificateTransparencyVerificationRequired("now.foo.bar")); in testCertificateTransparencyVerificationRequired_includeSubdomains() 56 mInstance.isCertificateTransparencyVerificationRequired("something.android.com")); in testCertificateTransparencyVerificationRequired_includeSubdomains() 58 mInstance.isCertificateTransparencyVerificationRequired("completely.example.com")); in testCertificateTransparencyVerificationRequired_includeSubdomains() 60 mInstance.isCertificateTransparencyVerificationRequired("different.wikipedia.org")); in testCertificateTransparencyVerificationRequired_includeSubdomains()
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppActivityReference.java | 38 final TestAppInstance mInstance; field in TestAppActivityReference 44 mInstance = instance; in TestAppActivityReference() 50 return mInstance; in testAppInstance() 62 if (!mInstance.user().canShowActivities()) { in start() 64 + " on user which cannot show activities " + mInstance.user()); in start() 75 intent, mInstance.user().userHandle()); in start() 81 TestAppActivity.class, new TestAppActivityImpl(mInstance, mComponent)); in start() 95 intent, options, mInstance.user().userHandle()); in start() 101 TestAppActivity.class, new TestAppActivityImpl(mInstance, mComponent)); in start() 108 return ActivityEvents.forActivity(new TestAppActivityImpl(mInstance, mComponent)); in events()
|
D | TestAppActivities.java | 30 final TestAppInstance mInstance; field in TestAppActivities 40 mInstance = instance; in TestAppActivities() 49 mInstance.testApp().mDetails.mActivities.stream().filter( in activities()
|
D | TestAppActivitiesQueryBuilder.java | 56 return new UnresolvedTestAppActivity(mTestAppActivities.mInstance, in get() 59 mTestAppActivities.mInstance.packageName(), in get()
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-certificate-transparency-default/src/android/security/net/config/cts/ |
D | CertificateTransparencyTest.java | 40 private final NetworkSecurityPolicy mInstance = NetworkSecurityPolicy.getInstance(); field in CertificateTransparencyTest 44 assertFalse(mInstance.isCertificateTransparencyVerificationRequired("foo.bar")); in testCertificateTransparencyVerificationRequired() 45 assertFalse(mInstance.isCertificateTransparencyVerificationRequired("android.com")); in testCertificateTransparencyVerificationRequired() 46 assertFalse(mInstance.isCertificateTransparencyVerificationRequired("example.com")); in testCertificateTransparencyVerificationRequired() 47 assertFalse(mInstance.isCertificateTransparencyVerificationRequired("wikipedia.org")); in testCertificateTransparencyVerificationRequired()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/ |
D | Events.java | 56 private static Events mInstance; field in Events 59 if (mInstance == null) { in getInstance() 61 if (mInstance == null) { in getInstance() 62 mInstance = new Events(context.getApplicationContext()); in getInstance() 68 mInstance.loadHistory(); in getInstance() 71 return mInstance; in getInstance()
|
/cts/tests/tests/graphics/jni/ |
D | VulkanPreTransformTestHelpers.cpp | 112 : mInstance(VK_NULL_HANDLE), in DeviceInfo() 126 if (mInstance) { in ~DeviceInfo() 127 vkDestroySurfaceKHR(mInstance, mSurface, nullptr); in ~DeviceInfo() 128 vkDestroyInstance(mInstance, nullptr); in ~DeviceInfo() 129 mInstance = VK_NULL_HANDLE; in ~DeviceInfo() 177 VK_CALL(vkCreateInstance(&instanceInfo, nullptr, &mInstance)); in init() 180 VK_CALL(vkEnumeratePhysicalDevices(mInstance, &gpuCount, nullptr)); in init() 187 VK_CALL(vkEnumeratePhysicalDevices(mInstance, &gpuCount, gpus.data())); in init() 197 VK_CALL(vkCreateAndroidSurfaceKHR(mInstance, &surfaceInfo, nullptr, &mSurface)); in init()
|
D | VulkanPreTransformTestHelpers.h | 45 VkInstance mInstance;
|
D | VulkanTestHelpers.h | 50 VkInstance mInstance = VK_NULL_HANDLE;
|
D | VulkanTestHelpers.cpp | 116 VK_CALL(vkCreateInstance(&createInfo, nullptr, &mInstance)); in init() 120 int status = vkEnumeratePhysicalDevices(mInstance, &gpuCount, &mGpu); in init() 256 if (mInstance != VK_NULL_HANDLE) { in ~VkInit() 257 vkDestroyInstance(mInstance, nullptr); in ~VkInit() 258 mInstance = VK_NULL_HANDLE; in ~VkInit()
|
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/ |
D | StagedInstallTest.java | 886 private final BaseHostJUnit4Test mInstance; field in StagedInstallTest.FailedTestLogHook 890 this.mInstance = instance; in FailedTestLogHook() 908 … return mInstance.getDevice().executeShellV2Command("pm get-stagedsessions").getStdout(); in getStagedSessions()
|