Home
last modified time | relevance | path

Searched refs:Binder (Results 1 – 25 of 127) sorted by relevance

123456

/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java27 import android.os.Binder;
63 new Binder(); in testSimpleMethods()
65 assertEquals(Process.myPid(), Binder.getCallingPid()); in testSimpleMethods()
66 assertEquals(Process.myUid(), Binder.getCallingUid()); in testSimpleMethods()
102 Binder.flushPendingCommands(); in testFlushPendingCommands()
114 Binder.joinThreadPool(); in testJoinThreadPool()
147 long token = Binder.clearCallingIdentity(); in testClearCallingIdentity()
149 Binder.restoreCallingIdentity(token); in testClearCallingIdentity()
154 assertThrows(IllegalStateException.class, () -> Binder.getCallingUidOrThrow()); in testGetCallingUidOrThrow_throws()
160 long token = Binder.clearCallingIdentity(); in testGetCallingUidOrThrow_insideClearRestoreCallingIdentity_doesNotThrow()
[all …]
DEmptyService.java21 import android.os.Binder;
26 private final Binder mToken = new Binder();;
DParcelExceptionService.java21 import android.os.Binder;
32 private final IBinder mBinder = new Binder();
/cts/tests/tests/widget/src/android/widget/cts/
DToastPresenterTest.java31 import android.os.Binder;
62 Binder token = new Binder(); in testUpdateLayoutParams()
63 Binder windowToken = new Binder(); in testUpdateLayoutParams()
80 Binder token = new Binder(); in testShowOnInvalidDisplay_doNotThrow()
81 Binder windowToken = new Binder(); in testShowOnInvalidDisplay_doNotThrow()
95 Binder token = new Binder(); in testAddA11yClientOnlyWhenShowing()
96 Binder windowToken = new Binder(); in testAddA11yClientOnlyWhenShowing()
/cts/tests/app/FgsStartTest/helper/src/android/app/fgsstarttesthelper/
DEmptyService.java20 import android.os.Binder;
24 private static final Binder sBinder = new Binder();
/cts/hostsidetests/os/test-apps/StaticSharedLibConsumerApp1/src/android/os/lib/consumer1/
DTestService.java21 import android.os.Binder;
25 private Binder mBinder = new Binder();
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
DStubService.java21 import android.os.Binder;
25 private Binder mBinder = new Binder();
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayTarget/src/com/android/cts/overlay/target/
DOverlayTargetService.java21 import android.os.Binder;
26 private Binder mBinder = new Binder();
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputBindingTest.java24 import android.os.Binder;
55 Binder binder = new Binder(); in testInputBinding()
79 Binder connectionToken = mock(Binder.class); in testInputBindingConstructor()
92 Binder connectionToken = mock(Binder.class); in testInputBindingCopyConstructor()
/cts/hostsidetests/appsecurity/test-apps/UseEmbeddedDexApp/src/com/android/cts/useembeddeddex/
DIsolatedService.java21 import android.os.Binder;
26 Binder mBinder = new Binder();
/cts/libs/install/testapp/src/com/android/cts/install/lib/testapp/
DTestService.java21 import android.os.Binder;
25 private final IBinder mBinder = new Binder();
/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/src/com/android/cts/context/
DContextCrossProfileSamePackageTestService.java21 import android.os.Binder;
33 public class LocalBinder extends Binder {
/cts/hostsidetests/classloaders/splits/apps/src/com/android/cts/classloadersplitapp/
DBaseService.java21 import android.os.Binder;
27 public class LocalBinder extends Binder {
/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileTestServiceApp/src/com/android/cts/testService/
DContextCrossProfileTestService.java21 import android.os.Binder;
33 public class LocalBinder extends Binder {
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21000/src/android/security/cts/CVE_2023_21000/
DTestContentProvider.java23 import android.os.Binder;
60 Log.i(TAG, "Calling UID: " + Binder.getCallingUid()); in openFile()
61 Log.i(TAG, "Calling PID: " + Binder.getCallingPid()); in openFile()
/cts/tests/tests/content/src/android/content/cts/
DMockService.java21 import android.os.Binder;
28 public class MockBinder extends Binder {
/cts/hostsidetests/gwp_asan/common/android/cts/gwp_asan/
DGwpAsanDisabledService.java21 import android.os.Binder;
33 public class LocalBinder extends Binder {
DGwpAsanDefaultService.java21 import android.os.Binder;
33 public class LocalBinder extends Binder {
DGwpAsanEnabledService.java21 import android.os.Binder;
33 public class LocalBinder extends Binder {
/cts/tests/credentials/src/android/credentials/cts/unittests/selection/
DRequestTokenTest.java24 import android.os.Binder;
46 private static final IBinder TOKEN1 = new Binder();
47 private static final IBinder TOKEN2 = new Binder();
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/
DAttributionSourceActivity.kt23 import android.os.Binder
39 Log.i(TAG, "Read AttributionSource from PID " + Binder.getCallingPid()) in onCreate()
79 Binder.getCallingPid()) in readAttributionSource()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleService.java24 import android.os.Binder;
41 final Binder mBinder = new Binder() {
DSimpleService3.java26 import android.os.Binder;
45 final Binder mBinder = new Binder() {
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/
DActivityStarterService.java21 import android.os.Binder;
57 public class LocalBinder extends Binder {
/cts/tests/app/app/src/android/app/stubs/
DRemoteActivity.java21 import android.os.Binder;
35 private final IBinder mStub = new Binder() {

123456