/frameworks/native/services/sensorservice/ |
H A D | SensorRecord.cpp | 24 const sp<const SensorEventConnection>& connection) 26 mConnections.add(connection); 30 const sp<const SensorEventConnection>& connection) 32 if (mConnections.indexOf(connection) < 0) { 33 mConnections.add(connection); 40 const wp<const SensorEventConnection>& connection) 42 ssize_t index = mConnections.indexOf(connection); 49 if (*it == connection) { 59 const sp<const SensorEventConnection>& connection) { 60 mPendingFlushConnections.add(connection); 23 SensorRecord( const sp<const SensorEventConnection>& connection) argument 29 addConnection( const sp<const SensorEventConnection>& connection) argument 39 removeConnection( const wp<const SensorEventConnection>& connection) argument 58 addPendingFlushConnection( const sp<const SensorEventConnection>& connection) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ContentProviderHolder.java | 34 public IBinder connection; field in class:ContentProviderHolder 54 dest.writeStrongBinder(connection); 75 connection = source.readStrongBinder();
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
H A D | FrameworkShadowContextImpl.java | 32 ServiceConnection connection, 35 return bindService(service, connection, flags); 30 bindServiceAsUser( Intent service, ServiceConnection connection, int flags, UserHandle user) argument
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
H A D | UsbBinaryParser.java | 60 public void parseDescriptors(UsbDeviceConnection connection, byte[] descriptors, argument
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiNetworkConnectionStatistics.java | 35 public WifiNetworkConnectionStatistics(int connection, int usage) { argument 36 numConnection = connection;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsExternalCall.java | 36 public ImsExternalCall(Phone phone, ImsExternalConnection connection) { argument 38 mConnections.add(connection);
|
H A D | ImsExternalCallTracker.java | 56 * Notifies that an unknown connection has been added. 57 * @param c The new unknown connection. 84 public void onPullExternalCall(ImsExternalConnection connection) { argument 85 Log.d(TAG, "onPullExternalCall: connection = " + connection); 90 mCallPuller.pullExternalCall(connection.getAddress(), connection.getVideoState(), 91 connection.getCallId()); 103 * create the connection for the unknown call that we can determine which 118 * Tracks whether each external connection tracke 343 updateExistingConnection(ImsExternalConnection connection, ImsExternalCallState state) argument [all...] |
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | UsbAccessoryBulkTransport.java | 39 public UsbAccessoryBulkTransport(Logger logger, UsbDeviceConnection connection, argument 42 mConnection = connection;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | GsmCdmaConnectionTest.java | 36 private GsmCdmaConnection connection; field in class:GsmCdmaConnectionTest 53 connection = null; 59 connection = new GsmCdmaConnection(mPhone, String.format( 63 String formattedDialStr = connection.formatDialString( 69 formattedDialStr = connection.formatDialString("+1 (700).555-41NN,;1234"); 75 connection = new GsmCdmaConnection(mPhone, String.format( 79 assertEquals(GsmCdmaCall.State.IDLE, connection.getState()); 80 assertEquals(Connection.PostDialState.NOT_STARTED, connection.getPostDialState()); 82 assertEquals(0, connection.getDisconnectTime()); 83 assertEquals(0, connection [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | FingerprintGestureController.java | 74 * @param connection The connection to use for system interactions 78 public FingerprintGestureController(IAccessibilityServiceConnection connection) { argument 79 mAccessibilityServiceConnection = connection;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
H A D | ImsServiceControllerStaticCompat.java | 49 public boolean startBindToService(Intent intent, ImsServiceConnection connection, int flags) { argument 58 connection.onServiceConnected(new ComponentName(mContext,
|
/frameworks/support/browser/src/main/java/androidx/browser/customtabs/ |
H A D | CustomTabsClient.java | 63 * @param connection {@link CustomTabsServiceConnection} to use when binding. This will 70 String packageName, CustomTabsServiceConnection connection) { 73 return context.bindService(intent, connection, 128 * implementation. Since service connection is asynchronous, the return code is not the return 141 CustomTabsServiceConnection connection = new CustomTabsServiceConnection() { 148 // likely to get killed, but is preferable to keeping the connection around. 156 return bindCustomTabsService(applicationContext, packageName, connection); 69 bindCustomTabsService(Context context, String packageName, CustomTabsServiceConnection connection) argument
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPSession.cpp | 52 AString connection; local 53 if (!mDesc->findAttribute(i, "c=", &connection)) { 54 // No per-stream connection information, try global fallback. 55 if (!mDesc->findAttribute(0, "c=", &connection)) { 56 ALOGE("Unable to find connection attribute."); 60 if (!(connection == "IN IP4 127.0.0.1")) {
|
/frameworks/native/libs/sensor/ |
H A D | SensorEventQueue.cpp | 39 SensorEventQueue::SensorEventQueue(const sp<ISensorEventConnection>& connection) argument 40 : mSensorEventConnection(connection), mRecBuffer(NULL), mAvailable(0), mConsumed(0),
|
H A D | SensorManager.cpp | 233 sp<ISensorEventConnection> connection = local 235 if (connection == NULL) { 237 ALOGE("createEventQueue: connection is NULL."); 240 queue = new SensorEventQueue(connection); 296 ALOGE("Cannot find the handle in client direct connection table");
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbRequest.java | 63 // Prevent the connection from being finalized 93 public boolean initialize(UsbDeviceConnection connection, UsbEndpoint endpoint) { argument 95 mConnection = Preconditions.checkNotNull(connection, "connection"); 97 boolean wasInitialized = native_init(connection, endpoint.getAddress(), 364 private native boolean native_init(UsbDeviceConnection connection, int ep_address, argument
|
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbDeviceConnection.cpp | 41 struct usb_device* get_device_from_object(JNIEnv* env, jobject connection) argument 43 return (struct usb_device*)env->GetLongField(connection, field_context);
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
H A D | ProxyServer.java | 52 private static final String HEADER_CONNECTION = "connection"; 53 private static final String HEADER_PROXY_CONNECTION = "proxy-connection"; 64 private Socket connection; field in class:ProxyServer.ProxyConnection 66 private ProxyConnection(Socket connection) { argument 67 this.connection = connection; 73 String requestLine = getLine(connection.getInputStream()); 76 connection.close(); 97 connection.close(); 111 connection [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | InstantAppResolver.java | 121 InstantAppResolverConnection connection, InstantAppRequest requestObj) { 134 connection.getInstantAppResolveInfoList(sanitizedIntent, 161 Log.d(TAG, "[" + token + "] Phase1; service connection error"); 175 InstantAppResolverConnection connection, InstantAppRequest requestObj, 226 connection.getInstantAppIntentFilterList(sanitizedIntent, 240 Log.d(TAG, "[" + token + "] Phase2; service connection error"); 120 doInstantAppResolutionPhaseOne( InstantAppResolverConnection connection, InstantAppRequest requestObj) argument 174 doInstantAppResolutionPhaseTwo(Context context, InstantAppResolverConnection connection, InstantAppRequest requestObj, ActivityInfo instantAppInstaller, Handler callbackHandler) argument
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_tv_TvUinputBridge.cpp | 193 NativeConnection* connection = NativeConnection::open(name.c_str(), uniqueId.c_str(), local 195 return reinterpret_cast<jlong>(connection); 199 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); local 200 delete connection; 204 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); local 206 connection->sendEvent(EV_MSC, MSC_ANDROID_TIME_SEC, timestamp / 1000L); 207 connection->sendEvent(EV_MSC, MSC_ANDROID_TIME_USEC, (timestamp % 1000L) * 1000L); 212 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); local 214 connection->sendEvent(EV_KEY, code, down ? 1 : 0); 222 NativeConnection* connection local 238 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); local 249 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); local 254 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); local [all...] |
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerServiceImpl.java | 393 public void sessionConnectionGone(VoiceInteractionSessionConnection connection) { argument 395 finishLocked(connection.mToken, false); 400 public void onSessionShown(VoiceInteractionSessionConnection connection) { argument 405 public void onSessionHidden(VoiceInteractionSessionConnection connection) { argument
|
/frameworks/layoutlib/bridge/src/android/view/accessibility/ |
H A D | AccessibilityManager.java | 361 IAccessibilityInteractionConnection connection) { 360 addAccessibilityInteractionConnection(IWindow windowToken, IAccessibilityInteractionConnection connection) argument
|
/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.cpp | 96 const sp<EventThread::Connection>& connection) { 98 mDisplayEventConnections.add(connection); 103 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThread::Connection>& connection) { argument 104 mDisplayEventConnections.remove(connection); 107 void EventThread::setVsyncRate(uint32_t count, const sp<EventThread::Connection>& connection) { argument 111 if (connection->count != new_count) { 112 connection->count = new_count; 118 void EventThread::requestNextVsync(const sp<EventThread::Connection>& connection) { argument 125 if (connection->count < 0) { 126 connection 95 registerDisplayEventConnection( const sp<EventThread::Connection>& connection) argument 370 sp<Connection> connection = mDisplayEventConnections.itemAt(i).promote(); local [all...] |
/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | EventThreadTest.cpp | 122 sp<MockEventThreadConnection> connection = new MockEventThreadConnection(mThread.get()); local 123 EXPECT_CALL(*connection, postEvent(_)).WillRepeatedly(Invoke(recorder.getInvocable())); 124 return connection; 198 // Signal that we want the next vsync event to be posted to the connection 211 // The interceptor should receive the event, as well as the connection. 217 // The interceptor should receive the event, but the the connection should 229 // Create a first connection, register it, and request a vsync rate of zero. 238 // However if there is another connection which wants events at a nonzero rate..... 251 // interceptor, and the second connection. The first connection shoul [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CarrierServiceBindHelper.java | 138 private CarrierServiceConnection connection; field in class:CarrierServiceBindHelper.AppBinding 212 } else if (connection != null) { 213 // Component is unchanged and connection is up - do nothing, but cancel any 228 connection = new CarrierServiceConnection(); 232 if (mContext.bindServiceAsUser(carrierService, connection, 257 if (connection == null) { 262 // Only let the binding linger if a delayed unbind is requested *and* the connection is 263 // currently active. If the connection is down, unbind immediately as the app is likely 266 if (immediate || !connection.connected) { 290 mContext.unbindService(connection); [all...] |