Searched refs:contexts (Results 1 - 7 of 7) sorted by relevance
/packages/services/Car/car-lib/src/android/car/ |
H A D | IAppContext.aidl | 29 void setActiveContexts(IAppContextListener listener, int contexts) = 4; 31 void resetActiveContexts(IAppContextListener listener, int contexts) = 5;
|
H A D | CarAppContextManager.java | 155 * Set the given contexts as active. By setting this, the application is becoming owner 163 * @param contexts 167 public void setActiveContexts(AppContextOwnershipChangeListener ownershipListener, int contexts) argument 174 mService.setActiveContexts(mBinderListener, contexts); 179 if ((flag & contexts) != 0) { 187 * Reset the given contexts, i.e. mark them as inactive. This also involves releasing ownership 189 * @param contexts 192 public void resetActiveContexts(int contexts) throws CarNotConnectedException { argument 194 mService.resetActiveContexts(mBinderListener, contexts); 200 if ((flag & contexts) ! [all...] |
/packages/services/Car/car-support-lib/src/android/support/car/ |
H A D | CarAppContextManager.java | 73 * @param contextFilter Flags of contexts to get notification. 87 * Retrieve currently active contexts. 102 * Set the given contexts as active. By setting this, the application is becoming owner 108 * @param contexts 114 int contexts) throws IllegalStateException, SecurityException, CarNotConnectedException; 117 * Reset the given contexts, i.e. mark them as inactive. This also involves releasing ownership 119 * @param contexts 122 public abstract void resetActiveContexts(int contexts) throws CarNotConnectedException; argument 113 setActiveContexts(AppContextOwnershipChangeListener ownershipListener, int contexts) argument
|
H A D | CarAppContextManagerEmbedded.java | 90 int contexts) throws IllegalStateException, SecurityException, 99 if ((flag & contexts) != 0) { 105 mManager.setActiveContexts(proxy, contexts); 112 public void resetActiveContexts(int contexts) throws CarNotConnectedException { argument 114 mManager.resetActiveContexts(contexts); 120 if ((flag & contexts) != 0) { 89 setActiveContexts(AppContextOwnershipChangeListener ownershipListener, int contexts) argument
|
/packages/services/Car/service/src/com/android/car/ |
H A D | AppContextService.java | 101 public void setActiveContexts(IAppContextListener listener, int contexts) { argument 111 if ((c & contexts) != 0 && (c & alreadyOwnedContexts) == 0) { 129 info.setOwnedContexts(alreadyOwnedContexts | contexts); 152 public void resetActiveContexts(IAppContextListener listener, int contexts) { argument 159 if ((contexts & mActiveContexts) == 0) { 167 if ((c & contexts) != 0 && (c & currentlyOwnedContexts) != 0) { 242 private void dispatchAppContextOwnershipLoss(IAppContextListener listener, int contexts) { argument 244 listener.onAppContextOwnershipLoss(contexts); 249 private void dispatchAppContextChange(IAppContextListener listener, int contexts) { argument 251 listener.onAppContextChange(contexts); 294 setOwnedContexts(int contexts) argument 319 requestAppContextOwnershipLossDispatch(IAppContextListener listener, int contexts) argument 325 requestAppContextChangeDispatch(IAppContextListener listener, int contexts) argument [all...] |
/packages/services/Car/service/src/com/android/car/hal/ |
H A D | AudioHalService.java | 198 int contexts = 0; 200 contexts |= logicalStreamToHalContextType(logicalStream); 203 = contexts;
|
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | CameraFilmstripDataAdapter.java | 386 * @param contexts {@link Context} to load all the data. 391 protected QueryTaskResult doInBackground(Context... contexts) { argument 392 final Context context = contexts[0];
|
Completed in 151 milliseconds