OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CarAppContextManager
(Results
1 - 15
of
15
) sorted by null
/cts/tests/tests/car/src/android/car/cts/
CarAppContextManagerTest.java
19
import android.car.
CarAppContextManager
;
26
private static final String TAG =
CarAppContextManager
.class.getSimpleName();
27
private
CarAppContextManager
mManager;
32
mManager = (
CarAppContextManager
) getCar().getCarManager(Car.APP_CONTEXT_SERVICE);
38
mManager.setActiveContexts(null,
CarAppContextManager
.APP_CONTEXT_NAVIGATION);
70
CarAppContextManager
manager2 = (
CarAppContextManager
)
79
mManager.registerContextListener(change,
CarAppContextManager
.APP_CONTEXT_NAVIGATION |
80
CarAppContextManager
.APP_CONTEXT_VOICE_COMMAND);
81
manager2.registerContextListener(change2,
CarAppContextManager
.APP_CONTEXT_NAVIGATION
[
all
...]
/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/
CarAppContextManagerTest.java
19
import android.car.
CarAppContextManager
;
28
private static final String TAG =
CarAppContextManager
.class.getSimpleName();
29
private
CarAppContextManager
mManager;
34
mManager = (
CarAppContextManager
) getCar().getCarManager(Car.APP_CONTEXT_SERVICE);
40
mManager.setActiveContexts(null,
CarAppContextManager
.APP_CONTEXT_NAVIGATION);
72
CarAppContextManager
manager2 = (
CarAppContextManager
)
81
mManager.registerContextListener(change,
CarAppContextManager
.APP_CONTEXT_NAVIGATION |
82
CarAppContextManager
.APP_CONTEXT_VOICE_COMMAND);
83
manager2.registerContextListener(change2,
CarAppContextManager
.APP_CONTEXT_NAVIGATION
[
all
...]
CarNavigationManagerTest.java
19
import android.car.
CarAppContextManager
;
20
import android.car.
CarAppContextManager
.AppContextChangeListener;
21
import android.car.
CarAppContextManager
.AppContextOwnershipChangeListener;
40
private
CarAppContextManager
mCarAppContextManager;
49
(
CarAppContextManager
) getCar().getCarManager(Car.APP_CONTEXT_SERVICE);
91
},
CarAppContextManager
.APP_CONTEXT_NAVIGATION);
97
},
CarAppContextManager
.APP_CONTEXT_NAVIGATION);
99
CarAppContextManager
.APP_CONTEXT_NAVIGATION));
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
CarAppContextManagerTest.java
19
import android.support.car.
CarAppContextManager
;
28
private static final String TAG =
CarAppContextManager
.class.getSimpleName();
29
private
CarAppContextManager
mManager;
34
mManager = (
CarAppContextManager
) getCar().getCarManager(Car.APP_CONTEXT_SERVICE);
40
mManager.setActiveContexts(null,
CarAppContextManager
.APP_CONTEXT_NAVIGATION);
72
CarAppContextManager
manager2 = (
CarAppContextManager
)
81
mManager.registerContextListener(change,
CarAppContextManager
.APP_CONTEXT_NAVIGATION |
82
CarAppContextManager
.APP_CONTEXT_VOICE_COMMAND);
83
manager2.registerContextListener(change2,
CarAppContextManager
.APP_CONTEXT_NAVIGATION
[
all
...]
CarNavigationManagerTest.java
18
import static android.support.car.
CarAppContextManager
.APP_CONTEXT_NAVIGATION;
22
import android.support.car.
CarAppContextManager
;
23
import android.support.car.
CarAppContextManager
.AppContextChangeListener;
24
import android.support.car.
CarAppContextManager
.AppContextOwnershipChangeListener;
39
private
CarAppContextManager
mCarAppContextManager;
48
(
CarAppContextManager
) getCar().getCarManager(Car.APP_CONTEXT_SERVICE);
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/
AppContextTest.java
22
import android.support.car.
CarAppContextManager
;
51
CarAppContextManager
manager = (
CarAppContextManager
) getSupportCar().getCarManager(
55
manager.registerContextListener(listener,
CarAppContextManager
.APP_CONTEXT_NAVIGATION |
56
CarAppContextManager
.APP_CONTEXT_VOICE_COMMAND);
57
manager.setActiveContexts(ownershipListener,
CarAppContextManager
.APP_CONTEXT_NAVIGATION);
58
manager.setActiveContexts(ownershipListener,
CarAppContextManager
.APP_CONTEXT_VOICE_COMMAND);
59
manager.resetActiveContexts(
CarAppContextManager
.APP_CONTEXT_NAVIGATION);
60
manager.resetActiveContexts(
CarAppContextManager
.APP_CONTEXT_VOICE_COMMAND);
64
private class ContextChangeListener implements
CarAppContextManager
.AppContextChangeListener
[
all
...]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
InstrumentClusterFragment.java
21
import android.support.car.
CarAppContextManager
;
22
import android.support.car.
CarAppContextManager
.AppContextChangeListener;
23
import android.support.car.
CarAppContextManager
.AppContextOwnershipChangeListener;
42
private
CarAppContextManager
mCarAppContextManager;
48
public void setCarAppContextManager(
CarAppContextManager
carAppContextManager
) {
49
mCarAppContextManager =
carAppContextManager
;
91
},
CarAppContextManager
.APP_CONTEXT_NAVIGATION);
106
},
CarAppContextManager
.APP_CONTEXT_NAVIGATION);
114
CarAppContextManager
.APP_CONTEXT_NAVIGATION)
[
all
...]
/packages/services/Car/car-support-lib/src/android/support/car/
CarAppContextManager.java
20
*
CarAppContextManager
allows applications to set and listen for the current application context
26
public abstract class
CarAppContextManager
implements CarManagerBase {
32
* Application context has changed. Note that {@link
CarAppContextManager
} instance
47
* upon getting this for {@link
CarAppContextManager
#APP_CONTEXT_NAVIGATION}.
CarAppContextManagerEmbedded.java
23
* Implementation of {@link
CarAppContextManager
} for embedded.
26
public class CarAppContextManagerEmbedded extends
CarAppContextManager
{
28
private final android.car.
CarAppContextManager
mManager;
36
mManager = (android.car.
CarAppContextManager
) manager;
133
android.car.
CarAppContextManager
.AppContextChangeListener {
148
android.car.
CarAppContextManager
.AppContextOwnershipChangeListener {
/packages/services/Car/car-lib/src/android/car/
CarAppContextManager.java
29
*
CarAppContextManager
allows applications to set and listen for the current application context
35
public class
CarAppContextManager
implements CarManagerBase {
41
* Application context has changed. Note that {@link
CarAppContextManager
} instance
56
* upon getting this for {@link
CarAppContextManager
#APP_CONTEXT_NAVIGATION}.
89
CarAppContextManager
(IBinder service, Looper looper) {
238
private final WeakReference<
CarAppContextManager
> mManager;
240
private IAppContextListenerImpl(
CarAppContextManager
manager) {
246
final
CarAppContextManager
manager = mManager.get();
260
final
CarAppContextManager
manager = mManager.get();
Car.java
61
/** Service name for {@link
CarAppContextManager
}. */
481
manager = new
CarAppContextManager
(binder, mLooper);
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
AudioTestFragment.java
20
import android.car.
CarAppContextManager
;
21
import android.car.
CarAppContextManager
.AppContextChangeListener;
22
import android.car.
CarAppContextManager
.AppContextOwnershipChangeListener;
87
private
CarAppContextManager
mAppContextManager;
133
(
CarAppContextManager
) mCar.getCarManager(Car.APP_CONTEXT_SERVICE);
142
},
CarAppContextManager
.APP_CONTEXT_NAVIGATION |
143
CarAppContextManager
.APP_CONTEXT_VOICE_COMMAND);
241
CarAppContextManager
.APP_CONTEXT_NAVIGATION);
252
CarAppContextManager
.APP_CONTEXT_NAVIGATION);
273
CarAppContextManager
.APP_CONTEXT_VOICE_COMMAND)
[
all
...]
/packages/services/Car/service/src/com/android/car/
AppContextService.java
18
import android.car.
CarAppContextManager
;
109
for (int c =
CarAppContextManager
.APP_CONTEXT_START_FLAG;
110
c <=
CarAppContextManager
.APP_CONTEXT_END_FLAG; c = (c << 1)) {
165
for (int c =
CarAppContextManager
.APP_CONTEXT_START_FLAG;
166
c <=
CarAppContextManager
.APP_CONTEXT_END_FLAG; c = (c << 1)) {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
KitchenSinkActivity.java
27
import android.support.car.
CarAppContextManager
;
68
private
CarAppContextManager
mCarAppContextManager;
178
(
CarAppContextManager
) mCarApi.getCarManager(Car.APP_CONTEXT_SERVICE);
/packages/services/Car/service/src/com/android/car/cluster/
CarNavigationService.java
18
import android.car.
CarAppContextManager
;
169
CarAppContextManager
.APP_CONTEXT_NAVIGATION)) {
Completed in 76 milliseconds