Home
last modified time | relevance | path

Searched refs:owner (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DCloseGuardTest.java41 ResourceOwner owner = new ResourceOwner(); in testEnabled_NotOpen() local
42 assertUnreleasedResources(owner, 0); in testEnabled_NotOpen()
47 ResourceOwner owner = new ResourceOwner(); in testEnabled_OpenNotClosed() local
48 owner.open(); in testEnabled_OpenNotClosed()
49 assertUnreleasedResources(owner, 1); in testEnabled_OpenNotClosed()
54 ResourceOwner owner = new ResourceOwner(); in testEnabled_OpenThenClosed() local
55 owner.open(); in testEnabled_OpenThenClosed()
56 owner.close(); in testEnabled_OpenThenClosed()
57 assertUnreleasedResources(owner, 0); in testEnabled_OpenThenClosed()
66 private void assertUnreleasedResources(ResourceOwner owner, int expectedCount) in assertUnreleasedResources() argument
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTestJournalProvider.java138 public static void putExtras(Context context, ComponentName owner, in putExtras() argument
140 putExtras(context, componentNameToKey(owner), bundleFiller); in putExtras()
144 public static void putExtras(Context context, String owner, Consumer<Bundle> bundleFiller) { in putExtras() argument
145 try (TestJournalClient client = TestJournalClient.create(context, owner)) { in putExtras() argument
191 public TestJournalClient(ContentProviderClient client, String owner) { in TestJournalClient() argument
193 mOwner = owner; in TestJournalClient()
227 static TestJournalClient create(Context context, ComponentName owner) { in create() argument
228 return create(context, componentNameToKey(owner)); in create()
232 static TestJournalClient create(Context context, String owner) { in create() argument
238 return new TestJournalClient(client, owner); in create()
[all …]
/cts/tests/tests/car/src/android/car/cts/
DCarAppFocusManagerTest.java60 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in setUp() local
62 mManager.requestAppFocus(activeTypes[i], owner); in setUp()
63 owner.waitForOwnershipGrantAndAssert(DEFAULT_WAIT_TIMEOUT_MS, activeTypes[i]); in setUp()
64 mManager.abandonAppFocus(owner, activeTypes[i]); in setUp()
65 owner.waitForOwnershipLossAndAssert( in setUp()
119 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testFocusChange() local
125 mManager.requestAppFocus(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, owner)); in testFocusChange()
126 assertTrue(owner.waitForOwnershipGrantAndAssert( in testFocusChange()
131 assertTrue(mManager.isOwningFocus(owner, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION)); in testFocusChange()
141 assertTrue(mManager.isOwningFocus(owner, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION)); in testFocusChange()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DLifecycleLog.java134 LifecycleLogClient(ContentProviderClient client, Activity owner) { in LifecycleLogClient() argument
136 mOwner = owner.getClass().getCanonicalName(); in LifecycleLogClient()
155 static LifecycleLogClient create(Activity owner) { in create() argument
156 final ContentProviderClient client = owner.getContentResolver() in create()
161 return new LifecycleLogClient(client, owner); in create()
/cts/tests/tests/notificationlegacy/notificationlegacy20/
DOWNERS1 # DO NOT DELETE: OWNERS is intended to be empty as module owner and bug component are defined
3 # need to tell the difference between "no owner is specified for this module" vs "explicitly
/cts/tests/tests/notificationlegacy/notificationlegacy29/
DOWNERS1 # DO NOT DELETE: OWNERS is intended to be empty as module owner and bug component are defined
3 # need to tell the difference between "no owner is specified for this module" vs "explicitly
/cts/tests/tests/notificationlegacy/notificationlegacy27/
DOWNERS1 # DO NOT DELETE: OWNERS is intended to be empty as module owner and bug component are defined
3 # need to tell the difference between "no owner is specified for this module" vs "explicitly
/cts/tests/tests/notificationlegacy/notificationlegacy28/
DOWNERS1 # DO NOT DELETE: OWNERS is intended to be empty as module owner and bug component are defined
3 # need to tell the difference between "no owner is specified for this module" vs "explicitly
/cts/hostsidetests/devicepolicy/app/AccountCheck/
DAndroid.bp24 srcs: ["src-owner/**/*.java"],
45 srcs: ["src-owner/**/*.java"],
66 srcs: ["src-owner/**/*.java"],
/cts/hostsidetests/compilation/src/android/compilation/cts/
DAdbRootDependentCompilationTest.java270 String owner = executeSuShellAdbCommand(1, "stat", "-c", "%U:%g", targetDir)[0]; in writeProfile() local
272 while (owner.startsWith(" ")) { in writeProfile()
273 owner = owner.substring(1); in writeProfile()
293 executeSuShellAdbCommand(0, "chown", owner, targetPath); in writeProfile()
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/
DAndroid.bp16 // This allow us to have different device owner and profile owner, some APIs may behave differently
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DExternalStorageHostTest.java327 final int owner = mUsers[0]; in testMultiUserStorageIsolated() local
338 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testCleanIsolatedStorage", owner); in testMultiUserStorageIsolated()
342 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testWriteIsolatedStorage", owner); in testMultiUserStorageIsolated()
346 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testReadIsolatedStorage", owner); in testMultiUserStorageIsolated()
350 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testUserIsolation", owner); in testMultiUserStorageIsolated()
354 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testMediaProviderUserIsolation", owner); in testMultiUserStorageIsolated()
/cts/hostsidetests/devicepolicy/app/AccountCheck/src-owner/com/android/cts/devicepolicy/accountcheck/owner/
DAdminReceiver.java16 package com.android.cts.devicepolicy.accountcheck.owner;
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/
Dlocal_poc.h193 __u8 owner; member