/cts/libs/deviceutil/src/android/cts/util/ |
D | IBinderParcelable.java | 23 public IBinder binder; field in IBinderParcelable 26 binder = source; in IBinderParcelable() 34 dest.writeStrongBinder(binder); in writeToParcel() 50 binder = source.readStrongBinder(); in IBinderParcelable()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SimpleAdapterTest.java | 169 MockViewBinder binder = new MockViewBinder(true); in testGetView() local 170 mSimpleAdapter.setViewBinder(binder); in testGetView() 171 binder.reset(); in testGetView() 173 assertTrue(binder.hasCalledSetViewValue()); in testGetView() 176 binder = new MockViewBinder(false); in testGetView() 177 mSimpleAdapter.setViewBinder(binder); in testGetView() 178 binder.reset(); in testGetView() 180 assertTrue(binder.hasCalledSetViewValue()); in testGetView() 237 MockViewBinder binder = new MockViewBinder(true); in testGetDropDownView() local 238 mSimpleAdapter.setViewBinder(binder); in testGetDropDownView() [all …]
|
D | SimpleCursorAdapterTest.java | 127 MockViewBinder binder = new MockViewBinder(true); in testBindView() local 128 simpleCursorAdapter.setViewBinder(binder); in testBindView() 129 binder.reset(); in testBindView() 132 assertTrue(binder.hasCalledSetViewValueCalledCount()); in testBindView() 136 binder = new MockViewBinder(false); in testBindView() 137 simpleCursorAdapter.setViewBinder(binder); in testBindView() 140 assertTrue(binder.hasCalledSetViewValueCalledCount()); in testBindView() 161 MockViewBinder binder = new MockViewBinder(true); in testAccessViewBinder() local 162 simpleCursorAdapter.setViewBinder(binder); in testAccessViewBinder() 163 assertSame(binder, simpleCursorAdapter.getViewBinder()); in testAccessViewBinder() [all …]
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_LoadEffectLibraryTest.cpp | 41 sp<IBinder> binder = sm->getService(String16("media.audio_flinger")); in android_security_cts_LoadEffectLibraryTest_doLoadLibraryTest() local 42 if (binder == 0) { in android_security_cts_LoadEffectLibraryTest_doLoadLibraryTest() 47 sp<IAudioFlinger> af = interface_cast<IAudioFlinger>(binder); in android_security_cts_LoadEffectLibraryTest_doLoadLibraryTest() 58 status_t status = binder->transact(i, data, &reply); in android_security_cts_LoadEffectLibraryTest_doLoadLibraryTest()
|
D | android_security_cts_AudioPolicyBinderTest.cpp | 47 sp<IBinder> binder = defaultServiceManager()->checkService(String16("media.audio_policy")); in init() local 48 if (binder == 0) { in init() 57 aps = interface_cast<IAudioPolicyService>(binder); in init()
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
D | InputBindingTest.java | 32 Binder binder = new Binder(); in testInputBinding() local 35 InputBinding inputBinding = new InputBinding(bic, binder, uid, pid); in testInputBinding() 38 assertSame(binder, inputBinding.getConnectionToken()); in testInputBinding() 51 assertSame(binder, target.getConnectionToken()); in testInputBinding()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | WindowManager_LayoutParamsTest.java | 70 IBinder binder = new Binder(); in testConstructor() local 72 mLayoutParams.token = binder; in testConstructor() 198 IBinder binder = new Binder(); in testWriteToParcel() local 207 mLayoutParams.token = binder; in testWriteToParcel()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectionActivity.java | 58 public void onServiceConnected(ComponentName name, IBinder binder) { 59 mService = IProjectionService.Stub.asInterface(binder);
|
/cts/tests/tests/os/src/android/os/cts/ |
D | LocalService.java | 69 mReportObject = parcelable.binder; in onStart()
|
D | ParcelTest.java | 437 Binder binder; in testReadValue() local 442 binder = (Binder) p.readValue(mcl); in testReadValue() 443 assertEquals(binder2, binder); in testReadValue() 2652 Binder binder; 2664 binder = (Binder) p.readStrongBinder(); 2665 assertEquals(binder2, binder); 2683 mockIInterface2.binder = (Binder) p.readStrongBinder(); 2684 assertEquals(mockInterface.binder, mockIInterface2.binder); 2961 public Binder binder; 2964 binder = new Binder(); [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | LocalService.java | 69 mReportObject = parcelable.binder; in onStart()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ProjectionOffscreenActivity.java | 123 public void onServiceConnected(ComponentName name, IBinder binder) { 124 mService = IProjectionService.Stub.asInterface(binder);
|
/cts/tests/tests/location/src/android/location/cts/ |
D | LocationTest.java | 440 IBinder binder = service.callOnBind(intent); in testSettingInjectorService() local 441 assertNull("onBind should always fail.", binder); in testSettingInjectorService()
|