/frameworks/base/core/java/android/app/ |
D | SyncNotedAppOp.java | 66 public SyncNotedAppOp(int opMode, @IntRange(from = 0L) int opCode, in SyncNotedAppOp() 68 this.mOpCode = opCode; in SyncNotedAppOp() 86 public SyncNotedAppOp(@IntRange(from = 0L) int opCode, @Nullable String attributionTag) { in SyncNotedAppOp() 87 this(AppOpsManager.MODE_IGNORED, opCode, attributionTag, ActivityThread in SyncNotedAppOp() 103 public SyncNotedAppOp(@IntRange(from = 0L) int opCode, @Nullable String attributionTag, in SyncNotedAppOp() 105 this(AppOpsManager.MODE_IGNORED, opCode, attributionTag, packageName); in SyncNotedAppOp() 235 int opCode = in.readInt(); in SyncNotedAppOp() local 240 this.mOpCode = opCode; in SyncNotedAppOp()
|
D | RuntimeAppOpAccessMessage.java | 74 @IntRange(from = 0L) int opCode, in RuntimeAppOpAccessMessage() 83 this.mOpCode = opCode; in RuntimeAppOpAccessMessage() 188 int opCode = in.readInt(); in RuntimeAppOpAccessMessage() local 198 this.mOpCode = opCode; in RuntimeAppOpAccessMessage()
|
D | AsyncNotedAppOp.java | 110 @IntRange(from = 0) int opCode, in AsyncNotedAppOp() 115 this.mOpCode = opCode; in AsyncNotedAppOp() 244 int opCode = in.readInt(); in AsyncNotedAppOp() local 250 this.mOpCode = opCode; in AsyncNotedAppOp()
|
D | ForegroundServiceTypePolicy.java | 1176 final int opCode = AppOpsManager.permissionToOpCode(name); in checkPermission() local 1177 if (opCode == AppOpsManager.OP_NONE) { in checkPermission() 1183 final int mode = appOpsManager.unsafeCheckOpRawNoThrow(opCode, callerUid, packageName); in checkPermission() 1217 AppOpPermission(int opCode) { in AppOpPermission() argument 1218 super(AppOpsManager.opToPublicName(opCode)); in AppOpPermission() 1219 mOpCode = opCode; in AppOpPermission()
|
D | AppOpsManager.java | 5590 public void increaseAccessCount(int opCode, int uid, @NonNull String packageName, in increaseAccessCount() argument 5593 getOrCreateHistoricalUidOps(uid).increaseAccessCount(opCode, in increaseAccessCount() 5599 public void increaseRejectCount(int opCode, int uid, @NonNull String packageName, in increaseRejectCount() argument 5602 getOrCreateHistoricalUidOps(uid).increaseRejectCount(opCode, in increaseRejectCount() 5608 public void increaseAccessDuration(int opCode, int uid, @NonNull String packageName, in increaseAccessDuration() argument 5611 getOrCreateHistoricalUidOps(uid).increaseAccessDuration(opCode, in increaseAccessDuration() 5617 public void addDiscreteAccess(int opCode, int uid, @NonNull String packageName, in addDiscreteAccess() argument 5620 getOrCreateHistoricalUidOps(uid).addDiscreteAccess(opCode, packageName, attributionTag, in addDiscreteAccess() 5625 public void addDiscreteAccess(int opCode, int uid, @NonNull String packageName, in addDiscreteAccess() argument 5629 getOrCreateHistoricalUidOps(uid).addDiscreteAccess(opCode, packageName, attributionTag, in addDiscreteAccess() [all …]
|
/frameworks/av/services/oboeservice/ |
D | AAudioCommandQueue.h | 40 aaudio_command_opcode opCode, std::shared_ptr<AAudioCommandParam> param = nullptr, 42 : operationCode(opCode), parameter(std::move(param)), isWaitingForReply(waitForReply), in operationCode() argument
|
D | AAudioServiceStreamBase.cpp | 782 aaudio_result_t AAudioServiceStreamBase::sendCommand(aaudio_command_opcode opCode, in sendCommand() argument 787 opCode, param, waitForReply, timeoutNanos)); in sendCommand()
|
D | AAudioServiceStreamBase.h | 445 aaudio_result_t sendCommand(aaudio_command_opcode opCode,
|
/frameworks/native/libs/permission/ |
D | IAppOpsService.cpp | 158 virtual bool shouldCollectNotes(int32_t opCode) { in shouldCollectNotes() argument 161 data.writeInt32(opCode); in shouldCollectNotes() 267 const int32_t opCode = permissionToOpCode(permission); in onTransact() local 269 reply->writeInt32(opCode); in onTransact() 292 int32_t opCode = data.readInt32(); in onTransact() local 293 bool shouldCollect = shouldCollectNotes(opCode); in onTransact()
|
/frameworks/native/libs/ui/tests/ |
D | GraphicBufferOverBinder_test.cpp | 96 status_t GetGraphicBuffer(sp<GraphicBuffer>* outBuf, uint32_t opCode) { in GetGraphicBuffer() argument 99 status_t error = mService->transact(opCode, data, &reply); in GetGraphicBuffer()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 1081 private void setUidModeAllowed(int opCode, int uid, @NonNull String packageName) { in setUidModeAllowed() argument 1082 setUidMode(opCode, uid, MODE_ALLOWED, packageName); in setUidModeAllowed() 1085 private void setUidModeForeground(int opCode, int uid, @NonNull String packageName) { in setUidModeForeground() argument 1086 setUidMode(opCode, uid, MODE_FOREGROUND, packageName); in setUidModeForeground() 1089 private void setUidModeIgnored(int opCode, int uid, @NonNull String packageName) { in setUidModeIgnored() argument 1090 setUidMode(opCode, uid, MODE_IGNORED, packageName); in setUidModeIgnored() 1093 private boolean setUidModeIgnoredIfNotAllowed(int opCode, int uid, in setUidModeIgnoredIfNotAllowed() argument 1096 opCode), uid, packageName); in setUidModeIgnoredIfNotAllowed() 1099 mAppOpsManagerInternal.setUidModeFromPermissionPolicy(opCode, uid, MODE_IGNORED, in setUidModeIgnoredIfNotAllowed() 1107 private void setUidMode(int opCode, int uid, int mode, in setUidMode() argument [all …]
|
/frameworks/base/tools/traceinjection/src/com/android/traceinjection/ |
D | TraceInjectionMethodAdapter.java | 94 protected void onMethodExit(int opCode) { in onMethodExit() argument 97 if (opCode != ATHROW) { in onMethodExit()
|
/frameworks/base/libs/hwui/tests/scripts/ |
D | prep_generic.sh | 198 opCode=-1 209 opCode="$currOpCode" 214 echo "$opCode" > /proc/ppm/policy/ut_fix_freq_idx
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | LegacyAppOpStateParser.java | 230 final int opCode = parser.getAttributeInt(null, "n"); in readOp() local 231 final int defaultMode = AppOpsManager.opToDefaultMode(opCode); in readOp() 247 modes.put(opCode, mode); in readOp()
|
D | AppOpMigrationHelperImpl.java | 151 int opCode = appOpCodeModes.keyAt(modeIndex); in getAppOpModesForOpName() local 153 appOpNameModes.put(AppOpsManager.opToPublicName(opCode), opMode); in getAppOpModesForOpName()
|
D | AppOpsRecentAccessPersistence.java | 206 int opCode = parser.getAttributeInt(null, ATTR_NAME); in readOp() local 207 AppOpsService.Op op = mAppOpsService.new Op(uidState, pkgName, opCode, uidState.uid); in readOp()
|
D | AppOpsUidStateTrackerImpl.java | 167 private int getOpCapability(int opCode) { in getOpCapability() argument 168 switch (opCode) { in getOpCapability()
|
D | AppOpsService.java | 3419 private void collectAsyncNotedOp(int uid, @NonNull String packageName, int opCode, in collectAsyncNotedOp() argument 3432 AsyncNotedAppOp asyncNotedOp = new AsyncNotedAppOp(opCode, callingUid, in collectAsyncNotedOp() 3438 reportRuntimeAppOpAccessMessageAsyncLocked(uid, packageName, opCode, in collectAsyncNotedOp() 3449 "Could not forward noteOp of " + opCode + " to " + packageName in collectAsyncNotedOp() 4296 public boolean shouldCollectNotes(int opCode) { in shouldCollectNotes() argument 4297 Preconditions.checkArgumentInRange(opCode, 0, _NUM_OP - 1, "opCode"); in shouldCollectNotes() 4299 if (AppOpsManager.shouldForceCollectNoteForOp(opCode)) { in shouldCollectNotes() 4303 String perm = AppOpsManager.opToPermission(opCode); in shouldCollectNotes() 5074 int opCode = parser.getAttributeInt(null, "n"); in readOp() local 5075 Op op = new Op(uidState, pkgName, opCode, uidState.uid); in readOp() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastSkipPolicy.java | 138 final int opCode = AppOpsManager.permissionToOpCode(info.activityInfo.permission); in shouldSkipMessage() local 139 if (opCode != AppOpsManager.OP_NONE && mService.getAppOpsManager().noteOpNoThrow(opCode, in shouldSkipMessage() 402 final int opCode = AppOpsManager.permissionToOpCode(filter.requiredPermission); in shouldSkipMessage() local 403 if (opCode != AppOpsManager.OP_NONE in shouldSkipMessage() 404 && mService.getAppOpsManager().noteOpNoThrow(opCode, r.callingUid, in shouldSkipMessage()
|
/frameworks/native/libs/permission/include/binder/ |
D | IAppOpsService.h | 54 virtual bool shouldCollectNotes(int32_t opCode) = 0;
|
D | AppOpsManager.h | 192 bool shouldCollectNotes(int32_t opCode);
|
/frameworks/base/media/native/midi/ |
D | amidi.cpp | 444 uint8_t opCode = AMIDI_OPCODE_FLUSH; in AMidiInputPort_sendFlush() local 446 ssize_t numWritten = TEMP_FAILURE_RETRY(write(((AMIDI_Port*)inputPort)->ufd, &opCode, in AMidiInputPort_sendFlush()
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubClientBroker.java | 783 int opCode = AppOpsManager.permissionToOpCode(permission); in notePermissions() local 784 if (opCode != AppOpsManager.OP_NONE) { in notePermissions() 786 if (mAppOpsManager.noteOp(opCode, mUid, mPackage, mAttributionTag, noteMessage) in notePermissions() 796 + opCode in notePermissions()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 467 private void assertContainsOp(List<PackageOps> loggedOps, int opCode, long minMillis, in assertContainsOp() argument 477 if (opCode != opEntry.getOp()) { in assertContainsOp()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 61 boolean shouldCollectNotes(int opCode); in shouldCollectNotes() argument
|