Home
last modified time | relevance | path

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

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java44 private static final String PACKAGE = "com.example"; field in TelephonyPermissionsTest
64 when(mMockAppOps.noteOp(anyInt(), eq(UID), eq(PACKAGE))) in setUp()
74 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG); in testCheckReadPhoneState_noPermissions()
86 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG)); in testCheckReadPhoneState_hasPrivilegedPermission()
93 when(mMockAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, UID, PACKAGE)) in testCheckReadPhoneState_hasPermissionAndAppOp()
96 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG)); in testCheckReadPhoneState_hasPermissionAndAppOp()
104 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG)); in testCheckReadPhoneState_hasPermissionWithoutAppOp()
112 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG)); in testCheckReadPhoneState_hasCarrierPrivileges()
119 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG); in testCheckReadPhoneNumber_noPermissions()
128 when(mMockAppOps.noteOp(AppOpsManager.OP_WRITE_SMS, UID, PACKAGE)) in testCheckReadPhoneNumber_defaultSmsApp()
[all …]
DIccSmsInterfaceManagerTest.java41 private static final String PACKAGE = "com.example.package"; field in IccSmsInterfaceManagerTest
94 true /* persistMessageForNonDefaultSmsApp */, PACKAGE, MESSAGE)); in testCheckCallingSendTextPermissions_persist_grant()
103 true /* persistMessageForNonDefaultSmsApp */, PACKAGE, MESSAGE); in testCheckCallingSendTextPermissions_persist_noGrant()
113 AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), PACKAGE)) in testCheckCallingSendTextPermissions_persist_noAppOps()
116 true /* persistMessageForNonDefaultSmsApp */, PACKAGE, MESSAGE)); in testCheckCallingSendTextPermissions_persist_noAppOps()
128 AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), PACKAGE)) in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp()
132 false /* persistMessageForNonDefaultSmsApp */, PACKAGE, MESSAGE)); in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp()
138 false /* persistMessageForNonDefaultSmsApp */, PACKAGE, MESSAGE)); in testCheckCallingSendTextPermissions_noPersist_grantViaModifyAndSend()
147 false /* persistMessageForNonDefaultSmsApp */, PACKAGE, MESSAGE); in testCheckCallingSendTextPermissions_noPersist_noModify()
160 false /* persistMessageForNonDefaultSmsApp */, PACKAGE, MESSAGE); in testCheckCallingSendTextPermissions_noPersist_noSendSmsPermission()
[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/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java18 import static com.android.internal.annotations.VisibleForTesting.Visibility.PACKAGE;
182 @VisibleForTesting(visibility = PACKAGE)
189 @VisibleForTesting(visibility = PACKAGE)
196 @VisibleForTesting(visibility = PACKAGE)
203 @VisibleForTesting(visibility = PACKAGE)
217 @VisibleForTesting(visibility = PACKAGE)
231 @VisibleForTesting(visibility = PACKAGE)
248 @VisibleForTesting(visibility = PACKAGE)
255 @VisibleForTesting(visibility = PACKAGE)
267 @VisibleForTesting(visibility = PACKAGE)
[all …]
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/
DFontsContractCompatTest.java72 private static final String PACKAGE = "androidx.core.test"; field in FontsContractCompatTest
122 AUTHORITY, PACKAGE, MockFontProvider.SINGLE_FONT_FAMILY_QUERY, SIGNATURE); in typefaceNotCacheTest()
142 AUTHORITY, PACKAGE, MockFontProvider.SINGLE_FONT_FAMILY2_QUERY, SIGNATURE); in testGetFontFromProvider_resultOK()
158 AUTHORITY, PACKAGE, MockFontProvider.MANDATORY_FIELDS_ONLY_QUERY, SIGNATURE); in testGetFontFromProvider_providerDoesntReturnAllFields()
171 AUTHORITY, PACKAGE, MockFontProvider.NOT_FOUND_QUERY, SIGNATURE); in testGetFontFromProvider_resultFontNotFound()
183 AUTHORITY, PACKAGE, MockFontProvider.UNAVAILABLE_QUERY, SIGNATURE); in testGetFontFromProvider_resultFontUnavailable()
196 AUTHORITY, PACKAGE, MockFontProvider.MALFORMED_QUERY, SIGNATURE); in testGetFontFromProvider_resultMalformedQuery()
209 AUTHORITY, PACKAGE, MockFontProvider.NOT_FOUND_SECOND_QUERY, SIGNATURE); in testGetFontFromProvider_resultFontNotFoundSecondRow()
226 AUTHORITY, PACKAGE, MockFontProvider.NOT_FOUND_THIRD_QUERY, SIGNATURE); in testGetFontFromProvider_resultFontNotFoundOtherRow()
245 AUTHORITY, PACKAGE, MockFontProvider.NEGATIVE_ERROR_CODE_QUERY, SIGNATURE); in testGetFontFromProvider_resultCodeIsNegativeNumber()
[all …]
DFontRequestTest.java37 private static final String PACKAGE = "com.test.fontprovider.package"; field in FontRequestTest
44 new FontRequest(null, PACKAGE, QUERY, CERTS); in testConstructor_nullAuthority()
54 new FontRequest(PROVIDER, PACKAGE, null, CERTS); in testConstructor_nullQuery()
59 new FontRequest(PROVIDER, PACKAGE, QUERY, null); in testConstructor_nullCerts()
/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/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/annotation/
DSystemApi.java23 import static java.lang.annotation.ElementType.PACKAGE;
41 @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})
/frameworks/support/annotations/src/main/java/androidx/annotation/
DKeep.java22 import static java.lang.annotation.ElementType.PACKAGE;
44 @Target({PACKAGE,TYPE,ANNOTATION_TYPE,CONSTRUCTOR,METHOD,FIELD})
DNullable.java22 import static java.lang.annotation.ElementType.PACKAGE;
44 @Target({METHOD, PARAMETER, FIELD, LOCAL_VARIABLE, ANNOTATION_TYPE, PACKAGE})
DNonNull.java22 import static java.lang.annotation.ElementType.PACKAGE;
37 @Target({METHOD, PARAMETER, FIELD, LOCAL_VARIABLE, ANNOTATION_TYPE, PACKAGE})
DRestrictTo.java22 import static java.lang.annotation.ElementType.PACKAGE;
50 @Target({ANNOTATION_TYPE,TYPE,METHOD,CONSTRUCTOR,FIELD,PACKAGE})
/frameworks/base/proto/src/
Dmetrics_constants.proto842 // PACKAGE: App that posted the notification.
844 // PACKAGE: App that posted the notification
846 // PACKAGE: App that posted the notification
848 // PACKAGE: App that posted the notification
855 // PACKAGE: App that posted the notification
1386 // PACKAGE: Tile
1392 // PACKAGE: Tile
1398 // PACKAGE: Tile
1404 // PACKAGE: Icon
1410 // PACKAGE: Icon
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DCallbackWrapper.java37 private static final String PACKAGE = "android.databinding.generated.callback"; field in CallbackWrapper
59 return PACKAGE; in getPackage()
/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;
35 @VisibleForTesting(visibility = PACKAGE)
179 @VisibleForTesting(visibility = PACKAGE)
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dinfo_sources.rs10 #pragma rs java_package_name(%PACKAGE%)
Dbreakpoint_inlined_function.rs17 #pragma rs java_package_name(%PACKAGE%)
Dbreakpoint_inlined_sourceline.rs16 #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

123