Searched refs:mgr (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/native/include/android/
H A Dstorage_manager.h93 void AStorageManager_delete(AStorageManager* mgr);
103 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key,
109 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force,
115 int AStorageManager_isObbMounted(AStorageManager* mgr, const char* filename);
120 const char* AStorageManager_getMountedObbPath(AStorageManager* mgr, const char* filename);
H A Dasset_manager.h50 AAssetDir* AAssetManager_openDir(AAssetManager* mgr, const char* dirName);
57 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode);
/frameworks/base/core/java/android/os/
H A DSystemClock.java144 IAlarmManager mgr = IAlarmManager.Stub.asInterface(b);
145 if (mgr == null) {
150 return mgr.setTime(millis);
/frameworks/base/native/android/
H A Dstorage_manager.cpp40 ObbActionListener(AStorageManager* mgr) : argument
41 mStorageManager(mgr)
172 sp<AStorageManager> mgr = new AStorageManager(); local
173 if (mgr == NULL || !mgr->initialize()) {
176 mgr->incStrong((void*)AStorageManager_new);
177 return static_cast<AStorageManager*>(mgr.get());
180 void AStorageManager_delete(AStorageManager* mgr) { argument
181 if (mgr) {
182 mgr
186 AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, AStorageManager_obbCallbackFunc cb, void* data) argument
191 AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, AStorageManager_obbCallbackFunc cb, void* data) argument
196 AStorageManager_isObbMounted(AStorageManager* mgr, const char* filename) argument
200 AStorageManager_getMountedObbPath(AStorageManager* mgr, const char* filename) argument
[all...]
H A Dasset_manager.cpp107 AssetManager* mgr = static_cast<AssetManager*>(amgr); local
108 Asset* asset = mgr->open(filename, amMode);
118 AssetManager* mgr = static_cast<AssetManager*>(amgr); local
119 return new AAssetDir(mgr->openDir(dirName));
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp64 SensorManager& mgr(SensorManager::getInstance());
67 ssize_t count = mgr.getSensorList(&list);
70 sp<SensorEventQueue> q = mgr.createEventQueue();
73 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER);
/frameworks/base/graphics/java/android/graphics/
H A DFontFamily.java69 public boolean addFontFromAsset(AssetManager mgr, String path) { argument
70 return nAddFontFromAsset(mNativePtr, mgr, path);
78 private static native boolean nAddFontFromAsset(long nativeFamily, AssetManager mgr, argument
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java25 StorageManager mgr = (StorageManager) getSystemService(Context.STORAGE_SERVICE);
26 if (mgr != null) {
27 mVolumes = mgr.getVolumeList();
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dpSink.java167 IBluetoothManager mgr = mAdapter.getBluetoothManager();
168 if (mgr != null) {
170 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback);
193 IBluetoothManager mgr = mAdapter.getBluetoothManager();
194 if (mgr != null) {
196 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback);
H A DBluetoothAvrcpController.java109 IBluetoothManager mgr = mAdapter.getBluetoothManager();
110 if (mgr != null) {
112 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback);
135 IBluetoothManager mgr = mAdapter.getBluetoothManager();
136 if (mgr != null) {
138 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback);
H A DBluetoothPbap.java148 IBluetoothManager mgr = mAdapter.getBluetoothManager();
149 if (mgr != null) {
151 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback);
186 IBluetoothManager mgr = mAdapter.getBluetoothManager();
187 if (mgr != null) {
189 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback);
H A DBluetoothA2dp.java154 IBluetoothManager mgr = mAdapter.getBluetoothManager();
155 if (mgr != null) {
157 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback);
180 IBluetoothManager mgr = mAdapter.getBluetoothManager();
181 if (mgr != null) {
183 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback);
H A DBluetoothHealth.java474 IBluetoothManager mgr = mAdapter.getBluetoothManager();
475 if (mgr != null) {
477 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback);
500 IBluetoothManager mgr = mAdapter.getBluetoothManager();
501 if (mgr != null) {
503 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback);
H A DBluetoothMap.java92 IBluetoothManager mgr = mAdapter.getBluetoothManager();
93 if (mgr != null) {
95 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback);
130 IBluetoothManager mgr = mAdapter.getBluetoothManager();
131 if (mgr != null) {
133 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback);
H A DBluetoothInputDevice.java246 IBluetoothManager mgr = mAdapter.getBluetoothManager();
247 if (mgr != null) {
249 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback);
272 IBluetoothManager mgr = mAdapter.getBluetoothManager();
273 if (mgr != null) {
275 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback);
H A DBluetoothPan.java159 IBluetoothManager mgr = mAdapter.getBluetoothManager();
160 if (mgr != null) {
162 mgr.unregisterStateChangeCallback(mStateChangeCallback);
H A DBluetoothHeadset.java263 IBluetoothManager mgr = mAdapter.getBluetoothManager();
264 if (mgr != null) {
266 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback);
307 IBluetoothManager mgr = mAdapter.getBluetoothManager();
308 if (mgr != null) {
310 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback);
H A DBluetoothHeadsetClient.java411 IBluetoothManager mgr = mAdapter.getBluetoothManager();
412 if (mgr != null) {
414 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback);
444 IBluetoothManager mgr = mAdapter.getBluetoothManager();
445 if (mgr != null) {
447 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback);
/frameworks/base/core/java/android/content/
H A DBroadcastReceiver.java367 final IActivityManager mgr = ActivityManagerNative.getDefault();
383 sendFinished(mgr);
389 sendFinished(mgr);
394 final IActivityManager mgr = ActivityManagerNative.getDefault();
395 sendFinished(mgr);
/frameworks/base/core/jni/android/graphics/
H A DFontFamily.cpp90 AssetManager* mgr = assetManagerForJavaObject(env, jassetMgr); local
91 if (NULL == mgr) {
96 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DAirplaneModeTile.java64 final ConnectivityManager mgr =
66 mgr.setAirplaneMode(enabled);
/frameworks/native/libs/gui/
H A DSensorManager.cpp85 DeathObserver(SensorManager& mgr) : mSensorManger(mgr) { } argument
/frameworks/base/rs/java/android/renderscript/
H A DFileA3D.java223 * @param mgr asset manager used to load asset
228 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { argument
230 long fileId = rs.nFileA3DCreateFromAsset(mgr, path);
H A DFont.java184 AssetManager mgr = res.getAssets();
187 long fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi);
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsManager.java160 ImsManager mgr = new ImsManager(context, phoneId);
161 sImsManagerInstances.put(phoneId, mgr);
163 return mgr;
241 ImsManager mgr = ImsManager.getInstance(context,
243 if (mgr != null) {
245 ImsConfig config = mgr.getConfigInterface();

Completed in 865 milliseconds

12