/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | NfcFCardEmulationTest.java | 55 NfcFCardEmulation instance = NfcFCardEmulation.getInstance(mAdapter); in setUp() local 71 NfcFCardEmulation instance = NfcFCardEmulation.getInstance(mAdapter); in getNonNullInstance() local 77 NfcFCardEmulation instance = createMockedInstance(); in testGetSystemCodeForService() local 87 NfcFCardEmulation instance = createMockedInstance(); in testRegisterCodeForService() local 97 NfcFCardEmulation instance = createMockedInstance(); in testUnregisterSystemCodeForService() local 106 NfcFCardEmulation instance = createMockedInstance(); in testGetNfcid2ForService() local 116 NfcFCardEmulation instance = createMockedInstance(); in testSetNfcid2ForService() local 126 NfcFCardEmulation instance = createMockedInstance(); in testEnableService() local 135 NfcFCardEmulation instance = createMockedInstance(); in testDisableService() local 153 NfcFCardEmulation instance = NfcFCardEmulation.getInstance(mAdapter); in createMockedInstance() local
|
D | CardEmulationTest.java | 106 CardEmulation instance = CardEmulation.getInstance(mAdapter); in setUp() local 119 CardEmulation instance = CardEmulation.getInstance(mAdapter); in restoreOriginalService() local 125 CardEmulation instance = CardEmulation.getInstance(mAdapter); in setMockService() local 132 CardEmulation instance = CardEmulation.getInstance(mAdapter); in getNonNullInstance() local 138 CardEmulation instance = createMockedInstance(); in testIsDefaultServiceForCategory() local 148 CardEmulation instance = createMockedInstance(); in testIsDefaultServiceForAid() local 158 CardEmulation instance = CardEmulation.getInstance(mAdapter); in testCategoryAllowsForegroundPreferenceWithCategoryPayment() local 166 CardEmulation instance = CardEmulation.getInstance(mAdapter); in testCategoryAllowsForegroundPrefenceWithCategoryOther() local 175 CardEmulation instance = createMockedInstance(); in testGetSelectionModeForCategoryWithCategoryPaymentAndPaymentRegistered() local 184 CardEmulation instance = createMockedInstance(); in testGetSelectionModeForCategoryWithCategoryPaymentAndWithoutPaymentRegistered() local [all …]
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | ActivityTest.java | 70 try (TestAppInstance instance = sTestApp.install(sDeviceState.workProfile())) { in startActivityForResultAsUser_differentUser_startedSuccessfully() 93 try (TestAppInstance instance = sTestApp.install(sDeviceState.workProfile())) { in startActivityForResultAsUser_requestCodeAndResultPassedSuccessfully() 127 try (TestAppInstance instance = sTestApp.install(sDeviceState.workProfile())) { in startActivityForResultAsUser_noPermissions_throwsSecurityException() 150 try (TestAppInstance instance = sTestApp.install(sDeviceState.workProfile())) { in startActivityAsUser_differentUser_startedSuccessfully() 174 try (TestAppInstance instance = sTestApp.install(sDeviceState.workProfile())) { in startActivityAsUser_noPermissions_throwsSecurityException()
|
D | UserControlDisabledPackagesTest.java | 165 try (TestAppInstance instance = sTestApp.install()) { in setUserControlDisabledPackages_launchActivity_verifyPackageNotStopped() 192 try (TestAppInstance instance = sTestApp.install()) { in setUserControlDisabledPackages_launchActivity_verifyPackageStopped() 287 try (TestAppInstance instance = sTestApp.install()) { in getDevicePolicyState_setUserControlDisabledPackages_returnsPolicy() 313 try (TestAppInstance instance = sTestApp.install()) { in policyUpdateReceiver_setUserControlDisabledPackages_receivedPolicySetBroadcast() 336 try (TestAppInstance instance = sTestApp.install()) { in getDevicePolicyState_setUserControlDisabledPackages_returnsCorrectResolutionMechanism()
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-nested-domains/src/android/security/net/config/cts/ |
D | NestedDomainConfigTest.java | 35 NetworkSecurityPolicy instance = NetworkSecurityPolicy.getInstance(); in testRootDomainConfig() local 42 NetworkSecurityPolicy instance = NetworkSecurityPolicy.getInstance(); in testNestedDomainConfig() local
|
/cts/hostsidetests/media/app/ProxyMediaRouterWithMediaContentControlApp/src/android/media/router/cts/proxymediacontentcontrolapp/ |
D | MediaRouter2DeviceTest.java | 119 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in requestScan_withScreenOnScanning_triggersScanning() local 154 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in cancelScanRequest_callTwice_throwsIllegalArgumentException() local 173 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in cancelScanRequest_screenOnScanning_unbindsSelfScanProvider() local 272 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in getAllRoutes_returnsAtLeastOneSystemRoute() local
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppActivities.java | 33 static TestAppActivities create(TestAppInstance instance) { in create() 39 private TestAppActivities(TestAppInstance instance) { in TestAppActivities()
|
D | UnresolvedTestAppActivity.java | 27 UnresolvedTestAppActivity(TestAppInstance instance, in UnresolvedTestAppActivity()
|
D | TestAppActivity.java | 33 TestAppActivity(TestAppInstance instance, ComponentReference component) { in TestAppActivity()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorNativeTest.java | 35 protected native void nativeTearDown(long instance); in nativeTearDown() 36 private native void nativeTest(long instance); in nativeTest()
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | UserVisibilityTestCase.java | 117 try (TestAppInstance instance = testApp.install(user)) { in runTestOnDisplay() 152 try (TestAppInstance instance = testApp.install(profile)) { in runTestOnSecondaryDisplay() 163 void run(UserReference user, int displayId, TestAppInstance instance); in run() 168 TestAppInstance instance); in run() 172 void run(UserReference user, TestAppInstance instance); in run()
|
D | UserVisibilityVisibleBackgroundUsersTestCase.java | 111 runTestOnSecondaryDisplay((user, profile, display, instance) -> { in testGetVisibleUsers_stoppedProfileOfBackgroundUserOnSecondaryDisplay() argument 129 runTestOnSecondaryDisplay((user, displayId, instance) -> { in testStartVisibleBgUser_onSecondaryDisplay() argument 294 runTestOnSecondaryDisplay((user, displayId, instance) -> { in testStartVisibleBgUser_onSecondaryDisplay_displayInUse() argument
|
/cts/hostsidetests/adpf/app/hintsession/src/cpp/ |
D | JNIManager.h | 36 static JNIManager instance; in getInstance() local 74 static JNIManager& instance; variable
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/ |
D | NeneNotificationListenerService.kt | 52 val instance = AtomicReference<NeneNotificationListenerService?>() constant
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
D | MockVrListenerService.java | 51 public final VrListenerService instance; field in MockVrListenerService.Event 61 public static Event build(VrListenerService instance, EventType type, Object argument1) { in build() 65 public static Event build(VrListenerService instance, EventType type) { in build()
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-attributes/src/android/security/net/config/cts/ |
D | TestAttributes.java | 34 NetworkSecurityPolicy instance = NetworkSecurityPolicy.getInstance(); in testCleartextTrafficPermitted() local
|
/cts/tests/sensor/jni/ |
D | android_hardware_cts_SensorNativeTest.cpp | 34 void tearDown(JNIEnv*, jclass, jlong instance) { in tearDown() 38 void test(JNIEnv* env, jclass, jlong instance) { in test()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/packages/ |
D | PackageTest.java | 212 try (TestAppInstance instance = sTestApp.install()) { in grantPermission_permissionIsGranted() 275 try (TestAppInstance instance = sTestApp.install()) { in denyPermission_permissionIsNotGranted() 286 try (TestAppInstance instance = sTestApp.install()) { in denyPermission_installPermission_throwsException() 294 try (TestAppInstance instance = sTestApp.install()) { in denyPermission_alreadyDenied_doesNothing()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerNegativeTest.java | 51 private static Object readField(Object instance, String field) in readField() 62 private static void callMethodExpectingSecurityException(Object instance, String name, in callMethodExpectingSecurityException()
|
/cts/tests/tests/time/src/android/app/time/cts/ |
D | ParcelableTestSupport.java | 50 public static <T extends Parcelable> void assertRoundTripParcelable(T instance) { in assertRoundTripParcelable()
|
/cts/hostsidetests/media/app/ProxyMediaRouterMediaRoutingControl/src/android/media/router/cts/proxyroutingapp/ |
D | MediaRouter2DeviceTest.java | 205 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in requestScan_withScreenOff_triggersScanning() local 251 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in cancelScanRequest_screenOffScanning_unbindsSelfScanProvider() local 299 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in cancelScanRequest_multipleTypes_unbindsSelfScanProvider() local
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | InstrumentedAccessibilityService.java | 217 final T instance = getInstanceForClass(clazz, TIMEOUT_SERVICE_ENABLE); in enableService() local 238 final T instance = getInstanceForClass(clazz); in getInstanceForClass() local 257 final T instance = (T) ref.get(); in getInstanceForClass() local
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | NotificationListener.java | 35 private static NotificationListener instance; field in NotificationListener
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | NotificationListener.java | 35 private static NotificationListener instance; field in NotificationListener
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | NotificationListener.java | 39 private static NotificationListener instance; field in NotificationListener
|