/frameworks/base/core/java/android/content/ |
D | ContentProviderClient.java | 48 private final String mPackageName; field in ContentProviderClient 59 mPackageName = contentResolver.mPackageName; in ContentProviderClient() 86 return mContentProvider.query(mPackageName, url, projection, selection, selectionArgs, in query() 124 return mContentProvider.insert(mPackageName, url, initialValues); in insert() 136 return mContentProvider.bulkInsert(mPackageName, url, initialValues); in bulkInsert() 149 return mContentProvider.delete(mPackageName, url, selection, selectionArgs); in delete() 162 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs); in update() 181 return mContentProvider.openFile(mPackageName, url, mode); in openFile() 200 return mContentProvider.openAssetFile(mPackageName, url, mode); in openAssetFile() 214 return mContentProvider.openTypedAssetFile(mPackageName, uri, mimeType, opts); in openTypedAssetFileDescriptor() [all …]
|
D | ContentResolver.java | 228 mPackageName = mContext.getBasePackageName(); in ContentResolver() 414 qCursor = unstableProvider.query(mPackageName, uri, projection, in query() 425 qCursor = stableProvider.query(mPackageName, uri, projection, in query() 673 fd = unstableProvider.openAssetFile(mPackageName, uri, mode); in openAssetFileDescriptor() 687 fd = stableProvider.openAssetFile(mPackageName, uri, mode); in openAssetFileDescriptor() 765 fd = unstableProvider.openTypedAssetFile(mPackageName, uri, mimeType, opts); in openTypedAssetFileDescriptor() 779 fd = stableProvider.openTypedAssetFile(mPackageName, uri, mimeType, opts); in openTypedAssetFileDescriptor() 914 Uri createdRow = provider.insert(mPackageName, url, values); in insert() 975 int rowsCreated = provider.bulkInsert(mPackageName, url, values); in bulkInsert() 1006 int rowsDeleted = provider.delete(mPackageName, url, where, selectionArgs); in delete() [all …]
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | WapPushTest.java | 58 protected String mPackageName; field in WapPushTest 459 mPackageName = this.getClass().getPackage().getName(); in WapPushTest() 501 mPackageName, mClassName, in utAddPackage() local 511 mPackageName, mClassName, in utAddPackage() local 537 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() local 540 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() local 543 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() local 546 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() local 563 Integer.toString(mContentTypeValue), mPackageName, mClassName, 0, in testAddPackage2() local 566 Integer.toString(mContentTypeValue), mPackageName, mClassName, 0, in testAddPackage2() local [all …]
|
/frameworks/base/location/java/android/location/ |
D | GeocoderParams.java | 37 private String mPackageName; field in GeocoderParams 50 mPackageName = context.getPackageName(); in GeocoderParams() 64 return mPackageName; in getClientPackage() 75 gp.mPackageName = in.readString(); 92 parcel.writeString(mPackageName); in writeToParcel()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaInserterTest.java | 41 private String mPackageName; field in MediaInserterTest 88 mPackageName, TEST_BUFFER_SIZE); in setUp() 89 mPackageName = getInstrumentation().getContext().getPackageName(); in setUp() 150 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsEqualToBufferSize() 165 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsMoreThanBufferSize() 189 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testFlushAllWithSomeContents() 205 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsAfterFlushAll() 226 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType() 230 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType() 234 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType() [all …]
|
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
D | NfcAdapterExtras.java | 73 final String mPackageName; field in NfcAdapterExtras 115 mPackageName = adapter.getContext().getPackageName(); in NfcAdapterExtras() 180 int route = sService.getCardEmulationRoute(mPackageName); in getCardEmulationRoute() 202 sService.setCardEmulationRoute(mPackageName, route.route); in setCardEmulationRoute() 232 sService.authenticate(mPackageName, token); in authenticate() 248 return sService.getDriverName(mPackageName); in getDriverName()
|
D | NfcExecutionEnvironment.java | 168 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken); in open() 186 throwBundle(mExtras.getService().close(mExtras.mPackageName, mToken)); in close() 204 b = mExtras.getService().transceive(mExtras.mPackageName, in); in transceive()
|
/frameworks/base/core/java/android/os/ |
D | SystemVibrator.java | 31 private final String mPackageName; field in SystemVibrator 36 mPackageName = ActivityThread.currentPackageName(); in SystemVibrator() 42 mPackageName = context.getBasePackageName(); in SystemVibrator() 62 vibrate(Process.myUid(), mPackageName, milliseconds); in vibrate() local 67 vibrate(Process.myUid(), mPackageName, pattern, repeat); in vibrate() local
|
/frameworks/base/core/java/android/app/ |
D | ActivityOptions.java | 104 private String mPackageName; field in ActivityOptions 155 opts.mPackageName = context.getPackageName(); in makeCustomAnimation() 210 opts.mPackageName = source.getContext().getPackageName(); in makeScaleUpAnimation() 294 opts.mPackageName = source.getContext().getPackageName(); in makeThumbnailAnimation() 310 mPackageName = opts.getString(KEY_PACKAGE_NAME); in ActivityOptions() 334 return mPackageName; in getPackageName() 405 if (otherOptions.mPackageName != null) { in update() 406 mPackageName = otherOptions.mPackageName; in update() 463 if (mPackageName != null) { in toBundle() 464 b.putString(KEY_PACKAGE_NAME, mPackageName); in toBundle()
|
/frameworks/base/services/java/com/android/server/ |
D | ServiceWatcher.java | 72 private String mPackageName; // current best package field in ServiceWatcher 226 pkg = mPackageName; in unbindLocked() 227 mPackageName = null; in unbindLocked() 240 mPackageName = packageName; in bindToPackageLocked() 279 if (packageName.equals(mPackageName)) { 292 if (packageName.equals(mPackageName)) { 304 if (packageName.equals(mPackageName)) { 316 if (packageName.equals(mPackageName)) { 332 if (packageName.equals(mPackageName)) { in onServiceConnected() 350 if (packageName.equals(mPackageName)) { in onServiceDisconnected() [all …]
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouteProvider.java | 259 private final String mPackageName; field in MediaRouteProvider.ProviderMetadata 270 mPackageName = packageName; in ProviderMetadata() 277 return mPackageName; in getPackageName() 282 return "ProviderMetadata{ packageName=" + mPackageName + " }"; in toString()
|
/frameworks/base/libs/androidfw/ |
D | ObbFile.cpp | 76 : mPackageName("") in ObbFile() 215 mPackageName = String8(const_cast<char*>(packageName), packageNameLen); in parseObbFile() 220 ALOGI("Obb scan succeeded: packageName=%s, version=%d\n", mPackageName.string(), mVersion); in parseObbFile() 253 if (mPackageName.size() == 0 || mVersion == -1) { in writeTo() 284 size_t packageNameLen = mPackageName.size(); in writeTo() 291 if (write(fd, mPackageName.string(), packageNameLen) != (ssize_t)packageNameLen) { in writeTo()
|
/frameworks/base/include/androidfw/ |
D | ObbFile.h | 51 return mPackageName; in getPackageName() 55 mPackageName = packageName; in setPackageName() 119 String8 mPackageName;
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 51 private final String mPackageName; field in MtpDatabase 128 mPackageName = context.getPackageName(); in MtpDatabase() 269 c = mMediaProvider.query(mPackageName, mObjectsUri, ID_PROJECTION, PATH_WHERE, in beginSendObject() 294 Uri uri = mMediaProvider.insert(mPackageName, mObjectsUri, values); in beginSendObject() 329 Uri uri = mMediaProvider.insert(mPackageName, in endSendObject() 438 return mMediaProvider.query(mPackageName, mObjectsUri, ID_PROJECTION, where, in createObjectQuery() 684 propertyGroup = new MtpPropertyGroup(this, mMediaProvider, mPackageName, in getObjectPropertyList() 692 propertyGroup = new MtpPropertyGroup(this, mMediaProvider, mPackageName, in getObjectPropertyList() 708 c = mMediaProvider.query(mPackageName, mObjectsUri, PATH_PROJECTION, ID_WHERE, in renameFile() 751 updated = mMediaProvider.update(mPackageName, mObjectsUri, values, ID_WHERE, whereArgs); in renameFile() [all …]
|
D | MtpPropertyGroup.java | 53 private final String mPackageName; field in MtpPropertyGroup 73 mPackageName = packageName; in MtpPropertyGroup() 194 c = mProvider.query(mPackageName, mUri, in queryString() 214 c = mProvider.query(mPackageName, Audio.Media.getContentUri(mVolumeName), in queryAudio() 235 c = mProvider.query(mPackageName, uri, in queryGenre() 257 c = mProvider.query(mPackageName, mUri, in queryLong() 328 c = mProvider.query(mPackageName, mUri, mColumns, where, whereArgs, null, null); in getPropertyList()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHost.java | 58 String mPackageName; field in AppWidgetHost 159 if (mPackageName == null) { in startListening() 160 mPackageName = mContext.getPackageName(); in startListening() 163 mCallbacks, mPackageName, mHostId, updatedViews, userId); in startListening() 203 if (mPackageName == null) { in allocateAppWidgetId() 204 mPackageName = mContext.getPackageName(); in allocateAppWidgetId() 206 return sService.allocateAppWidgetId(mPackageName, mHostId, mContext.getUserId()); in allocateAppWidgetId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbPermissionActivity.java | 58 private String mPackageName; field in UsbPermissionActivity 72 mPackageName = intent.getStringExtra("package"); in onCreate() 77 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate() 133 service.setDevicePackage(mDevice, mPackageName, userId); in onDestroy() 143 service.setAccessoryPackage(mAccessory, mPackageName, userId); in onDestroy()
|
/frameworks/base/media/java/android/media/ |
D | MediaInserter.java | 41 private final String mPackageName; field in MediaInserter 46 mPackageName = packageName; in MediaInserter() 93 mProvider.bulkInsert(mPackageName, tableUri, valuesArray); in flush()
|
D | MediaScanner.java | 306 private String mPackageName; field in MediaScanner 392 mPackageName = c.getPackageName(); in MediaScanner() 966 result = mMediaProvider.insert(mPackageName, tableUri, values); 998 mMediaProvider.update(mPackageName, result, values, null, null); 1087 MediaBulkDeleter deleter = new MediaBulkDeleter(mMediaProvider, mPackageName, 1107 c = mMediaProvider.query(mPackageName, limitUri, FILES_PRESCAN_PROJECTION, 1148 mMediaProvider.call(mPackageName, MediaStore.UNHIDE_CALL, 1167 c = mMediaProvider.query(mPackageName, mImagesUri, ID_PROJECTION, null, null, null, null); 1198 mPackageName, 1234 final String mPackageName; [all …]
|
/frameworks/testing/app-tests/AppLaunchTest/src/com/android/applaunchtest/ |
D | AppLaunchTest.java | 50 private String mPackageName; field in AppLaunchTest 72 mPackageName = runner.getAppPackageName(); in setUp() 74 assertNotNull("package name to launch was not provided", mPackageName); in setUp() 85 ResolveInfo app = getLauncherActivity(mPackageName, mPackageManager); in testLaunchActivity() 86 assertNotNull(String.format("Could not find launchable activity for %s", mPackageName), in testLaunchActivity() 95 mPackageName, reportWrappedListContents(errSet))); in testLaunchActivity()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityEvent.java | 694 private CharSequence mPackageName; field in AccessibilityEvent 718 mPackageName = event.mPackageName; in init() 818 return mPackageName; in getPackageName() 830 mPackageName = packageName; in setPackageName() 946 mPackageName = null; in clear() 964 mPackageName = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); in initFromParcel() 1016 TextUtils.writeToParcel(mPackageName, parcel, 0); in writeToParcel() 1071 builder.append("; PackageName: ").append(mPackageName); in toString()
|
D | AccessibilityNodeInfo.java | 472 private CharSequence mPackageName; field in AccessibilityNodeInfo 1321 return mPackageName; in getPackageName() 1338 mPackageName = packageName; in setPackageName() 1840 parcel.writeCharSequence(mPackageName); in writeToParcel() 1869 mPackageName = other.mPackageName; in init() 1922 mPackageName = parcel.readCharSequence(); in initFromParcel() 1948 mPackageName = null; in clear() 2103 builder.append("; packageName: ").append(mPackageName); in toString()
|
/frameworks/base/services/java/com/android/server/location/ |
D | GeofenceManager.java | 178 if (state.mPackageName.equals(packageName)) { in removeFence() 259 if (mBlacklist.isBlacklisted(state.mPackageName)) { in updateFences() 262 + state.mPackageName); in updateFences() 270 state.mPackageName) != AppOpsManager.MODE_ALLOWED) { in updateFences() 273 + state.mPackageName); in updateFences() 418 pw.append(state.mPackageName); in dump()
|
D | GeofenceState.java | 40 public final String mPackageName; field in GeofenceState 55 mPackageName = packageName; in GeofenceState()
|
/frameworks/base/test-runner/tests/src/android/test/ |
D | InstrumentationTestRunnerTest.java | 271 private String mPackageName; field in InstrumentationTestRunnerTest.StubContext 274 this.mPackageName = packageName; in StubContext() 279 return mPackageName; in getPackageCodePath() 284 return mPackageName; in getPackageName()
|