OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hasShortcutHostPermission
(Results
1 - 14
of
14
) sorted by null
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerSpoofingTest.java
97
() -> assertFalse(getLauncherApps().
hasShortcutHostPermission
()));
99
() -> assertTrue(getLauncherApps().
hasShortcutHostPermission
()));
101
() -> assertFalse(getLauncherApps().
hasShortcutHostPermission
()));
ShortcutManagerSpoofDetectionTest.java
84
assertCallingPackageMismatch("
hasShortcutHostPermission
", mLauncherContext4, () -> {
85
getLauncherApps().
hasShortcutHostPermission
();
/frameworks/base/core/java/android/content/pm/
ShortcutServiceInternal.java
69
public abstract boolean
hasShortcutHostPermission
(int launcherUserId,
ILauncherApps.aidl
62
boolean
hasShortcutHostPermission
(String callingPackage);
LauncherApps.java
172
* as defined in {@link #
hasShortcutHostPermission
()}, will receive it.
499
public boolean
hasShortcutHostPermission
() {
501
return mService.
hasShortcutHostPermission
(mContext.getPackageName());
511
* #
hasShortcutHostPermission
()}.
556
* as defined in {@link #
hasShortcutHostPermission
()}.
629
* as defined in {@link #
hasShortcutHostPermission
()}.
679
* as defined in {@link #
hasShortcutHostPermission
()}.
701
* as defined in {@link #
hasShortcutHostPermission
()}.
725
* as defined in {@link #
hasShortcutHostPermission
()}.
[
all
...]
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
ShortcutListFragment.java
72
if (!mLauncherApps.
hasShortcutHostPermission
()) {
131
if (!mLauncherApps.
hasShortcutHostPermission
()) {
MyBaseListFragment.java
100
if (!mLauncherApps.
hasShortcutHostPermission
()) {
AppListFragment.java
163
&& mLauncherApps.
hasShortcutHostPermission
()) {
/development/samples/ShortcutDemo/common/src/com/example/android/pm/shortcutdemo/
ShortcutAdapter.java
181
if (!mLauncherApps.
hasShortcutHostPermission
()) {
/frameworks/base/services/core/java/com/android/server/pm/
LauncherAppsService.java
368
if (!mShortcutServiceInternal.
hasShortcutHostPermission
(getCallingUserId(),
432
public boolean
hasShortcutHostPermission
(String callingPackage) {
434
return mShortcutServiceInternal.
hasShortcutHostPermission
(getCallingUserId(),
[
all
...]
ShortcutService.java
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
BaseShortcutManagerTest.java
302
boolean
hasShortcutHostPermission
(@NonNull String callingPackage, int userId) {
[
all
...]
/prebuilts/sdk/current/
android.jar
/prebuilts/sdk/system_current/
android.jar
Completed in 114 milliseconds