Home
last modified time | relevance | path

Searched refs:PACKAGE (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsPermissionsTest.java49 private static final String PACKAGE = "com.example.package"; field in SmsPermissionsTest
108 true /* persistMessageForNonDefaultSmsApp */, PACKAGE, ATTRIBUTION_TAG, MESSAGE)); in testCheckCallingSendTextPermissions_persist_grant()
117 true /* persistMessageForNonDefaultSmsApp */, PACKAGE, ATTRIBUTION_TAG, in testCheckCallingSendTextPermissions_persist_noGrant()
128 AppOpsManager.OPSTR_SEND_SMS, Binder.getCallingUid(), PACKAGE)) in testCheckCallingSendTextPermissions_persist_noAppOps()
131 true /* persistMessageForNonDefaultSmsApp */, PACKAGE, ATTRIBUTION_TAG, MESSAGE)); in testCheckCallingSendTextPermissions_persist_noAppOps()
143 AppOpsManager.OPSTR_SEND_SMS, Binder.getCallingUid(), PACKAGE)) in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp()
147 false /* persistMessageForNonDefaultSmsApp */, PACKAGE, ATTRIBUTION_TAG, MESSAGE)); in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp()
153 false /* persistMessageForNonDefaultSmsApp */, PACKAGE, ATTRIBUTION_TAG, MESSAGE)); in testCheckCallingSendTextPermissions_noPersist_grantViaModifyAndSend()
162 false /* persistMessageForNonDefaultSmsApp */, PACKAGE, ATTRIBUTION_TAG, in testCheckCallingSendTextPermissions_noPersist_noModify()
176 false /* persistMessageForNonDefaultSmsApp */, PACKAGE, ATTRIBUTION_TAG, in testCheckCallingSendTextPermissions_noPersist_noSendSmsPermission()
[all …]
DTelephonyPermissionsTest.java64 private static final String PACKAGE = "com.example"; field in TelephonyPermissionsTest
115 when(mMockAppOps.noteOp(anyString(), eq(UID), eq(PACKAGE))) in setUp()
117 when(mMockAppOps.noteOpNoThrow(anyString(), eq(UID), eq(PACKAGE))).thenReturn( in setUp()
125 when(mMockDevicePolicyManager.checkDeviceIdentifierAccess(eq(PACKAGE), eq(PID), in setUp()
134 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG); in testCheckReadPhoneState_noPermissions()
146 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPrivilegedPermission()
153 when(mMockAppOps.noteOp(AppOpsManager.OPSTR_READ_PHONE_STATE, UID, PACKAGE)) in testCheckReadPhoneState_hasPermissionAndAppOp()
156 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPermissionAndAppOp()
164 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPermissionWithoutAppOp()
174 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasCarrierPrivileges()
[all …]
/frameworks/compile/mclinker/unittests/
Dtest3.txt80 PACKAGE = $(TOOL)
85 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
89 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
93 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
97 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
104 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
108 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
112 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
116 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
123 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
[all …]
/frameworks/compile/libbcc/tests/debuginfo/
Dbuild_test_apk.sh26 PACKAGE=""
90 PACKAGE="$2"
163 if [ -z "$PACKAGE" ]; then
164 PACKAGE=com.android.test.rsdebug.$TESTCASE
168 …reate project --target $TARGET --name $NAME --path $OUT_DIR --activity $ACTIVITY --package $PACKAGE
177 DEST_SRC_DIR=$OUT_DIR/src/`echo $PACKAGE | sed 's/\./\//g'`
196 echo " %PACKAGE% ==> $PACKAGE"
199 SUBST_PARAMS="$ACTIVITY $PACKAGE $TESTCASE $MINSDK"
/frameworks/base/packages/SettingsLib/search/processor-src/com/android/settingslib/search/
DIndexableProcessor.java55 private static final String PACKAGE = "com.android.settingslib.search"; field in IndexableProcessor
152 final JavaFile searchIndexableResourcesBase = JavaFile.builder(PACKAGE, baseClass).build(); in process()
154 final JavaFile searchIndexableResourcesMobile = JavaFile.builder(PACKAGE, in process()
157 .superclass(ClassName.get(PACKAGE, baseClass.name)) in process()
162 final JavaFile searchIndexableResourcesTv = JavaFile.builder(PACKAGE, in process()
165 .superclass(ClassName.get(PACKAGE, baseClass.name)) in process()
170 final JavaFile searchIndexableResourcesWear = JavaFile.builder(PACKAGE, in process()
173 .superclass(ClassName.get(PACKAGE, baseClass.name)) in process()
178 final JavaFile searchIndexableResourcesAuto = JavaFile.builder(PACKAGE, in process()
181 .superclass(ClassName.get(PACKAGE, baseClass.name)) in process()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java20 import static com.android.internal.annotations.VisibleForTesting.Visibility.PACKAGE;
192 @VisibleForTesting(visibility = PACKAGE)
199 @VisibleForTesting(visibility = PACKAGE)
206 @VisibleForTesting(visibility = PACKAGE)
213 @VisibleForTesting(visibility = PACKAGE)
227 @VisibleForTesting(visibility = PACKAGE)
242 @VisibleForTesting(visibility = PACKAGE)
259 @VisibleForTesting(visibility = PACKAGE)
267 @VisibleForTesting(visibility = PACKAGE)
279 @VisibleForTesting(visibility = PACKAGE)
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractE2ETest.java51 private static final String PACKAGE = "com.android.frameworks.coretests"; field in FontsContractE2ETest
122 AUTHORITY, PACKAGE, "singleFontFamily", SIGNATURE); in typefaceCacheTest()
133 AUTHORITY, PACKAGE, "singleFontFamily", SIGNATURE); in typefaceCacheTest()
144 AUTHORITY, PACKAGE, "singleFontFamily2", SIGNATURE); in typefaceCacheTest()
159 AUTHORITY, PACKAGE, "singleFontFamily", SIGNATURE); in typefaceNotCacheTest()
182 AUTHORITY, PACKAGE, MockFontProvider.NULL_FD_QUERY, SIGNATURE); in typefaceNullFdTest()
191 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, "singleFontFamily", SIGNATURE); in getFontSyncTest()
198 AUTHORITY, PACKAGE, MockFontProvider.BLOCKING_QUERY, SIGNATURE); in getFontSyncTest_timeout()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DSettingsWrapperTest.kt31 private const val PACKAGE = "com.android.keyguard.clock.Clock" constant
52 val value = PACKAGE in testDecodeUnnecessary()
66 json.put(CLOCK_FIELD, PACKAGE) in testDecodeJSON()
72 assertThat(decoded).isEqualTo(PACKAGE) in testDecodeJSON()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DUtils.java31 protected final static String PACKAGE = "android.windowanimationjank"; field in Utils
33 protected final static String ELEMENT_LAYOUT_CLASS = PACKAGE + "." + ELEMENT_LAYOUT_ACTIVITY;
35 private static final BySelector ROOT_ELEMENT_LAYOUT = By.res(PACKAGE, "root_flow_layout");
66 intent.setComponent(new ComponentName(PACKAGE, ELEMENT_LAYOUT_CLASS)); in startElementLayout()
/frameworks/base/core/java/android/text/format/
DDateIntervalFormat.java22 import static com.android.internal.annotations.VisibleForTesting.Visibility.PACKAGE;
38 @VisibleForTesting(visibility = PACKAGE)
50 @VisibleForTesting(visibility = PACKAGE)
67 @VisibleForTesting(visibility = PACKAGE)
/frameworks/base/core/java/android/view/textclassifier/
DSelectionEvent.java385 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
447 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
466 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
530 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
545 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
560 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
575 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
590 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
605 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
/frameworks/base/core/java/android/annotation/
DHide.java23 import static java.lang.annotation.ElementType.PACKAGE;
38 @Target({TYPE, FIELD, METHOD, CONSTRUCTOR, ANNOTATION_TYPE, PACKAGE})
DTestApi.java23 import static java.lang.annotation.ElementType.PACKAGE;
39 @Target({TYPE, FIELD, METHOD, CONSTRUCTOR, ANNOTATION_TYPE, PACKAGE})
DCondemned.java23 import static java.lang.annotation.ElementType.PACKAGE;
42 @Target(value={CONSTRUCTOR, FIELD, LOCAL_VARIABLE, METHOD, PACKAGE, PARAMETER, TYPE})
DSystemApi.java23 import static java.lang.annotation.ElementType.PACKAGE;
41 @Target({TYPE, FIELD, METHOD, CONSTRUCTOR, ANNOTATION_TYPE, PACKAGE})
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto912 // PACKAGE: App that posted the notification.
914 // PACKAGE: App that posted the notification
916 // PACKAGE: App that posted the notification
918 // PACKAGE: App that posted the notification
920 // PACKAGE: App that posted the notification
927 // PACKAGE: App that posted the notification
1459 // PACKAGE: Tile
1465 // PACKAGE: Tile
1471 // PACKAGE: Tile
1477 // PACKAGE: Icon
[all …]
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiAudioSystemClient.java50 @VisibleForTesting(visibility = Visibility.PACKAGE)
55 @VisibleForTesting(visibility = Visibility.PACKAGE)
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageTracker.java57 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
120 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
341 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
431 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
/frameworks/base/core/java/com/android/internal/os/
DKernelSingleUidTimeReader.java18 import static com.android.internal.annotations.VisibleForTesting.Visibility.PACKAGE;
34 @VisibleForTesting(visibility = PACKAGE)
193 @VisibleForTesting(visibility = PACKAGE)
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dinfo_sources.rs10 #pragma rs java_package_name(%PACKAGE%)
Dbreakpoint_inlined_sourceline.rs16 #pragma rs java_package_name(%PACKAGE%)
Dbreakpoint_inlined_function.rs17 #pragma rs java_package_name(%PACKAGE%)
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h33 #define PACKAGE "mclinker" macro
/frameworks/base/core/java/com/android/internal/annotations/
DVisibleForTesting.java40 PACKAGE, enumConstant
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/annotations/
DVisibleForTesting.java40 PACKAGE, enumConstant

1234