OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:isActivityAllowedWhileDriving
(Results
1 - 6
of
6
) sorted by null
/packages/services/Car/car-support-lib/src/android/support/car/content/pm/
CarPackageManager.java
33
public abstract boolean
isActivityAllowedWhileDriving
(String packageName, String className)
CarPackageManagerEmbedded.java
38
public boolean
isActivityAllowedWhileDriving
(String packageName, String className)
41
return mManager.
isActivityAllowedWhileDriving
(packageName, className);
/packages/services/Car/car-lib/src/android/car/content/pm/
CarPackageManager.java
130
public boolean
isActivityAllowedWhileDriving
(String packageName, String className)
133
return mService.
isActivityAllowedWhileDriving
(packageName, className);
/cts/tests/tests/car/src/android/car/cts/
CarPackageManagerTest.java
44
assertFalse(mCarPm.
isActivityAllowedWhileDriving
("com.basic.package", "DummyActivity"));
46
assertFalse(mCarPm.
isActivityAllowedWhileDriving
("com.android.phone", "CallActivity"));
49
mCarPm.
isActivityAllowedWhileDriving
("com.android.settings", null);
55
mCarPm.
isActivityAllowedWhileDriving
(null, "Any");
61
mCarPm.
isActivityAllowedWhileDriving
(null, null);
88
mCarPm.
isActivityAllowedWhileDriving
(packageName, activity));
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/
CarPackageManagerTest.java
96
assertTrue(mCarPm.
isActivityAllowedWhileDriving
(carServicePackageName, activityAllowed));
97
assertFalse(mCarPm.
isActivityAllowedWhileDriving
(carServicePackageName,
107
assertFalse(mCarPm.
isActivityAllowedWhileDriving
(carServicePackageName, activityAllowed));
108
assertTrue(mCarPm.
isActivityAllowedWhileDriving
(carServicePackageName, acticityAllowed2));
109
assertFalse(mCarPm.
isActivityAllowedWhileDriving
(carServicePackageName,
120
assertTrue(mCarPm.
isActivityAllowedWhileDriving
(carServicePackageName, activityAllowed));
121
assertFalse(mCarPm.
isActivityAllowedWhileDriving
(carServicePackageName, acticityAllowed2));
122
assertFalse(mCarPm.
isActivityAllowedWhileDriving
(carServicePackageName,
133
assertFalse(mCarPm.
isActivityAllowedWhileDriving
(carServicePackageName, activityAllowed));
134
assertFalse(mCarPm.
isActivityAllowedWhileDriving
(carServicePackageName, acticityAllowed2))
[
all
...]
/packages/services/Car/service/src/com/android/car/pm/
CarPackageManagerService.java
129
public boolean
isActivityAllowedWhileDriving
(String packageName, String className) {
133
Log.i(CarLog.TAG_PACKAGE, "
isActivityAllowedWhileDriving
" +
Completed in 4341 milliseconds