/cts/common/device-side/bedstead/modules/permissions/src/test/kotlin/com/android/bedstead/permissions/ |
D | PermissionsAnnotationExecutorTest.kt | 50 assertThat(context().instrumentedContext().checkSelfPermission(TEST_PERMISSION_1)) in <lambda>() 57 assertThat(context().instrumentedContext().checkSelfPermission(TEST_PERMISSION_1)) in <lambda>() 59 assertThat(context().instrumentedContext().checkSelfPermission(TEST_PERMISSION_2)) in <lambda>() 66 assertThat(context().instrumentedContext().checkSelfPermission(TEST_PERMISSION_1)) in <lambda>() 73 assertThat(context().instrumentedContext().checkSelfPermission(TEST_PERMISSION_1)) in <lambda>() 75 assertThat(context().instrumentedContext().checkSelfPermission(TEST_PERMISSION_2)) in <lambda>() 87 assertThat(context().instrumentedContext().checkSelfPermission(TEST_PERMISSION_1)) in <lambda>() 89 assertThat(context().instrumentedContext().checkSelfPermission(TEST_PERMISSION_2)) in <lambda>()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingPendingIntent.java | 48 mPendingIntent = PendingIntent.getBroadcast(TestApis.context().instrumentedContext(), 0, in register() 51 TestApis.context().instrumentedContext()); in register() 52 TestApis.context().instrumentedContext().registerReceiver(mBlockingBroadcastReceiver, in register()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/settings/ |
D | SecureSettingsTest.kt | 129 TestApis.context().instrumentedContext().contentResolver, KEY, INT_VALUE) in <lambda>() 132 TestApis.context().instrumentedContext().contentResolver, KEY)).isEqualTo(INT_VALUE) in <lambda>() 140 TestApis.context().instrumentedContext().contentResolver, KEY) in <lambda>() 149 TestApis.context().instrumentedContext().contentResolver, INVALID_KEY) in <lambda>() 157 TestApis.context().instrumentedContext().contentResolver, INVALID_KEY, INT_VALUE)) in <lambda>() 278 TestApis.context().instrumentedContext().contentResolver, KEY, STRING_VALUE) in <lambda>() 280 TestApis.context().instrumentedContext().contentResolver, KEY)) in <lambda>() 289 TestApis.context().instrumentedContext().contentResolver, KEY) in <lambda>() 297 TestApis.context().instrumentedContext().contentResolver, INVALID_KEY)).isNull() in <lambda>() 304 TestApis.context().instrumentedContext().contentResolver, in <lambda>() [all …]
|
D | GlobalSettingsTest.kt | 125 TestApis.context().instrumentedContext().contentResolver, KEY, INT_VALUE) in <lambda>() 127 TestApis.context().instrumentedContext().contentResolver, KEY)).isEqualTo(INT_VALUE) in <lambda>() 135 TestApis.context().instrumentedContext().contentResolver, INVALID_KEY) in <lambda>() 143 TestApis.context().instrumentedContext().contentResolver, in <lambda>() 257 TestApis.context().instrumentedContext().contentResolver, KEY, STRING_VALUE) in <lambda>() 260 TestApis.context().instrumentedContext().contentResolver, KEY)) in <lambda>() 305 val contentResolver = TestApis.context().instrumentedContext().contentResolver in <lambda>() 323 val contentResolver = TestApis.context().instrumentedContext().contentResolver in <lambda>() 377 private val context = TestApis.context().instrumentedContext() in <lambda>()
|
D | SystemSettingsTest.kt | 122 TestApis.context().instrumentedContext().contentResolver, KEY, INT_VALUE) in <lambda>() 124 TestApis.context().instrumentedContext().contentResolver, KEY)) in <lambda>() 133 TestApis.context().instrumentedContext().contentResolver, INVALID_KEY) in <lambda>() 141 TestApis.context().instrumentedContext().contentResolver, INVALID_KEY, INT_VALUE)) in <lambda>() 254 TestApis.context().instrumentedContext().contentResolver, KEY, STRING_VALUE) in <lambda>() 256 TestApis.context().instrumentedContext().contentResolver, KEY)) in <lambda>() 290 private val sContext = TestApis.context().instrumentedContext() in <lambda>()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/ |
D | DevicePolicyStringResources.java | 45 TestApis.context().instrumentedContext().getSystemService(DevicePolicyManager.class) 56 set(new DevicePolicyStringResource(TestApis.context().instrumentedContext(), id, resource)); in set() 63 …ream().map(id -> new DevicePolicyStringResource(TestApis.context().instrumentedContext(), id, reso… in set()
|
D | DevicePolicyDrawableResources.java | 44 TestApis.context().instrumentedContext().getSystemService(DevicePolicyManager.class) 55 …set(new DevicePolicyDrawableResource(TestApis.context().instrumentedContext(), id, style, resource… in set()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/settings/ |
D | GlobalSettings.kt | 72 TestApis.context().instrumentedContext().contentResolver, key, value) in <lambda>() 116 TestApis.context().instrumentedContext().contentResolver, key, value) in <lambda>() 197 return getIntInner(TestApis.context().instrumentedContext().contentResolver, key) in <lambda>() 208 TestApis.context().instrumentedContext().contentResolver, key, defaultValue) in <lambda>() 250 return getStringInner(TestApis.context().instrumentedContext().contentResolver, key) in <lambda>() 296 TestApis.context().instrumentedContext().contentResolver, /* tag= */ in <lambda>()
|
D | SecureSettings.kt | 73 TestApis.context().instrumentedContext().contentResolver, key, value) in putInt() 154 return getIntInner(TestApis.context().instrumentedContext().contentResolver, key) in getInt() 165 TestApis.context().instrumentedContext().contentResolver, key, defaultValue) in getInt() 209 TestApis.context().instrumentedContext().contentResolver, key, value) in putString() 291 return getStringInner(TestApis.context().instrumentedContext().contentResolver, key) in getString() 302 TestApis.context().instrumentedContext().contentResolver, key, defaultValue) in getString() 349 TestApis.context().instrumentedContext().contentResolver, /* tag= */ in reset()
|
D | SystemSettings.kt | 72 TestApis.context().instrumentedContext().contentResolver, key, value) in putInt() 116 TestApis.context().instrumentedContext().contentResolver, key, value) in putString() 197 return getIntInner(TestApis.context().instrumentedContext().contentResolver, key) in getInt() 208 TestApis.context().instrumentedContext().contentResolver, key, defaultValue) in getInt() 250 return getStringInner(TestApis.context().instrumentedContext().contentResolver, key) in getString()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/utils/ |
D | PolicyEngineUtils.java | 54 DevicePolicyManager dpm = TestApis.context().instrumentedContext().getSystemService( in getBooleanPolicyState() 73 DevicePolicyManager dpm = TestApis.context().instrumentedContext().getSystemService( in getStringSetPolicyState() 92 DevicePolicyManager dpm = TestApis.context().instrumentedContext().getSystemService( in getLockTaskPolicyState() 106 DevicePolicyManager dpm = TestApis.context().instrumentedContext().getSystemService( in getComponentNamePolicyState()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | OrganizationOwnedProfileOwnerTest.java | 47 assertThat(TestApis.context().instrumentedContext().getSystemService(UserManager.class) in organizationOwnedProfileOwner_userCannotBeRemoved() 58 assertThat(TestApis.context().instrumentedContext().getSystemService(UserManager.class) in organizationOwnedProfileOwner_parentCannotBeRemoved()
|
D | InputMethodsTest.java | 52 TestApis.context().instrumentedContext().getContentResolver(), in isCurrentInputMethodSetByOwner_isSetByOwner_returnsTrue() 77 TestApis.context().instrumentedContext().getContentResolver(), in isCurrentInputMethodSetByOwner_isNotSetByOwner_returnsFalse()
|
/cts/common/device-side/interactive/steps/src/main/java/com/android/interactive/steps/notesrole/ |
D | LockTheDeviceThenAccessSavedNote.java | 33 TestApis.context().instrumentedContext().getSystemService( in LockTheDeviceThenAccessSavedNote()
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppActivityReference.java | 74 TestApis.context().instrumentedContext().startActivityAsUser( in start() 94 TestApis.context().instrumentedContext().startActivityAsUser( in start()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/activities/ |
D | Activities.java | 102 TestApis.context().instrumentedContext().getSystemService( in recentActivities() 157 TestApis.context().instrumentedContext().getSystemService( in getLockTaskModeState() 199 ResolveInfo resolveInfo = TestApis.context().instrumentedContext() in getResolvedActivityOfIntent()
|
/cts/common/device-side/bedstead/modules/usb/src/main/kotlin/com/android/bedstead/usb/ |
D | Usb.kt | 26 TestApis.context().instrumentedContext().getSystemService(UsbManager::class.java)!!
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/resources/ |
D | Resources.java | 29 TestApis.context().instrumentedContext().getResources());
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/device/ |
D | Device.java | 41 TestApis.context().instrumentedContext() 46 TestApis.context().instrumentedContext().getPackageManager();
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | AnnotationLogicExtensions.kt | 95 TestApis.context().instrumentedContext() in logic() 105 !TestApis.context().instrumentedContext() in RequireNotLowRamDevice()
|
/cts/common/device-side/interactive/automation/src/main/java/com/android/interactive/steps/enterprise/settings/ |
D | NavigateToPersonalBluetoothSettingsStepAutomation.java | 19 TestApis.context().instrumentedContext().startActivity(intent); in automate()
|
D | NavigateToPersonalNetworkSettingsStepAutomation.java | 36 TestApis.context().instrumentedContext().startActivity(intent); in automate()
|
D | NavigateToPersonalLocationSettingsStepAutomation.java | 36 TestApis.context().instrumentedContext().startActivity(intent); in automate()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/inputmethods/ |
D | InputMethods.java | 33 TestApis.context().instrumentedContext().getSystemService(InputMethodManager.class);
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | Packages.java | 172 TestApis.context().instrumentedContext().getPackageManager(); 179 mInstrumentedContext = TestApis.context().instrumentedContext(); in Packages() 186 PackageManager pm = TestApis.context().instrumentedContext().getPackageManager(); in features() 218 return TestApis.context().instrumentedContext().getPackageManager() in installedForUser() 657 return find(TestApis.context().instrumentedContext().getPackageName()); in instrumented() 692 String defaultDialerPackage = TestApis.context().instrumentedContext().getString( in oemDefaultDialerApp() 702 String defaultSmsPackage = TestApis.context().instrumentedContext().getString( in oemDefaultSmsApp() 740 return TestApis.context().instrumentedContext().getPackageManager() in queryIntentActivities()
|