OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:appOpsManager
(Results
1 - 16
of
16
) sorted by null
/frameworks/support/compat/java/android/support/v4/app/
AppOpsManagerCompat.java
21
import android.app.
AppOpsManager
;
26
* Helper for accessing features in {@link android.app.
AppOpsManager
}.
61
return
AppOpsManager
.permissionToOp(permission);
85
AppOpsManager
appOpsManager
= context.getSystemService(
AppOpsManager
.class);
86
return
appOpsManager
.noteOp(op, uid, packageName);
111
AppOpsManager
appOpsManager
= context.getSystemService(
AppOpsManager
.class)
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/util/
PermissionsUtil.java
20
import android.app.
AppOpsManager
;
61
final
AppOpsManager
appOpsManager
=
62
(
AppOpsManager
) context.getSystemService(Context.APP_OPS_SERVICE);
63
final int mode =
appOpsManager
.checkOpNoThrow(appOp, Process.myUid(),
65
return mode ==
AppOpsManager
.MODE_ALLOWED;
/packages/services/Telecomm/src/com/android/server/telecom/
VideoProviderProxy.java
20
import android.app.
AppOpsManager
;
575
AppOpsManager
appOpsManager
= (
AppOpsManager
) context.getSystemService(
580
return
appOpsManager
!= null &&
appOpsManager
.noteOp(
AppOpsManager
.OP_CAMERA,
581
callingUid, callingPackage) ==
AppOpsManager
.MODE_ALLOWED;
/developers/build/prebuilts/gradle/CommitContentSampleIME/app/src/main/java/com/example/android/commitcontent/ime/
ImageKeyboard.java
19
import android.app.
AppOpsManager
;
167
final
AppOpsManager
appOpsManager
=
168
(
AppOpsManager
) getSystemService(Context.APP_OPS_SERVICE);
170
appOpsManager
.checkPackage(packageUid, packageName);
/developers/samples/android/input/keyboard/CommitContentSampleIME/app/src/main/java/com/example/android/commitcontent/ime/
ImageKeyboard.java
19
import android.app.
AppOpsManager
;
167
final
AppOpsManager
appOpsManager
=
168
(
AppOpsManager
) getSystemService(Context.APP_OPS_SERVICE);
170
appOpsManager
.checkPackage(packageUid, packageName);
/development/samples/browseable/CommitContentSampleIME/src/com.example.android.commitcontent.ime/
ImageKeyboard.java
19
import android.app.
AppOpsManager
;
167
final
AppOpsManager
appOpsManager
=
168
(
AppOpsManager
) getSystemService(Context.APP_OPS_SERVICE);
170
appOpsManager
.checkPackage(packageUid, packageName);
/frameworks/base/services/core/java/com/android/server/
NetworkScorerAppManager.java
21
import android.app.
AppOpsManager
;
214
final
AppOpsManager
appOpsManager
=
215
(
AppOpsManager
) mContext.getSystemService(Context.APP_OPS_SERVICE);
219
&&
appOpsManager
.noteOp(
AppOpsManager
.OP_COARSE_LOCATION, uid, packageName)
220
==
AppOpsManager
.MODE_ALLOWED;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DevelopmentFragment.java
22
import android.app.
AppOpsManager
;
162
private static final int[] MOCK_LOCATION_APP_OPS = new int[] {
AppOpsManager
.OP_MOCK_LOCATION};
686
AppOpsManager
appOpsManager
=
687
(
AppOpsManager
) getActivity().getSystemService(Context.APP_OPS_SERVICE);
690
List<
AppOpsManager
.PackageOps> packageOps =
691
appOpsManager
.getPackagesForOps(MOCK_LOCATION_APP_OPS);
694
for (
AppOpsManager
.PackageOps packageOp : packageOps) {
695
if (packageOp.getOps().get(0).getMode() !=
AppOpsManager
.MODE_ERRORED) {
700
appOpsManager
.setMode(AppOpsManager.OP_MOCK_LOCATION, ai.uid
[
all
...]
/packages/apps/Settings/src/com/android/settings/development/
DevelopmentSettings.java
23
import android.app.
AppOpsManager
;
24
import android.app.
AppOpsManager
.PackageOps;
253
private static final int[] MOCK_LOCATION_APP_OPS = new int[]{
AppOpsManager
.OP_MOCK_LOCATION};
[
all
...]
/frameworks/base/services/core/java/com/android/server/vr/
VrManagerService.java
23
import android.app.
AppOpsManager
;
[
all
...]
/frameworks/base/core/java/com/android/internal/inputmethod/
InputMethodUtils.java
22
import android.app.
AppOpsManager
;
[
all
...]
/prebuilts/sdk/current/support/compat/libs/
android-support-compat.jar
/external/robolectric/v3/runtime/
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
/prebuilts/misc/common/robolectric/lib/
android-all-5.0.0_r2-robolectric-1.jar
android-all-6.0.0_r1-robolectric-0.jar
Completed in 855 milliseconds