Home
last modified time | relevance | path

Searched refs:getOp (Results 1 – 22 of 22) sorted by relevance

/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
H A DFakeAppOpsHelper.java45 AppOp myAppOp = getOp(packageName, appOp); in setAppOpAllowed()
51 AppOp myAppOp = getOp(packageName, appOp); in isAppOpStarted()
56 AppOp myAppOp = getOp(packageName, appOp); in getAppOpNoteCount()
62 AppOp myAppOp = getOp(callerIdentity.getPackageName(), appOp); in startOpNoThrow()
73 AppOp myAppOp = getOp(callerIdentity.getPackageName(), appOp); in finishOp()
80 AppOp myAppOp = getOp(callerIdentity.getPackageName(), appOp); in checkOpNoThrow()
96 AppOp myAppOp = getOp(callerIdentity.getPackageName(), appOp); in noteOpNoThrow()
104 private AppOp getOp(String packageName, int appOp) { in getOp() method in FakeAppOpsHelper
/aosp12/packages/apps/Settings/src/com/android/settings/applications/appops/
H A DAppOpsState.java241 mOps.put(op.getOp(), op); in addOp()
242 mOpSwitches.put(AppOpsManager.opToSwitch(op.getOp()), entry); in addOp()
347 if (mApp.getOpSwitch(AppOpsManager.opToSwitch(op.getOp())) == null) { in addOp()
383 return items[ops.get(0).getOp()]; in getCombinedText()
390 builder.append(items[ops.get(i).getOp()]); in getCombinedText()
477 if (DEBUG) Log.d(TAG, "Add op " + opEntry.getOp() + " to package " in addOp()
484 AppOpEntry entry = appEntry.getOpSwitch(opEntry.getOp()); in addOp()
490 if (DEBUG) Log.d(TAG, "Add op " + opEntry.getOp() + " to package " in addOp()
566 packageName == null ? 0 : opToOrder[opEntry.getOp()]); in buildState()
624 packageName == null ? 0 : opToOrder[opEntry.getOp()]); in buildState()
H A DAppOpsCategory.java340 mState.getAppOpsManager().setMode(op.getOp(), in onListItemClick()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
H A DAppPermissionUsage.java238 final HistoricalOp historicalOp = mHistoricalUsage.getOp(opName); in hasDiscreteData()
255 final HistoricalOp historicalOp = mHistoricalUsage.getOp(opName); in getAllDiscreteAccessTime()
296 final HistoricalOp historicalOp = mHistoricalUsage.getOp(opName); in extractAggregate()
396 final HistoricalOp historicalOp = attributedOp.getOp(opName); in getAttributionLabelledGroupUsages()
/aosp12/frameworks/base/core/java/android/app/
H A DRuntimeAppOpAccessMessage.java51 public @NonNull String getOp() { in getOp() method in RuntimeAppOpAccessMessage
H A DSyncNotedAppOp.java110 public @NonNull String getOp() { in getOp() method in SyncNotedAppOp
H A DAsyncNotedAppOp.java63 public @NonNull String getOp() { in getOp() method in AsyncNotedAppOp
H A DAppOpsManager.java283 if (leftCircularDistance(strOpToOp(op.getOp()), config.getSampledOpCode(),
3966 int getOp() { in getOp() method in AppOpsManager.AttributedOpEntry
4179 public int getOp() { in getOp() method in AppOpsManager.OpEntry
5965 if (getAttributedOpsAt(attributionNum).getOp(opName) != null) { in getOpCount()
5992 if (getAttributedOpsAt(attributionNum).getOp(opName) != null) { in getOpAt()
5994 return getOp(opName); in getOpAt()
6014 public @Nullable HistoricalOp getOp(@NonNull String opName) { in getOp() method in AppOpsManager.HistoricalPackageOps
6022 HistoricalOp attributionOp = getAttributedOpsAt(i).getOp(opName); in getOp()
6192 final HistoricalOp thisOp = getOp(otherOp.getOpName()); in merge()
6285 public @Nullable HistoricalOp getOp(@NonNull String opName) { in getOp() method in AppOpsManager.AttributedHistoricalOps
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
H A DBatteryTipUtils.java70 if (entry.getOp() != AppOpsManager.OP_RUN_ANY_IN_BACKGROUND) { in getRestrictedAppsList()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
H A DAppOpsActiveWatcherTest.java163 if (opEntry.getOp() == AppOpsManager.OP_CAMERA) { in isCameraOn()
/aosp12/packages/apps/Settings/src/com/android/settings/vpn2/
H A DVpnSettings.java538 if ((op.getOp() == OP_ACTIVATE_VPN || op.getOp() == OP_ACTIVATE_PLATFORM_VPN) in getVpnApps()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
H A DRecentLocationApps.java178 switch (entry.getOp()) { in getRequestFromOps()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
H A DAppOpsServiceTest.java466 if (opCode != opEntry.getOp()) { in assertContainsOp()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/
H A DAppStateTrackerImpl.java574 if (ent.getOp() != TARGET_OP) { in refreshForcedAppStandbyUidPackagesLocked()
/aosp12/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyService.h860 int32_t getOp() const { return mAppOp; } in getOp() function
H A DAudioPolicyService.cpp1600 if (op != monitor->getOp()) { in opChanged()
/aosp12/frameworks/base/services/core/java/com/android/server/appop/
H A DAppOpsService.java5139 out.attributeInt(null, "n", op.getOp()); in writeState()
5140 if (op.getMode() != AppOpsManager.opToDefaultMode(op.getOp())) { in writeState()
5542 pw.print(AppOpsManager.opToName(ent.getOp())); in onShellCommand()
5614 if (ent.getOp() == shell.op && ent.getMode() == shell.mode) { in onShellCommand()
6782 AppOpsManager.strOpToOp(notedAppOp.getOp()),
/aosp12/frameworks/base/services/core/java/com/android/server/stats/pull/
H A DStatsPullAtomService.java3838 AppOpsManager.strOpToOp(message.getOp())));
/aosp12/frameworks/base/core/api/
H A Dsystem-current.txt543 method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String);
625 method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String);
798 method @NonNull public String getOp();
H A Dcurrent.txt4767 method @NonNull public String getOp();
6701 method @NonNull public String getOp();
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt1350 HSPLandroid/app/AsyncNotedAppOp;->getOp()Ljava/lang/String;
2596 HSPLandroid/app/SyncNotedAppOp;->getOp()Ljava/lang/String;
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt1350 HSPLandroid/app/AsyncNotedAppOp;->getOp()Ljava/lang/String;
2596 HSPLandroid/app/SyncNotedAppOp;->getOp()Ljava/lang/String;