/libcore/luni/src/main/java/java/util/ |
WeakHashMap.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 28 * thread on this collection, possibly removing keys. 125 this.type = type; 188 this(DEFAULT_SIZE); 196 * the initial capacity of this map. 216 * the initial capacity of this map. 232 this.loadFactor = (int) (loadFactor * 10000); 245 this(map.size() < 6 ? 11 : map.size() * 2) [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/ |
CompositeAdapter.java | 5 * you may not use this file except in compliance with the License. 39 this.mShowIfEmpty = showIfEmpty; 40 this.mHasHeader = hasHeader; 41 this.mAdapter = adapter; 79 CompositeAdapter.this.notifyDataSetChanged(); 84 CompositeAdapter.this.notifyDataSetInvalidated(); 204 // This is the header 248 // This is the header
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
VideoProviderProxy.java | 5 * you may not use this file except in compliance with the License. 54 * Set of listeners on this VideoProviderProxy. 68 * {@link android.telecom.ConnectionService} which is being wrapped by this 80 * The Telecom {@link Call} this {@link VideoProviderProxy} is associated with. 87 mConectionServiceVideoProvider.asBinder().unlinkToDeath(this, 0); 117 * IVideoCallback stub implementation. An instance of this class receives callbacks from the 137 VideoProviderProxy.this.receiveSessionModifyRequest(videoProfile); 156 VideoProviderProxy.this.receiveSessionModifyResponse(status, requestProfile, 171 VideoProviderProxy.this.handleCallSessionEvent(event); 187 VideoProviderProxy.this.changePeerDimensions(width, height) [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FatLfnDirectoryEntry.java | 5 * This library is free software; you can redistribute it and/or modify it 10 * This library is distributed in the hope that it will be useful, but 16 * along with this library; If not, write to the Free Software Foundation, Inc., 53 this.parent = parent; 54 this.fileName = name; 57 this.realEntry = FatDirectoryEntry.create(directory); 58 this.realEntry.setShortName(sn); 59 this.realEntry.setCreated(now); 60 this.realEntry.setLastAccessed(now); 68 this.parent = parent [all...] |
/frameworks/support/v4/java/android/support/v4/media/session/ |
MediaSessionCompat.java | 6 * you may not use this file except in compliance with the License. 75 * This is a helper for accessing features in 93 * Set this flag on the session to indicate that it can handle media button 99 * Set this flag on the session to indicate that it handles transport 110 * This must be non-null to support platform versions earlier 113 * handles media button events. This is optional and will be used 140 mController = new MediaControllerCompat(context, this); 145 mController = new MediaControllerCompat(context, this); 149 * Add a callback to receive updates on for the MediaSession. This includes 160 * Set the callback to receive updates for the MediaSession. This include [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
SipProviderImpl.java | 4 * This software was developed by employees of the National Institute of 11 * This software is provided by NIST as a service and is expressly 20 * Permission to use this software is contingent upon your acceptance 21 * of the terms of this agreement 131 * Stop processing messages for this provider. Post an empty message to our 142 this.eventScanner.stop(); 154 return (ListeningPoint) this.listeningPoints.get(transport 172 + transaction + "this.sipListener = " 173 + this.getSipListener() + "sipEvent.source = " 189 this.eventScanner.addEvent(eventWrapper) [all...] |
SipStackImpl.java | 4 * This software was developed by employees of the National Institute of 11 * This software is provided by NIST as a service and is expressly 20 * Permission to use this software is contingent upon your acceptance 21 * of the terms of this agreement 82 * <b> Use of this property is still supported but deprecated. Please use 85 * </b> This property is used by the built in log4j based logger. You can use 87 * TRACE) If this is set to INFO or above, then incoming valid messages are 88 * logged in SERVER_LOG. If you set this to 32 and specify a DEBUG_LOG then vast 91 * /tools/tracesviewer/tracesviewer.html"> This can be viewed using the trace 94 * for level 32 and 16 respectively. If the value of this property is set t [all...] |
/frameworks/base/core/java/android/app/backup/ |
BackupAgent.java | 5 * you may not use this file except in compliance with the License. 73 * This notifies the Android Backup Manager that the application needs an opportunity 86 * that process, and the agent's {@link #onCreate()} method is invoked. This prepares the 87 * agent instance to run the actual backup or restore logic. At this point the 181 * Agents do not need to override this method. 192 * cases, a representation of the final backup state after this pass should 210 * write to this file. 227 * replacing it with the data supplied to this method. No "clear user data" 229 * exception to this is in the case of a failed restore attempt: if 237 * entity represented in this data stream [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
SocketChannelTest.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 70 this.channel1 = SocketChannel.open(); 71 this.channel2 = SocketChannel.open(); 72 this.server1 = new ServerSocket(0); 73 this.localAddr1 = new InetSocketAddress("127.0.0.1", server1.getLocalPort()); 75 this.server2 = new ServerSocket(0); 76 this.localAddr2 = new InetSocketAddress("127.0.0.1", server2.getLocalPort()); 81 if (null != this.channel1) [all...] |
DatagramChannelTest.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 80 this.datagramSocket1 = new DatagramSocket(0, Inet6Address.LOOPBACK); 81 this.datagramSocket2 = new DatagramSocket(0, Inet6Address.LOOPBACK); 108 int val = this.channel1.validOps(); 123 assertEquals(this.channel1.provider(), testMock.provider()); 138 this.channel1.read(readBuf); 153 readres = this.channel1.read(readBuf); 174 this.channel1.read(readBuf) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
TCPMessageChannel.java | 4 * This software was developed by employees of the National Institute of 11 * This software is provided by NIST as a service and is expressly 20 * Permission to use this software is contingent upon your acceptance 21 * of the terms of this agreement 51 * This is a stack abstraction for TCP connections. This abstracts a stream of parsed messages. 52 * The SIP sipStack starts this from the main SIPStack class for each connection that it accepts. 103 this.sipStack = sipStack; 131 mythread = new Thread(this); 135 this.sipStack = sipStack [all...] |
/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
ConversionRepeater.java | 5 * you may not use this file except in compliance with the License. 34 * mutation that this CodeMutator can perform, to allow separate 102 mutation.setup(this.getClass(), mutatableCode); 178 // Get the index into the MutatableCode's mInsns list for this insn.
|
NewMethodCaller.java | 5 * you may not use this file except in compliance with the License. 34 * mutation that this CodeMutator can perform, to allow separate 123 mutation.setup(this.getClass(), mutatableCode); 126 // TODO: Right now this mutator can only insert calls to System.gc() Add more!
|
NonsenseStringPrinter.java | 5 * you may not use this file except in compliance with the License. 33 * mutation that this CodeMutator can perform, to allow separate 89 mutation.setup(this.getClass(), mutatableCode);
|
PoolIndexChanger.java | 5 * you may not use this file except in compliance with the License. 34 * mutation that this CodeMutator can perform, to allow separate 167 mutation.setup(this.getClass(), mutatableCode);
|
SwitchBranchShifter.java | 5 * you may not use this file except in compliance with the License. 33 * mutation that this CodeMutator can perform, to allow separate 142 mutation.setup(this.getClass(), mutatableCode);
|
TryBlockShifter.java | 5 * you may not use this file except in compliance with the License. 32 * mutation that this CodeMutator can perform, to allow separate 137 // Find the index of this instruction. 163 mutation.setup(this.getClass(), mutatableCode);
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
DeviceInfoInstrument.java | 5 * you may not use this file except in compliance with the License. 43 // Results sent to the caller when this istrumentation completes. 117 intent.setClassName(this.getContext(), activityName);
|
/cts/libs/deviceutillegacy/src/android/webkit/cts/ |
WebViewOnUiThread.java | 5 * you may not use this file except in compliance with the License. 56 * Many tests need to run WebView code in the UI thread. This class 86 * The test that this class is being used in. Used for runTestOnUiThread. 102 * @param test The test in which this is being run. 109 final WebViewClient webViewClient = new WaitForLoadedClient(this); 110 final WebChromeClient webChromeClient = new WaitForProgressClient(this); 134 * Called from WaitForNewPicture, this is used to indicate that 139 this.notifyAll(); 143 * Called from WaitForLoadedClient, this is used to clear the picture 151 * Called from WaitForLoadedClient, this is used to indicate tha [all...] |
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
ActivityTransitionActivity.java | 5 * you may not use this file except in compliance with the License. 166 synchronized (this) { 168 this.resultCode = resultCode; 169 this.notifyAll();
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
ColorBufferTest.java | 5 * you may not use this file except in compliance with the License. 52 this.runTestOnUiThread(new Runnable() { 70 this.runTestOnUiThread(new Runnable() { 89 this.runTestOnUiThread(new Runnable() { 108 this.runTestOnUiThread(new Runnable() { 127 this.runTestOnUiThread(new Runnable() { 146 this.runTestOnUiThread(new Runnable() { 165 this.runTestOnUiThread(new Runnable() {
|
NativeColorBufferTest.java | 5 * you may not use this file except in compliance with the License. 47 this.runTestOnUiThread(new Runnable() { 65 this.runTestOnUiThread(new Runnable() { 84 this.runTestOnUiThread(new Runnable() { 103 this.runTestOnUiThread(new Runnable() { 122 this.runTestOnUiThread(new Runnable() { 141 this.runTestOnUiThread(new Runnable() { 160 this.runTestOnUiThread(new Runnable() {
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
SwitchPreferenceTest.java | 5 * you may not use this file except in compliance with the License. 73 this.runTestOnUiThread(new Runnable() { 91 this.runTestOnUiThread(new Runnable() {
|
/cts/tools/cfassembler/src/dxconvext/ |
ClassFileParser.java | 5 * you may not use this file except in compliance with the License. 46 * /home/fjost/android/workspace/out/classes_javac this is the place where 91 ClassFileParser.this.processFileBytes(w, cfName, bytes); 100 * @param allbytes the bytes of this java src file 184 ClassFileParser.this.out(msg, cur_indent);
|
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
DeviceListActivity.java | 5 * you may not use this file except in compliance with the License. 40 * This Activity appears as a dialog. It lists any paired devices and 90 new ArrayAdapter<String>(this, R.layout.device_name); 91 mNewDevicesArrayAdapter = new ArrayAdapter<String>(this, R.layout.device_name); 105 this.registerReceiver(mReceiver, filter); 109 this.registerReceiver(mReceiver, filter); 139 this.unregisterReceiver(mReceiver); 181 // Set result and finish this Activity
|