/cts/tests/tests/util/src/android/util/cts/ |
D | CloseGuardTest.java | 48 ResourceOwner owner = new ResourceOwner(); in testEnabled_NotOpen() local 49 assertUnreleasedResources(owner, 0); in testEnabled_NotOpen() 54 ResourceOwner owner = new ResourceOwner(); in testEnabled_OpenNotClosed() local 55 owner.open(); in testEnabled_OpenNotClosed() 56 assertUnreleasedResources(owner, 1); in testEnabled_OpenNotClosed() 61 ResourceOwner owner = new ResourceOwner(); in testEnabled_OpenThenClosed() local 62 owner.open(); in testEnabled_OpenThenClosed() 63 owner.close(); in testEnabled_OpenThenClosed() 64 assertUnreleasedResources(owner, 0); in testEnabled_OpenThenClosed() 73 private void assertUnreleasedResources(ResourceOwner owner, int expectedCount) in assertUnreleasedResources() argument [all …]
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TestJournalProvider.java | 150 public static void putExtras(Context context, ComponentName owner, in putExtras() argument 152 putExtras(context, componentNameToKey(owner), bundleFiller); in putExtras() 156 public static void putExtras(Context context, String owner, Consumer<Bundle> bundleFiller) { in putExtras() argument 157 try (TestJournalClient client = TestJournalClient.create(context, owner)) { in putExtras() argument 203 public TestJournalClient(ContentProviderClient client, String owner) { in TestJournalClient() argument 205 mOwner = owner; in TestJournalClient() 234 public void putResidentExtras(String owner, Bundle extras) { in putResidentExtras() argument 236 mClient.call(METHOD_PUT_RESIDENT_EXTRAS, owner, extras); in putResidentExtras() 243 public Bundle getResidentExtras(String owner) { in getResidentExtras() argument 245 return mClient.call(METHOD_GET_RESIDENT_EXTRAS, owner, null /* extras */); in getResidentExtras() [all …]
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarAppFocusManagerTest.java | 72 FocusOwnershipCallback owner = new FocusOwnershipCallback(/* assertEventThread= */ false); in setUp() local 74 mManager.requestAppFocus(activeTypes[i], owner); in setUp() 75 owner.waitForOwnershipGrantAndAssert(DEFAULT_WAIT_TIMEOUT_MS, activeTypes[i]); in setUp() 76 mManager.abandonAppFocus(owner, activeTypes[i]); in setUp() 77 owner.waitForOwnershipLossAndAssert( in setUp() 105 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testRequestAbandon() local 106 int r = mManager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, owner); in testRequestAbandon() 108 assertThat(mManager.isOwningFocus(owner, APP_FOCUS_TYPE_NAVIGATION)).isTrue(); in testRequestAbandon() 109 mManager.abandonAppFocus(owner, APP_FOCUS_TYPE_NAVIGATION); in testRequestAbandon() 110 assertThat(mManager.isOwningFocus(owner, APP_FOCUS_TYPE_NAVIGATION)).isFalse(); in testRequestAbandon() [all …]
|
D | OWNERS | 83 # TODO(b/282199666): Find an owner for CarInfoManagerTest 92 # TODO(b/282199666): Find an owner for Car Core 100 # TODO(b/282199666): Find an owner for CarAppFocusManagerTest
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CVE_2022_20456.java | 89 ComponentName owner = ownerFlag ? mComponentNameWithLongFields : null; in checkConstructor() local 91 AutomaticZenRule rule = new AutomaticZenRule(mLongString, owner, configActivity, mLongUri, in checkConstructor() 107 ComponentName owner = ownerFlag ? mValidComponentName : null; in checkFieldSetters() local 109 AutomaticZenRule rule = new AutomaticZenRule(ZEN_RULE_NAME, owner, configActivity, in checkFieldSetters() 129 ComponentName owner = ownerFlag ? mValidComponentName : null; in checkParcelInput() local 131 AutomaticZenRule rule = new AutomaticZenRule(ZEN_RULE_NAME, owner, configActivity, in checkParcelInput()
|
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/ManagedProfileOwnerApp/src/com/android/cts/managedprofile/owner/app/ |
D | ManagedProfileOwnerActivity.java | 17 package com.android.cts.managedprofile.owner.app;
|
D | ManagedProfileOwnerAppTest.java | 17 package com.android.cts.managedprofile.owner.app;
|
/cts/tests/tests/security/src/android/security/cts/AutomaticZenRuleTests/ |
D | AutomaticZenRuleTests.java | 87 private boolean testUsingAppComponents(ComponentName owner, ComponentName components[]) { in testUsingAppComponents() argument 101 AutomaticZenRule rule = new AutomaticZenRule(ZEN_RULE_NAME + ruleNo, owner, in testUsingAppComponents() 109 AutomaticZenRule rule = new AutomaticZenRule(ZEN_RULE_NAME + i, owner, null, in testUsingAppComponents()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/ |
D | Android.bp | 16 // This allow us to have different device owner and profile owner, some APIs may behave differently
|
/cts/common/device-side/bedstead/dpmwrapper/ |
D | Android.bp | 17 // device owner running on system user), but before S is shipped it should be replaced by using the
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ExternalStorageHostTest.java | 386 final int owner = mUsers[0]; in testMultiUserStorageIsolated() local 397 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testCleanIsolatedStorage", owner); in testMultiUserStorageIsolated() 401 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testWriteIsolatedStorage", owner); in testMultiUserStorageIsolated() 405 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testReadIsolatedStorage", owner); in testMultiUserStorageIsolated() 409 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testUserIsolation", owner); in testMultiUserStorageIsolated() 413 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testMediaProviderUserIsolation", owner); in testMultiUserStorageIsolated()
|
/cts/hostsidetests/compilation/src/android/compilation/cts/ |
D | AdbRootDependentCompilationTest.java | 320 String owner = assertCommandOutputsLines(1, "stat", "-c", "%U:%g", targetDir)[0]; in writeSystemManagedProfile() local 327 mUtils.assertCommandSucceeds("chown", owner, targetPath); in writeSystemManagedProfile()
|
/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestAppPrebuilt/ |
D | README.md | 68 2. Ask the key owner to sign the .apk files with the "fsverity-release" key
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/ |
D | local_poc.h | 193 __u8 owner; member
|
/cts/hostsidetests/gwp_asan/common/proto/ |
D | tombstone.proto | 156 string owner = 3; field
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/ |
D | TransitionVerifier.java | 571 public static Pair<String, String> transition(String owner, String state) { in transition() argument 572 return new Pair<>(owner, state); in transition()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0213/ |
D | poc.cpp | 161 if (instance.compare(traits.owner)) { in getClient()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 735 public SimpleMultiResolutionImageReaderListener(MultiResolutionImageReader owner, in SimpleMultiResolutionImageReaderListener() argument 737 mOwner = owner; in SimpleMultiResolutionImageReaderListener()
|