Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 1782) sorted by relevance

12345678910>>...72

/aosp12/frameworks/base/core/java/android/app/
H A DActivityClient.java72 public void activityPaused(IBinder token) { in activityPaused() argument
92 public void activityDestroyed(IBinder token) { in activityDestroyed() argument
101 public void activityRelaunched(IBinder token) { in activityRelaunched() argument
177 public boolean isTopOfTask(IBinder token) { in isTopOfTask() argument
185 boolean willActivityBeVisible(IBinder token) { in willActivityBeVisible() argument
193 public int getDisplayId(IBinder token) { in getDisplayId() argument
230 String getCallingPackage(IBinder token) { in getCallingPackage() argument
238 public int getLaunchedFromUid(IBinder token) { in getLaunchedFromUid() argument
262 int getRequestedOrientation(IBinder token) { in getRequestedOrientation() argument
294 boolean isImmersive(IBinder token) { in isImmersive() argument
[all …]
H A DIActivityClientController.aidl51 void activityPaused(in IBinder token); in activityPaused() argument
54 oneway void activityDestroyed(in IBinder token); in activityDestroyed() argument
55 oneway void activityRelaunched(in IBinder token); in activityRelaunched() argument
69 boolean isTopOfTask(in IBinder token); in isTopOfTask() argument
70 boolean willActivityBeVisible(in IBinder token); in willActivityBeVisible() argument
73 IBinder getActivityTokenBelow(IBinder token); in getActivityTokenBelow() argument
75 String getCallingPackage(in IBinder token); in getCallingPackage() argument
76 int getLaunchedFromUid(in IBinder token); in getLaunchedFromUid() argument
77 String getLaunchedFromPackage(in IBinder token); in getLaunchedFromPackage() argument
80 int getRequestedOrientation(in IBinder token); in getRequestedOrientation() argument
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/tv/
H A DTvRemoteServiceInput.java55 if (mBridgeMap.containsKey(token)) { in openInputBridge()
62 mBridgeMap.put(token, in openInputBridge()
75 closeInputBridge(token); in openInputBridge()
97 if (mBridgeMap.containsKey(token)) { in openGamepadBridge()
104 mBridgeMap.put(token, UinputBridge.openGamepad(token, name)); in openGamepadBridge()
116 closeInputBridge(token); in openGamepadBridge()
132 public void closeInputBridge(IBinder token) { in closeInputBridge() argument
146 inputBridge.close(token); in closeInputBridge()
154 public void clearInputBridge(IBinder token) { in clearInputBridge() argument
168 inputBridge.clear(token); in clearInputBridge()
[all …]
H A DUinputBridge.java75 if (token == null) { in UinputBridge()
82 mToken = token; in UinputBridge()
89 mToken = token; in UinputBridge()
96 if (token == null) { in openGamepad()
119 if (isTokenValid(token)) { in close()
121 clear(token); in close()
139 if (isTokenValid(token)) { in sendKeyDown()
145 if (isTokenValid(token)) { in sendKeyUp()
151 if (isTokenValid(token)) { in sendPointerDown()
157 if (isTokenValid(token)) { in sendPointerUp()
[all …]
/aosp12/frameworks/compile/mclinker/lib/Script/
H A DScriptScanner.ll19 typedef mcld::ScriptParser::token token;
22 #define yyterminate() return token::END
68 return token::LINKER_SCRIPT;
79 <LDSCRIPT>"ENTRY" { return token::ENTRY; }
161 <LDSCRIPT>"AT" { return token::AT; }
224 return token::INTEGER;
231 return token::STRING;
238 return token::STRING;
245 return token::STRING;
252 return token::LNAMESPEC;
[all …]
/aosp12/system/keymaster/tests/
H A Dkeymaster_enforcement_test.cpp584 memset(&token, 0, sizeof(token)); in TEST_F()
607 memset(&token, 0, sizeof(token)); in TEST_F()
636 memset(&token, 0, sizeof(token)); in TEST_F()
660 memset(&token, 0, sizeof(token)); in TEST_F()
687 memset(&token, 0, sizeof(token)); in TEST_F()
716 memset(&token, 0, sizeof(token)); in TEST_F()
745 memset(&token, 0, sizeof(token)); in TEST_F()
768 memset(&token, 0, sizeof(token)); in TEST_F()
821 memset(&token, 0, sizeof(token)); in TEST_F()
846 memset(&token, 0, sizeof(token)); in TEST_F()
[all …]
/aosp12/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/
H A DTvRemoteProvider.java272 Objects.requireNonNull(token); in closeInputBridge()
289 Objects.requireNonNull(token); in clearInputBridge()
307 Objects.requireNonNull(token); in sendTimestamp()
325 Objects.requireNonNull(token); in sendKeyUp()
342 Objects.requireNonNull(token); in sendKeyDown()
361 Objects.requireNonNull(token); in sendPointerUp()
383 Objects.requireNonNull(token); in sendPointerDown()
400 Objects.requireNonNull(token); in sendPointerSync()
430 Objects.requireNonNull(token); in sendGamepadKeyDown()
453 Objects.requireNonNull(token); in sendGamepadKeyUp()
[all …]
/aosp12/system/tools/aidl/
H A Daidl_language_l.ll62 return yy::parser::token::C_STR; }
100 "<=" { return(yy::parser::token::LEQ); }
101 ">=" { return(yy::parser::token::GEQ); }
103 "!=" { return(yy::parser::token::NEQ); }
118 in { return yy::parser::token::IN; }
119 out { return yy::parser::token::OUT; }
120 inout { return yy::parser::token::INOUT; }
124 return yy::parser::token::CONST; }
132 return yy::parser::token::ONEWAY;
135 return yy::parser::token::ENUM;
[all …]
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowTokenTests.java75 token.addWindow(window1); in testAddWindow()
78 token.addWindow(window11); in testAddWindow()
79 token.addWindow(window12); in testAddWindow()
80 token.addWindow(window2); in testAddWindow()
81 token.addWindow(window3); in testAddWindow()
101 assertEquals(token, dc.getWindowToken(token.token)); in testChildRemoval()
108 assertEquals(token, dc.getWindowToken(token.token)); in testChildRemoval()
113 assertEquals(null, dc.getWindowToken(token.token)); in testChildRemoval()
126 assertNotNull(mDisplayContent.getWindowToken(token.token)); in testTokenRemovalProcess()
131 mDisplayContent.removeWindowToken(token.token, true /* animateExit */); in testTokenRemovalProcess()
[all …]
/aosp12/hardware/interfaces/radio/1.0/vts/functional/
H A Dsap_callback.cpp23 sapResponseToken = token; in connectResponse()
24 parent.notify(token); in connectResponse()
29 sapResponseToken = token; in disconnectResponse()
30 parent.notify(token); in disconnectResponse()
41 sapResponseToken = token; in apduResponse()
43 parent.notify(token); in apduResponse()
52 parent.notify(token); in transferAtrResponse()
59 parent.notify(token); in powerResponse()
66 parent.notify(token); in resetSimResponse()
78 parent.notify(token); in transferCardReaderStatusResponse()
[all …]
H A Dsap_hidl_hal_api.cpp25 token = GetRandomSerialNumber(); in TEST_P()
28 sap->connectReq(token, maxMsgSize); in TEST_P()
43 token = GetRandomSerialNumber(); in TEST_P()
45 sap->disconnectReq(token); in TEST_P()
56 token = GetRandomSerialNumber(); in TEST_P()
77 token = GetRandomSerialNumber(); in TEST_P()
79 sap->transferAtrReq(token); in TEST_P()
95 token = GetRandomSerialNumber(); in TEST_P()
98 sap->powerReq(token, state); in TEST_P()
115 token = GetRandomSerialNumber(); in TEST_P()
[all …]
/aosp12/hardware/interfaces/keymaster/4.0/support/
H A Dkeymaster_utils.cpp62 static_assert(1 /* version size */ + sizeof(token.challenge) + sizeof(token.userId) + in authToken2HidlVec()
82 std::copy(token.mac.begin(), token.mac.end(), pos); in authToken2HidlVec()
89 HardwareAuthToken token; in hidlVec2AuthToken() local
90 static_assert(1 /* version size */ + sizeof(token.challenge) + sizeof(token.userId) + in hidlVec2AuthToken()
107 token.timestamp = ntohq(token.timestamp); in hidlVec2AuthToken()
108 token.mac.resize(kHmacSize); in hidlVec2AuthToken()
111 return token; in hidlVec2AuthToken()
151 if (!(token.mac.size() == 0 || token.mac.size() == 32)) { in serializeVerificationToken()
160 serializedToken.insert(serializedToken.end(), token.mac.begin(), token.mac.end()); in serializeVerificationToken()
171 VerificationToken token; in deserializeVerificationToken() local
[all …]
/aosp12/hardware/interfaces/keymaster/4.0/vts/functional/
H A DVerificationTokenTest.cpp30 VerificationToken token; member
42 result.token = token; in verifyAuthorization()
91 EXPECT_EQ(1U, result1.token.challenge); in TEST_P()
95 EXPECT_GT(result1.token.timestamp, 0U); in TEST_P()
105 EXPECT_EQ(2U, result2.token.challenge); in TEST_P()
118 auto km_time_delta = result2.token.timestamp - result1.token.timestamp; in TEST_P()
127 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P()
129 memcmp(result1.token.mac.data(), result2.token.mac.data(), result1.token.mac.size())); in TEST_P()
179 auto km_time_delta = result2.token.timestamp - result1.token.timestamp; in TEST_P()
183 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P()
[all …]
/aosp12/hardware/ril/libril/
H A Dsap_service.cpp54 Return<void> disconnectReq(int32_t token);
58 Return<void> transferAtrReq(int32_t token);
60 Return<void> powerReq(int32_t token, bool state);
62 Return<void> resetSimReq(int32_t token);
100 msg->token = token; in createMsgHeader()
228 Return<void> SapImpl::disconnectReq(int32_t token) { in disconnectReq() argument
406 Return<void> SapImpl::resetSimReq(int32_t token) { in resetSimReq() argument
795 rsp->token, in processResponse()
822 rsp->token, apduResponse); in processResponse()
852 rsp->token, powerResponse); in processResponse()
[all …]
/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ip/
H A DIpClientManager.java76 Binder.restoreCallingIdentity(token); in completedPreDhcpAction()
92 Binder.restoreCallingIdentity(token); in confirmConfiguration()
108 Binder.restoreCallingIdentity(token); in readPacketFilterComplete()
124 Binder.restoreCallingIdentity(token); in shutdown()
140 Binder.restoreCallingIdentity(token); in startProvisioning()
158 Binder.restoreCallingIdentity(token); in stop()
177 Binder.restoreCallingIdentity(token); in setTcpBufferSizes()
196 Binder.restoreCallingIdentity(token); in setHttpProxy()
213 Binder.restoreCallingIdentity(token); in setMulticastFilter()
240 Binder.restoreCallingIdentity(token); in addKeepalivePacketFilter()
[all …]
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DHanziToPinyin.java103 token.type = Token.LATIN; in tokenize()
104 token.target = token.source; in tokenize()
110 token.type = Token.LATIN; in tokenize()
111 token.target = mAsciiTransliterator == null ? token.source : in tokenize()
116 token.type = Token.PINYIN; in tokenize()
117 token.target = mPinyinTransliterator.transliterate(token.source); in tokenize()
119 TextUtils.equals(token.source, token.target)) { in tokenize()
120 token.type = Token.UNKNOWN; in tokenize()
121 token.target = token.source; in tokenize()
147 Token token = new Token(); in getTokens() local
[all …]
/aosp12/system/security/keystore/tests/
H A Dverification_token_seralization_test.cpp32 VerificationToken token; in TEST() local
33 token.challenge = 12345; in TEST()
34 token.timestamp = 67890; in TEST()
36 token.mac.resize(32); in TEST()
38 token.mac[n] = n; in TEST()
48 ASSERT_EQ(token.mac, deserialized.value().mac); in TEST()
52 VerificationToken token; in TEST() local
53 token.challenge = 12345; in TEST()
54 token.timestamp = 67890; in TEST()
56 token.mac.resize(0); in TEST()
[all …]
/aosp12/hardware/interfaces/security/secureclock/aidl/vts/functional/
H A DSecureClockAidlTest.cpp39 TimeStampToken token; member
115 EXPECT_EQ(1U, result1.token.challenge); in TEST_P()
125 EXPECT_EQ(2U, result2.token.challenge); in TEST_P()
136 EXPECT_GE(result2.token.timestamp.milliSeconds, result1.token.timestamp.milliSeconds); in TEST_P()
138 result2.token.timestamp.milliSeconds - result1.token.timestamp.milliSeconds; in TEST_P()
142 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P()
144 memcmp(result1.token.mac.data(), result2.token.mac.data(), result1.token.mac.size())); in TEST_P()
178 EXPECT_GE(result2.token.timestamp.milliSeconds, result1.token.timestamp.milliSeconds); in TEST_P()
180 result2.token.timestamp.milliSeconds - result1.token.timestamp.milliSeconds; in TEST_P()
184 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityClientController.java169 public void activityPaused(IBinder token) { in activityPaused() argument
228 public void activityDestroyed(IBinder token) { in activityDestroyed() argument
246 public void activityRelaunched(IBinder token) { in activityRelaunched() argument
261 token, sizeConfigurations); in reportSizeConfigurations()
513 public boolean isTopOfTask(IBinder token) { in isTopOfTask() argument
579 public String getCallingPackage(IBinder token) { in getCallingPackage() argument
592 public int getLaunchedFromUid(IBinder token) { in getLaunchedFromUid() argument
691 public boolean isImmersive(IBinder token) { in isImmersive() argument
833 r.app.getThread(), r.token); in requestPictureInPictureMode()
853 r.app.getThread(), r.token); in onPictureInPictureStateChanged()
[all …]
/aosp12/system/security/keystore/include/keystore/
H A Dkeystore_hidl_support.h89 static_assert(std::is_same<decltype(token.hmac), in authToken2HidlVec()
92 static_assert(1 /* version size */ + sizeof(token.challenge) + sizeof(token.userId) + in authToken2HidlVec()
93 sizeof(token.authenticatorId) + sizeof(token.authenticatorType) + in authToken2HidlVec()
103 pos = copy_bytes_to_iterator(token.userId, pos); in authToken2HidlVec()
107 pos = std::copy(token.hmac.data(), token.hmac.data() + token.hmac.size(), pos); in authToken2HidlVec()
120 Km3HardwareAuthToken token; in hidlVec2Km3AuthToken() local
121 static_assert(std::is_same<decltype(token.hmac), in hidlVec2Km3AuthToken()
124 static_assert(1 /* version size */ + sizeof(token.challenge) + sizeof(token.userId) + in hidlVec2Km3AuthToken()
125 sizeof(token.authenticatorId) + sizeof(token.authenticatorType) + in hidlVec2Km3AuthToken()
139 pos = std::copy(pos, pos + token.hmac.size(), &token.hmac[0]); in hidlVec2Km3AuthToken()
[all …]
/aosp12/frameworks/base/core/jni/
H A Dandroid_util_XmlBlock.cpp65 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); in android_content_XmlBlock_nativeGetStringBlock()
77 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); in android_content_XmlBlock_nativeCreateParseState()
96 jlong token) in android_content_XmlBlock_nativeNext() argument
98 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); in android_content_XmlBlock_nativeNext()
132 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); in android_content_XmlBlock_nativeGetNamespace()
141 jlong token) in android_content_XmlBlock_nativeGetName() argument
143 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); in android_content_XmlBlock_nativeGetName()
152 jlong token) in android_content_XmlBlock_nativeGetText() argument
154 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); in android_content_XmlBlock_nativeGetText()
165 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); in android_content_XmlBlock_nativeGetLineNumber()
[all …]
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DInCallAdapter.java55 long token = Binder.clearCallingIdentity(); in answerCall() local
67 Binder.restoreCallingIdentity(token); in answerCall()
78 long token = Binder.clearCallingIdentity(); in deflectCall() local
90 Binder.restoreCallingIdentity(token); in deflectCall()
103 long token = Binder.clearCallingIdentity(); in rejectCall() local
123 Binder.restoreCallingIdentity(token); in rejectCall()
149 Binder.restoreCallingIdentity(token); in rejectCallWithReason()
172 Binder.restoreCallingIdentity(token); in transferCall()
198 Binder.restoreCallingIdentity(token); in consultativeTransfer()
221 Binder.restoreCallingIdentity(token); in playDtmfTone()
[all …]
/aosp12/system/tools/hidl/
H A Dhidl-gen_l.ll57 using token = yy::parser::token;
95 return isDoc ? token::DOC_COMMENT : token::MULTILINE_COMMENT;
105 "enum" { return token::ENUM; }
106 "extends" { return token::EXTENDS; }
108 "import" { return token::IMPORT; }
112 "struct" { return token::STRUCT; }
114 "union" { return token::UNION; }
117 "oneway" { return token::ONEWAY; }
167 "<=" { return(token::LEQ); }
168 ">=" { return(token::GEQ); }
[all …]
/aosp12/system/bt/gd/packet/parser/
H A Dlanguage_l.ll18 using token = yy::parser::token;
61 "_body_" { return(token::BODY); }
63 "_size_" { return(token::SIZE); }
64 "_count_" { return(token::COUNT); }
65 "_fixed_" { return(token::FIXED); }
72 "enum" { return(token::ENUM); }
73 "group" { return(token::GROUP); }
75 "test" { return(token::TEST); }
90 return token::STRING;
105 return token::INTEGER;
[all …]
/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/
H A DNetworkMonitorManager.java68 Binder.restoreCallingIdentity(token); in start()
81 Binder.restoreCallingIdentity(token); in launchCaptivePortalApp()
94 Binder.restoreCallingIdentity(token); in notifyCaptivePortalAppFinished()
107 Binder.restoreCallingIdentity(token); in setAcceptPartialConnectivity()
120 Binder.restoreCallingIdentity(token); in forceReevaluation()
133 Binder.restoreCallingIdentity(token); in notifyPrivateDnsChanged()
146 Binder.restoreCallingIdentity(token); in notifyDnsResponse()
159 Binder.restoreCallingIdentity(token); in notifyNetworkConnected()
172 Binder.restoreCallingIdentity(token); in notifyNetworkDisconnected()
185 Binder.restoreCallingIdentity(token); in notifyLinkPropertiesChanged()
[all …]

12345678910>>...72