/frameworks/rs/ |
H A D | rsApiMesh.cpp | 24 Mesh *sm = static_cast<Mesh *>(mv); local 25 *numVtx = sm->mHal.state.vertexBuffersCount; 29 Mesh *sm = static_cast<Mesh *>(mv); local 30 *numIdx = sm->mHal.state.primitivesCount; 34 Mesh *sm = static_cast<Mesh *>(mv); local 35 rsAssert(vtxDataCount == sm->mHal.state.vertexBuffersCount); 38 vtxData[ct] = sm->mHal.state.vertexBuffers[ct]; 39 sm->mHal.state.vertexBuffers[ct]->incUserRef(); 44 Mesh *sm = static_cast<Mesh *>(mv); local 45 rsAssert(idxDataCount == sm [all...] |
H A D | rsScriptC_LibGL.cpp | 151 void rsrDrawPath(Context *rsc, Path *sm) { argument 155 void rsrDrawMesh(Context *rsc, Mesh *sm) { argument 156 CHECK_OBJ(sm); 160 sm->render(rsc); 163 void rsrDrawMeshPrimitive(Context *rsc, Mesh *sm, uint32_t primIndex) { argument 164 CHECK_OBJ(sm); 168 sm->renderPrimitive(rsc, primIndex); 171 void rsrDrawMeshPrimitiveRange(Context *rsc, Mesh *sm, uint32_t primIndex, argument 173 CHECK_OBJ(sm); 177 sm 180 rsrMeshComputeBoundingBox(Context *rsc, Mesh *sm, float *minX, float *minY, float *minZ, float *maxX, float *maxY, float *maxZ) argument [all...] |
/frameworks/base/cmds/sm/ |
H A D | Android.mk | 7 LOCAL_MODULE := sm 11 LOCAL_MODULE := sm 12 LOCAL_SRC_FILES := sm
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | MountServiceTests.java | 128 private void mountObb(StorageManager sm, final int resource, final File file, argument 134 sm.mountObb(file.getPath(), null, observer)); 140 assertTrue("OBB should be mounted", sm.isObbMounted(file.getPath())); 149 private ObbObserver mountObbWithoutWait(final StorageManager sm, final int resource, argument 154 assertTrue("mountObb call on " + file.getPath() + " should succeed", sm.mountObb(file 160 private void waitForObbActionCompletion(final StorageManager sm, final File file, argument 164 assertTrue("OBB should be mounted", sm.isObbMounted(file.getPath())); 174 private String checkMountedPath(final StorageManager sm, final File file) { argument 175 final String mountPath = sm.getMountedObbPath(file.getPath()); 182 private void unmountObb(final StorageManager sm, fina argument [all...] |
/frameworks/av/camera/cameraserver/ |
H A D | main_cameraserver.cpp | 30 sp<IServiceManager> sm = defaultServiceManager(); local 31 ALOGI("ServiceManager: %p", sm.get());
|
/frameworks/av/drm/drmserver/ |
H A D | main_drmserver.cpp | 34 sp<IServiceManager> sm = defaultServiceManager(); local 35 ALOGV("ServiceManager: %p", sm.get());
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ListContextMenu.java | 103 SubMenu sm = menu.addSubMenu(0, 0, 0, "The 2nd item, a sub menu").setIcon(R.drawable.black_square_stretchable); 104 item = sm.getItem(); 106 sm.add(1, 0, 0, "Subitem 1"); 107 sm.add(1, 0, 0, "Subitem 2"); 108 sm.add(1, 0, 0, "Subitem 3"); 109 sm.setGroupCheckable(1, true, true); 117 sm = menu.addSubMenu(0, 0, 0, "Item 10 SM"); 118 sm.add(0, 0, 0, "Subitem 1"); 119 sm.add(0, 0, 0, "Subitem 2"); 120 sm [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | main_surfaceflinger.cpp | 57 sp<IServiceManager> sm(defaultServiceManager()); 58 sm->addService(String16(SurfaceFlinger::getServiceName()), flinger, false); 62 sm->addService(String16(GpuService::SERVICE_NAME), gpuservice, false);
|
/frameworks/av/media/mediaserver/ |
H A D | main_mediaserver.cpp | 39 sp<IServiceManager> sm(defaultServiceManager()); 40 ALOGI("ServiceManager: %p", sm.get());
|
/frameworks/av/services/mediadrm/ |
H A D | main_mediadrmserver.cpp | 38 sp<IServiceManager> sm = defaultServiceManager(); local 39 ALOGI("ServiceManager: %p", sm.get());
|
/frameworks/native/cmds/cmd/ |
H A D | cmd.cpp | 54 sp<IServiceManager> sm = defaultServiceManager(); local 56 if (sm == NULL) { 68 Vector<String16> services = sm->listServices(); 73 sp<IBinder> service = sm->checkService(services[i]); 86 sp<IBinder> service = sm->checkService(cmd);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | ActivityManager.cpp | 35 sp<IServiceManager> sm = defaultServiceManager(); local 36 sp<IBinder> am = sm->getService(String16("activity"));
|
/frameworks/native/include/binder/ |
H A D | BinderService.h | 38 sp<IServiceManager> sm(defaultServiceManager()); 39 return sm->addService(
|
H A D | IServiceManager.h | 71 const sp<IServiceManager> sm = defaultServiceManager(); local 72 if (sm != NULL) { 73 *outService = interface_cast<INTERFACE>(sm->getService(name));
|
/frameworks/native/libs/binder/ |
H A D | ProcessInfoService.cpp | 61 const sp<IServiceManager> sm(defaultServiceManager()); 62 if (sm != NULL) { 64 mProcessInfoService = interface_cast<IProcessInfoService>(sm->checkService(name));
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | StateMachineTest.java | 66 private void dumpLogRecs(StateMachine sm) { argument 67 int size = sm.getLogRecSize(); 68 tlog("size=" + size + " count=" + sm.getLogRecCount()); 70 LogRec lr = sm.getLogRec(i); 1519 StateMachineUnhandledMessage sm = new StateMachineUnhandledMessage("smUnhandledMessage"); 1520 sm.start(); 1521 if (sm.isDbg()) tlog("testStateMachineUnhandledMessage E"); 1523 synchronized (sm) { 1526 sm.sendMessage(i); 1531 sm [all...] |
/frameworks/av/media/audioserver/ |
H A D | main_audioserver.cpp | 101 sp<IServiceManager> sm = defaultServiceManager(); local 102 sp<IBinder> binder = sm->getService(String16("media.log")); 126 sp<IServiceManager> sm = defaultServiceManager(); local 127 ALOGI("ServiceManager: %p", sm.get());
|
/frameworks/av/services/mediacodec/ |
H A D | main_codecservice.cpp | 43 sp<IServiceManager> sm = defaultServiceManager(); local
|
/frameworks/av/services/mediaextractor/ |
H A D | main_extractorservice.cpp | 51 sp<IServiceManager> sm = defaultServiceManager(); local
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaCrypto.cpp | 40 sp<IServiceManager> sm = defaultServiceManager(); local 41 sp<IBinder> binder = sm->getService(String16("media.drm"));
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | AsyncChannel.java | 783 SyncMessenger sm; 786 sm = new SyncMessenger(); 787 sm.mHandlerThread = new HandlerThread("SyncHandler-" + sCount++); 788 sm.mHandlerThread.start(); 789 sm.mHandler = sm.new SyncHandler(sm.mHandlerThread.getLooper()); 790 sm.mMessenger = new Messenger(sm.mHandler); 792 sm [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Tethering.java | 264 TetherInterfaceSM sm = mIfaces.get(iface); 266 if (sm == null) { 267 sm = new TetherInterfaceSM(iface, mLooper, usb); 268 mIfaces.put(iface, sm); 269 sm.start(); 276 } else if (sm != null) { 277 sm.sendMessage(TetherInterfaceSM.CMD_INTERFACE_DOWN); 337 TetherInterfaceSM sm = mIfaces.get(iface); 338 if (sm != null) { 342 sm [all...] |
/frameworks/native/services/sensorservice/ |
H A D | BatteryService.cpp | 34 const sp<IServiceManager> sm(defaultServiceManager()); 35 if (sm != NULL) { 37 mBatteryStatService = interface_cast<IBatteryStats>(sm->getService(name));
|
/frameworks/av/media/libmedia/ |
H A D | IMediaDeathNotifier.cpp | 40 sp<IServiceManager> sm = defaultServiceManager(); local 43 binder = sm->getService(String16("media.player"));
|
/frameworks/av/services/audioflinger/ |
H A D | ServiceUtilities.cpp | 79 sp<IServiceManager> sm = defaultServiceManager(); local 80 sp<IBinder> binder = sm->getService(String16("permission"));
|