/external/sepolicy/ |
servicemanager.te | 1 # servicemanager - the Binder context manager 9 # name service (aka context manager) for Binder. 12 # or initiates a Binder IPC. 13 allow servicemanager self:binder set_context_mgr; 14 allow servicemanager { domain -init }:binder transfer;
|
binderservicedomain.te | 1 # Rules common to all binder service domains 3 # Allow dumpstate to collect information from binder services 12 # Receive and write to a pipe received over Binder from an app.
|
drmserver.te | 10 # Perform Binder IPC to system server. 16 # Perform Binder IPC to mediaserver 41 # Read resources from open apk files passed over Binder. 45 # Read /data/data/com.android.providers.telephony files passed over Binder.
|
/external/robolectric/src/main/java/android/os/ |
ShadowBinderBridge.java | 7 private Binder realBinder; 9 public ShadowBinderBridge(Binder realBinder) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
KeyguardService.java | 21 import android.os.Binder; 56 if (Binder.getCallingUid() == Process.SYSTEM_UID) return; 61 throw new SecurityException("Access denied to process: " + Binder.getCallingPid() 68 @Override // Binder interface 74 @Override // Binder interface 80 @Override // Binder interface 86 @Override // Binder interface 92 @Override // Binder interface 98 @Override // Binder interface 104 @Override // Binder interfac [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
BinderTest.java | 7 import android.os.Binder; 21 assertThat(Binder.getCallingPid(), equalTo(47)); 26 int pid = Binder.getCallingPid();
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
InCallAdapter.java | 19 import android.os.Binder; 44 long token = Binder.clearCallingIdentity(); 58 Binder.restoreCallingIdentity(token); 64 long token = Binder.clearCallingIdentity(); 78 Binder.restoreCallingIdentity(token); 84 long token = Binder.clearCallingIdentity(); 98 Binder.restoreCallingIdentity(token); 104 long token = Binder.clearCallingIdentity(); 118 Binder.restoreCallingIdentity(token); 124 long token = Binder.clearCallingIdentity() [all...] |
TelecomServiceImpl.java | 35 import android.os.Binder; 75 long token = Binder.clearCallingIdentity(); 92 Binder.restoreCallingIdentity(token); 121 long token = Binder.clearCallingIdentity(); 128 Binder.restoreCallingIdentity(token); 141 long token = Binder.clearCallingIdentity(); 152 Binder.restoreCallingIdentity(token); 165 long token = Binder.clearCallingIdentity(); 175 Binder.restoreCallingIdentity(token); 259 long token = Binder.clearCallingIdentity() [all...] |
/frameworks/av/media/libstagefright/foundation/ |
AWakeLock.cpp | 24 #include <binder/IPCThreadState.h> 25 #include <binder/IServiceManager.h> 39 sp<IBinder> binder = IInterface::asBinder(mPowerManager); local 40 binder->unlinkToDeath(mDeathRecipient); 50 sp<IBinder> binder = local 52 if (binder == NULL) { 55 mPowerManager = interface_cast<IPowerManager>(binder); 56 binder->linkToDeath(mDeathRecipient); 60 sp<IBinder> binder = new BBinder(); local 64 binder, String16("AWakeLock"), String16("media")) [all...] |
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputBindingTest.java | 20 import android.os.Binder; 32 Binder binder = new Binder(); local 35 InputBinding inputBinding = new InputBinding(bic, binder, uid, pid); 38 assertSame(binder, inputBinding.getConnectionToken()); 51 assertSame(binder, target.getConnectionToken());
|
/hardware/qcom/display/msm8994/libqdutils/ |
display_config.cpp | 41 sp<IQService> binder = getBinder(); local 43 if(binder != NULL) { 44 err = binder->dispatch(IQService::CHECK_EXTERNAL_STATUS, 58 sp<IQService> binder = getBinder(); local 61 if(binder != NULL) { 62 err = binder->dispatch(IQService::GET_DISPLAY_ATTRIBUTES, 80 sp<IQService> binder = getBinder(); local 87 if(binder != NULL) { 88 err = binder->dispatch(IQService::SET_HSIC_DATA, &inParcel, &outParcel); 97 sp<IQService> binder = getBinder() local 118 sp<IQService> binder = getBinder(); local 139 sp<IQService> binder = getBinder(); local 157 sp<IQService> binder = getBinder(); local [all...] |
/frameworks/base/core/java/android/hardware/location/ |
GeofenceHardwareService.java | 25 import android.os.Binder; 101 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 110 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 119 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 128 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 138 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType) [all...] |
/frameworks/av/media/libmedia/ |
IMediaDeathNotifier.cpp | 21 #include <binder/IServiceManager.h> 22 #include <binder/IPCThreadState.h> 27 // client singleton for binder interface to services 33 // establish binder interface to MediaPlayerService 41 sp<IBinder> binder; local 43 binder = sm->getService(String16("media.player")); 44 if (binder != 0) { 54 binder->linkToDeath(sDeathNotifier); 55 sMediaPlayerService = interface_cast<IMediaPlayerService>(binder);
|
/frameworks/native/include/private/binder/ |
Static.h | 22 #include <binder/IBinder.h> 23 #include <binder/IMemory.h> 24 #include <binder/ProcessState.h> 25 #include <binder/IPermissionController.h> 26 #include <binder/IServiceManager.h>
|
/frameworks/native/services/surfaceflinger/ |
main_surfaceflinger.cpp | 20 #include <binder/IServiceManager.h> 21 #include <binder/IPCThreadState.h> 22 #include <binder/ProcessState.h> 23 #include <binder/IServiceManager.h> 30 // binder threads to 4.
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
FakeCoreService.java | 21 import android.os.Binder; 25 final Binder mBinder = new Binder();
|
/hardware/qcom/display/msm8084/libqdutils/ |
display_config.cpp | 41 sp<IQService> binder = getBinder(); local 43 if(binder != NULL) { 44 err = binder->dispatch(IQService::CHECK_EXTERNAL_STATUS, 58 sp<IQService> binder = getBinder(); local 61 if(binder != NULL) { 62 err = binder->dispatch(IQService::GET_DISPLAY_ATTRIBUTES, 80 sp<IQService> binder = getBinder(); local 87 if(binder != NULL) { 88 err = binder->dispatch(IQService::SET_HSIC_DATA, &inParcel, &outParcel); 97 sp<IQService> binder = getBinder() local [all...] |
/frameworks/native/libs/binder/ |
IMemory.cpp | 28 #include <binder/IMemory.h> 32 #include <binder/Parcel.h> 48 sp<IMemoryHeap> find_heap(const sp<IBinder>& binder); 49 void free_heap(const sp<IBinder>& binder); 50 sp<IMemoryHeap> get_heap(const sp<IBinder>& binder); 60 void free_heap(const wp<IBinder>& binder); 91 static inline sp<IMemoryHeap> find_heap(const sp<IBinder>& binder) { 92 return gHeapCache->find_heap(binder); 94 static inline void free_heap(const sp<IBinder>& binder) { 95 gHeapCache->free_heap(binder); 244 sp<IBinder> binder = IInterface::asBinder(this); local 256 sp<IBinder> binder = IInterface::asBinder(this); local [all...] |
/frameworks/native/cmds/servicemanager/ |
Android.mk | 14 LOCAL_SRC_FILES := bctest.c binder.c 22 LOCAL_SRC_FILES := service_manager.c binder.c
|
/frameworks/base/core/java/android/app/ |
UiAutomationConnection.java | 25 import android.os.Binder; 69 private final Binder mToken = new Binder(); 88 mOwningUid = Binder.getCallingUid(); 117 final long identity = Binder.clearCallingIdentity(); 121 Binder.restoreCallingIdentity(identity); 132 final long identity = Binder.clearCallingIdentity(); 143 Binder.restoreCallingIdentity(identity); 155 final long identity = Binder.clearCallingIdentity(); 159 Binder.restoreCallingIdentity(identity) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleAdapterTest.java | 168 // the binder takes care of binding, the param ViewGroup is never readed 169 MockViewBinder binder = new MockViewBinder(true); local 170 mSimpleAdapter.setViewBinder(binder); 171 binder.reset(); 173 assertTrue(binder.hasCalledSetViewValue()); 175 // binder try binding but fail 176 binder = new MockViewBinder(false); 177 mSimpleAdapter.setViewBinder(binder); 178 binder.reset(); 180 assertTrue(binder.hasCalledSetViewValue()) 237 MockViewBinder binder = new MockViewBinder(true); local 275 MockViewBinder binder = new MockViewBinder(true); local [all...] |
/frameworks/base/services/core/java/com/android/server/dreams/ |
DreamManagerService.java | 35 import android.os.Binder; 78 private Binder mCurrentDreamToken; 357 final Binder newToken = new Binder(); 411 throw new SecurityException("Access denied to process: " + Binder.getCallingPid() 443 public void onDreamStopped(Binder token) { 463 @Override // Binder call 468 + Binder.getCallingPid() 469 + ", uid=" + Binder.getCallingUid()); 473 final long ident = Binder.clearCallingIdentity() [all...] |
/cts/libs/deviceutil/src/android/cts/util/ |
IBinderParcelable.java | 23 public IBinder binder; field in class:IBinderParcelable 26 binder = source; 34 dest.writeStrongBinder(binder); 50 binder = source.readStrongBinder();
|
/frameworks/av/drm/libdrmframework/include/ |
IDrmServiceListener.h | 21 #include <binder/IInterface.h> 22 #include <binder/Parcel.h> 47 * This is the Binder implementation class for DRM service listener. 59 * This is the Binder implementation class for DRM service listener.
|
/frameworks/av/media/common_time/ |
Android.mk | 4 # (binder marshalers for ICommonClock as well as common clock and local clock
|