Home
last modified time | relevance | path

Searched refs:getToken (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/libs/binder/
DAppOpsManager.cpp29 static const sp<IBinder>& getToken(const sp<IAppOpsService>& service) { in getToken() function
32 gToken = service->getToken(new BBinder()); in getToken()
81 return service != NULL ? service->startOperation(getToken(service), op, uid, callingPackage) in startOp()
88 service->finishOperation(getToken(service), op, uid, callingPackage); in finishOp()
DIAppOpsService.cpp105 virtual sp<IBinder> getToken(const sp<IBinder>& clientToken) { in getToken() function in android::BpAppOpsService
185 sp<IBinder> token = getToken(clientToken); in onTransact()
/frameworks/base/docs/html/google/auth/
Dhttp-auth.jd190 …d/gms/auth/GoogleAuthUtil.html#getToken(android.content.Context,%20java.lang.String,%20java.lang.S…
211 "{@docRoot}reference/com/google/android/gms/auth/GoogleAuthUtil.html#getToken(android.content.Conte…
212 {@code GoogleAuthUtil.getToken()}</a> (which is what the {@code getUsername()} method
219 "{@docRoot}reference/com/google/android/gms/auth/GoogleAuthUtil.html#getToken(android.content.Conte…
220 {@code GoogleAuthUtil.getToken()}</a>, which returns the access token string required by Google API
228 "{@docRoot}reference/com/google/android/gms/auth/GoogleAuthUtil.html#getToken(android.content.Conte…
229 {@code GoogleAuthUtil.getToken()}</a> method requires a network connection, so your app must
236 "{@docRoot}reference/com/google/android/gms/auth/GoogleAuthUtil.html#getToken(android.content.Conte…
237 {@code GoogleAuthUtil.getToken()}</a> method performs a synchronous network transaction, you should
242 "{@docRoot}reference/com/google/android/gms/auth/GoogleAuthUtil.html#getToken(android.content.Conte…
[all …]
/frameworks/native/opengl/libagl/
DTokenManager.h40 status_t getToken(GLsizei n, GLuint *tokens);
DTokenManager.cpp35 status_t TokenManager::getToken(GLsizei n, GLuint *tokens) in getToken() function in android::TokenManager
Darray.cpp1591 c->bufferObjectManager->getToken(n, buffers); in glGenBuffers()
Dtexture.cpp899 c->surfaceManager->getToken(n, textures); in glGenTextures()
/frameworks/base/docs/html/google/play-services/
Dauth.jd71 …href="{@docRoot}reference/com/google/android/gms/auth/GoogleAuthUtil.html#getToken(android.content…
72 >{@code GoogleAuthUtil.getToken()}</a> methods in a foreground activity where you can
80 <h3>Using getToken()</h3>
91 token = GoogleAuthUtil.getToken(mActivity, mEmail, mScope);
146 …<a href="{@docRoot}reference/com/google/android/gms/auth/GoogleAuthUtil.html#getToken(android.cont…
147 >{@code GoogleAuthUtil.getToken()}</a>,
237 href="{@docRoot}reference/com/google/android/gms/auth/GoogleAuthUtil.html#getToken(android.content.…
238 >{@code GoogleAuthUtil.getToken()}</a>.
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintService.java85 IBinder getToken() { return tokenWatcher.getToken(); } in getToken() method in FingerprintService.ClientData
95 IBinder getToken() { return token.get(); } in getToken() method in FingerprintService.TokenWatcher
/frameworks/base/core/java/android/content/pm/
DKeySet.java42 public IBinder getToken() { in getToken() method in KeySet
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl32 IBinder getToken(IBinder clientToken); in getToken() method
/frameworks/native/include/binder/
DIAppOpsService.h42 virtual sp<IBinder> getToken(const sp<IBinder>& clientToken) = 0;
/frameworks/base/core/java/android/app/
DAppOpsManager.java1315 public static IBinder getToken(IAppOpsService service) { in getToken() method in AppOpsManager
1321 sToken = service.getToken(new Binder()); in getToken()
1348 int mode = mService.startOperation(getToken(mService), op, uid, packageName); in startOp()
1365 return mService.startOperation(getToken(mService), op, uid, packageName); in startOpNoThrow()
1385 mService.finishOperation(getToken(mService), op, uid, packageName); in finishOp()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java161 mAppOps.startOperation(AppOpsManager.getToken(mAppOps), in onWakeLockAcquired()
221 mAppOps.finishOperation(AppOpsManager.getToken(mAppOps), in onWakeLockReleased()
/frameworks/support/v4/java/android/support/v4/media/session/
DMediaControllerCompat.java794 mBinder = IMediaSession.Stub.asInterface((IBinder) token.getToken()); in MediaControllerImplBase()
1122 session.getSessionToken().getToken()); in MediaControllerImplApi21()
1128 sessionToken.getToken()); in MediaControllerImplApi21()
DMediaSessionCompat.java709 public Object getToken() { in getToken() method in MediaSessionCompat.Token
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java396 mode = mAppOpsService.startOperation(AppOpsManager.getToken(mAppOpsService), in startVibrationLocked()
422 mAppOpsService.finishOperation(AppOpsManager.getToken(mAppOpsService), in reportFinishVibrationLocked()
DAppOpsService.java562 public IBinder getToken(IBinder clientToken) { in getToken() method in AppOpsService
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouter.java2223 return mMediaSession.getToken(); in getMediaSessionToken()
2335 public MediaSessionCompat.Token getToken() { in getToken() method in MediaRouter.GlobalMediaRouter.MediaSessionRecord
/frameworks/base/media/java/android/media/tv/
DTvInputService.java1221 args.arg4 = session.getToken();
DTvInputManager.java1799 IBinder getToken() {
/frameworks/base/services/core/java/com/android/server/location/
DGpsLocationProvider.java1173 mAppOpsService.startOperation(AppOpsManager.getToken(mAppOpsService), in updateClientUids()
1191 mAppOpsService.finishOperation(AppOpsManager.getToken(mAppOpsService), in updateClientUids()
/frameworks/base/docs/html/google/gcm/
Dnotifications.jd170 id_token = GoogleAuthUtil.getToken(context, accountName, scope);
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java13550 IBinder ksh = ks.getToken(); in isPackageSignedByKeySet()
13570 IBinder ksh = ks.getToken(); in isPackageSignedByKeySetExactly()