/cts/tests/tests/os/src/android/os/cts/ |
D | BinderTest.java | 27 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 …]
|
D | EmptyService.java | 21 import android.os.Binder; 26 private final Binder mToken = new Binder();;
|
D | ParcelExceptionService.java | 21 import android.os.Binder; 32 private final IBinder mBinder = new Binder();
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ToastPresenterTest.java | 31 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/ |
D | EmptyService.java | 20 import android.os.Binder; 24 private static final Binder sBinder = new Binder();
|
/cts/hostsidetests/os/test-apps/StaticSharedLibConsumerApp1/src/android/os/lib/consumer1/ |
D | TestService.java | 21 import android.os.Binder; 25 private Binder mBinder = new Binder();
|
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/ |
D | StubService.java | 21 import android.os.Binder; 25 private Binder mBinder = new Binder();
|
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayTarget/src/com/android/cts/overlay/target/ |
D | OverlayTargetService.java | 21 import android.os.Binder; 26 private Binder mBinder = new Binder();
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputBindingTest.java | 24 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/ |
D | IsolatedService.java | 21 import android.os.Binder; 26 Binder mBinder = new Binder();
|
/cts/libs/install/testapp/src/com/android/cts/install/lib/testapp/ |
D | TestService.java | 21 import android.os.Binder; 25 private final IBinder mBinder = new Binder();
|
/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/src/com/android/cts/context/ |
D | ContextCrossProfileSamePackageTestService.java | 21 import android.os.Binder; 33 public class LocalBinder extends Binder {
|
/cts/hostsidetests/classloaders/splits/apps/src/com/android/cts/classloadersplitapp/ |
D | BaseService.java | 21 import android.os.Binder; 27 public class LocalBinder extends Binder {
|
/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileTestServiceApp/src/com/android/cts/testService/ |
D | ContextCrossProfileTestService.java | 21 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/ |
D | TestContentProvider.java | 23 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/ |
D | MockService.java | 21 import android.os.Binder; 28 public class MockBinder extends Binder {
|
/cts/hostsidetests/gwp_asan/common/android/cts/gwp_asan/ |
D | GwpAsanDisabledService.java | 21 import android.os.Binder; 33 public class LocalBinder extends Binder {
|
D | GwpAsanDefaultService.java | 21 import android.os.Binder; 33 public class LocalBinder extends Binder {
|
D | GwpAsanEnabledService.java | 21 import android.os.Binder; 33 public class LocalBinder extends Binder {
|
/cts/tests/credentials/src/android/credentials/cts/unittests/selection/ |
D | RequestTokenTest.java | 24 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/ |
D | AttributionSourceActivity.kt | 23 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/ |
D | SimpleService.java | 24 import android.os.Binder; 41 final Binder mBinder = new Binder() {
|
D | SimpleService3.java | 26 import android.os.Binder; 45 final Binder mBinder = new Binder() {
|
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/ |
D | ActivityStarterService.java | 21 import android.os.Binder; 57 public class LocalBinder extends Binder {
|
/cts/tests/app/app/src/android/app/stubs/ |
D | RemoteActivity.java | 21 import android.os.Binder; 35 private final IBinder mStub = new Binder() {
|