/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | CameraAvailabilityListener.kt | 52 override fun onCameraOpened(logicalCameraId: String, packageId: String) { in onCameraOpened() 53 openCamera = OpenCameraInfo(logicalCameraId, packageId) in onCameraOpened() 54 if (isExcluded(packageId)) { in onCameraOpened() 77 if (isExcluded(openCamera.packageId)) { in onPhysicalCameraAvailable() 132 private fun isExcluded(packageId: String): Boolean { in isExcluded() 133 return excludedPackageIds.contains(packageId) in isExcluded() 178 val packageId: String, constant in com.android.systemui.OpenCameraInfo
|
/frameworks/base/tools/aapt2/tools/ |
D | public_attr_map.py | 8 packageId = 0x000000ff & (intId >> 24) 12 if packageId != 0x01 or typeId != 0x01:
|
/frameworks/base/libs/androidfw/fuzz/resxmlparser_fuzzer/ |
D | resxmlparser_fuzzer.cpp | 29 const uint8_t packageId = fuzzedDataProvider.ConsumeIntegralInRange<uint8_t>(0x02, 0x7F); in populateDynamicRefTableWithFuzzedData() local 44 table.addMapping(androidPackageName, packageId); in populateDynamicRefTableWithFuzzedData()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | IconsUriHelper.java | 117 final String packageId = pathItems.get(0); in getResourceInfo() local 120 if (packageId.equals(mPackageIds.get(packageName))) { in getResourceInfo()
|
/frameworks/base/services/profcollect/src/com/android/server/profcollect/ |
D | ProfcollectForwardingService.java | 379 public void onCameraOpened(String cameraId, String packageId) { in registerCameraOpenObserver() 380 Log.d(LOG_TAG, "Received camera open event from: " + packageId); in registerCameraOpenObserver() 383 if (packageId.startsWith("client.pid") in registerCameraOpenObserver() 384 || packageId.equals("com.google.android.as")) { in registerCameraOpenObserver()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | CameraStateMonitor.java | 92 public void onCameraOpened(@NonNull String cameraId, @NonNull String packageId) { 94 notifyCameraOpened(cameraId, packageId);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | CameraAvailabilityListenerTest.kt | 296 private fun openCamera(logicalCameraId: String, packageId: String = "") { in openCamera() 297 cameraAvailabilityCallback.onCameraOpened(logicalCameraId, packageId) in openCamera()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 5804 uint32_t packageId = Res_GETPACKAGE(rid) + 1; in stringToValue() local 5805 if (packageId != APP_PACKAGE_ID && packageId != SYS_PACKAGE_ID) { in stringToValue() 5821 uint32_t packageId = Res_GETPACKAGE(rid) + 1; in stringToValue() local 5822 if (packageId == 0x00) { in stringToValue() 5826 } else if (packageId == APP_PACKAGE_ID || packageId == SYS_PACKAGE_ID) { in stringToValue() 5971 uint32_t packageId = Res_GETPACKAGE(rid) + 1; in stringToValue() local 5972 if (packageId != APP_PACKAGE_ID && packageId != SYS_PACKAGE_ID) { in stringToValue() 5982 uint32_t packageId = Res_GETPACKAGE(rid) + 1; in stringToValue() local 5983 if (packageId == 0x00) { in stringToValue() 5987 } else if (packageId == APP_PACKAGE_ID || packageId == SYS_PACKAGE_ID) { in stringToValue() [all …]
|
D | LoadedArsc.cpp | 638 if (dtohl(entry_iter->packageId) >= std::numeric_limits<uint8_t>::max()) { in Load() 641 dtohl(entry_iter->packageId), package_name.c_str()); in Load() 646 dtohl(entry_iter->packageId)); in Load()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | ShadeListBuilderTest.java | 2299 private NotificationEntryBuilder addNotif(int index, String packageId) { in addNotif() argument 2301 .setPkg(packageId) in addNotif() 2302 .setId(nextId(packageId)) in addNotif() 2315 private NotificationEntryBuilder addGroupSummary(int index, String packageId, String groupId) { in addGroupSummary() argument 2317 .setPkg(packageId) in addGroupSummary() 2318 .setId(nextId(packageId)) in addGroupSummary() 2332 private NotificationEntryBuilder addGroupChildWithTag(int index, String packageId, in addGroupChildWithTag() argument 2336 .setPkg(packageId) in addGroupChildWithTag() 2337 .setId(nextId(packageId)) in addGroupChildWithTag() 2351 private NotificationEntryBuilder addGroupChild(int index, String packageId, String groupId) { in addGroupChild() argument [all …]
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 242 bool AssetManagerSymbolSource::IsPackageDynamic(uint32_t packageId, in IsPackageDynamic() argument 244 if (packageId == 0) { in IsPackageDynamic()
|
D | SymbolTable.h | 197 bool IsPackageDynamic(uint32_t packageId, const std::string& package_name) const;
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.h | 224 static inline uint32_t makeResId(uint32_t packageId, in makeResId() argument 228 return nameId | (typeId<<16) | (packageId<<24); in makeResId() 535 Package(const String16& name, size_t packageId);
|
D | ResourceTable.cpp | 1768 ssize_t packageId = -1; in ResourceTable() local 1772 packageId = 0x7f; in ResourceTable() 1776 packageId = 0x01; in ResourceTable() 1780 packageId = 0x00; in ResourceTable() 1787 sp<Package> package = new Package(mAssetsPackage, packageId); in ResourceTable() 2895 size_t packageId = table.getBasePackageId(i); in flatten() local 2897 if (packageId > 0x01 && packageId != 0x7f && in flatten() 2899 libraryPackages.add(sp<Package>(new Package(packageName, packageId))); in flatten() 3371 entry->packageId = htodl(libPackage->getAssignedId()); in flattenLibraryTable() 4099 ResourceTable::Package::Package(const String16& name, size_t packageId) in Package() argument [all …]
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener.cpp | 536 lib_entry->packageId = android::util::HostToDevice32(0x00); in FlattenLibrarySpec() 543 lib_entry->packageId = android::util::HostToDevice32(map_entry.first); in FlattenLibrarySpec()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 1750 uint32_t packageId; member 1902 DynamicRefTable(uint8_t packageId, bool appAsLib); 1913 status_t addMapping(const String16& packageName, uint8_t packageId);
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 1164 Pair<Integer, String> packageId = Pair.create(grantId, packageName); in hasBindAppWidgetPermission() local 1165 return mPackagesWithBindWidgetPermission.contains(packageId); in hasBindAppWidgetPermission() 1188 Pair<Integer, String> packageId = Pair.create(grantId, packageName); in setBindAppWidgetPermission() local 1190 mPackagesWithBindWidgetPermission.add(packageId); in setBindAppWidgetPermission() 1192 mPackagesWithBindWidgetPermission.remove(packageId); in setBindAppWidgetPermission() 3697 Pair<Integer, String> packageId = Pair.create(userId, packageName); in readProfileStateFromFileLocked() local 3698 mPackagesWithBindWidgetPermission.add(packageId); in readProfileStateFromFileLocked() 3831 Pair<Integer, String> packageId = mPackagesWithBindWidgetPermission.valueAt(i); in onUserStopped() local 3832 if (packageId.first == userId) { in onUserStopped() 4557 Pair<Integer, String> packageId = Pair.create(userId, packageName); in isCallerBindAppWidgetAllowListedLocked() local [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraManager.java | 1811 public void onCameraOpened(@NonNull String cameraId, @NonNull String packageId) { in onCameraOpened() argument 2712 final Executor executor, final String id, final String packageId) { in postSingleCameraOpenedUpdate() argument 2715 executor.execute(() -> callback.onCameraOpened(id, packageId)); in postSingleCameraOpenedUpdate()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | FlashNotificationsController.java | 188 public void onCameraOpened(@NonNull String cameraId, @NonNull String packageId) {
|