Home
last modified time | relevance | path

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

12345

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsPermissionsTest.java47 private static final String PACKAGE = "com.example.package"; field in SmsPermissionsTest
106 true /* persistMessageForNonDefaultSmsApp */, PACKAGE, ATTRIBUTION_TAG, MESSAGE)); in testCheckCallingSendTextPermissions_persist_grant()
115 true /* persistMessageForNonDefaultSmsApp */, PACKAGE, ATTRIBUTION_TAG, in testCheckCallingSendTextPermissions_persist_noGrant()
126 mMockAppOps.noteOp(AppOpsManager.OPSTR_SEND_SMS, Binder.getCallingUid(), PACKAGE, in testCheckCallingSendTextPermissions_persist_noAppOps()
130 true /* persistMessageForNonDefaultSmsApp */, PACKAGE, ATTRIBUTION_TAG, MESSAGE)); in testCheckCallingSendTextPermissions_persist_noAppOps()
142 mMockAppOps.noteOp(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.java66 private static final String PACKAGE = "com.example"; field in TelephonyPermissionsTest
120 when(mMockAppOps.noteOp(anyString(), eq(UID), eq(PACKAGE), eq(FEATURE), in setUp()
122 when(mMockAppOps.noteOpNoThrow(anyString(), eq(UID), eq(PACKAGE), eq(FEATURE), in setUp()
137 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG); in testCheckReadPhoneState_noPermissions()
149 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPrivilegedPermission()
156 when(mMockAppOps.noteOp(eq(AppOpsManager.OPSTR_READ_PHONE_STATE), eq(UID), eq(PACKAGE), in testCheckReadPhoneState_hasPermissionAndAppOp()
159 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPermissionAndAppOp()
167 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPermissionWithoutAppOp()
177 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasCarrierPrivileges()
183 mMockContext, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneStateOnAnyActiveSub_noPermissions()
[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/base/packages/SettingsLib/search/processor-src/com/android/settingslib/search/
DIndexableProcessor.java54 private static final String PACKAGE = "com.android.settingslib.search"; field in IndexableProcessor
75 final ClassName searchIndexableData = ClassName.get(PACKAGE, "SearchIndexableData"); in process()
153 .addSuperinterface(ClassName.get(PACKAGE, "SearchIndexableResources")) in process()
159 final JavaFile searchIndexableResourcesBase = JavaFile.builder(PACKAGE, baseClass).build(); in process()
161 final JavaFile searchIndexableResourcesMobile = JavaFile.builder(PACKAGE, in process()
164 .superclass(ClassName.get(PACKAGE, baseClass.name)) in process()
169 final JavaFile searchIndexableResourcesTv = JavaFile.builder(PACKAGE, in process()
172 .superclass(ClassName.get(PACKAGE, baseClass.name)) in process()
177 final JavaFile searchIndexableResourcesWear = JavaFile.builder(PACKAGE, in process()
180 .superclass(ClassName.get(PACKAGE, baseClass.name)) in process()
[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/cmds/statsd/tools/localtools/test/com/android/statsd/shelltools/testdrive/
DTestDriveTest.java64 this.extraPackage = TestDriveTest.PACKAGE; in extraPackage()
93 private static final String PACKAGE = "extraPackage"; field in TestDriveTest
126 new Object[]{new String[]{"-p", PACKAGE, "244", "245"}, TARGET_ONLY, null, in data()
128 new Object[]{new String[]{"-p", PACKAGE, "-one", "244", "245"}, TARGET_ONLY, null, in data()
130 new Object[]{new String[]{"-one", "-p", PACKAGE, "244", "245"}, TARGET_ONLY, null, in data()
132 new Object[]{new String[]{"-s", TARGET, "-one", "-p", PACKAGE, "244", "245"}, in data()
135 new Object[]{new String[]{"-one", "-s", TARGET, "-p", PACKAGE, "244", "245"}, in data()
138 new Object[]{new String[]{"-one", "-p", PACKAGE, "-s", TARGET, "244", "245"}, in data()
141 new Object[]{new String[]{"-terse", "-one", "-p", PACKAGE, "-s", TARGET, in data()
145 new Object[]{new String[]{"-one", "-terse", "-p", PACKAGE, "-s", TARGET, in data()
[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/core/java/android/view/
DCutoutSpecification.java24 import static com.android.internal.annotations.VisibleForTesting.Visibility.PACKAGE;
72 @VisibleForTesting(visibility = PACKAGE)
117 @VisibleForTesting(visibility = PACKAGE)
123 @VisibleForTesting(visibility = PACKAGE)
129 @VisibleForTesting(visibility = PACKAGE)
135 @VisibleForTesting(visibility = PACKAGE)
141 @VisibleForTesting(visibility = PACKAGE)
152 @VisibleForTesting(visibility = PACKAGE)
168 @VisibleForTesting(visibility = PACKAGE)
211 @VisibleForTesting(visibility = PACKAGE)
[all …]
/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/services/core/jni/
Dcom_android_server_soundtrigger_middleware_AudioSessionProviderImpl.cpp26 #define PACKAGE "com/android/server/soundtrigger_middleware" macro
27 #define CLASSNAME PACKAGE "/AudioSessionProviderImpl"
28 #define SESSION_CLASSNAME PACKAGE "/SoundTriggerMiddlewareImpl$AudioSessionProvider$AudioSession"
Dcom_android_server_soundtrigger_middleware_ExternalCaptureStateTracker.cpp28 #define PACKAGE "com/android/server/soundtrigger_middleware" macro
29 #define CLASSNAME PACKAGE "/ExternalCaptureStateTracker"
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaControlPanelTest.kt60 private const val PACKAGE = "PKG" constant
185 emptyList(), PACKAGE, null, null, device, true, null) in bindWhenUnattached()
194 emptyList(), PACKAGE, session.getSessionToken(), null, device, true, null) in bindText()
205 emptyList(), PACKAGE, session.getSessionToken(), null, device, true, null) in bindBackgroundColor()
216 emptyList(), PACKAGE, session.getSessionToken(), null, device, true, null) in bindDevice()
228 emptyList(), PACKAGE, session.getSessionToken(), null, disabledDevice, true, null) in bindDisabledDevice()
240 emptyList(), PACKAGE, session.getSessionToken(), null, null, true, null) in bindNullDevice()
251 emptyList(), PACKAGE, session.getSessionToken(), null, device, true, null, in bindDeviceResumptionPlayer()
DMediaDeviceManagerTest.kt56 private const val PACKAGE = "PKG" constant
98 whenever(lmmFactory.create(PACKAGE)).thenReturn(lmm) in eq()
122 mediaData = MediaData(USER_ID, true, 0, PACKAGE, null, null, SESSION_TITLE, null, in eq()
123 emptyList(), emptyList(), PACKAGE, session.sessionToken, clickIntent = null, in eq()
140 verify(lmmFactory).create(PACKAGE) in eq()
/frameworks/base/core/java/android/annotation/
DUserHandleAware.java20 import static java.lang.annotation.ElementType.PACKAGE;
47 @Target({TYPE, METHOD, CONSTRUCTOR, PACKAGE})
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;
42 @Target({TYPE, FIELD, METHOD, CONSTRUCTOR, ANNOTATION_TYPE, PACKAGE})
/frameworks/base/core/java/android/view/textclassifier/
DSelectionEvent.java383 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
450 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
469 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
533 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
548 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
563 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
578 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
593 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
608 @VisibleForTesting(visibility = VisibleForTesting.Visibility.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)

12345