Home
last modified time | relevance | path

Searched refs:mBinder (Results 1 – 25 of 74) sorted by relevance

123

/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DAppControlWrapper.java42 private final IAppControl mBinder; field in AppControlWrapper
60 mBinder = binder; in AppControlWrapper()
79 return mBinder.isBound(); in isBound()
89 return mBinder.getProcessUserHandle(); in getProcessUserHandle()
100 return mBinder.getProcessUid(); in getProcessUid()
115 NoDataTransaction transactionResult = mBinder.addCall(callAttributes); in addCall()
136 mBinder.transitionCallStateTo(id, newCallState, expectSuccess, extras); in setCallState()
153 transactionResult = mBinder.getCurrentCallEndpoint(id); in getCurrentCallEndpoint()
169 transactionResult = mBinder.getAvailableCallEndpoints(id); in getAvailableCallEndpoints()
185 mBinder.requestCallEndpointChange(id, newCallEndpoint); in setAudioRouteStateAndVerify()
[all …]
/cts/tests/tests/net/native/src/
DTagSocketTest.cpp33 mBinder = ndk::SpAIBinder(AServiceManager_waitForService("connectivity")); in TagSocketTest()
36 void SetUp() override { ASSERT_NE(nullptr, mBinder.get()); } in SetUp()
39 ndk::SpAIBinder mBinder; member in TagSocketTest
96 EXPECT_TRUE(socketIsNotTagged(mBinder, cookie)); in TEST_F()
99 EXPECT_TRUE(socketIsTagged(mBinder, cookie, geteuid(), TEST_TAG)); in TEST_F()
101 EXPECT_TRUE(socketIsNotTagged(mBinder, cookie)); in TEST_F()
104 EXPECT_TRUE(socketIsTagged(mBinder, cookie, TEST_UID, TEST_TAG)); in TEST_F()
106 EXPECT_TRUE(socketIsNotTagged(mBinder, cookie)); in TEST_F()
109 EXPECT_TRUE(socketIsTagged(mBinder, cookie, geteuid(), TEST_TAG)); in TEST_F()
111 EXPECT_TRUE(waitSocketIsNotTagged(mBinder, cookie, 100 /* maxTries */)); in TEST_F()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java54 private MockBinder mBinder; field in BinderTest
58 mBinder = new MockBinder(); in setUp()
68 assertTrue(mBinder.isBinderAlive()); in testSimpleMethods()
70 mBinder.linkToDeath(new MockDeathRecipient(), 0); in testSimpleMethods()
72 assertTrue(mBinder.unlinkToDeath(new MockDeathRecipient(), 0)); in testSimpleMethods()
74 assertTrue(mBinder.pingBinder()); in testSimpleMethods()
83 mBinder.dump(new FileDescriptor(), in testDump()
87 mBinder.dump(new FileDescriptor(), dumpArgs); in testDump()
95 mBinder.handleShellCommand(ParcelFileDescriptor.dup(FileDescriptor.in), in testHandleShellCommand()
263 assertNull(mBinder.getInterfaceDescriptor()); in testInterfaceRelatedMethods()
[all …]
DExceptionalParcelable.java25 private final IBinder mBinder; field in ExceptionalParcelable
28 mBinder = binder; in ExceptionalParcelable()
40 out.writeStrongBinder(mBinder); in writeToParcel()
DParcelExceptionService.java32 private final IBinder mBinder = new Binder(); field in ParcelExceptionService.ParcelExceptionServiceImpl
37 return new ExceptionalParcelable(mBinder); in writeBinderThrowException()
DEmptyService.java28 private final IEmptyService.Stub mBinder = new IEmptyService.Stub() { field in EmptyService
37 return mBinder; in onBind()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DRemoteService.java49 private RemoteServiceStub mBinder; field in RemoteService
55 mBinder = new RemoteServiceStub(); in onCreate()
68 return mBinder; in onBind()
124 private IRemoteService mBinder; field in RemoteService.Invoker
143 mBinder = IRemoteService.Stub.asInterface(service); in Invoker()
149 mBinder = null; in Invoker()
185 assertTrue(ASSERTION_MESSAGE, mBinder.run(mTestId, step, args)); in run()
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DNativeService.java29 private final IBinder mBinder; field in NativeService
37 mBinder = getBinder_native(); in NativeService()
50 return mBinder; in onBind()
DJavaService.java37 return mBinder; in onBind()
40 private final TestImpl mBinder = new TestImpl(); field in JavaService
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21000/src/android/security/cts/CVE_2023_21000/
DDeviceTest.java40 private IBinder mBinder = null; field in DeviceTest
49 mBinder = getService("activity"); in testCVE_2023_21000()
57 assumeNotNull(mBinder); in testCVE_2023_21000()
63 mBinder.transact(TRANSACTION_openContentUri, mParcel, mReply, 0); in testCVE_2023_21000()
/cts/libs/install/testapp/src/com/android/cts/install/lib/testapp/
DTestServiceActivity.java32 private IBinder mBinder; field in TestServiceActivity
43 mBinder = service; in onCreate()
47 mBinder = null; in onCreate()
DTestService.java25 private final IBinder mBinder = new Binder(); field in TestService
28 return mBinder; in onBind()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DDataSharingServiceTest.java42 private DataSharingService.LocalBinder mBinder; field in DataSharingServiceTest
61 mBinder = (DataSharingService.LocalBinder) in setup()
73 DataSharingService dataSharingService = mBinder.getService(); in testDataSharingSessionAccepted()
92 DataSharingService dataSharingService = mBinder.getService(); in testDataSharingSessionRejected()
107 DataSharingService dataSharingService = mBinder.getService(); in testDataShareRequest_valuesPropagatedToReceiver()
124 DataSharingService dataSharingService = mBinder.getService(); in testDataSharingSessionError_concurrentRequests()
/cts/hostsidetests/os/test-apps/StaticSharedLibConsumerApp1/src/android/os/lib/consumer1/
DTestService.java25 private Binder mBinder = new Binder(); field in TestService
29 return mBinder; in onBind()
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
DStubService.java25 private Binder mBinder = new Binder(); field in StubService
29 return mBinder; in onBind()
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayTarget/src/com/android/cts/overlay/target/
DOverlayTargetService.java26 private Binder mBinder = new Binder(); field in OverlayTargetService
30 return mBinder; in onBind()
/cts/hostsidetests/classloaders/splits/apps/src/com/android/cts/classloadersplitapp/
DBaseService.java25 private final IBinder mBinder = new LocalBinder(); field in BaseService
35 return mBinder; in onBind()
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
DProtectedCrossUserService.java30 private final ICrossUserService.Stub mBinder = new ICrossUserService.Stub() { field in ProtectedCrossUserService
42 return mBinder; in onBind()
/cts/tests/tests/content/src/android/content/cts/
DMockService.java26 private final IBinder mBinder = new MockBinder(); field in MockService
40 return mBinder; in onBind()
/cts/hostsidetests/gwp_asan/common/android/cts/gwp_asan/
DGwpAsanDisabledService.java26 private final IBinder mBinder = new LocalBinder(); field in GwpAsanDisabledService
30 return mBinder; in onBind()
DGwpAsanDefaultService.java26 private final IBinder mBinder = new LocalBinder(); field in GwpAsanDefaultService
30 return mBinder; in onBind()
DGwpAsanEnabledService.java26 private final IBinder mBinder = new LocalBinder(); field in GwpAsanEnabledService
30 return mBinder; in onBind()
/cts/tests/tests/security/src/android/security/cts/
DBitmapService.java27 private final IBitmapService.Stub mBinder = new IBitmapService.Stub() { field in BitmapService
53 return mBinder; in onBind()
/cts/tests/tests/notification/NotificationListener/src/com/android/test/notificationlistener/
DNLSControlService.kt45 private val mBinder = MyNLSControlService() constant
47 return mBinder in onBind()
/cts/hostsidetests/appsecurity/test-apps/UseEmbeddedDexApp/src/com/android/cts/useembeddeddex/
DIsolatedService.java26 Binder mBinder = new Binder(); field in IsolatedService
37 return mBinder; in onBind()

123